Advertisement
VuaxExploits

Untitled

Dec 31st, 2019
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. function Died(p)
  2. wait(.001)
  3. local tracks=script:GetChildren()
  4. local rn=math.random(1,#tracks)
  5. local track=tracks[rn]
  6. if track~=nil then
  7. track:play()
  8. wait(5)
  9. track:pause()
  10. end
  11. end
  12.  
  13. function Hum(p)
  14. hum = p:findFirstChild("Humanoid")
  15. if hum ~= nil then
  16. hum.Died:connect(function(hum) Died(p) end)
  17. end
  18. end
  19.  
  20. function Enter(p)
  21. p.CharacterAdded:connect(Hum)
  22. end
  23. game.Players.PlayerAdded:connect(Enter)
  24.  
  25.  
  26. -- model script by bertan9994 --
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement