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 » Building Helpers
Home Search
 

Re: How do I add a 'Regen' button to any car?

Previous Thread :: Next Thread 
pilotboy1 is not online. pilotboy1
Joined: 25 May 2009
Total Posts: 1908
10 Aug 2013 11:32 AM
I made a van... but I need a regen button, how do I add one?
Report Abuse
pilotboy1 is not online. pilotboy1
Joined: 25 May 2009
Total Posts: 1908
10 Aug 2013 11:37 AM
Bumpity Bump
Report Abuse
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
10 Aug 2013 11:43 AM
Most regens you just group with the vehicle. Then change the name in the script to the name of your vehicle model.
Report Abuse
pilotboy1 is not online. pilotboy1
Joined: 25 May 2009
Total Posts: 1908
10 Aug 2013 11:45 AM
@Scacman1967

Thanks!
Report Abuse
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
10 Aug 2013 11:50 AM
http://www.roblox.com/UFO-item?id=121509680

I use this regen pad with all my vehicles. I dont know who wrote the script for the regenpad but it wasn't me.

The ufo is powered by tummey2 scripting, built by me.

The regen pad will regen as soon as the vehicle is far enough away. It would be wise to put a timed removal script into the vehicle to prevent spamming vehicles.
Report Abuse
pilotboy1 is not online. pilotboy1
Joined: 25 May 2009
Total Posts: 1908
10 Aug 2013 11:55 AM
@Scacman1967

Firstly, thanks again.

I'm quite a basic scripter, do you know the script for the timed removal, or where I can find it?
Report Abuse
tummey2 is not online. tummey2
Joined: 04 Feb 2009
Total Posts: 1802
10 Aug 2013 12:16 PM
You can use mine if your vehicle has a "VehicleSeat" in it.

http://www.roblox.com/Regen-item?id=120146398
Report Abuse
Brycemlns is not online. Brycemlns
Joined: 28 Jan 2008
Total Posts: 216
10 Aug 2013 03:29 PM
Add wait(3) (where 3 is the seconds) to your script for timed removal.
Report Abuse
scacman1967 is not online. scacman1967
Joined: 06 Aug 2011
Total Posts: 9288
11 Aug 2013 12:40 AM
Put this on a script in the vehicle model.
Not in the grouped regen but inside the actual vehicle model that the regen is grouped with.

wait(600)
script.Parent:Remove()
Report Abuse
tummey2 is not online. tummey2
Joined: 04 Feb 2009
Total Posts: 1802
11 Aug 2013 10:13 AM
The problem with what you guys are saying is that regardless of if the player is driving or not once the wait has completed the car will remove. If you want to do it properly you have to monitor if the vehicle's being stimulated and then if it's not been touched for awhile, remove it.
Report Abuse
jetpack123456 is not online. jetpack123456
Joined: 24 Aug 2011
Total Posts: 141
11 Aug 2013 12:52 PM
I'm a basic scripter too.
The scripting help fourm is for these questions though.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Building 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