Run it
Copy the script and paste it into your executor.
Players = :()
TeleportService = :()
UserInputService = :()
CoreGui = :()
player = Players.LocalPlayer
camera = .CurrentCamera
()
camera camera.ViewportSize
camera.ViewportSize
.(, )
(obj, radius)
corner = .()
corner.CornerRadius = .(, radius)
corner.Parent = obj
(label, text, color)
label.Text = text
label.TextColor3 = color .(, , )
(raw)
text = (raw ):(, ):(, )
text ==
linkCode = text:()
linkCode
linkCode
text
screen = ()
width = .(screen.X * , , )
height = .(screen.Y * , , )
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = CoreGui
frame = .()
frame.Size = .(width, height)
frame.Position = .((screen.X - width) / , .(, screen.Y * ))
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Parent = gui
(frame, )
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.Font = .Font.GothamBold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
title.Parent = frame
subtitle = .()
subtitle.Size = .(, -, , )
subtitle.Position = .(, , , )
subtitle.BackgroundTransparency =
subtitle.Text =
subtitle.TextColor3 = .(, , )
subtitle.Font = .Font.Gotham
subtitle.TextSize =
subtitle.TextXAlignment = .TextXAlignment.Left
subtitle.Parent = frame
(labelText, y, default)
label = .()
label.Size = .(, -, , )
label.Position = .(, , , y)
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.Font = .Font.GothamSemibold
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = frame
box = .()
box.Size = .(, -, , )
box.Position = .(, , , y + )
box.BackgroundColor3 = .(, , )
box.TextColor3 = .(, , )
box.PlaceholderText = default
box.Text = default
box.Font = .Font.Gotham
box.TextSize =
box.ClearTextOnFocus =
box.Parent = frame
(box, )
stroke = .()
stroke.Color = .(, , )
stroke.Thickness =
stroke.Parent = box
box
placeBox = (, , (.PlaceId))
codeBox = (, , )
status = .()
status.Size = .(, -, , )
status.Position = .(, , , height - )
status.BackgroundTransparency =
status.Text =
status.TextColor3 = .(, , )
status.Font = .Font.Gotham
status.TextSize =
status.TextWrapped =
status.Parent = frame
joinButton = .()
joinButton.Size = .(, -, , )
joinButton.Position = .(, , , height - )
joinButton.BackgroundColor3 = .(, , )
joinButton.TextColor3 = .(, , )
joinButton.Text =
joinButton.Font = .Font.GothamBold
joinButton.TextSize =
joinButton.Parent = frame
(joinButton, )
buttonStroke = .()
buttonStroke.Color = .(, , )
buttonStroke.Thickness =
buttonStroke.Parent = joinButton
dragging =
dragStart
startPos
frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
)
frame.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
frame.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
frame.Position = .(, startPos.X.Offset + delta.X, , startPos.Y.Offset + delta.Y)
)
joinButton.MouseButton1Click:(()
placeId = (placeBox.Text)
serverCode = (codeBox.Text)
placeId serverCode
(status, , .(, , ))
.PlaceId ~= placeId
(status, , .(, , ))
teleportData = TeleportService:()
teleportData teleportData.__fromPrivateServerUI
(status, , .(, , ))
(status, , .(, , ))
ok, err = (()
TeleportService:(
placeId,
serverCode,
{player},
{ __fromPrivateServerUI = }
)
)
ok
(status, , .(, , ))
(status, .. (err), .(, , ))
) Players = :()
TeleportService = :()
UserInputService = :()
CoreGui = :()
player = Players.LocalPlayer
camera = .CurrentCamera
()
camera camera.ViewportSize
camera.ViewportSize
.(, )
(obj, radius)
corner = .()
corner.CornerRadius = .(, radius)
corner.Parent = obj
(label, text, color)
label.Text = text
label.TextColor3 = color .(, , )
(raw)
text = (raw ):(, ):(, )
text ==
linkCode = text:()
linkCode
linkCode
text
screen = ()
width = .(screen.X * , , )
height = .(screen.Y * , , )
gui = .()
gui.Name =
gui.ResetOnSpawn =
gui.Parent = CoreGui
frame = .()
frame.Size = .(width, height)
frame.Position = .((screen.X - width) / , .(, screen.Y * ))
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Parent = gui
(frame, )
title = .()
title.Size = .(, -, , )
title.Position = .(, , , )
title.BackgroundTransparency =
title.Text =
title.TextColor3 = .(, , )
title.Font = .Font.GothamBold
title.TextSize =
title.TextXAlignment = .TextXAlignment.Left
title.Parent = frame
subtitle = .()
subtitle.Size = .(, -, , )
subtitle.Position = .(, , , )
subtitle.BackgroundTransparency =
subtitle.Text =
subtitle.TextColor3 = .(, , )
subtitle.Font = .Font.Gotham
subtitle.TextSize =
subtitle.TextXAlignment = .TextXAlignment.Left
subtitle.Parent = frame
(labelText, y, default)
label = .()
label.Size = .(, -, , )
label.Position = .(, , , y)
label.BackgroundTransparency =
label.Text = labelText
label.TextColor3 = .(, , )
label.Font = .Font.GothamSemibold
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = frame
box = .()
box.Size = .(, -, , )
box.Position = .(, , , y + )
box.BackgroundColor3 = .(, , )
box.TextColor3 = .(, , )
box.PlaceholderText = default
box.Text = default
box.Font = .Font.Gotham
box.TextSize =
box.ClearTextOnFocus =
box.Parent = frame
(box, )
stroke = .()
stroke.Color = .(, , )
stroke.Thickness =
stroke.Parent = box
box
placeBox = (, , (.PlaceId))
codeBox = (, , )
status = .()
status.Size = .(, -, , )
status.Position = .(, , , height - )
status.BackgroundTransparency =
status.Text =
status.TextColor3 = .(, , )
status.Font = .Font.Gotham
status.TextSize =
status.TextWrapped =
status.Parent = frame
joinButton = .()
joinButton.Size = .(, -, , )
joinButton.Position = .(, , , height - )
joinButton.BackgroundColor3 = .(, , )
joinButton.TextColor3 = .(, , )
joinButton.Text =
joinButton.Font = .Font.GothamBold
joinButton.TextSize =
joinButton.Parent = frame
(joinButton, )
buttonStroke = .()
buttonStroke.Color = .(, , )
buttonStroke.Thickness =
buttonStroke.Parent = joinButton
dragging =
dragStart
startPos
frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
dragStart = input.Position
startPos = frame.Position
)
frame.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1 input.UserInputType == .UserInputType.Touch
dragging =
)
frame.InputChanged:((input)
dragging (input.UserInputType == .UserInputType.MouseMovement input.UserInputType == .UserInputType.Touch)
delta = input.Position - dragStart
frame.Position = .(, startPos.X.Offset + delta.X, , startPos.Y.Offset + delta.Y)
)
joinButton.MouseButton1Click:(()
placeId = (placeBox.Text)
serverCode = (codeBox.Text)
placeId serverCode
(status, , .(, , ))
.PlaceId ~= placeId
(status, , .(, , ))
teleportData = TeleportService:()
teleportData teleportData.__fromPrivateServerUI
(status, , .(, , ))
(status, , .(, , ))
ok, err = (()
TeleportService:(
placeId,
serverCode,
{player},
{ __fromPrivateServerUI = }
)
)
ok
(status, , .(, , ))
(status, .. (err), .(, , ))
)when you join a PLACE ID that you put it, it will join a private server link that you insert. made for retro swarm for bss so you dont get banned