
Key RequiredUniversal

local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
local coreGui = game:GetService("CoreGui")
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "CoordsHUD"
screenGui.ResetOnSpawn = false
screenGui.Parent = coreGui
local textLabel = Instance.new("TextLabel")
textLabel.Parent = screenGui
textLabel.BackgroundColor3 = Color3.new(0, 0, 0)
textLabel.BackgroundTransparency = 0.4
textLabel.BorderSizePixel = 0
textLabel.Size = UDim2.new(0, 220, 0, 60)
textLabel.Position = UDim2.new(0, 15, 0, 15) -- Top-left, adjust as needed
textLabel.TextColor3 = Color3.new(0, 1, 0) -- Green text
textLabel.TextStrokeTransparency = 0.5
textLabel.TextStrokeColor3 = Color3.new(0, 0, 0)
textLabel.TextScaled = true
textLabel.Font = Enum.Font.Code
textLabel.Text = "Coordinates: Loading..."
RunService.RenderStepped:Connect(function()
if humanoidRootPart and humanoidRootPart.Parent then
local pos = humanoidRootPart.Position
textLabel.Text = string.format(
"Coordinates\nX: %.2f\nY: %.2f\nZ: %.2f",
pos.X, pos.Y, pos.Z
)
end
end)
player.CharacterAdded:Connect(function(newChar)
humanoidRootPart = newChar:WaitForChild("HumanoidRootPart")
end)No comments yet for this script.



