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: Clone script not working for some reason

Previous Thread :: Next Thread 
EXTREMEKORKSCREW is not online. EXTREMEKORKSCREW
Joined: 25 May 2009
Total Posts: 16672
08 May 2014 04:52 AM
local WeakZombie = game.Workspace:FindFirstChild("Weak Zombie")
WeakZombieClone = WeakZombie:Clone()
WeakZombieClone:MakeJoints()
WeakZombie:Remove()

function WaveOne()
for i=1, 10 do
wait(1)
WeakZombieClone:Clone()
WeakZombieClone:MakeJoints()
WeakZombieClone.Parent = game.Workspace
end

For some reason the zombie just spawns dead whenever I use this. Anyone know why?
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
08 May 2014 04:58 AM
WeakZombieClone = game.Workspace:FindFirstChild("Weak Zombie"):Clone()
WeakZombieClone:MakeJoints()

function WaveOne()
for i=1, 10 do
wait(1)
WeakZombieClone = game.Workspace:FindFirstChild("Weak Zombie"):Clone()
WeakZombieClone:MakeJoints()
WeakZombieClone.Parent = game.Workspace
end


did u even weld it.
Report Abuse
EXTREMEKORKSCREW is not online. EXTREMEKORKSCREW
Joined: 25 May 2009
Total Posts: 16672
08 May 2014 05:01 AM
@vlek

?

The zombie works perfectly as long as it's not being cloned. So yes, obviously I've welded it.

-Prosecutective Kale "why can't i make up my mind about siggies"-
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
08 May 2014 05:03 AM
You didn't say that, so its not that obvious.
Its welds, or this should work:

function WaveOne()
for i=1, 10 do
wait(1)
WeakZombieClone = game.Workspace:FindFirstChild("Weak Zombie"):Clone()
WeakZombieClone:MakeJoints()
WeakZombieClone.Parent = game.Workspace
WeakZombieClone:MakeJoints()
end
Report Abuse
EXTREMEKORKSCREW is not online. EXTREMEKORKSCREW
Joined: 25 May 2009
Total Posts: 16672
08 May 2014 05:06 AM
I rewrote the script in the original thread body, double checked the welds, and it started working.

Weird.

Thanks anyway.

-Prosecutective Kale "why can't i make up my mind about siggies"-
Report Abuse
EXTREMEKORKSCREW is not online. EXTREMEKORKSCREW
Joined: 25 May 2009
Total Posts: 16672
08 May 2014 05:09 AM
Oh great, now it's bugging out and won't clone more than once in one function.

This is getting tiresome.

-Prosecutective Kale "why can't i make up my mind about siggies"-
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