Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local name = game.Players.LocalPlayer.Name
- nameplayer = "Qoucx"
- -- Directamente
- pos = workspace[name].HumanoidRootPart.CFrame
- workspace[name].HumanoidRootPart.CFrame = workspace[nameplayer].HumanoidRootPart.CFrame
- print("Teleported to:", nameplayer)
- wait(5)
- workspace[name].HumanoidRootPart.CFrame = pos
- -- Keybind
- Keybind = "X"
- game:GetService("UserInputService").InputBegan:connect(function(key)
- if key.KeyCode == Enum.KeyCode[Keybind] then
- workspace[name].HumanoidRootPart.CFrame = workspace[nameplayer].HumanoidRootPart.CFrame * CFrame.new(0,2,0)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement