1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
function wait(seconds) 	local start = os.time() 	repeat until os.time() > start + seconds end addhook('spawn','spawnwait') function spawnwait 	wait(10) end
(This of course is not the true code).
----
So how can I make it so that the code only stops the button from reacting for some seconds? Or is that only possible in the map?