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 » Scripting Helpers
Home Search
 

Re: Another how do I

Previous Thread :: Next Thread 
InYo22 is online. InYo22
Joined: 18 Jul 2010
Total Posts: 444
06 Mar 2014 08:41 PM
Alright, not very good at scripting, very limited knowledge to it. Best I can do is make a floor change colors randomly. But I thought I rotate a model of mine using a script.

I heard about the use of getmodel cframe but I am unsure of how to approach this. All I'm trying to do is make a model with roughly 3 parts inside of it rotate by 2 degrees every 12 seconds.

I have no idea how to approach this, any help?
Report Abuse
GamingOwl is not online. GamingOwl
Joined: 18 Feb 2014
Total Posts: 350
06 Mar 2014 08:43 PM
You know there is a thing built into studio for a cframing right? You also know it works with models too... right?
Report Abuse
InYo22 is online. InYo22
Joined: 18 Jul 2010
Total Posts: 444
06 Mar 2014 08:44 PM
Let me clarify-

I know of the cframe tool in studio. but what I mean is by a script in game, make a model rotate on its own while during gameplay, rotate roughly 2 degrees every 12 seconds.
Report Abuse
LilMcManiac is online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
06 Mar 2014 08:53 PM
Hmmmm, maybe this,
Rotate = + 2
game.Players.PlayerAdded:connect(function()
repeat
wait()
until game.Players(#players >= 2)
wait(12)
game.Workspace.PARTNAME.Position(POSITION,POSITION,Rotate)
end)
Report Abuse
InYo22 is online. InYo22
Joined: 18 Jul 2010
Total Posts: 444
06 Mar 2014 09:13 PM
I should clarify again, I'm trying to rotate a GROUP of parts that are together as a model. And this rotation is to make a group (model of a missile or) rotate on an axis 2 degrees every 12 seconds.
Report Abuse
LilMcManiac is online. LilMcManiac
Joined: 31 Oct 2011
Total Posts: 2812
07 Mar 2014 06:21 AM
Ok,
Rotation = + 2
game.Playesr.PlayerAdded:connect(function()
H = game.Workspace.MODELNAME:GetChildren()
H.Rotate.new(0,Rotation,0)
wait(12)
H.Rotate.new(0,Rotation,0)
wait(12)
H.Rotate.new(0,Rotation,0)
end)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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