Can somenoe tell me why my script is not working

Stop ramming the door and actually see if you are on the right team.

I checked the code and it worked perfectly fine without any issues what so ever.

3 Likes

why so many likes bruh???what happened

1 Like

You are trying to turn off CanCollide on a Model. Models dont have that property, you need to turn it off on a part or union inside the model (the part where you walk through). There is no problem with the script. Just change TeamDoor to TeamDoor. (your part) you want to walk through.