generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Regen Script Issues

Previous Thread :: Next Thread 
KillerHawke is not online. KillerHawke
Joined: 02 Apr 2011
Total Posts: 14
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 is not online. 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 is not online. 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
KillerHawke is not online. KillerHawke
Joined: 02 Apr 2011
Total Posts: 14
12 Dec 2011 08:40 PM
K thx i'll try that
Report Abuse
KillerHawke is not online. KillerHawke
Joined: 02 Apr 2011
Total Posts: 14
12 Dec 2011 08:42 PM
And its not a button. Do I just do the same thing?
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image