Hello there. As the title says, I was making a script that, when being in a specific team, it changes your playermodel to a custom one.
The script works fine, however, there is an issue: When I reset my avatar, the playermodel changes back to my regular Roblox avatar instead of changing again to the custom playermodel from the team I am in.
Here’s a screenshot of the script. And apologies for the badly explained quotes, I’m not really good at explaining stuff:
I geniuely have no idea why this error happens. I began scripting in Roblox like not that much time ago and I’m really confused about this error.
Any help is appreciated, thanks!