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: zombies dieing when spawning

Previous Thread :: Next Thread 
jordanco is not online. jordanco
Joined: 13 Dec 2008
Total Posts: 14
28 Aug 2013 11:07 PM
Im having a prablem with the zombies in my game. they have a 50 50 chance of dieing when they respawn and have no idea what is causing it please help i want my game to be fun for everyone. :)
Report Abuse
crome60 is not online. crome60
Joined: 22 Nov 2008
Total Posts: 15266
28 Aug 2013 11:10 PM
Maybe all their welds are not properly welded when they spawn.
Report Abuse
fireheart568 is not online. fireheart568
Joined: 04 Jan 2009
Total Posts: 1285
28 Aug 2013 11:13 PM
You need to use :MakeJoints() on all their parts when they spawn.

I've had this problem too.
Report Abuse
jordanco is not online. jordanco
Joined: 13 Dec 2008
Total Posts: 14
28 Aug 2013 11:28 PM
thanks guys ill try :( hope it works
Report Abuse
OcCartoonist is not online. OcCartoonist
Joined: 16 Apr 2013
Total Posts: 98
28 Aug 2013 11:36 PM
Or your a fujuice free modeler.
Report Abuse
jordanco is not online. jordanco
Joined: 13 Dec 2008
Total Posts: 14
29 Aug 2013 12:01 AM
well of course its a free model well atleast the scrips are
Report Abuse
jordanco is not online. jordanco
Joined: 13 Dec 2008
Total Posts: 14
29 Aug 2013 12:02 AM
i actually have no idea what you guys are talking about thats why im on this forum for help
Report Abuse
jordanco is not online. jordanco
Joined: 13 Dec 2008
Total Posts: 14
29 Aug 2013 12:21 AM
so when i put weld in the parts do i have to name it left leg weld or just leave it weld or put it all together like leftlegweld
Report Abuse
badguy1233 is online. badguy1233
Joined: 23 Jul 2009
Total Posts: 885
29 Aug 2013 01:05 AM
Replace the regen script with this...

--
local regen = script.Parent:Clone()
while true do
wait()
if script.Parent.Humanoid.Health<=0 then
regen.Parent = script.Parent.Parent
regen:MakeJoints()
script.Parent:Remove()
end
end
Report Abuse
jordanco is not online. jordanco
Joined: 13 Dec 2008
Total Posts: 14
29 Aug 2013 02:27 AM
ok ill try thanks :)
Report Abuse
badguy1233 is online. badguy1233
Joined: 23 Jul 2009
Total Posts: 885
30 Aug 2013 09:57 PM
[Im] having a [prablem] with the zombies in my game. they have a 50 50 chance of [dieing] when they respawn and have no idea what is causing it please help i want my game to be fun for everyone. :)

*cringe*
Report Abuse
adammthomas2000 is not online. adammthomas2000
Joined: 24 Feb 2013
Total Posts: 454
30 Aug 2013 10:01 PM
@badguy I see what you did there.
Report Abuse
badguy1233 is online. badguy1233
Joined: 23 Jul 2009
Total Posts: 885
30 Aug 2013 11:00 PM
:O You're the same guy that's on my Mouse Help post...
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