Sorry for the vague title. I recently imported a "Player Outline" model into my game, which gives players a black outline around their avatar (to give a more cartoon-style appearance.)
The game I am building includes a lobby, with teleports to various locations around the game map. Upon using these teleports, however, I experience a very annoying glitch. The player outline seems to teleport along with the avatar, thus causing it to glitch out and detach itself from the character. It is a mesh, which can be altered. Pictures of this below:
The outline as seen in the Game Explorer (serverstorage)
https://imgur.com/gallery/fJ9LDqw
The script which configures it
https://imgur.com/gallery/5x5s4SP
Before entering the teleport
https://imgur.com/gallery/DDODGXy
After entering the teleport. The black objects floating around the avatar are is the outline which has become detached from the player
https://imgur.com/a/4jAVzD3
To anyone who may know a fix, thank you. I suppose the outline isn't exactly essential if there is no way around it, but any help in the matter would really be appreciated.