Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- game.Players.LocalPlayer.ChildAdded:Connect(function()
- wait()
- game.Players.LocalPlayer.ChildRemoved:Connect(function()
- CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
- print(CFrame)
- end)
- end)
- game.Players.LocalPlayer.ChildAdded:Connect(function()
- task.wait()
- y = game.Players.LocalPlayer.Character:FindFirstChild("Humanoid")
- if y ~= nil then
- y:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
- end
- x = game.Players.LocalPlayer.Character:FindFirstChild("Head")
- if x ~= nil then
- game.Players.LocalPlayer.Character.Head:Destroy()
- end
- game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = CFrame
- end)
- game.Players.LocalPlayer.Character.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Dead,false)
- wait()
- x = game.Players.LocalPlayer.Character:FindFirstChild("Head")
- if x ~= nil then
- x:Destroy()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement