Vyse1107
|
  |
| Joined: 07 Jan 2008 |
| Total Posts: 188 |
|
|
| 11 Jan 2008 10:39 PM |
| I need a script that will regenerate an object on a timed basis. if you dont know what this is, go to dr01d3k4's bread factory for a great example. If you have the script please Pm me the script. Thank you |
|
|
| Report Abuse |
|
|
garfield
|
  |
| Joined: 31 Jul 2007 |
| Total Posts: 11 |
|
|
| 11 Jan 2008 11:28 PM |
here you go: (follow the instructions in green oh and select work place so it is highlighted ond click insert near File then click Object and type in Script then ok)
COPY AND PASTE IN SCRIPT:
model = game.Workspace.MyModelName --Replace the 'MyModelName' with the name of your model. messageText = "Regenerating MyModelName..." --And replace it here! message = Instance.new("Message")--Make a Message message.Text = messageText backup = model:clone()--Got to Make A Back-Up.
while true do --This Makes It Continuous wait(300) --How long till regeneration. message.Parent = game.Workspace --The Message Should Show To Everyone model:remove()
wait(4) -- display regen message for 4 seconds
model = backup:clone() --Clone the Back-up To Make Another One model.Parent = game.Workspace --You Got To See It Right? model:makeJoints() --Make Sure It Doesn't Fall Apart. message.Parent = nil --clears message end
|
|
|
| Report Abuse |
|
|
Vyse1107
|
  |
| Joined: 07 Jan 2008 |
| Total Posts: 188 |
|
|
| 11 Jan 2008 11:45 PM |
| im really new to scripting so i dont understand any of this. can you explain this in greater detail? sorry for any problems i caused you. |
|
|
| Report Abuse |
|
|
garfield
|
  |
| Joined: 31 Jul 2007 |
| Total Posts: 11 |
|
| |
|
Vyse1107
|
  |
| Joined: 07 Jan 2008 |
| Total Posts: 188 |
|
|
| 11 Jan 2008 11:58 PM |
| explain what everything is and what it does in great detail. please dont sum it up. i all the details. again sorry for any problems i've caused you. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2008 12:56 AM |
| dude its easy! just get used to using the scripts and youll be fine |
|
|
| Report Abuse |
|
|
garfield
|
  |
| Joined: 31 Jul 2007 |
| Total Posts: 11 |
|
| |
|
| |
|
garfield
|
  |
| Joined: 31 Jul 2007 |
| Total Posts: 11 |
|
| |
|
|
| 12 Jan 2008 01:00 AM |
| ok go ahead. show him how to do it...YOUR way |
|
|
| Report Abuse |
|
|
garfield
|
  |
| Joined: 31 Jul 2007 |
| Total Posts: 11 |
|
|
| 12 Jan 2008 03:02 AM |
OK V. IN THE FIRST SECTANCE: model = game.Workspace.MyModelName YOU CHANGE MyModelName TO WHATEVER YOU WANT TO REGEN FOR EXANPLE: YOUR MODEL IS CALLED CAR DELET MyModelName AND CHANGE IT TO YOUR MODEL'S NAME. SAME THNG FOR THE SECOND SENTENCE IN THE MyModelName SPACE, CHANGE IT TO YOUR MODEL'S NAME. THEN PUBLISH THAT MODEL TO ROBLOX BY RIGHT CLICKING ON IT AND SELECTING Publish To Roblox... AND SAVE IT TO YOUR COMPUTER TO... RIGHT CLICK AND SELECT SAVE TO FILE... (I THINK) THEN GO TO Backup IN THE SCRIPT AND IN BETWEEN () COPY AND PASTE THE BACKUP THAT YOU SAVED. THEN IN THE NEXT SECTENCE THAT SAYS: while true do wait(300) --How long till regeneration in seconds. IN THE PLACE THAT SHOWS THE NUMBERS CHANGE THEM TOO ANY NUMBER YOU LIKE (IT IS IN SECONDS EX. 60 SEC. = 1 MIN) NOW GO DOWN TO THE SENTENCE THAT SHOWS THIS: model = backup:clone() --Clone the Back-up To Make Another One DO THE SAME THING LIKE THE LAST BACKUP COPY AND PASTE NEXT SENTENCE... GO TO THE ONE THAT SAYS: model:makeJoints() --Make Sure It Doesn't Fall Apart. IN THE () PUT THE NUM. 5000 IF YOU HAVE MORE BRICKS IN YOUR PLACE THEN PUT A HIGHIER NUM. AND THAT'SIT!! IF IT DOESN'T WORK THEN I'M SORRY THAT I COULDN'T HELP... ASK PEOPLE HOW HOW REGEN SCRIPTS IN THEIR PLACE THEY MIGHT TELL YOU GOOD LUCK! |
|
|
| Report Abuse |
|
|
Agent5
|
  |
| Joined: 25 Sep 2007 |
| Total Posts: 40 |
|
| |
|
jeffcena
|
  |
| Joined: 26 Aug 2007 |
| Total Posts: 3743 |
|
|
| 12 Jan 2008 03:58 AM |
1. whats your model called 2. what time do you want between regens 3. what do u want the message to be
-- I hAs A bUcKeTz! -- .: jeffcena :. <(*_*)> |
|
|
| Report Abuse |
|
|