Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

Rotating/spinning ImageLabel(GUI) HELP?

Asked by 8 years ago

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

0
this isn't a site that gives you code you need to try on your own before we can help you ProfessorSev 220 — 8y
0
I apologise for not adding my current code, now edited. AlexHypee 0 — 8y
2
You'll need to angle the image in a image editor. ROBLOX just rotates horizontally Shawnyg 4330 — 8y
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. Fluxzion -3 — 6y

1 answer

Log in to vote
0
Answered by 4 years ago

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
Ad

Answer this question