wait(0.5) while true do script.Parent.Textlabel.Rotation = 2 wait(0.0001) script.Parent.Textlabel.Rotation = 2 wait(0.0001) script.Parent.Textlabel.Rotation = 2 wait(0.0001) script.Parent.Textlabel.Rotation = 2 wait(0.0001) script.Parent.Textlabel.Rotation = 2 wait(0.0001) end
I have a Surface GUI on the side of a gun, and it has infinite ammo, and so i have a infinite sign on it, How would i make it rotate so it will look "Noice"
I made the script above to attempt it, but it didnt work! Thanks aton! James Bread Armyofdeath909
What you need to do is make a loop with a variable that goes up a certain amount each time it "goes around", while setting the rotation to said variable. Here's some sample code.
local gui = script.Parent.TextLabel; local startrotation, increment, endrotation = 1, 2, 9e9 for variable = startrotation, increment, endrotation do gui.Rotation = variable; wait(); end;