Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local mychar = game.Players.LocalPlayer.Character
- local uis = game:GetService("UserInputService")
- local tp1
- local tp2
- local tp1_key = Enum.KeyCode.K
- local tp2_key = Enum.KeyCode.L
- uis.InputBegan:Connect(function(ipt)
- if ipt.KeyCode == tp1_key then
- mychar:MoveTo(tp1)
- elseif ipt.KeyCode == tp2_key then
- mychar:MoveTo(tp2)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement