025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 25 Nov 2014 07:13 PM |
local x = game.StarterGui.Frame local y = y while true do y = y + 1 x.Rotation = y end
bid on 1k
•R$169,935• |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 07:15 PM |
why
local y = y
why not just local y
why not make it loop back to 0 after a certain number
why do you not have a wait() in a while loop |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 25 Nov 2014 07:15 PM |
oops
local x = game.StarterGui.ScreenGui.Frame local y = y while true do y = y + 1 x.Rotation = y end
•R$169,935• |
|
|
| Report Abuse |
|
|
| |
|
xLink123
|
  |
| Joined: 07 Aug 2014 |
| Total Posts: 11158 |
|
|
| 25 Nov 2014 07:16 PM |
| don't forget the wait() or else your computer will crash! |
|
|
| Report Abuse |
|
|
Blinkfeed
|
  |
| Joined: 21 Mar 2013 |
| Total Posts: 16088 |
|
|
| 25 Nov 2014 07:16 PM |
| http://www.roblox.com/Forum/ShowForum.aspx?ForumID=33 |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 25 Nov 2014 07:16 PM |
@euro
for rotation after 360 361 counts as 1, etc
local x = game.StarterGui.ScreenGui.Frame local y while true do wait() y = y + 1 x.Rotation = y end
•R$169,935• |
|
|
| Report Abuse |
|
|
myquest37
|
  |
| Joined: 18 Aug 2011 |
| Total Posts: 745 |
|
|
| 25 Nov 2014 07:16 PM |
| "y+1" I believe you have to do the number in another "a=" thing and then put the number there |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 07:17 PM |
that looks hard
almost like physics formulas |
|
|
| Report Abuse |
|
|
|
| 25 Nov 2014 07:17 PM |
| then it has to get stored as an ugly big number |
|
|
| Report Abuse |
|
|
xLink123
|
  |
| Joined: 07 Aug 2014 |
| Total Posts: 11158 |
|
|
| 25 Nov 2014 07:17 PM |
while wait() do script.Parent.Rotation = script.Parent.Rotation + 1 end |
|
|
| Report Abuse |
|
|
025110
|
  |
| Joined: 23 Nov 2012 |
| Total Posts: 57661 |
|
|
| 25 Nov 2014 07:18 PM |
Error!: "Attempt to preform arithmetic on local 'y'"
•R$169,935• |
|
|
| Report Abuse |
|
|
xLink123
|
  |
| Joined: 07 Aug 2014 |
| Total Posts: 11158 |
|
|
| 25 Nov 2014 07:19 PM |
| put my script in the object you're trying to rotate |
|
|
| Report Abuse |
|
|
robotmega
|
  |
| Joined: 16 May 2009 |
| Total Posts: 14084 |
|
|
| 25 Nov 2014 07:19 PM |
while wait() do script.Parent.Rotation=script.Parent.Rotation%360+1 end
|
|
|
| Report Abuse |
|
|
bluehead
|
  |
| Joined: 12 Aug 2007 |
| Total Posts: 158 |
|
|
| 25 Nov 2014 07:21 PM |
local x = game.StarterGui.ScreenGui.Frame local sp = script.Parent for i = 1,math.huge,0.1 do sp.CFrame = sp.CFrame + CFrame.new(0,i,0) wait() end
Something like that |
|
|
| Report Abuse |
|
|