Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I need to know if this is wrong or if I need something before it. it isn't working. Help please?

Asked by 4 years ago

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

1 answer

Log in to vote
0
Answered by 4 years ago
--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
0
Man, your alot of help! xwainflameskul 16 — 4y
0
Man, your a lot of help! xwainflameskul 16 — 4y
0
oops xwainflameskul 16 — 4y
Ad

Answer this question