Hello, I am trying to learn a bit of CFraming for a script. I am trying to make a rotating light using rotation and I'm currently using the following script.
sphere = script.Parent
a = 0
off = 0
repeat
sphere.Rotation = Vector3.new( 0, a, 0)
wait(.01)
a = a+3
until off == 1
Does anybody know how this could occur faster as it currently is too slow.
This is what the script does however I was wondering if anyone could tell me how the speed could be adjusted. https://gyazo.com/879f6f3b63919ed5ad123b4b63ded4c3

1 comment
make the wait() time smaller or do a = a+6 maybe