menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
Selected Firing Twice?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
Selected Firing Twice?
youtuberperson
Join Date: 2008-04-20
Post Count: 2461
#31264738
Monday, August 09, 2010 8:44 PM GMT
How can I prevent the selected event from firing twice? If you look at my tank game the tank spawns twice and I don't like it.. :P
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
ReyLua
Join Date: 2010-07-21
Post Count: 305
#31264874
Monday, August 09, 2010 8:45 PM GMT
[ Content Deleted ]
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
Blockrat
Join Date: 2008-10-01
Post Count: 3300
#31264964
Monday, August 09, 2010 8:46 PM GMT
Yeah, debounce.
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
crazypotato4
Join Date: 2010-02-22
Post Count: 20000
#31264983
Monday, August 09, 2010 8:46 PM GMT
use a debounce, it goes like this: debounce = true function something() if not debounce then return end debounce = false stuff stuff debounce = true end does that make it work?
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