like when you use a ClickDetector on a block and when you click it the transparent changes each time you click it.
I was thinking it was kinda script
script.Parent.ClickDetector.MouseClick:Connect(function() script.Parent.Transparency() end)
Would be nice to fix, or make a script!
Adding transparency:
script.Parent.Transparency = 0 script.Parent.ClickDetector.MouseClick:connect(function() script.Parent.Transparency = script.Parent.Transparency + 0.1 end)
Subtracting transparency:
script.Parent.Transparency = 1 script.Parent.ClickDetector.MouseClick:connect(function() script.Parent.Transparency = script.Parent.Transparency - 0.1 end)
If there are issues, please comment. If this helped, upvote and accept answer. Thank you!