i have a simple Onclicked function that i would like to prevent the button from working once the function is called. don't worry about the syntax i just want to know how to make the button not work or not call the function again while it is working. is this possible? and how could i achieve it if so?
function move()
transport(finish)
end
floor1e.ClickDetector.MouseClick:connect(move)

2 comments
You could also use the disconnect method, but your way's probably best in this situation. http://wiki.roblox.com/index.php?title=Disconnect#Methods_2
yeah, it's much simpler