Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local admins = {"YourUsername"}
- game.Players.PlayerAdded:connect(function(nP)
- for _, v in pairs (admins) do
- if (nP.Name == v) or (nP:GetRankInGroup(1059444) >= 10) then
- nP.Chatted:connect(function(msg)
- if (msg:lower() == ":load mapname") then
- game.ServerStorage.MapName:Clone().Parent = game.Workspace
- elseif (msg:lower() == ":end mapname") then
- game.Workspace.MapName:remove()
- end
- end)
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement