The door I am trying to make will not open at all. There's no errors, it just won't work. Here's my script..
local fire = game.ReplicatedStorage:WaitForChild("FIREEEE")
local isOpen = false
function open()
game.Workspace.BIG_DOOR.CFrame = game.Workspace["OPEN FOR DOOR"].CFrame
end
function close()
game.Workspace.BIG_DOOR.CFrame = game.Workspace["CLOSE FOR DOOR"].CFrame
end
fire.OnServerEvent:Connect(function(plr)
if isOpen == false then
open()
isOpen = true
end
if isOpen == true then
close()
isOpen = false
end
end)

2 comments
Try adding local to your functions so at lines 3 -6 add local
ok, but how will I pass it to the server for everybody to see