Script : local model = script.Parent.Parent.Parent
local door = model.Door
local value = script.WhenOpen.Value
local close = model.Close
local open = model.Open
script.Parent.MouseClick:Connect(function(player)
if value == false then
value = true
door.Position = open.Position
door.Orientation = open.Orientation
elseif value == true then
value = false
door.Position = close.Position
door.Orientation = close.Orientation
end
end)
SUBSCRIBE!