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: Respawn TouchInterest

Previous Thread :: Next Thread 
lewisw60 is not online. lewisw60
Joined: 27 Nov 2008
Total Posts: 193
30 May 2014 08:12 PM
I have a brick that when touched, will remove itself from the game, and 2 seconds later will respawn back with everything parented to it. However I cannot do this with a TouchTransmitter as it will not allow its parent to be changed. How do I remove the part, put it back in the workspace then re apply the TouchTransmitter?
Report Abuse
Vyxium is not online. Vyxium
Joined: 31 Aug 2010
Total Posts: 1020
30 May 2014 08:15 PM
a = part:Clone()

part.Touched:connect(function(hit)
part:Destroy()
end)

wait(2)

a.Parent = workspace
Report Abuse
lewisw60 is not online. lewisw60
Joined: 27 Nov 2008
Total Posts: 193
30 May 2014 08:17 PM
Im an idiot ;-;
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