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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
eastside4life is not online. eastside4life
Joined: 08 Jun 2009
Total Posts: 5333
19 Aug 2011 03:48 PM
for i = 1,100 do
a = Instance.new("Part")
a.Parent = game.Workspace
a.Anchored = true
a.CFrame = CFrame.new(0, 50, 0) = a.CFrame + CFrame.new(0, 5, 0)
end

How do i get that to work?
The cframe part is the messed up part.
Report Abuse
Justkissmeee is not online. Justkissmeee
Joined: 05 Dec 2009
Total Posts: 370
19 Aug 2011 03:49 PM
for i = 1,100 do
a = Instance.new("Part")
a.Parent = game.Workspace
a.Anchored = true
a.CFrame = CFrame.new(0, 50, 0) + CFrame.new(0, 5 * i, 0)
end
Report Abuse
eastside4life is not online. eastside4life
Joined: 08 Jun 2009
Total Posts: 5333
19 Aug 2011 03:52 PM
for i = 1,100 do
wait()
a = Instance.new("Part")
a.Parent = game.Workspace
a.Anchored = true
a.CFrame = CFrame.new(0, 1, 0) + CFrame.new(0, 1 * i, 0)
end

It only works once.
Report Abuse
DragoonGuy is not online. DragoonGuy
Joined: 07 Aug 2009
Total Posts: 1062
19 Aug 2011 03:54 PM
while true do wait()
for i = 1,100 do
a = Instance.new("Part")
a.Parent = game.Workspace
a.Anchored = true
a.CFrame = CFrame.new(0, 1, 0) + CFrame.new(0, 1 * i, 0)
end
end
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Aug 2011 03:55 PM
[ Content Deleted ]
Report Abuse
Justkissmeee is not online. Justkissmeee
Joined: 05 Dec 2009
Total Posts: 370
19 Aug 2011 03:56 PM
for i = 1,100 do
a = Instance.new("Part")
a.Parent = game.Workspace
a.Anchored = true
a.CFrame = CFrame.new(0, 50 + (i * 5), 0)
wait()
end
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Aug 2011 04:04 PM
[ Content Deleted ]
Report Abuse
myrco919 is not online. myrco919
Joined: 12 Jun 2009
Total Posts: 13241
19 Aug 2011 04:05 PM
[ Content Deleted ]
Report Abuse
Justkissmeee is not online. Justkissmeee
Joined: 05 Dec 2009
Total Posts: 370
19 Aug 2011 04:08 PM
The way he put the script originally, I assumed he wanted each part to be 5 studs higher than the one before it.
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