Run it
Copy the script and paste it into your executor.
Players = :()
UserInputService = :()
Player = Players.LocalPlayer
PlayerGui = Player:()
ScreenGui = .()
ScreenGui.Name =
ScreenGui.Parent = PlayerGui
ScreenGui.ResetOnSpawn =
Frame = .()
Frame.Size = .(, , , )
Frame.Position = .(, -, , -)
Frame.BackgroundColor3 = .(, , )
Frame.BorderSizePixel =
Frame.Parent = ScreenGui
UICorner = .()
UICorner.CornerRadius = .(, )
UICorner.Parent = Frame
Title = .()
Title.Size = .(, , , )
Title.Position = .(, , , )
Title.BackgroundTransparency =
Title.Text =
Title.TextColor3 = .(, , )
Title.TextScaled =
Title.Font = .Font.SourceSansBold
Title.Parent = Frame
(position)
Player.Character Player.Character:()
Player.Character.HumanoidRootPart.CFrame = .(position)
(name, color, position, yOffset)
Button = .()
Button.Size = .(, , , )
Button.Position = .(, , , yOffset)
Button.BackgroundColor3 = color
Button.Text = name
Button.TextColor3 = .(, , )
Button.TextScaled =
Button.Font = .Font.SourceSans
Button.Parent = Frame
ButtonCorner = .()
ButtonCorner.CornerRadius = .(, )
ButtonCorner.Parent = Button
Button.MouseButton1Click:(()
(position)
)
(, .(, , ), .(-, , -), )
(, .(, , ), .(, , -), )
(, .(, , ), .(, , ), )
(, .(, , ), .(, , ), )
isDragging =
dragStart =
startPos =
Frame.InputBegan:((input)
input.UserInputType == .UserInputType.MouseButton1
isDragging =
dragStart = input.Position
startPos = Frame.Position
)
Frame.InputChanged:((input)
isDragging input.UserInputType == .UserInputType.MouseMovement
delta = input.Position - dragStart
Frame.Position = .(
startPos.X.Scale,
startPos.X.Offset + delta.X,
startPos.Y.Scale,
startPos.Y.Offset + delta.Y
)
)
UserInputService.InputEnded:((input)
input.UserInputType == .UserInputType.MouseButton1
isDragging =
)you can teleport

Universal