tripono

rag

Jul 30th, 2017
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.78 KB | None | 0 0
  1. print("Ragdoll Physics Loaded")
  2. function OnEntered(Player)
  3. while Player.Character == nil do
  4. wait()
  5. end
  6. wait(1)
  7. Player.Changed:connect(function(Property)
  8. if Property == "Character" then
  9. if Player.Character then
  10. local Mods = script:GetChildren()
  11. for X = 1, # Mods do
  12. if Mods[X].className == "Script" or Mods[X].className == "LocalScript" then
  13. local S = Mods[X]:Clone()
  14. S.Disabled = false
  15. S.Parent = Player.Character
  16. end
  17. end
  18. end
  19. end
  20. end)
  21. local Mods = script:GetChildren()
  22. for X = 1, # Mods do
  23. if Mods[X].className == "Script" or Mods[X].className == "LocalScript" then
  24. local S = Mods[X]:Clone()
  25. S.Disabled = false
  26. S.Parent = Player.Character
  27. end
  28. end
  29. end
  30. game.Players.ChildAdded:connect(OnEntered)
Add Comment
Please, Sign In to add comment