Easy Written By Raceingguy1432

Spinning Surface Gui Created on: 01-01-2019

A tutorial on how to make a Image spin.

Inserting the Surface Gui.

First of all you need a brick, Then you go to your Explorer on the right side then select your part/brick. (rbxassetid://2782838934:1:0.5) When you have selected your brick/part right click and click Insert Object and try to find Surface Gui.



After that select Surface Gui and do the same thing, Right click then Insert Object but instead of Surface Gui click on ImageLabel (rbxassetid://2782886490:0.5:1) Then select ImageLabel then go to properties on your left and scroll down till you find Image Catagory (rbxassetid://2782893017:1:0.5) (Kinda Blurry sorry) (rbxassetid://2782930051:1:0.5) We need to change the size also scroll down untill you see size. Make sure the size is the same as the picture.



Okay once you scroll down in properties, click on that and search a image id in toolbox. Lets say this one (Copy paste if you want) 2589812754 Paste it into the box there. First off we need a script click isnert object and click script.

Scripting

(rbxassetid://2782909894:0.5:1)

Now open/click Script

First we need a looping script. (True while do) you can learn that in a a form here. (Make sure its blank) Now Type in this

while true do

then we need to add a rotation.

while true do


for i = 1, 360 do

script.Parent.Rotation = i/.025

Finishing touch

while true do
	
for i = 1, 360 do
script.Parent.Rotation = i/.025
wait()
end
	end

Contact for help

if you need any help just dm me in Discord.

Username: Racingguy1432#2503

I hope you learn something this is my first time!

Easy Written By Raceingguy1432

See Raceingguy1432's profile on Roblox

Discussion