Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Teleport = ReplicatedStorage:WaitForChild("Teleport")
- Teleport.OnServerEvent:Connect(function(player, checkpoint)
- local Character = player.Character
- if Character then
- Character.HumanoidRootPart.CFrame = checkpoint.CFrame + Vector3.new(0,8,0)
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement