ok so here is my code, if statements are kinda weird, it is the "=" (in the if statement) is not correct
1 | local team = game.Players.LocalPlayer.Team |
2 | local bigfoot = game.Teams.Bigfoot |
3 | local player = game.Players.LocalPlayer |
4 | if team = bigfoot then |
5 |
6 | end |
Make sure you add 2 equals when using if statements at line 4 And I suggest doing more research before commenting.
1 | if team = = bigfoot |
You do not use =
to compare, you use ==
, remember that you use = to set value (or something) and you use == to compare, like: if a == b then