--//Opens Door (checks ownership)

prompt.Triggered:Connect(function(player)
	if prompt.ActionText == "Close" and player.Name == owner.Value then
		door.Transparency = 0
		door.knob1.Transparency = 0
		door.knob2.Transparency = 0
		door.CanCollide = true
		door2.Transparency = 1
		door2.knob1.Transparency = 1
		door2.knob2.Transparency = 1
		prompt.ActionText = "Open"
	wait(1)
	elseif 	prompt.ActionText == "Open" and player.Name == owner.Value then
		door.Transparency = 1
		door.knob1.Transparency = 1
		door.knob2.Transparency = 1
		door2.Transparency = 0
		door2.knob1.Transparency = 0
		door2.knob2.Transparency = 0
		door.CanCollide = false
		prompt.ActionText = "Close"
	wait(1)
	end
end)