Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- LocalScript (StarterPlayerScripts 안에 넣으세요)
- local Players = game:GetService("Players")
- local RunService = game:GetService("RunService")
- local player = Players.LocalPlayer
- local gui = Instance.new("ScreenGui")
- gui.Name = "CoordsGui"
- gui.ResetOnSpawn = false
- gui.Parent = player:WaitForChild("PlayerGui")
- local label = Instance.new("TextLabel")
- label.Size = UDim2.new(0, 200, 0, 60)
- label.Position = UDim2.new(0, 10, 0, 10)
- label.BackgroundTransparency = 0.3
- label.BackgroundColor3 = Color3.fromRGB(0,0,0)
- label.TextColor3 = Color3.fromRGB(255,255,255)
- label.Font = Enum.Font.SourceSans
- label.TextSize = 18
- label.Text = "Loading..."
- label.Parent = gui
- RunService.RenderStepped:Connect(function()
- local char = player.Character
- if char and char:FindFirstChild("HumanoidRootPart") then
- local pos = char.HumanoidRootPart.Position
- label.Text = string.format("X: %.1f\nY: %.1f\nZ: %.1f", pos.X, pos.Y, pos.Z)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment