i want to use a script to change material of a gun model. i want to change the material of the whole gun with 1 script. can i do that? can i change material of a model?
COMMUNITY QUESTION
Can you change the material of parts using a script?
1 answer
You can change the material of a part through the part's Material property:
game.Workspace.Part.Material="Neon"
If you want to be able to see all of the materials as you type it in, you can use Enum.Material:
game.Workspace.Part.Material=Enum.Material.Neon
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
could yoou show me how would i use that?? i dont understand it. i tried puting that in but nothing happend
Well, unfortunately I can't really help you there, due to the fact I have no idea what the gun's design is.