of     1   

Surgo
#141299622Wednesday, July 23, 2014 7:34 PM GMT

admins = {"Surgo", "Noelzilla1"} function isAdmin(name) for i,v in pairs(admins) do if name:lower() == v:lower() then return true end end return false end local door=script.Parent game.Players.PlayerAdded:connect(function(p) if isAdmin(p.Name) then p.Chatted:connect(function(msg) if msg=="!load_TDM_5" then local Game1= game.Lighting.Bricktops local c = Game1:clone() c.Parent = game.Workspace end end) end end) Won't work, anyone know why?
Surgo
#141302245Wednesday, July 23, 2014 8:02 PM GMT

b
128GB
#141302396Wednesday, July 23, 2014 8:04 PM GMT

Output?
Surgo
#141316156Wednesday, July 23, 2014 10:26 PM GMT

admins = {"Surgo", "Noelzilla1"} function isAdmin(name) f:10: attempt to index global 'script' (a nil value)
128GB
#141316317Wednesday, July 23, 2014 10:28 PM GMT

Were is the script parented? Is something setting it to nil?
Surgo
#141317117Wednesday, July 23, 2014 10:37 PM GMT

Script is in Workspace.
128GB
#141317190Wednesday, July 23, 2014 10:38 PM GMT

local door=script.Parent Do you see the problem here?

    of     1