Values = game.Workspace.Values.Value
script.Parent.MouseButton1Down:connect(function()
if Values.OfficeDoorV.Value == "Closed"
and Values.Obscure == "Visible"
then game.Workspace.OfficeDoor.DoorFrame.Barrier.Transparency = 0
game.Workspace.OfficeDoor.DoorFrame.Barrier.CanCollide = true
Values.OfficeDoorV.Value = "Obscure"
print("Obscure")
elseif
Values.OfficeDoorV.Value == "Open"
and Values.Obscure == "Obscure"
then game.Workspace.OfficeDoor.DoorFrame.Barrier.Transparency = 1
game.Workspace.OfficeDoor.DoorFrame.Barrier.CanCollide = false
print("Visible")
end
end
The code leaves no errors, and yet does not function. Kind of irritating. If you know anything please point out where I goofed.

3 comments
Can you post the error message here?
It doesnt print anything. Output is unchanged.
I see you're not settign Values.Obscure to "Visible" in the elseif branch. Could that have something to do with it? Also, you're not using the 'Value' member of 'Values.Obscure' in your comparison. Use 'Values.Obscure.Value' instead.