So I have a trail gamepass where if you buy the gamepass a trail will appear behind your character in-game when you walk, like this:
Now for some reason (sometimes, not always), the trail appears behind other players when they reset/respawn for a few seconds, and then it goes away, what could be the reason for this happening and how do I prevent it from happening so that only the people with the gamepass can have the trail appear behind them?
Here is a picture of the scripts (I put them in ServerScriptService):
Trail script:
TrailGamepass script:
The trail itself is in ServerStorage:
Trail properties:
Please explain thoroughly as Iām not a good scripter.