Shows Ur coordinate
Key RequiredUniversal

Shows Ur coordinate

Universal Scriptbattybatbattybat 24.6K views 4 executesUpdated Jul 24, 2024
5.0/ 5(1 votes)
10100% Positive
Lua Script•25 lines (940 chars)
-- Parent this script to StarterPlayer -> StarterPlayerScripts

local player = game.Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- Create a ScreenGui
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = playerGui

-- Create a TextLabel to display the coordinates
local coordLabel = Instance.new("TextLabel")
coordLabel.Size = UDim2.new(0, 200, 0, 50)
coordLabel.Position = UDim2.new(0, 10, 0, 10)
coordLabel.BackgroundTransparency = 0.5
coordLabel.TextScaled = true
coordLabel.Parent = screenGui

-- Update the TextLabel with the player's coordinates
game:GetService("RunService").RenderStepped:Connect(function()
    local character = player.Character
    if character and character:FindFirstChild("HumanoidRootPart") then
        local position = character.HumanoidRootPart.Position
        coordLabel.Text = string.format("X: %.2f, Y: %.2f, Z: %.2f", position.X, position.Y, position.Z)
    end
end)

Features & Information

lol

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts