|
| 30 Oct 2017 07:26 PM |
I have this script current_map = nil names = {"Name3","Name2","Name1"}
game.Players.PlayerAdded:connect(function(player) for i, v in pairs(names) do if v == player.Name then player.Chatted:connect(function(chatmsg) if chatmsg:sub(1,4) == "Run/" then local map = chatmsg:sub(5, chatmsg:len()) if game.Lighting:FindFirstChild(map) then if current_map ~= nil then current_map.Parent = game.Lighting end game.Lighting[map].Parent = game.Workspace current_map = game.Workspace[map] end end end) end end end)
I want to insert this line into that script so that it replaces "Name3, Name2, and Name1" Can anyone help me? player:GetRankInGroup(3309743) >= 9 |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2017 07:38 PM |
| bumpbumpbumpbumbiddabum bumbumbum dippity doo |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2017 07:46 PM |
| BUMBUMBUMBUMBIDDYBUM BADUMBUMBUM DIPPITY DOO |
|
|
| Report Abuse |
|
|
|
| 30 Oct 2017 07:50 PM |
fix ur formatting smh
current_map = nil names = { "Name3", "Name2", "Name1" }
game.Players.PlayerAdded:connect(function(player) for i, v in pairs(names) do if v == player.Name then player.Chatted:connect(function(chatmsg) if chatmsg:sub(1, 4) == "Run/" then local map = chatmsg:sub(5, chatmsg:len()) if game.Lighting:FindFirstChild(map) then if current_map ~= nil then current_map.Parent = game.Lighting end game.Lighting[map].Parent = game.Workspace current_map = game.Workspace[map] end end end) end end end)
|
|
|
| Report Abuse |
|
|