I have SurfaceGui with TextButton on it. And when button becomes inactive, it still can be pressed. How do i make the button not pressable?
function click()
script.Parent.Active = false
print("Button pressed!")
wait(5)
script.Parent.Active = true
end
script.Parent.MouseButton1Click:connect(click)

2 comments
Wow... you just fixed AgentL3r's script... you so sm4rt...
Well if your more smart than us, why do you have a problem with this script?