Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(2)
- print("Anti death script has been loaded!!")
- print("Made by **Cacti with mustache**#7663 in discord")
- ----------------------------------------------- variables
- local playerlocal = game.Players.LocalPlayer ---- dont touch unless you know what you are doing
- local char = workspace:FindFirstChild(playerlocal.Name) ---- dont touch unless you know what you are doing
- local looped = true ---- DONT TOUCH WİLL BREAK SCRİPT
- local playername = playerlocal.Name --- playername because whynot
- local waittime = 1 --- how fast it detects if you are dead or not Dont have this under 1 or the game will lag
- ----------------------------------------------- variables
- -----------------------------------------------Script
- while looped == true do
- wait(waittime)
- char.Humanoid.Died:Connect(function(Localdied)
- for i,v in (workspace:GetChildren()) do
- if v.ClassName == "Model" then
- v:BreakJoints()
- end
- end
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement