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
 

regen script

Previous Thread :: Next Thread 
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
03 Jul 2012 08:53 PM
can someone help me make a regen script it doesn't matter if its timed or regen button as long as there's no mssg that says regen on screen pls help thanks :D
Report Abuse
wazup07 is not online. wazup07
Joined: 17 Oct 2009
Total Posts: 313
03 Jul 2012 08:57 PM
This is fairly simple to do. This forum is for asking help. Its a simple script, why don't you give it a try and if you still cant figure it out, post your script and you will recieve help here.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
04 Jul 2012 12:08 AM
Im still working on it
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
04 Jul 2012 10:55 PM
Hauntedua helped me here it is
local box = script.Parent local debounce = false local everything = {model} local names = {model} local children = game.Workspace:children() for i=1,#children do if (children[i].Name == "Model Name Here") then --Model name goes here! table.insert(everything, children[i]:clone()) table.insert(names, children[i].Name) end end function regen() for i=1,#everything do game.Workspace:findFirstChild(names[i]):remove() new_thing = everything[i]:clone() new_thing.Parent = game.Workspace new_thing:makeJoints() end end function onTouched(hit) local humanoid = hit.Parent:findFirstChild("Humanoid") if humanoid~=nil and debounce == false then debounce = true script.Parent.BrickColor = BrickColor.new(26) regen() wait(1) script.Parent.BrickColor = BrickColor.new(104) debounce = false end end script.Parent.Touched:connect(onTouched)
Report Abuse
WhiteRain is not online. WhiteRain
Joined: 24 Apr 2010
Total Posts: 2723
04 Jul 2012 11:28 PM
^ Ugly script O.e
Report Abuse
GreenDay987 is not online. GreenDay987
Joined: 21 May 2011
Total Posts: 7027
04 Jul 2012 11:33 PM
What the heck...

Use the enter :P





-GD987, the FPS Developer-
Report Abuse
Zebabwe2 is not online. Zebabwe2
Joined: 18 Jun 2011
Total Posts: 110
05 Jul 2012 03:52 AM
I can't understand the script if you dont use enter.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
05 Jul 2012 02:05 PM
i justt copy paste it from inbox but im just showing u how it is
Report Abuse
JiggedyJam is not online. JiggedyJam
Joined: 01 Apr 2010
Total Posts: 4611
05 Jul 2012 02:34 PM
That looks waaay longer than it needs to be.
Report Abuse
REM25 is online. REM25
Joined: 28 Feb 2010
Total Posts: 3154
05 Jul 2012 06:21 PM
i actually dont care about the length
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