Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
SoundService = :()
TweenService = :()
player = Players.LocalPlayer
playerGui = player:()
START_SOUND_ID =
BUTTON_SOUND_ID =
(soundId)
sound = .()
sound.SoundId = .. soundId
sound.Parent = SoundService
sound:()
sound.Ended:(()
sound:()
)
(START_SOUND_ID)
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.ZIndexBehavior = .ZIndexBehavior.Sibling
screenGui.Parent = playerGui
mainFrame = .()
mainFrame.Name =
mainFrame.Size = .(, , , )
mainFrame.Position = .(, , , )
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.BackgroundTransparency =
mainFrame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = mainFrame
border = .()
border.Color = .(, , )
border.Thickness =
border.Parent = mainFrame
title = .()
title.Name =
title.Size = .(, , , )
title.Position = .(, , , )
title.BackgroundColor3 = .(, , )
title.TextColor3 = .(, , )
title.Text =
title.Font = .Font.GothamBold
title.TextSize =
title.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = title
credit = .()
credit.Name =
credit.Size = .(, , , )
credit.Position = .(, , , )
credit.BackgroundTransparency =
credit.TextColor3 = .(, , )
credit.Text =
credit.Font = .Font.Gotham
credit.TextSize =
credit.Parent = mainFrame
controlContainer = .()
controlContainer.Name =
controlContainer.Size = .(, -, , )
controlContainer.Position = .(, , , -)
controlContainer.BackgroundTransparency =
controlContainer.Parent = mainFrame
controlLayout = .()
controlLayout.CellSize = .(, -, , )
controlLayout.CellPadding = .(, , , )
controlLayout.HorizontalAlignment = .HorizontalAlignment.Center
controlLayout.Parent = controlContainer
toggleButton = .()
toggleButton.Name =
toggleButton.Size = .(, , , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.TextColor3 = .(, , )
toggleButton.Text =
toggleButton.Font = .Font.Gotham
toggleButton.TextSize =
toggleButton.Parent = controlContainer
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleButton
pinButton = .()
pinButton.Name =
pinButton.Size = .(, , , )
pinButton.BackgroundColor3 = .(, , )
pinButton.TextColor3 = .(, , )
pinButton.Text =
pinButton.Font = .Font.Gotham
pinButton.TextSize =
pinButton.Parent = controlContainer
pinCorner = .()
pinCorner.CornerRadius = .(, )
pinCorner.Parent = pinButton
buttonContainer = .()
buttonContainer.Name =
buttonContainer.Size = .(, -, , -)
buttonContainer.Position = .(, , , )
buttonContainer.BackgroundTransparency =
buttonContainer.Visible =
buttonContainer.Parent = mainFrame
scrollFrame = .()
scrollFrame.Name =
scrollFrame.Size = .(, , , )
scrollFrame.Position = .(, , , )
scrollFrame.BackgroundTransparency =
scrollFrame.BorderSizePixel =
scrollFrame.ScrollBarThickness =
scrollFrame.ScrollBarImageColor3 = .(, , )
scrollFrame.CanvasSize = .(, , , )
scrollFrame.Parent = buttonContainer
gridLayout = .()
gridLayout.CellSize = .(, -, , )
gridLayout.CellPadding = .(, , , )
gridLayout.HorizontalAlignment = .HorizontalAlignment.Center
gridLayout.StartCorner = .StartCorner.TopLeft
gridLayout.Parent = scrollFrame
gridLayout:():(()
scrollFrame.CanvasSize = .(, , , gridLayout.AbsoluteContentSize.Y)
)
(position)
character = player.Character
character character:()
character.HumanoidRootPart.CFrame = .(position)
(text, color, position)
button = .()
button.Name = text ..
button.Size = .(, , , )
button.BackgroundColor3 = color
button.TextColor3 = .(, , )
button.Text = text
button.Font = .Font.Gotham
button.TextSize =
button.AutoButtonColor =
buttonCorner = .()
buttonCorner.CornerRadius = .(, )
buttonCorner.Parent = button
button.MouseButton1Click:(()
(BUTTON_SOUND_ID)
success = (position)
success
statusLabel.Text = .. text
statusLabel.TextColor3 = .(, , )
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
)
button
teleportLocations = {
{, .(, -, -)},
{, .(, , -)},
{, .(, , -)},
{, .(, -, )},
{, .(-, -, -)},
{, .(-, -, )},
{, .(-, -, -)},
{, .(, , )},
{, .(, , -)},
{, .(-, , -)},
{, .(, , -)},
{, .(, , )},
{, .(, , )},
{, .(-, -, )},
{, .(-, , )},
{, .(-, , -)},
{, .(-, -, -)}
}
colors = {
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , ),
.(, , )
}
i, location (teleportLocations)
buttonName, position = location[], location[]
color = colors[i] .(, , )
button = (buttonName, color, position)
button.Parent = scrollFrame
statusLabel = .()
statusLabel.Name =
statusLabel.Size = .(, -, , )
statusLabel.Position = .(, , , -)
statusLabel.BackgroundTransparency =
statusLabel.TextColor3 = .(, , )
statusLabel.Text =
statusLabel.Font = .Font.Gotham
statusLabel.TextSize =
statusLabel.TextXAlignment = .TextXAlignment.Left
statusLabel.Parent = mainFrame
isGUIPinned =
()
isGUIPinned = isGUIPinned
isGUIPinned
pinButton.Text =
pinButton.BackgroundColor3 = .(, , )
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
pinButton.Text =
pinButton.BackgroundColor3 = .(, , )
statusLabel.Text =
statusLabel.TextColor3 = .(, , )
, isGUIPinned
pinButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
success, message = ()
statusLabel.Text = message
statusLabel.TextColor3 = .(, , )
)
toggleButton.MouseButton1Click:(()
(BUTTON_SOUND_ID)
buttonContainer.Visible
buttonContainer.Visible =
mainFrame.Size = .(, , , )
toggleButton.Text =
statusLabel.Text =
buttonContainer.Visible =
mainFrame.Size = .(, , , )
toggleButton.Text =
statusLabel.Text = isGUIPinned
)
dragging =
dragStart, startPos
(input)
isGUIPinned
dragging =
dragStart = input.Position
startPos = mainFrame.Position
input.Changed:(()
input.UserInputState == .UserInputState.End
dragging =
)
(input)
dragging isGUIPinned
delta = input.Position - dragStart
mainFrame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
title.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
(input)
)
title.InputChanged:((input)
input.UserInputType == .UserInputType.MouseMovement
(input)
)
title.InputBegan:((input)
input.UserInputType == .UserInputType.Touch
(input)
)
title.InputChanged:((input)
input.UserInputType == .UserInputType.Touch
(input)
)
()
()
()
()
()
()
Universal