Assume script.Parent is where the decal resides in, Decal have a property called Transparency so fairly simple.
To create a endless loop you must use "while true do".
1 | decal = script.Parent.Decal |
5 | script.Parent.Decal.Transparency = 0 |
This is what you specified, but if you want it to always fade and come back again endlessly, where it becomes fully visible in a 2 minute wait this is a proper script:
1 | decal = script.Parent.Decal |
4 | for i = 1 , 0 , - 0.00833333333 do |
But if not that then you just want a regular script that instantly turns decal invisible and visible once again then this is the script:
1 | decal = script.Parent.Decal |
4 | script.Parent.Decal.Transparency = 1 |
6 | script.Parent.Decal.Transparency = 0 |