Simple code but need help

I tried, I just can’t seem to figure it out

You could do this; a simple if statement to check the player’s teamcolor.

if Player.TeamColor ~= game.Teams.Visitors.TeamColor then
    -- give wand
end

So, there is a simple fix to your problem. You are going off the code that I gave you, which was old and not needed. Many of the conditions needed there are pointless, such as the “uis.TouchEnabled” bit and some other things. DM me and I will show you a more efficient way to get exactly what you are aiming to do. @vosken