How do i make a brick change its color when I touch it to any color I want then for about 1 second it changes back to its original color Only Once Not All the time
partbeforecolor = script.Parent.Color3 debounce = false script.Parent.Touched:Connect(function() if debounce == false then -- cooldown for spam debounce = true script.Parent.BrickColor = BrickColor:Green() wait(1) script.Parent.Color3 = Color3.new(partbeforecolor) debounce = false end end)