Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Rotating/spinning ImageLabel(GUI) HELP?

I'm trying to make an ImageLabel spin however I am unsure of what code I would need to use. I have attempted to code this however it's hard to explain what happens it like, spins at an odd angle alway here's the code:

while true do
wait(0.1)
script.Parent.Rotation = script.Parent.Rotation +5
end

Help on improving this would be greatly appreciated, thanks.

  • AlexHypee

4 comments

0

this isn't a site that gives you code you need to try on your own before we can help you

0

I apologise for not adding my current code, now edited.

2

You'll need to angle the image in a image editor. ROBLOX just rotates horizontally

0

make sure the image is a perfect square, if it isn't, change that in the editor. also make sure the thing that is spinning is directly in the center of the image.

1 answer

I know this is 4 years late but if anyone looks into it as I have. Here's the fixed version

while true do
wait(0.01)
script.Parent.Rotation = script.Parent.Rotation +5
end

This discussion is preserved as it was. New answers, comments, and votes are closed.