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: CFrame stuff

Previous Thread :: Next Thread 
AceCount is not online. AceCount
Joined: 23 Oct 2013
Total Posts: 199
31 Dec 2013 12:05 AM
I don't know much about Cframing, Vector3s, or anything like that, so how do I make a part rotate like this:

while script.Disabled == false do
wait(0.15)
script.Parent.CFrame = CFrame.y = y +2 --What actually goes here?
end
Report Abuse
robomax11 is not online. robomax11
Joined: 07 Jul 2011
Total Posts: 6828
31 Dec 2013 12:08 AM
while wait(.15) do -- why while disabled? if its disabled script wont run anyway
script.Parent.CFrame = script.Parent.CFrame + CFrame.new(0, bleh, 0) -- bleh is y
Report Abuse
Laedere is online. Laedere
Joined: 17 Jun 2013
Total Posts: 23601
31 Dec 2013 12:09 AM
script.Parent.CFrame = script.Parent.CFrame + Vector3.new(0, 2, 0)
Report Abuse
AceCount is not online. AceCount
Joined: 23 Oct 2013
Total Posts: 199
31 Dec 2013 12:16 AM
Ah ha! Got it thanks

while true do
wait(0.15)
script.Parent.Rotation = script.Parent.Rotation + Vector3.new(0, 2, 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