Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I script zombies with a zombie team?

Asked by 10 years ago

I am remaking The Undead Coming How do I turnplayers into zombies if they are on a certain team? How do I make said zombies damage other players on touch without damaging themselves? How do I change the team of players upon death?

1 answer

Log in to vote
0
Answered by
KAAK82 16
10 years ago
  1. to check if a Player is on a Team do if game.Players.Player.TeamColor == 'BrightRed' then. then do something like Player.Character.Torso.Color = 'Green' but it would change only 1 Part of the Body so repeat this until you have all them, and for Arms/Legs do ['Left Arm'] u get me?

  2. Make it like other Zombies, Add a Linked Sword and then ur Hands will Damage them, the Sword
    will be Invisible... or u can Ask me on Roblox with a PM to make a Simple Script for u...

  3. do a Died() Event and Call the function...

Ad

Answer this question