I am right now trying to make it so when I click a button, I have iron bars that will come up, but I do not know how to perform it, I have the script to make it so the iron bars move up.
local part = script.Parent
for i = 1,10 do part.Position = part.Position + Vector3.new(0,.5,0) wait(.3) end
But I do not know how to make it so when I click a button, it performs the action to all of the blocks I want it to. Anyone able to help me out with a script that may work?