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
 

Can someone help me with this script please?

Previous Thread :: Next Thread 
coltonrl is not online. coltonrl
Joined: 08 Oct 2008
Total Posts: 208
26 Sep 2012 06:38 PM
Why isn't rapidily creating new parts and putting them in the group Apples?
Keep in mind im just trying to play with lua and learn some.


Instance.new("Model", Workspace)
Workspace.Model.Name="Apples"
function Apples()
while true do
Instance.new("Part", Workspace)--Spam lul.
Workspace.Part.Name="Tree"
wait(.001)
Workspace.Tree.Parent="Apples"
wait(.001)
end end

Apples()

print("I probaly shouldn't of done this")

"Some people that come to ROBLOX think that it's restricted to only stamper tools."-Anonymous
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
26 Sep 2012 06:41 PM
model = Instance.new("Model", Workspace)
model.Name = "Apples"
function Apples()
while true do
part = Instance.new("Part", Workspace)--Spam lul.
part.Name = "Tree"
wait(.001)
part.Parent = Apples
wait(.001)
end end

Apples()
Report Abuse
XxChopSlaperxX is not online. XxChopSlaperxX
Joined: 09 Nov 2010
Total Posts: 3112
26 Sep 2012 06:43 PM
...

Parent Part like this

part = Instance.new("Part", model)

Haters gonna hate | Spammers gonna spam
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