Advertisement
DeAdGhOsTeX

Roblox Regen Script

Mar 26th, 2017
8,405
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. object = script.Parent
  2. if (object ~= nil) and (object ~= game.Workspace) then
  3. model = object
  4.  
  5.  
  6.  
  7.  
  8. backup = model:clone()
  9. waitTime = 10 --Time inbetween regeneration
  10. wait(math.random(0, waitTime))
  11. while true do
  12. wait(waitTime) -- Wait time
  13.  
  14.  
  15. model:remove()
  16.  
  17.  
  18.  
  19.  
  20. model = backup:clone()
  21. model.Parent = game.Workspace
  22. model:makeJoints()
  23.  
  24. end
  25. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement