Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local remoteEvent = game.ReplicatedStorage.OnTeleportClick
- remoteEvent.OnServerEvent:Connect(function(plr, pos)
- local char = plr.Character
- local hrp = char:FindFirstChild("HumanoidRootPart")
- if not hrp then return end
- hrp.Position = pos
- end)
Add Comment
Please, Sign In to add comment