Hi,
I made a script so it changes the material of a part. The problem is, is that it doesn’t change material.
script:
local GlowPart = script.Parent
GlowPart.Material = Enum.Material.Neon
Hi,
I made a script so it changes the material of a part. The problem is, is that it doesn’t change material.
script:
local GlowPart = script.Parent
GlowPart.Material = Enum.Material.Neon
Make sure the script is under the part you want to change the material
Also the script works fine
Is it a normal script or a local script?
Also if you could send a picture of the explorer would be helpful
its a server script. I thought it should be a server script.
also the part is a mesh. Its a part with a special mesh inside.
Oh thats why I think. I’m not 100% sure with meshes but does the mesh have a textureId property active?
no. There is no texture. Also I just trued it out with a normal part with no special mesh and it work. I think it’s probably because of the special mesh.
Yeah most likely, it happens with unions too. Your best bet is trying to use a meshPart? You said it was a part with a mesh as a child to it correct?
You might have to add a line to change the MeshParts UsePartColor to be true
GlowPart.UsePartColor = true