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 » Game Creation and Development » Scripters
Home Search
 

Re: Rotation question.

Previous Thread :: Next Thread 
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
23 Jul 2015 02:49 PM
game.Players.PlayerAdded:connect(function(player)
local gui = game.ServerStorage.ScreenGui
gui.Parent = player.PlayerGui
for i = 0,360 do
gui.Frame.Rotation = i
end
end)

Thanks!

It's just not spinning.
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
23 Jul 2015 02:50 PM
rotating*
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
23 Jul 2015 02:51 PM
add a wait inside the loop, because it'll just set keep setting the rotation until it reaches 360 and you won't "see" anything
Report Abuse
Stefan631 is not online. Stefan631
Joined: 23 Dec 2010
Total Posts: 1350
23 Jul 2015 02:51 PM
wait()
Report Abuse
xXIcanthinkofanameXx is not online. xXIcanthinkofanameXx
Joined: 05 May 2012
Total Posts: 857
23 Jul 2015 02:51 PM
That's because you need to wait a certain amount of time before you change the rotation again, try this:

game.Players.PlayerAdded:connect(function(player)
local gui = game.ServerStorage.ScreenGui
gui.Parent = player.PlayerGui
for i = 0,360 do
gui.Frame.Rotation = i
wait()
end
end)
Report Abuse
Dralian is not online. Dralian
Joined: 21 Mar 2013
Total Posts: 7624
23 Jul 2015 02:52 PM
thanks.

i appreciate it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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