My script does that when i touch it, the brick becomes invisible, but im having trouble with the second part.
Here my script:
script.Parent.Touched:Connect(function(hit) if hit.Parent.Name == "WaterEssence" then script.Parent.Transparency = 0.5 wait(20) script.Parent.Transparency = 0 end

1 comment
You need a variable somewhere in your code so you can increment it.