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: Where Would the CFrame Angles be in this Script?

Previous Thread :: Next Thread 
zcole96 is not online. zcole96
Joined: 11 May 2008
Total Posts: 838
05 Nov 2011 11:51 AM
Last = CFrame.new(Vector3.new(StartingPos))
local mod = Instance.new("Model", game.Workspace)
mod.Name = "Mountain"
for i = 1,250 do
local p = Instance.new("Part", mod)
p.Name = "Step"
p.Anchored = true
p.Locked = true
Instance.new("BlockMesh", p)
p.Size = Vector3.new(50,50,50)
p.Color = Color3.new(math.random(), math.random(), math.random())
p.TopSurface = 0
p.BottomSurface = 0
p.CFrame = (Last * CFrame.fromEulerAnglesXYZ(0, math.rad((6/10) * 4), 0)) * CFrame.new(0,0, 3)
Last = p.CFrame
end


Thanks for your cooperation
Report Abuse
zcole96 is not online. zcole96
Joined: 11 May 2008
Total Posts: 838
05 Nov 2011 11:52 AM
Wow. I'm such a moron. Don't reply.
Report Abuse
nate890 is not online. nate890
Joined: 22 Nov 2008
Total Posts: 21686
05 Nov 2011 11:53 AM
A mistake doesn't make you a moron. No need to be so self-negative.
Report Abuse
zcole96 is not online. zcole96
Joined: 11 May 2008
Total Posts: 838
05 Nov 2011 12:01 PM
This isn't working so well anyways. Any way someone could make me a script that generates 750 50x50x50 dark stone grey parts with random cframes that revolve in a circle and rise 10 studs each time? That'd really help me.
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