I'm new to scripting and I don't know what I need to put down. Is this correct? btw all of the names are right. game.Workspace.part1.Material = ("Corroded Metal") game.Workspace.part2.Material = ("Corroded Metal") game.Workspace.part3.Material = ("Corroded Metal") game.Workspace.part4.Material = ("Corroded Metal") game.Workspace.part1.Anchored = true game.Workspace.part2.Anchored = true game.Workspace.part3.Anchored = true game.Workspace.part4.Anchored = true game.Workspace.Barrier.Anchored = true
✓ ANSWER ACCEPTED
I need to know if this is wrong or if I need something before it. it isn't working. Help please?
1 answer
✓ Accepted answer
--specify where the parts are
local part1 = game.Workspace.part1
local part2 = game.Workspace.part2
local part3 = game.Workspace.part3
local part4 = game.Workspace.part4
local Barrier = game.Workspace.Barrier
part1.Material = Enum.Material.CorrodedMetal --enum will give you the correct options to use
part2.Material = Enum.Material.CorrodedMetal
part3.Material = Enum.Material.CorrodedMetal
part4.Material = Enum.Material.CorrodedMetal
part1.Anchored = true --the rest was correct
part2.Anchored = true
part3.Anchored = true
part4.Anchored = true
Barrier.Anchored = true
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Man, your alot of help!
Man, your a lot of help!
oops