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: how to make a smooth and slow gui rotation?

Previous Thread :: Next Thread 
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:25 PM
do you guys know how i can do this?
i would use renderstepped but i think if i did that the rotation would be too fast even with just 1 degree per step


Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:35 PM
Some like this?

for i = 0, 360 do
gui.Rotation = i
end
gui.Rotation = 0
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
31 Jul 2017 01:36 PM
just change the wait time between the rotation or change the rotation increment.


Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:38 PM
local time = .2 --set the time you want it to rotate i recommend around .2

while true do
if gui.Rotation == 360 -- checks if its 360 cos if it is it will break so it will reset back to 0 so the script can carry on
then gui.Rotation = 0
else wait(time) -- waits so long before it rotates again
gui.Rotation = gui.Rotation + 1 -- rotates
Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:39 PM
none of your ideas work, thanks for trying though.


Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:41 PM
also use an end at the end
and the 'gui' has to be changed so it is editing your gui so for examples
game.Workspace.StarterGui.Frame
Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:42 PM
My suggestion works....I've already tried it.
Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:43 PM
heres one out of my game that DOES work

while true do
wait(.05)
script.Parent.Rotation = script.Parent.Rotation + 2
if
script.Parent.Rotation == 360 then
script.Parent.Rotation = 0
end
end
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
31 Jul 2017 01:44 PM
like i said, you have 2 options: change the time, or change the increment.

local gui = script.Parent
local increment = .25
local time = 0

while wait(time) do
gui.Rotation = gui.Rotation + increment
end


Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:45 PM
CAN YOU STOP? OK? your idea sucks. that's the end of it. stop giving me basic scripts treating me like i'm new to scripting. smh..


Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:46 PM
You must be new 'smh' cos ya asking for a simple rotation script pmsl
Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:47 PM
this is really annoying, not only did you guys spam my post, but you also posted when i could bet 100$ that you didn't even read my original problem.


Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:47 PM
You ask for help you give us this attitude in return. Pathetic
Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:48 PM
LOL you guys think i didnt try your stupid while true do loops?


Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:49 PM
Of course you didn't try it, because all of the scripts you were suggested are functional.
Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:49 PM
Yea you wanted to know how to rotate a gui without using renderstepped as its to fast
smh
and we are 'spamming' your post as we actually being kind and you treat us like this
Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:49 PM
also, you cant change the rotation increment below 1, and you cant using the wait() function makes it choppy. please. read. my. post.


Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:50 PM
you're not being helpful by posting your basic loops on here, you're being annoying. i'm sorry if my opinions hurt you, but it's the truth.


Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:50 PM
do wait() but make the change plus like 5 so it isn't so fast. Experiment if your 'that good' at scripting you should be able to do this yourself.
Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:51 PM
Dude, no one will help you with this attitude. You act as if you are in a higher level than everyone.
Report Abuse
s3vvy is not online. s3vvy
Joined: 24 Feb 2011
Total Posts: 983
31 Jul 2017 01:52 PM
that's it. i'm not wasting time on you guys.

smh dev forums is better than this crappy place.


Report Abuse
topcst is not online. topcst
Joined: 20 Dec 2011
Total Posts: 3052
31 Jul 2017 01:52 PM
But you asked for the most basic thing in scripting you asked about how to change properties of an item. Yea they are 'Basic loops' But why ask for help if they're 'basic' and why didn't you make it yourself?
Report Abuse
TimeTicks is not online. TimeTicks
Joined: 27 Apr 2011
Total Posts: 27115
31 Jul 2017 01:52 PM
Really? Are you sure about that? You're the one here who needs to listen and READ.

s
t
reamable
.
com
/ybiep


Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:54 PM
He has a giant ego. He still thinks he better at scripting than anyone one of us.
Report Abuse
McRocketNuggets is not online. McRocketNuggets
Joined: 23 Nov 2016
Total Posts: 472
31 Jul 2017 01:56 PM
He won't take our advice nor help.
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