Team Change When Reseting Character?
Hey! I'm making a game, and let's say I change my team to Red(Or Blue lol). When I reset, I want it so that it'll change to a Neutral Team. Anyway possible to do that? Thanks! Idk what needs to be fixed, so please help (:
Simpler Version:
1. Change Team Red
2. Reset from Menu
3. Team Changes to Gray (For Neutral)
02 | local hum = hit.Parent:findFirstChild( "Humanoid" ) |
03 | if hum ~ = nil and hum.Health > 0 then |
04 | local player = game.Players:findFirstChild(hit.Parent.Name) |
06 | player.TeamColor = script.Parent.TeamColor |
11 | script.Parent.Touched:connect(onTouch) |
-LukeGabrieI