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?
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