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: How to put back the removed parts

Previous Thread :: Next Thread 
omaraa is not online. omaraa
Joined: 23 Sep 2010
Total Posts: 440
15 May 2012 08:37 PM
hey guys i have been trying to make/figure out a way to put back the bricks i deleted with script builder.


game.Workspace.part1:remove()

that how to remove it but how can i get it back???
Report Abuse
nightmare3o is not online. nightmare3o
Joined: 21 Jun 2008
Total Posts: 956
15 May 2012 08:39 PM
Put the part in lighting and put the same one in Workspace


Part = game.Lighting.part1

while true do
Part:clone()
game.Workspace.part1:remove
Part.Parent = game.Workspace
end
Report Abuse
nightmare3o is not online. nightmare3o
Joined: 21 Jun 2008
Total Posts: 956
15 May 2012 08:40 PM
Part = game.Lighting.part1

while true do
Part:clone()
game.Workspace.part1:remove()
Part.Parent = game.Workspace
end


Sorry for double postin but had to fix something xD
Report Abuse
johny220 is not online. johny220
Joined: 30 Oct 2011
Total Posts: 4584
15 May 2012 08:47 PM
if you click cut, just press "paste into" on workspace.
Report Abuse
omaraa is not online. omaraa
Joined: 23 Sep 2010
Total Posts: 440
15 May 2012 08:58 PM
jony i ment in script builder not in studio mode.
Report Abuse
thecaptain97 is not online. thecaptain97
Joined: 17 Jun 2010
Total Posts: 4987
15 May 2012 10:22 PM
Instead of :remove() so this:

workspace.part1.Parent = game.Lighting

game.Lighting.part1.Parent = workspace
Report Abuse
Cheater is not online. Cheater
Joined: 29 Jun 2007
Total Posts: 5258
16 May 2012 02:02 AM
Or you could put a clone inside the Lighting or anywhere, give it a specific name and totally :Destroy() the other one in Workspace.
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