|
| 11 Dec 2011 09:41 PM |
| Ok so I used ROBLOX's regen script but something kept happening. Ok so it would regen but each time it would regen 1 more of the model in the same place. That may not have described it enough but i'll just say it kept regenning multiple of the same model into the same place.Im not sure if its how I put it on or if I messed up the script somehow but can somehelp me? Or write me a script that works?I'll pay. and btw how do you make Humanoids fall apart after dying?Mine just stay the same. |
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 11 Dec 2011 09:54 PM |
okay well group the regen button and the model into the same model, i'll be calling whatever the model is MODEL here, change that to whatever it's called. make sure you gots a bool value in the button too, and make sure you put the model that you want to be regened in the spot you want it to be regened in then move it into lighting.. i hope this works, can't test it.
bool = script.Parent.BoolValue del = script.Parent.Parent.MODEL model = game.Lighting.MODELCLONE function onTouched() if bool.Value == false then bool.Value = true del:delete() a = model:clone() a:makeJoints() a.Parent = script.Parent.Parent wait(10) bool.Value = false end end script.Parent.Touched:connect(onTouched)
|
|
|
| Report Abuse |
|
|
mage11561
|
  |
| Joined: 03 Sep 2008 |
| Total Posts: 13217 |
|
|
| 11 Dec 2011 10:02 PM |
WAITWAITWAIT for the del:delete() line replace delete with Destroy, by bad D: |
|
|
| Report Abuse |
|
|
| |
|
|
| 12 Dec 2011 08:42 PM |
| And its not a button. Do I just do the same thing? |
|
|
| Report Abuse |
|
|