The purpose of this script is to make an image button slowly appear, with the use of transparency however it doesn´t work. It would be nice if you could help me out. In need of further details write down in the comments. I will accept answers that answer my question.
if 2+2==4 then
TandhjulsKnap.ScreenGui.Enabled=true
for i = 0,1,0.1 do
TandhjulsKnap.ScreenGui.Tandhjul.ImageTransparancy = 1-i
wait(5)
end
end

1 comment
use a smaller interval (it would take 50 seconds to complete the loop); (1/0.1)*5 = 50;