local Players = game:GetService("Players") local player = Players.LocalPlayer local character = player.Character or player.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local playerGui = player:WaitForChild("PlayerGui") local gui = Instance.new("ScreenGui") gui.Parent = playerGui local frame = Instance.new("Frame") frame.Parent = gui frame.Size = UDim2.new(0, 586,0, 69) frame.Position = UDim2.new(0.272, 0,0.009, 0) frame.BackgroundColor3 = Color3.new(0.47451, 0.47451, 0.47451) frame.BorderSizePixel = 5 local text = Instance.new("TextLabel") text.Parent = frame text.Size = UDim2.new(0, 587,0, 69) text.Position = UDim2.new(-0.003, 0,0,0) text.BackgroundTransparency = 1 text.Text = "Wait..." text.TextSize = 25 local button = Instance.new("TextButton") button.Parent = frame button.Size = UDim2.new(0,80,0,25) button.Position = UDim2.new(0.861,0,-0.006,0) button.BackgroundColor3 = Color3.new(1, 0, 0) button.Text = ":Destroy()" button.TextScaled = true button.BorderSizePixel = 5 local function updatePosition() if hrp and hrp.Parent then local position = hrp.Position text.Text = "X:" .. math.floor(position.X) .. " Y:" .. math.floor(position.Y) .. " Z:" .. math.floor(position.Z) end end updatePosition() game:GetService("RunService").Heartbeat:Connect(updatePosition) player.CharacterAdded:Connect(function(newCharacter) character = newCharacter hrp = character:WaitForChild("HumanoidRootPart") updatePosition() end) local Sound = Instance.new("Sound") Sound.SoundId = "rbxassetid://131961136243204" Sound.Volume = 1 Sound.Parent = button button.MouseButton1Click:Connect(function() Sound:Play() task.wait(0.1) gui:Destroy() end)