So I want to know how to make a script for a person who is not in my group. I've designated that group as Enemies/Neutral and put their team colour as red.
Would this work? Or do I need to do something else?
function Enter(newPlayer) if newPlayer:IsNotInGroup(469670) then -- I have a feeling the IsNotInGroup is wrong. newPlayer.TeamColor=script.Parent.TeamColor end end game.Players.ChildAdded:connect(Enter)
Anyway thanks.
IsNotInGroup() does not exist, but since IsInGroup() returns a bool value, you can do this: if not newPlayer:IsInGroup()