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

2 comments

0

Post the script, what value is false?

0

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