Alright trying to make a door where if you click 1 button it will make it appear and press that button again the door will go away.
``~~~~~~~~~~~~~~~~~
function onButtonClicked()
goo = game.Lighting.MainDoor:clone()
goo2 = game.Lighting.Outer:clone()
goo.Parent = Workspace
goo:MakeJoints()
goo2.Parent = Workspace
goo2:MakeJoints()
end
script.Parent.MouseButton1Down:connect(onButtonClicked)
``
Well I have that so far I think that will work to make it come but I am unsure how to do it so if clicked again it will get removed from workspace.
?
Thats all,
