Advertisement
idkllal

test1

Aug 9th, 2018
113
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. wait(2)
  2. print("Anti death script has been loaded!!")
  3. print("Made by **Cacti with mustache**#7663 in discord")
  4.  
  5. ----------------------------------------------- variables
  6. local playerlocal = game.Players.LocalPlayer ---- dont touch unless you know what you are doing
  7. local char = workspace:FindFirstChild(playerlocal.Name) ---- dont touch unless you know what you are doing
  8. local looped = true ---- DONT TOUCH WİLL BREAK SCRİPT
  9. local playername = playerlocal.Name --- playername because whynot
  10. local waittime = 1 --- how fast it detects if you are dead or not Dont have this under 1 or the game will lag
  11. ----------------------------------------------- variables
  12.  
  13.  
  14.  
  15.  
  16.  
  17. -----------------------------------------------Script
  18. while looped == true do
  19. wait(waittime)
  20. char.Humanoid.Died:Connect(function(Localdied)
  21. for i,v in (workspace:GetChildren()) do
  22. if v.ClassName == "Model" then
  23. v:BreakJoints()
  24.  
  25. end
  26. end
  27. end)
  28. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement