Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local char = localPlayer.Character
- if not char then return end
- local root = char:FindFirstChild("HumanoidRootPart")
- if not root then return end
- local savedCFrame = root.CFrame
- --once your respawned
- local newChar = localPlayer.CharacterAdded:Wait()
- local newRoot = newChar:WaitForChild("HumanoidRootPart")
- newRoot.CFrame = savedCFrame
Advertisement
Add Comment
Please, Sign In to add comment