Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UserInputService = game:GetService("UserInputService")
- local function onInputBegan(input, gameProcessed)
- if input.KeyCode == Enum.KeyCode.T then
- local player = game.Players.LocalPlayer
- player.Character.HumanoidRootPart.CFrame = CFrame.new(x, y, z)
- end
- end
- UserInputService.InputBegan:Connect(onInputBegan)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement