Still have questions? Join our Discord server and get real time help.
0

# How do I make a text label rotate from side to side?

Can someone help? Thanks it's appreciated.

0
RoboFrog 385
4 years ago

All you would need to do is modify the Position property.

You would want to use this with a loop for best effect. Be sure to include a wait of some sort to make it actually look like it's moving:

local xcurr = 0 -- The current value.
for i = 1,10 do -- 10 is how many times it runs.
xcurr = xcurr + 0.01 -- This is how far it moves each time
script.Parent.Position = UDim2.new(xcurr, 0, 0 0) -- Note the location of xcurr
wait(.001)
end

0
Local script or normal? antlerer 33 — 4y
0
In a local script it'd just run, in a normal script it'd need to be called upon. In a local script, you could use a "repeat wait() until x==y" to facilitate it running. RoboFrog 385 — 4y
0
It doesnt work antlerer 33 — 4y
0
The script posted above does work, as to I've used it numerous times. What kind of script did you use, and how did you facilitate running it? RoboFrog 385 — 4y