Let me explain what I'm trying to do, I'm experimenting with Adonis Admin and I'm working on a script that can change your rank. I just like messing around with admins and seeing how they work. So if you do manage to figure out how to rank yourself using scripts, please show the code on how to do it. And no, I'm not talking about the command where you can rank yourself like :owner others. I want it by script. Another thing is that when you put Adonis Admin it load's up this model to make the stuff work. This model might help you.

An interesting is that inside the model, Inside Server, inside Core, inside the Commands module script, from line 520 to line 546,

		Owner = {
			Prefix = Settings.Prefix;
			Commands = {"owner","oa","headadmin"};
			Args = {"player";};
			Hidden = false;
			Description = "Makes the target player(s) an owner; Saves";
			Fun = false;
			AdminLevel = "Creators";
			Function = function(plr,args)
				local sendLevel = Admin.GetLevel(plr)	
				for i,v in pairs(service.GetPlayers(plr,args[1])) do
					local targLevel = Admin.GetLevel(v)
					if sendLevel>targLevel then
						Admin.AddAdmin(v,3)
						Remote.MakeGui(v,"Notification",{
							Title = "Notification";
							Message = "You are an administrator. Click to view commands.";
							Time = 10;
							OnClick = Core.Bytecode("client.Remote.Send('ProcessCommand','"..Settings.Prefix.."cmds')");
						})
						Functions.Hint(v.Name..' is now an owner',{plr})
					else
						Functions.Hint(v.Name.." is the same admin level as you or higher",{plr})
					end
				end
			end
		};

it has something interesting here. This is the owner command, and inside one of these lines, on line 533, it shows something saying

Admin.AddAdmin(v,3)

Now, on this line, inside the parentheses, it shows a v, meaning this is inside a in pairs loop. There is also a number, that might mean a rank and I think know all the ranks so here it is: 0 = Player (No Admin) 1 = Mod 2 = Admin 3 = Owner 4 = Creator Another thing I noticed is that on that line, it has Admin there, so I went to see the variable Admin and on Line 17 there was Admin = server.Admin; and there was another variable there.

The variable was server so I went to see the variable and on line 1, it said server = nil. I was confused and didn't know what server was. I gave up trying to figure out how to do it, but if you do figure out, it would be really awesome if you showed me how. And if it's not possible, well that idea will go into my failed concepts txt file. Anyways, I do have some extra information, but I think it might be useless. Thank you! : - )