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

How do I make 2 images spin when there on the screen?

Asked by
HjmanYT -1
6 years ago

I have the 2 halfs of the studio logo and I want them to spin when they popup on the screen how would I do that? (like a loading spinner.)

0
Why you stop coming to the game we're making? thesit123 509 — 6y
0
Like getting online. thesit123 509 — 6y

2 answers

Log in to vote
1
Answered by 6 years ago
Edited 6 years ago

As thesit123 said, put both of them in a frame and add this script:

while wait(.01) do
script.Parent.Frame.Rotation = script.Parent.Frame.Rotation + 10
end

Make sure the frame is the same size as both of the images together.

The easiest way is to just use one image of the studio logo, so use this if you want too

while wait(.01) do
script.Parent.ImageLabel.Rotation = script.Parent.ImageLabel.Rotation + 10
end
Ad
Log in to vote
1
Answered by
thesit123 509 Moderation Voter
6 years ago

Put both of them in a Frame, then rotate the Frame with its property of Orientation.

0
xD I tried to sound professional. thesit123 509 — 6y

Answer this question