I have tried looking online and everywhere for this but I cannot find what I'm looking for. Basically what I am trying to look for is a rotation effect on a image for a loading screen. Example. Some games like Phantom Forces and Heists have a rotating Roblox logo image as their loading GUI. That's what I want but I cannot find any information on how to do this. This is why I am asking. Someone please help me!
You can use "Rotation" to rotate GUIs.
while true do --Create a loop so it doesn't stop. wait(0) --Keep this here or else the script will lag. script.Parent.Rotation = script.Parent.Rotation +.5 --Put this higher to increase the speed! end
I was trying to make the Image spin like Roblox Icon. So I made myself. Enjoy this!
Make sure to put this script in whatever you want to spin.
while true do script.Parent.Rotation = script.Parent.Rotation + .1 wait() script.Parent.Rotation = script.Parent.Rotation + .2 wait() script.Parent.Rotation = script.Parent.Rotation + .3 wait() script.Parent.Rotation = script.Parent.Rotation + .4 wait() script.Parent.Rotation = script.Parent.Rotation + .5 wait() script.Parent.Rotation = script.Parent.Rotation + .6 wait() script.Parent.Rotation = script.Parent.Rotation + .7 wait() script.Parent.Rotation = script.Parent.Rotation + .8 wait() script.Parent.Rotation = script.Parent.Rotation + .9 wait() script.Parent.Rotation = script.Parent.Rotation + 1 wait() script.Parent.Rotation = script.Parent.Rotation + 1.25 wait() script.Parent.Rotation = script.Parent.Rotation + 1.5 wait() script.Parent.Rotation = script.Parent.Rotation + 1.85 wait() script.Parent.Rotation = script.Parent.Rotation + 2.5 wait() script.Parent.Rotation = script.Parent.Rotation + 3 wait() script.Parent.Rotation = script.Parent.Rotation + 4 wait() local i = 0 repeat script.Parent.Rotation = script.Parent.Rotation + 5 i = i + 5.65 wait() until i >= 360 script.Parent.Rotation = script.Parent.Rotation + 4 wait() script.Parent.Rotation = script.Parent.Rotation + 3 wait() script.Parent.Rotation = script.Parent.Rotation + 2.5 wait() script.Parent.Rotation = script.Parent.Rotation + 1.85 wait() script.Parent.Rotation = script.Parent.Rotation + 1.5 wait() script.Parent.Rotation = script.Parent.Rotation + 1.25 wait() script.Parent.Rotation = script.Parent.Rotation + 1 wait() script.Parent.Rotation = script.Parent.Rotation + .9 wait() script.Parent.Rotation = script.Parent.Rotation + .8 wait() script.Parent.Rotation = script.Parent.Rotation + .7 wait() script.Parent.Rotation = script.Parent.Rotation + .6 wait() script.Parent.Rotation = script.Parent.Rotation + .5 wait() script.Parent.Rotation = script.Parent.Rotation + .4 wait() script.Parent.Rotation = script.Parent.Rotation + .3 wait() script.Parent.Rotation = script.Parent.Rotation + .2 wait() script.Parent.Rotation = script.Parent.Rotation + .1 wait() script.Parent.Rotation = script.Parent.Rotation + 0 wait(2.5) end