I'm a beginner so it is most likely very obvious.
if game.Workspace.Cheese.CanCollide == true then
end
script.Parent.MouseButton1Click:connect(function()
game.Workspace.Cheese.CanCollide = false
end)
function numbertwo()
game.Workspace.Cheese.CanCollide = true
end
if game.Workspace.Cheese.CanCollide == false then
end
script.Parent.MouseButton1Click:connect(function(numbertwo)
game.Workspace.Cheese.CanCollide = true
end)
The Opening Works, it's closing it that's the problem. Cheese = My door btw Can someone please tell me what I did wrong so I don't make this mistake in the future.
