I literally have no clue on why this is not working, Any reasons why/ Suggestions on how to fix it??
local admins ={"EmperorVolvax"} local gid = 1173040 local gidranks = {255,105,104,103,102,101} local maps = {"sft", "obby", "gft"} --Dont Mess with the Below -- function contains(list, element) for _, value in pairs(list) do if value == element then return true end end end game.Players.PlayerAdded:connect(function(Player) if contains(gidranks, Player:GetRankInGroup(gid)) then for _,v in pairs(admins) do Player.Chatted:connect(function(msg) if msg:lower():sub(0,4) == "load" then for i,Map in pairs(maps) do if Map:lower() == msg:lower():sub(2) then x = Map:Clone() --ChosenMap = Map local h= Instance.new("Hint")--PositionInTable = i h.Parent=game.Workspace h.Text = "Loading Facility"..Map.Name wait(2.5) h:Destroy() x.Parent = game.Workspace end end end end) end end end)