I am making a football game and I made it to were if you touch the inzone the touched event checks if the player is on a cartan team but for some reason it does not work it says the value is false
COMMUNITY QUESTION
compare a value in a player when touched?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Post the script, what value is false?
print("the") script.Parent.Touched:connect(function(hit) local thehit = hit.Parent:FindFirstChild("Humanoid") if thehit then if game.Players[hit.Parent.Name].Team == "Team Red" then print("you are in red team") end print("the end") end end