local player = game.Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local humanoidRootPart = character:WaitForChild("HumanoidRootPart") -- Function to print the coordinates local function printCoordinates() print("Your coordinates are: " .. tostring(humanoidRootPart.Position)) end -- Run the function when the script is executed printCoordinates()