local UserInputService = game:GetService("UserInputService") local player = game:GetService("Players").LocalPlayer local targetPos = Vector3.new(3481, 5,13) UserInputService.InputBegan:Connect(function(input, gameProcessed) if not gameProcessed and input.KeyCode == Enum.KeyCode.R then local character = player.Character local rootPart = character and character:FindFirstChild("HumanoidRootPart") if rootPart then rootPart.CFrame = CFrame.new(targetPos) end end end)