menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
How do you make a button that deletes itself?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How do you make a button that deletes itself?
ConstantineXl
Join Date: 2011-01-01
Post Count: 6095
#142976463
Friday, August 08, 2014 11:59 AM GMT
I'm working on a rocket, and I need a button that seperates the service module from the capsule. Is there any examples I could use for this?
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
AnonyAnonymous
Join Date: 2013-06-23
Post Count: 6332
#142976655
Friday, August 08, 2014 12:05 PM GMT
You could use one of the click events depending on how you've set up the system and then just use ":Destroy()" on the scripts parent.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right