Okay well I'm trying to create a door that opens to my command but it doesn't work. I can't seem to figure out what wrong but I'm guessing most of it is incorrect. ~~~~~~~~~~~~~~~~~
Door=script.Parent
admin = {"mkjp87"}
function open()
Door.CanCollide=false
Door.Transparency=1
end
game.Players.PlayerAdded:connect(function(nP)
for _,v in pairs (admin) do
if nP.Name == v then
nP.Chatted:connect(function(msg)
if msg == "Holo Open" then
connect(open)
end

1 comment
mkjp87, your script has to go in between the "~~~" lines.