https://www.youtube.com/watch?v=xDRutOMUPj0&feature=youtu.be
up above is a video on what is happening
down below is a local script in an image button
local Button = script.Parent
local ImageActivated = "rbxassetid://5049442168"
local ImageNormal = "rbxassetid://4888438200"
Button.Image = ImageNormal
function OnButtonActivated()
Button.Image = ImageActivated
script.Parent.Clickable = false
delay(3, function()
Button.Image = ImageNormal
end)
end
Button.MouseButton1Click:Connect(OnButtonActivated)
I do not understand why I can still click the ImageButton while it is on ImageActivated because of script.Parent.Clickable = false
I thought that line of code would make it so people could not click the image button when it was ImageActivated

2 comments
This script works fine for changing the image after 3 seconds, that help appreciated. But I can still click the ImageButton when it is ImageActivated, which I do not want.
Don't unlock the debounce then.