local button = script.Parent
local toggled = false
local function onButtonActivated()
if toggled == false then
button.Image = "rbxgameasset://Images/ImageButtonActivated"
toggled = true
else
button.Image = "rbxgameasset://Images/ImageButtonNormal"
toggled = false
end
end
button.Activated:Connect(onButtonActivated)
This is my script for a click changing my ImageButton to something else. I need to know how to make it change back to ImageButtonNormal after a certain waiting time.

2 comments
Just use a wait() system call
Where would I put that into my script? Also, do I put "system call" into the line?