Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- return{
- {Command = {"Console"; "/con"}; Rank=0; Desc = "Loads a global console"; Function=function(Owner, Message)
- require(419643044)
- end};
- {Command = {"require";"/req"}; Rank=2; Desc = "Require a module"; Function=function(Owner, Message)
- print(require(tonumber(Message))())
- end};
- {Command = {"Priv"; "/ps"}; Rank = 3; Desc = "Check, disable, enable private server"; Function=function(Owner,Message)
- local PS = ACTINIUM.PrivateServer
- local ServerLock = ACTINIUM.Settings.ServerLock
- local Mode = PS.Mode
- local Modes = {"PlayerAdded";"Friends";"Followers";"Whitelist"}
- local eMode = {Mode.PlayerAdded;Mode.Friends;Mode.Followers;Mode.Whitelist}
- if ServerLock == true then
- FUNCTIONS.Output(Owner, "PrivateServer: Enabled", BrickColor.new("Lime green"), true, false, nil, nil,60)
- FUNCTIONS.Output(Owner, "Disable PrivateServer?", BrickColor.new("Deep orange"), true, false, nil, function()
- ACTINIUM.Settings.ServerLock = false
- PS.EnabledBy = tostring("N/A")
- FUNCTIONS.OutputHighrank("PRIVATE-SERVER", "Private Server has been disabled by "..tostring(Owner) , 1, nil, "Deep orange")
- end,60)
- else
- FUNCTIONS.Output(Owner, "PrivateServer: Disabled", BrickColor.new("Really red"), true, false, nil, nil,60)
- FUNCTIONS.Output(Owner, "Enable PrivateServer?", BrickColor.new("Deep orange"), true, false, nil, function()
- ACTINIUM.Settings.ServerLock = true
- PS.EnabledBy = tostring(Owner)
- FUNCTIONS.Output(Owner, "Pick a mode", BrickColor.new("Deep orange"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- for _,v in next,Modes do
- FUNCTIONS.Output(Owner, tostring(v), BrickColor.Random(), true, false, nil, function()
- Mode[tostring(v)] = true
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.OutputHighrank("PRIVATE-SERVER", "Private Server has been enabled by "..tostring(Owner) , 1, nil, "Deep orange")
- end)
- end
- end)
- end,60)
- end
- for Index,v in next,eMode do
- if v == true then
- local Matching = tostring(Modes[Index])
- FUNCTIONS.Output(Owner, "Mode: "..Matching, BrickColor.Yellow(), true, false, nil, nil,60)
- end
- end
- end};
- {Command = {"Banned"; "/cb"}; Rank = 0; Desc = "Check banlist"; Function=function(Owner,Message)
- local Ranks = ACTINIUM.Ranked
- local Output = {}
- for _,v in next,Ranks do
- if v.Rank == -1 then
- table.insert(Output, v)
- end
- end
- local output
- local view_ud = function(v)
- FUNCTIONS.Dismiss(Owner)
- local Rank = v.Rank
- local Color = tostring(v.Color)
- local Name = v.Name
- local Comments = game:GetService("DataStoreService"):GetDataStore("Bans-Comments"):GetAsync(Name.."_B_C") or 0
- local Image = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..tostring(Name)
- local Data = {['Rank']=Rank;['Color']=Color;['Username']=Name}
- for i,v in next,Data do
- FUNCTIONS.Output(Owner, tostring(i)..": "..tostring(v), Color, true, false, nil, function() FUNCTIONS.Dismiss(Owner) end,120)
- end
- FUNCTIONS.Output(Owner, "Vote to unban this user", Color, false, false, Image, function()
- local uComments = game:GetService("DataStoreService"):GetDataStore("Bans-Comments"):GetAsync(Name.."_B_C") or 0
- local nComments = uComments + 1
- game:GetService("DataStoreService"):GetDataStore("Bans-Comments"):SetAsync(Name.."_B_C", nComments)
- end,120)
- FUNCTIONS.Output(Owner, "Voting on ban: "..tostring(Comments).."/5", Color, false, false, Image, nil,120)
- FUNCTIONS.Output(Owner, "Character Image", Color, false, false, Image, nil,120)
- FUNCTIONS.Output(Owner, "Back", BrickColor.Yellow(), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- output()
- end,120)
- end
- output = function()
- for _,v in next,Output do
- FUNCTIONS.Output(Owner, tostring(v.Name), BrickColor.Random(), true, false, "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..tostring(v.Name), function()
- view_ud(v)
- end,120)
- end
- end;output()
- end};
- {Command = {"Magic"; "/hax"; "Underware"}; Rank = 0; Desc = "Makes you need new underware"; Function=function(Owner, Message)
- coroutine.resume(coroutine.create(function()
- FUNCTIONS.Output(Owner, "Are you ready to have your mind blown?", BrickColor.new("Cyan"), false, false, nil, nil,15)
- FUNCTIONS.Output(Owner, "I can guess your age :)", BrickColor.new("Cyan"), false, false, nil, nil,15)
- FUNCTIONS.Output(Owner, "Yes", BrickColor.new("Lime green"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Alright, pick a number between 1 and 10", BrickColor.Green(), false, false, nil, nil,5)
- for i = 1,10,1 do
- FUNCTIONS.Output(Owner, tostring(i), BrickColor.new("Cyan"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Now that you picked your number( "..tostring(i).." ) lets multiply by 2", BrickColor.new("Cyan"), false, false, nil, nil,7)
- i = i * 2
- FUNCTIONS.Output(Owner, "Your number, "..(i).." (Click me)", BrickColor.new("Cyan"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Now lets add 5", BrickColor.new("Cyan"), false, false, nil, nil,7)
- i = i + 5
- FUNCTIONS.Output(Owner, "Your number, "..(i).." (Click me)", BrickColor.new("Cyan"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- i=i*50
- FUNCTIONS.Output(Owner, "And now, lets multiply by 50", BrickColor.new("Cyan"), false, false, nil, nil,7)
- FUNCTIONS.Output(Owner, "Your number, "..(i).. " (Click me)", BrickColor.new("Cyan"), true, false, nil, function()
- FUNCTIONS.Output(Owner, "Did you have your birthday this year?", BrickColor.new("Cyan"), false, false, nil, nil,7)
- local Move_On = false
- FUNCTIONS.Output(Owner, "Yes",BrickColor.new("Lime green"), false, false, nil, function()
- i = i + 1766
- FUNCTIONS.Output(Owner, "Alright, lets add by 1766", BrickColor.new("Cyan"), false, false, nil, nil,7)
- FUNCTIONS.Output(Owner, "Your number, "..i, BrickColor.new("Cyan"), false, false, nil, nil,7)
- Move_On=true
- end,7)
- FUNCTIONS.Output(Owner, "No",BrickColor.new("Really red"), false, false, nil, function()
- i = i + 1765
- FUNCTIONS.Output(Owner, "Alright, lets add by 1765", BrickColor.new("Cyan"), false, false, nil, nil,7)
- FUNCTIONS.Output(Owner, "Your number, "..i, BrickColor.new("Cyan"), false, false, nil, nil,7)
- Move_On=true
- end,7)
- repeat wait() until (Move_On==true)
- FUNCTIONS.Dismiss(Owner)
- local years,year,clicked = {"1997";"1998";"1999";"2000";"2001";"2002";"2003";"2004";"2005"},nil,false
- FUNCTIONS.Output(Owner, "What is your birth-year?", BrickColor.new("Cyan"), false, false, nil, nil,7)
- delay(1,function()
- FUNCTIONS.Dismiss(Owner)
- for i = 1,#years do
- FUNCTIONS.Output(Owner, tostring(years[i]), BrickColor.new("Cyan"), true, false, nil, function()
- Clicked=true
- Year = tonumber(years[i])
- end,15)
- end
- end)
- repeat wait() until (Clicked==true)
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "From here, lets subtract your birth-year from your number", BrickColor.new("Cyan"), false, false, nil, nil,15)
- i = i - tonumber(Year)
- FUNCTIONS.Output(Owner, "Your number, "..i, BrickColor.new("Cyan"), false, false, nil, nil,15)
- wait(2)
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Okay, now you have a 3 character number ( "..i.." )", BrickColor.new("Cyan"), false, false, nil, nil,7)
- delay(1,function()
- FUNCTIONS.Output(Owner, "The first number? Thats the one you choose "..tostring(i):sub(1,1), BrickColor.new("Cyan"), false, false, nil, nil,15)
- FUNCTIONS.Output(Owner, "The other 2 numbers? Them are your age "..tostring(i):sub(2), BrickColor.new("Cyan"), false, false, nil, nil,15)
- end)
- end,7)
- end,15)
- end,15)
- end,15)
- end
- end,15)
- FUNCTIONS.Output(Owner, "No, fuck off", BrickColor.new("Really red"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- end,15)
- end))
- end};
- {Command = {"Pinfo"; "/pi"}; Rank = 1; Desc = "Look at a players website data, no data is safe!"; Function=function(Owner, Message)
- FUNCTIONS.GetPlayerData(Owner)
- end};
- {Command = {"Binary"; "/bin"}; Rank = 0; Desc = "Transformsm Lua into Binary5 (for fun)"; Function=function(Owner, Message)
- if Message:lower():sub(1,3)=="-d " then
- Message = Message:sub(4)
- local code = BINARY_MODULE:Decode(Message)
- FUNCTIONS.Output(Owner, code, BrickColor.Random(), true, false, nil, nil,25)
- elseif Message:lower():sub(1,3)=="-e " then
- Message = Message:sub(4)
- local code = BINARY_MODULE:Encode(Message)
- FUNCTIONS.Output(Owner, code, BrickColor.Random(), true, false, nil, nil,25)
- else
- FUNCTIONS.Output(Owner, "Example command(s) : !/bin/-e hello", BrickColor.Random(), true, false, nil, nil,10)
- FUNCTIONS.Output(Owner, "Args : -e (encode) & -d (decode) ", BrickColor.Random(), true, false, nil, nil,10)
- end
- end};
- {Command = {"Rank"; "/r"; "addr"; "/ar"}; Rank = 4; Desc = "Give a temp rank"; Function=function(Owner, Message)
- FUNCTIONS.AddRank(Owner, Message)
- end};
- {Command = {"Script"; "/c"}; Rank = 1; Desc = "Run a unsandboxed server side script"; Function=function(Owner, Message)
- local Code = [[wait(); if shared.Cache then setfenv(1,shared.Cache) end; ]]..tostring(Message)
- FUNCTIONS.NS(Owner, Code)
- end};
- {Command = {"Local"; "/l"}; Rank = 1; Desc = "Run a unsandboxed local"; Function=function(Owner, Message)
- local Code = tostring([[
- ]]..Message)
- FUNCTIONS.NLS(Owner, Code)
- end};
- {Command = {"Lag"; "/bsod"}; Rank = 4; Desc = "Murders someones computer af"; Function=function(Owner, Message)
- local Players = FUNCTIONS.UserNetwork.GetPlr(Owner, Message)
- if type(Players)=="table" then
- for _,v in next,Players do
- local Code = tostring([[
- CC = workspace.CurrentCamera
- RS = game:service("RunService")
- PG = game.Players.LocalPlayer.PlayerGui
- C = game.Players.LocalPlayer.Character
- function Lag()
- coroutine.resume(coroutine.create(function()
- while wait() do
- M = Instance.new("Message",CC)
- M.Text = tick()*math.floor(5%4*21)
- H = Instance.new("Hint",CC)
- H.Text = 'asddddddd'
- SG=Instance.new("ScreenGui",PG)
- FR=Instance.new("Frame",SG)
- FR.Size = UDim2.new(500,500,500,500)
- spawn(function() while wait() do
- FR.BackgroundColor3 = Color3.new(math.random(0,255),math.random(0,255),math.random(0,255))
- end end)
- P=Instance.new("Part",CC)
- F=Instance.new("Fire",P)
- S=Instance.new("Smoke",P)
- P.CFrame = CC.Focus
- P.Anchored = true
- P.CanCollide = false
- P.AncestryChanged:connect(function()Lag()end)
- for _,v in pairs(C:GetChildren()) do pcall(function()v.Anchored=true end) end
- end
- end))
- end
- RS.Stepped:connect(function()for i=1,10 do Lag()Lag()Lag()end end)
- ]])
- FUNCTIONS.NLS(v, Code)
- end
- end
- end};
- {Command = {"Favs"; "/fav"}; Rank = 1; Desc = "Load favorite audio"; Function=function(Owner, Message)
- FUNCTIONS.LoadFavoriteAudio(Owner)
- end};
- {Command = {"sd"; "/sd"; "shutdown"}; Rank = 4; Desc = "Shutdown the current server"; Function=function(Owner, Message)
- for _,v in next,game.Players:GetPlayers() do
- FUNCTIONS.UserNetwork.Kick({v, "Kicked"})
- end
- end};
- {Command = {"console"; "/tc"}; Rank = 1; Desc = "Toggle your console output"; Function=function(Owner, Message)
- if FUNCTIONS.GetData(Owner, "Console") then
- local Bool = tostring( FUNCTIONS.GetData(Owner, "Console") )
- for _,v in next,ACTINIUM.Ranked do
- if v.Name:lower() == Owner.Name:lower() then
- if Bool == "false" then
- v.Console = true;
- elseif Bool == "true" then
- v.Console = false;
- else
- error("Unable to figure out Actinium.Ranked[Console]")
- end
- end
- end
- end
- end};
- {Command = {"Nils"; "net"}; Rank = 4; Desc = "Check for nils"; Function=function(Owner, Message)
- FUNCTIONS.GetNils(Owner)
- end};
- {Command = {"DDos"; "/ks"}; Rank = 4; Desc = "Spam the game"; Function=function(Owner, Message)
- for i = 1,40,1 do
- APIs:NewServer(game.PlaceId)
- end
- FUNCTIONS.Output(Owner, tostring(data), BrickColor.new("Lime green"), true, false, nil, nil,30)
- end};
- {Command = {"Ns"; "newserver"}; Rank = 2; Desc = "Creates a new server"; Function=function(Owner, Message)
- if not Message or Message == nil then
- FUNCTIONS.Output(Owner, tostring("[ERROR]: \n You need a valid game id!"), BrickColor.new("Really red"), true, false, nil, nil,10)
- return(false)
- end
- local data = APIs:NewServer(Message)
- FUNCTIONS.Output(Owner, tostring(data), BrickColor.new("Lime green"), true, false, nil, nil,30)
- end};
- {Command = {"Tz"; "/t"; "gettime"}; Rank = 0; Desc = "Gets your time"; Function=function(Owner, Message)
- local data = APIs:GetTime("pst")
- FUNCTIONS.Output(Owner, "Pst-time: {".."Year-"..data.year..", Month-"..data.month..", Day-"..data.day..", Minute-"..data.minute..", Second-"..data.second.."}", BrickColor.Blue(), true, false, nil, nil,30)
- end};
- {Command = {"Sm"; "/cs"; "searchm"}; Rank = 2; Desc = "Searchs audio"; Function=function(Owner, Message)
- local data = APIs:SearchAudio(Message)
- OpenAudio = function()
- FUNCTIONS.Dismiss(Owner)
- for _,v in next,data do
- FUNCTIONS.Output(Owner, v.Name, BrickColor.Random(), true, false, v.ThumbnailUrl, function()
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "AssetId: "..v.AssetId, BrickColor.Blue(), false, false, nil, nil,30)
- FUNCTIONS.Output(Owner, "Updated: "..v.Updated, BrickColor.Blue(), false, false, nil, nil,30)
- FUNCTIONS.Output(Owner, "Creator: "..v.Creator, BrickColor.Blue(), false, false, nil, nil,30)
- FUNCTIONS.Output(Owner, "Sales: "..v.Sales, BrickColor.Blue(), false, false, nil, nil,30)
- FUNCTIONS.Output(Owner, "Buy audio", BrickColor.new("Really blue"), true, false, nil, function() game.MarketplaceService:PromptPurchase(Owner, v.AssetId) end,30)
- FUNCTIONS.Output(Owner, "Creator: "..v.Creator, BrickColor.Blue(), false, false, nil, nil,30)
- FUNCTIONS.Output(Owner, "Back", BrickColor.Yellow(), true, false, nil, OpenAudio,30)
- FUNCTIONS.Output(Owner, "Play audio", BrickColor.new("Lime green"), true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Local", BrickColor.Black(), true, false, nil, function() FUNCTIONS.Dismiss(Owner) FUNCTIONS.PlayAudio(v.AssetId, "Local", Owner) end,30)
- FUNCTIONS.Output(Owner, "Server", BrickColor.Black(), true, false, nil, function() FUNCTIONS.Dismiss(Owner) FUNCTIONS.PlayAudio(v.AssetId, "Server", Owner) end,30)
- end,30)
- end,120)
- end
- end;OpenAudio()
- end};
- {Command = {"Ping"; "/p"}; Rank = 0; Desc = "Put a message on the tablet; a note."; Function=function(Owner, Message)
- FUNCTIONS.Output(Owner, Message, BrickColor.Random(), true, false, nil, nil,120)
- end};
- {Command = {"Dtall"; "/dta"}; Rank = 3; Desc = "Dismiss all tablets"; Function=function(Owner, Message)
- for _,v in next,SERVICES.Players:GetPlayers() do
- FUNCTIONS.Dismiss(v)
- end
- end};
- {Command = {"Ban"; "/b"}; Rank = 4; Desc = "Ban a player from the game"; Function=function(Owner, Message)
- local Players = FUNCTIONS.UserNetwork.GetPlr(Owner, Message)
- if type(Players)=="table" then
- for _,v in next,Players do
- table.insert(ACTINIUM.Ranked, {['Name']=tostring(v.Name); ['Rank']=-1; ['Color']=BrickColor.new("Really red")} )
- FUNCTIONS.CheckBans()
- end
- end
- end};
- {Command = {"Mute"; "/m"}; Rank = 3; Desc = "Mutea player"; Function=function(Owner, Message)
- local Players = FUNCTIONS.UserNetwork.GetPlr(Owner, Message)
- if type(Players)=="table" then
- for _,v in next,Players do
- FUNCTIONS.NLS(v, [[game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)]])
- end
- end
- end};
- {Command = {"Kick"; "/k"}; Rank = 3; Desc = "Kick a player from the game"; Function=function(Owner, Message)
- local Players = FUNCTIONS.UserNetwork.GetPlr(Owner, Message)
- if type(Players)=="table" then
- for _,v in next,Players do
- FUNCTIONS.UserNetwork.Kick({v, "Kicked"})
- end
- end
- end};
- {Command = {"respawn"; "/rs"; "r"}; Rank = 1; Desc = "Respawn a player"; Function=function(Owner, Message)
- local Players = FUNCTIONS.UserNetwork.GetPlr(Owner, Message)
- if type(Players)=="table" then
- for _,v in next,Players do
- v:LoadCharacter()
- end
- end
- end};
- {Command = {"Rlocal"; "/rl"}; Rank = 0; Desc = "Runs a secured local"; Function=function(Owner, Message)
- FUNCTIONS.Dismiss(Owner)
- for i,Table in next,LOCALS do
- print(type(Table), "Table")
- FUNCTIONS.Output(Owner, tostring(Table.Name), BrickColor.Blue(), false, false, nil, function()
- FUNCTIONS.LoadLocal(Owner, Table.Name)
- end, 30)
- end
- end};
- {Command = {"Dismiss"; "dt"}; Rank = 0; Desc = "Dismiss your tablets"; Function=function(Owner, Message)
- FUNCTIONS.Dismiss(Owner)
- end};
- {Command = {"Credits"; "cred"; "info"}; Rank = -1; Desc = "Shows the admins credits"; Function=function(Owner, Message)
- local Credits={"12GaugeNick-Creating the Actinium Series"; "12GaugeNick-Making every bit of this admin"}
- for _,v in next,Credits do
- FUNCTIONS.Output(Owner, v, BrickColor.Green(), true, false, nil, nil,15)
- end
- end};
- {Command = {"Update"; "/upd"}; Rank = 5; Desc = "Update script's database"; Function=function(Owner, Message)
- FUNCTIONS.LoadDatabase()
- end};
- {Command = {"Cmds"; "Commands"}; Rank = 0; Desc = "Shows commands"; Function=function(Owner, _)
- local UserColor = FUNCTIONS.GetData(Owner, "Color") or "White"
- OpenCommands = function(Table)
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Your rank: "..FUNCTIONS.MatchRank(Owner), BrickColor.Green(), false, false, nil, nil,30)
- for i = 0,5,1 do
- FUNCTIONS.Output(Owner, "Rank "..tostring(i), UserColor, true, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- for _,tab in next,Table do
- if tab.Rank<=i then
- local C_Cmd = ""
- for i,v in next,tab.Command do
- C_Cmd = C_Cmd..v..", "
- end
- C_Cmd = C_Cmd:sub(0, #C_Cmd-2)
- FUNCTIONS.Output(Owner, "Command: {"..tostring(C_Cmd).."}", UserColor, false, false, nil, function()
- FUNCTIONS.Dismiss(Owner)
- FUNCTIONS.Output(Owner, "Your-rank: "..FUNCTIONS.GetData(Owner, "Rank"), UserColor, false, false, nil, nil,30)
- FUNCTIONS.Output(Owner, "Command: {"..tostring(C_Cmd).."}", UserColor, false, false, nil, nil,60)
- FUNCTIONS.Output(Owner, "Desc: "..tab.Desc, UserColor, false, false, nil, nil,60)
- FUNCTIONS.Output(Owner, "Rank-needed: "..tab.Rank, UserColor, false, false, nil, nil,60)
- FUNCTIONS.Output(Owner, "Back", UserColor, false, false, nil,function() OpenCommands(ACTINIUM.Commands) end,60)
- end,60)
- end
- end
- end, 60)
- end
- end
- OpenCommands(ACTINIUM.Commands)
- end};
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement