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
 

What is wrong with this regen script?

Previous Thread :: Next Thread 
ChaosDimentio is not online. ChaosDimentio
Joined: 16 Mar 2012
Total Posts: 5
02 Apr 2013 05:52 PM
clone = game.Workspace.Ball:Clone()
ball = game.Workspace.Ball:Clone()
while true do
if ball == nil then
clone.Parent = game.Workspace
clone.Position = (0, 0, 0)
else
print("Don't Regenerate")
wait(1)
end
end

Someone told me this is how it is suppose to be, but it still ain't right.
Report Abuse
pocketmonsters312 is not online. pocketmonsters312
Joined: 08 Sep 2012
Total Posts: 35
02 Apr 2013 06:07 PM
If there's a red line under the words in a section that's probably the problem. I'm not sure if this will help but change the line:
clone.Position =(0,0,0) to the position you want it to spawn. The "Ball" should be the exact name of the object, and you should capitalize the "ball"
Report Abuse
pocketmonsters312 is not online. pocketmonsters312
Joined: 08 Sep 2012
Total Posts: 35
02 Apr 2013 06:08 PM
Sorry I meant the b in ball so it's all the same.
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