Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PS = game:GetService("Players")
- MainCoordinatesGUI = Instance.new("ScreenGui", PS.LocalPlayer.PlayerGui)
- MainText = Instance.new("TextLabel", MainCoordinatesGUI)
- RefreshCoordinates = Instance.new("TextButton", MainCoordinatesGUI)
- CopyCoordinates = Instance.new("TextButton", MainCoordinatesGUI)
- MainCoordinatesGUI.Name = "Main Coordinates GUI"
- MainText.Name = "MainText"
- MainText.Position = UDim2.new(0, 0,0.1, 0)
- MainText.Size = UDim2.new(0, 249,0, 26)
- MainText.Text = "Coordinates"
- MainText.BackgroundColor3 = Color3.new(207, 207, 207)
- MainText.BackgroundTransparency = 0.5
- MainText.BorderSizePixel = 0
- MainText.Font = "Code"
- MainText.TextScaled = true
- RefreshCoordinates.Name = "RefreshCoordinates"
- RefreshCoordinates.Position = UDim2.new(0, 0,0.15, 0)
- RefreshCoordinates.Size = UDim2.new(0, 169,0, 19)
- RefreshCoordinates.Text = "Refresh Coordinates"
- RefreshCoordinates.BackgroundColor3 = Color3.new(207, 207, 207)
- RefreshCoordinates.BackgroundTransparency = 0.5
- RefreshCoordinates.BorderSizePixel = 0
- RefreshCoordinates.Font = "Code"
- RefreshCoordinates.TextScaled = true
- RefreshCoordinates.MouseButton1Click:connect(function()
- RefreshCoordinates.Text = "Refreshed!"
- MainText.Text = tostring(PS.LocalPlayer.Character:WaitForChild("HumanoidRootPart").Position)
- wait(1)
- RefreshCoordinates.Text = "Refresh Coordinates"
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement