Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --MaxproGlitcher#6199
- game:GetService("StarterGui"):SetCore("SendNotification",{
- Title = "Reset personnage",
- Text = "Script a ÊtÊ executer",
- Icon = "rbxassetid://11823384169",
- Duration = 15
- })
- local savedpos = ""
- local function kill()
- game.Players.LocalPlayer.Character:Destroy()
- end
- local function savepos()
- savedpos = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- end
- local function loadpos()
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = savedpos
- end
- savepos()
- kill()
- wait(game.Players.RespawnTime)
- wait(0.5)
- loadpos ()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement