Im trying to make a loading GUI thing by making some image rotate around (like a simple animation) and im trying to do that with this code:
while true do wait(.1) script.Parent.Rotation = script.Parent.Rotation + 1 end)
I tried both Local and Server scripts, I tried to get the GUI image by a variable, I tried to put the script outside of the GUI image and manually find it:
script.Parent.GUI ....
I added a print and the script wont run at all. What am I missing here? Can anyone help me please?
Hello my friend, I did something very simple, almost the same as yours, and it worked, here is the script:
while wait() do script.Parent.Rotation = script.Parent.Rotation + 1 end
Your script has one ) , in a place that wasn’t supposed to be xD