Some background context
Hello! I want to make an cutscene that plays when a player dies, where their screen goes completely black and there is a highlight covering the player’s avatar in white, and the highlight goes through the black screen. Since highlights can’t actually go through gui, I worked around this by creating a viewport frame that is completely black, with a clone of the player’s character inside the viewport frame.
The problem
To make it as if there is a white highlight covering the player, I looped through each bodypart of the cloned character and set the part to white color and neon material (Highlights don’t exactly work in viewport frames). However, for special meshes, I cannot set the material to neon. The only way to set a mesh to neon material is to use meshparts, but the meshID property for meshparts is unaccessible via scripts. Is there any way to go about this issue?
Alternatively if you have another way of creating the cutscene above without having to mess with meshids you can bring it up