|
| 14 Sep 2012 11:40 PM |
Game.Players.PlayerAdded:connect(function(plr) plr.CharacterAdded:connect(function(chr) if chr.Head.BrickColor == BrickColor.new("Really red") then chr.Humanoid.Health = 10 elseif chr.Head.BrickColor == BrickColor.new("Really green") then chr.Humanoid.Health = 30 elseif chr.Head.BrickColor == ("White") then chr.Humanoid.Health = 1 else chr.Humanoid.Health = .123456789 end end) end) _________________________ Where would I add variables for "chr.Head.BrickColor" and "chr.Humanoid.Health"? Would I add that to the top of the script or after the functions? |
|
|
| Report Abuse |
|
miz656
|
  |
| Joined: 19 Jul 2010 |
| Total Posts: 15336 |
|
|
| 14 Sep 2012 11:43 PM |
| Add it when the characteradded event is checked. |
|
|
| Report Abuse |
|
| |