generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Let's Make a Deal
Home Search
 

Re: This is correct right [lua]

Previous Thread :: Next Thread 
025110 is not online. 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
Europeancow2 is not online. Europeancow2
Joined: 02 Aug 2009
Total Posts: 37979
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 is not online. 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
jjkickflip is not online. jjkickflip
Joined: 30 Aug 2008
Total Posts: 28622
25 Nov 2014 07:15 PM
sure why not
Report Abuse
xLink123 is not online. 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 is not online. 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 is not online. 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 is not online. 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
SUBZEROBLOX is not online. SUBZEROBLOX
Joined: 21 Nov 2010
Total Posts: 25642
25 Nov 2014 07:17 PM
that looks hard

almost like physics formulas
Report Abuse
Europeancow2 is not online. Europeancow2
Joined: 02 Aug 2009
Total Posts: 37979
25 Nov 2014 07:17 PM
then it has to get stored as an ugly big number
Report Abuse
xLink123 is not online. 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 is not online. 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 is not online. 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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Let's Make a Deal
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image