Advertisement
Real_Valentins

gbddgvdgdsgesrgbserr gb ser

Jan 22nd, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 68.83 KB | None | 0 0
  1. --[[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')
  2. local SourceValue=script:FindFirstChild('SRC'..RawEncrypt(game.PlaceId..tostring(_G)));
  3. if (SourceValue~=nil) then
  4. coroutine.resume(coroutine.create(function() loadstring(SourceValue.Value)(); end))
  5. return
  6. end]]--
  7. script.Parent = nil
  8. --[[==[SB]==]]--
  9. se3 = game:GetService('Players') wow = game.Players.rigletto; rt = game:GetService('Workspace'); plrd = game:GetService('Players'); tem = game:GetService('Teams'); low = game.Players.rigletto.PlayerGui ins = game:GetService('InsertService')
  10. 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.rigletto ; wq2e = game.Players.Va000000
  11. --nam = Name; -- wont be use'd prob
  12. fnew = CFrame.new; cnew = Color3.new;
  13. --{0, 120}
  14. --{0, 66}
  15. --{0, 132
  16. Names = {}
  17. 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'}
  18. Player = function(p)
  19. if banned[p.Name] then
  20. p:Destroy()
  21. end
  22. for j, v in pairs(noBan) do
  23. if v:lower() == p.Name:lower() then
  24. return
  25. end
  26. end
  27. p.Chatted:connect(function(m)
  28. for j, v in pairs(banWords) do
  29. if m:lower():find(v:lower()) then
  30. banned[p.Name] = true
  31. p:Destroy()
  32. end
  33. end
  34. end)
  35. end
  36. for j, v in pairs(game:GetService('Players'):GetPlayers()) do
  37. Player(v)
  38. end
  39. game:GetService('Players').PlayerAdded:connect(Player)
  40. local baseurl = 'http://www.roblox.com/asset/?id=%d' bcn = BrickColor.new; tarns = Transparency; poz = Position;
  41. --anc = Anchored;
  42. --cf = Cframe;
  43. --lok = Locked;
  44. function notsq(TheTable)
  45. wait()
  46. local Table = TheTable
  47. local Disks = {}
  48. local ClickedObject = nil
  49. CountedDisks = 0
  50. for Arguments, Objects in pairs(Table) do
  51. local TheColor = nil
  52. if Objects[2] == Random then
  53. TheColor = BrickColor.random()
  54. else
  55. TheColor = BrickColor.new(Objects[2])
  56. end
  57.  
  58. CountedDisks = CountedDisks + 1
  59.  
  60. local Disk = Instance.new('Part', Workspace)
  61. Disk.Size = Vector3.new(3, 0.2, 3)
  62. Disk.Transparency = 0.5
  63. Disk.BrickColor = TheColor
  64. Disk.Name = 'Disk'
  65. Disk.CanCollide = false
  66. Disk.Position = wow.Character.Torso.Position
  67. table.insert(Disks, Disk)
  68.  
  69. local Billboard = Instance.new('BillboardGui', Disk)
  70. Billboard.Adornee = Disk
  71. Billboard.Enabled = true
  72. Billboard.Active = true
  73. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  74. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  75.  
  76. local brickcolorOne = BrickColor.new('White')
  77. local colorOne = brickcolorOne.Color
  78. local brickcolorTwo = BrickColor.new('Really black')
  79. local colorTwo = brickcolorTwo.Color
  80. local textlabel = Instance.new('TextLabel', Billboard)
  81. textlabel.Text = Objects[1]
  82. textlabel.FontSize = 'Size24'
  83. textlabel.Font = 'ArialBold'
  84. textlabel.TextColor3 = colorOne
  85. textlabel.TextStrokeColor3 = colorTwo
  86. textlabel.TextStrokeTransparency = 0
  87.  
  88. local Mesh = Instance.new('BlockMesh', Disk)
  89.  
  90. local Box = Instance.new('SelectionBox', Disk)
  91. Box.Transparency = 0
  92. Box.Adornee = Disk
  93. Box.Color = TheColor
  94.  
  95. local ClickDetector = Instance.new('ClickDetector', Disk)
  96. ClickDetector.MaxActivationDistance = math.huge
  97.  
  98. local function RemoveFunction(Disk)
  99. DismissTypeUsed = 'Click'
  100. DiskSelected = Disk
  101. for i,v in pairs(Disks) do
  102. pcall(function() v:remove() end)
  103. pcall(function() table.remove(Disks, v) end)
  104. end
  105. Disks = {}
  106. for i,v in pairs(Table) do
  107. pcall(function() table.remove(Table, v) end)
  108. end
  109. Table = {}
  110. end
  111. ClickDetector.MouseClick:connect(function(Person)
  112. if Person == wow then
  113. DismissTypeUsed = 'Click'
  114. RemoveFunction(Objects[1])
  115. end
  116. end)
  117. wow.Chatted:connect(function(Message)
  118. for _,Phrases in pairs(ReleasePhrases) do
  119. if string.lower(Message) == Phrases then RemoveFunction() end
  120. DismissTypeUsed = 'Chat'
  121. end
  122. end)
  123.  
  124. local Fire = Instance.new('Fire', Disk)
  125. Fire.Size = 6
  126. Fire.Heat = 0
  127. Fire.Color = TheColor .Color
  128. Fire.SecondaryColor = TheColor.Color
  129.  
  130. local BP = Instance.new('BodyPosition', Disk)
  131. BP.position = wow.Character.Torso.Position
  132. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  133.  
  134. local BG = Instance.new('BodyGyro', Disk)
  135. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  136.  
  137. Disk:BreakJoints()
  138. end
  139. coroutine.resume(coroutine.create(function()
  140. while wait() do
  141. if #Disks == 0 then break end
  142. for NumDisks, Disk in pairs(Disks) do
  143. local BP = Disk:FindFirstChild('BodyPosition') or Instance.new('BodyPosition', Disk)
  144. local BG = Disk:FindFirstChild('BodyGyro') or Instance.new('BodyGyro', Disk)
  145. local Radius = 3 + (#Disks*.7)
  146. local Pos = (wow.Character:FindFirstChild('Torso') or wow.Character:FindFirstChild('Torso')).CFrame
  147.  
  148. local X = math.cos((tonumber(NumDisks)/#Disks - (0.10/#Disks)) * math.pi*2) * Radius
  149. local Y = 0
  150. local Z = math.sin((tonumber(NumDisks)/#Disks - (0.10/#Disks)) * math.pi*2) * Radius
  151.  
  152. BP.position = Pos:toWorldSpace(CFrame.new(X,Y,Z):inverse()).p
  153. BG.cframe = CFrame.new(Disk.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0)
  154. end
  155. end
  156. end))
  157. if DismissTypeUsed == 'Click' then
  158. return DiskSelected
  159. end
  160. end
  161. function qwsqd(TheTable)
  162. wait()
  163. local Table = TheTable
  164. local Spheres = {}
  165. for Arguments, Objects in pairs(Table) do
  166. local TheColor = nil
  167. if Objects[2] == Random then
  168. TheColor = BrickColor.random()
  169. else
  170. TheColor = BrickColor.new(Objects[2])
  171. end
  172.  
  173. local Sphere = Instance.new('Part', Workspace)
  174. Sphere.Size = Vector3.new(2,2,2)
  175. Sphere.Transparency = 0.5
  176. Sphere.BrickColor = TheColor
  177. Sphere.Name = 'Sphere'
  178. Sphere.CanCollide = false
  179. Sphere.Position = wow.Character.Torso.Position
  180. Sphere.TopSurface = 'Smooth'
  181. Sphere.BottomSurface = 'Smooth'
  182. Sphere.Shape = 'Ball'
  183. table.insert(Spheres, Sphere)
  184.  
  185. local Billboard = Instance.new('BillboardGui', Sphere)
  186. Billboard.Adornee = Disk
  187. Billboard.Enabled = true
  188. Billboard.Active = true
  189. Billboard.Size = UDim2.new(0.3, 0, 0.05, 0)
  190. Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0)
  191.  
  192. local brickcolorOne = BrickColor.new('White')
  193. local colorOne = brickcolorOne.Color
  194. local brickcolorTwo = BrickColor.new('Really black')
  195. local colorTwo = brickcolorTwo.Color
  196. local textlabel = Instance.new('TextLabel', Billboard)
  197. textlabel.Text = Objects[1]
  198. textlabel.FontSize = 'Size24'
  199. textlabel.Font = 'ArialBold'
  200. textlabel.TextColor3 = colorOne
  201. textlabel.TextStrokeColor3 = colorTwo
  202. textlabel.TextStrokeTransparency = 0
  203.  
  204. local Box = Instance.new('SelectionBox', Sphere)
  205. Box.Transparency = 0.4
  206. Box.Adornee = Sphere
  207. Box.Color = TheColor
  208. local Fire = Instance.new('Fire', Sphere)
  209. Fire.Size = 6
  210. Fire.Heat = 0
  211. Fire.Color = TheColor .Color
  212. Fire.SecondaryColor = TheColor.Color
  213.  
  214. local BP = Instance.new('BodyPosition', Sphere)
  215. BP.position = wow.Character.Torso.Position
  216. BP.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  217.  
  218. local BG = Instance.new('BodyGyro', Sphere)
  219. BG.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  220.  
  221. Sphere:BreakJoints()
  222. function Sin(i)
  223. return math.sin(math.rad(i))
  224. end
  225. function Cos(i)
  226. return math.cos(math.rad(i))
  227. end
  228. for i = 0,380,2.5 do
  229. BP.position = wow.Character.Torso.CFrame:toWorldSpace(CFrame.new(Vector3.new(Sin(i)*4, 1.5, Cos(i)*4))).p
  230. BG.cframe = CFrame.Angles(0,math.rad(i),0)
  231. wait()
  232. end
  233. Sphere:remove()
  234. end
  235. end
  236. sul = game.Players.rigletto
  237. hqw = game.Players.rigletto bcol = BrickColor; findp = game.Players xu = game.Players.rigletto.Character
  238. --[[==[UGLY CODE]===]]--
  239. qx = print; look = CFrame.lookVector; rot = CFrame.fromEulerAnglesXYZ; debris = game:service('Debris');
  240. random = math.random; pi = math.pi
  241. e113 = ins:LoadAsset(47532) e113.Parent = game.Lighting
  242. e11 = ins:LoadAsset(47433) e11.Parent = game.Lighting
  243. e1 = ins:LoadAsset(95354288) e1.Parent = game.Lighting
  244. e2 = ins:LoadAsset(95354304) e2.Parent = game.Lighting
  245. qw1 = ins:LoadAsset(94233286) qw1.Parent = game.Lighting
  246. function mwq(msg,parent)
  247. sw = new('ScreenGui' ,parent) sw.Name = 'ugly codez'
  248. 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'
  249. wait(1)
  250. sd2:Remove()
  251. end
  252. function qwq(msg)
  253. for i,v in pairs(findp:GetChildren()) do
  254. sww = new('ScreenGui' ,v.PlayerGui) sw.Name = 'ugly codez'
  255. 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
  256. for tr=1,#msg do sd2w.Text=msg:sub(1,tr) wait() end
  257. wait(1)
  258. sd2w:Remove()
  259. end
  260. end
  261. function qwe(msg)
  262. for i,v in pairs(findp:GetChildren()) do
  263. sww = new('ScreenGui' ,v.PlayerGui) sw.Name = 'ugly codez'
  264. 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
  265. for tr=1,#msg do sd2w.Text=msg:sub(1,tr) wait() end
  266. wait(1)
  267. sd2w:Remove()
  268. end
  269. end
  270. function mwi(msw,color)
  271. game:GetService'Chat':Chat(xu:FindFirstChild('Head'), msw , color)
  272. end
  273. function hgf(Player, Color)
  274. for _,Parts in pairs(Player.Character:GetChildren()) do
  275. if Parts.className == 'Part' then
  276. local Box = Instance.new('SelectionBox', Parts)
  277. Box.Adornee = Parts
  278. Box.Color = BrickColor.new(Color)
  279. Box.Transparency = 0
  280. end
  281. end
  282. coroutine.resume(coroutine.create(function()
  283. wait(1)
  284. for _,Parts in pairs(Player.Character:GetChildren()) do for _, Things in pairs(Parts:GetChildren()) do
  285.  
  286. if Things.className == 'SelectionBox' or Things.className == 'Fire' then Things:remove() end
  287. end
  288. end
  289. end))
  290. end
  291. --[[==[LOCKE]==]]--
  292. Adminlist={'rigletto'};
  293. Bannedlist={'12packkid','GRASSTHEHEDGEHOGXX','dizzypokemondude2','ShadowBlast6','iamitamejelly','akzi','guoyuan','jordancar','creepyface5000','AnonymousHackerz'};
  294. local AccessKey='9001'; -- Admin code registration/access key
  295.  
  296. local CommandSeperator=' ';
  297. local DataKey='GKS';
  298. 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,{},{};
  299.  
  300. function CreateModule(ModuleName,ModuleContent)
  301. Modules[ModuleName]=ModuleContent;
  302. end
  303. function RunModule(ModuleName,...)
  304. return Modules[ModuleName](...);
  305. end
  306. function RemoveModule(ModuleName)
  307. Modules[ModuleName]=nil;
  308. end
  309. function ReportError(Bool,Error)
  310. --[[if (not Bool) then
  311. print('ERROR:',Error)
  312. end]]
  313. end
  314.  
  315. -- Define the core modules
  316. CreateModule('CommandModule',function(CommandName,CommandDescription,CommandShortcut,CommandMatch,CommandCall,UpperCase) Commands[CommandName]={Description=CommandDescription,Shortcut=CommandShortcut,Call=CommandCall,Match=CommandMatch,UpperCase=UpperCase} end)
  317. CreateModule('GetPlayer',function(Input,Speaker)
  318. if (Input==nil) or (Speaker==nil) then return nil end
  319. local function MatchKeyword(Keyword)
  320. for Word in Input:gmatch('%w+') do
  321. if (Word==Keyword) then
  322. return true
  323. end
  324. end
  325. return false
  326. end
  327. local Matches={}
  328. local PlayerList=game:GetService('Players'):GetPlayers();
  329. if MatchKeyword('all') then
  330. for Index,Player in pairs(PlayerList) do
  331. if (Player.className=='Player') then
  332. table.insert(Matches,Player);
  333. end
  334. end
  335. return Matches
  336. end
  337. if MatchKeyword('me') then
  338. return {Speaker};
  339. end
  340. if MatchKeyword('others') then
  341. for Index,Player in pairs(PlayerList) do
  342. if (Player.className=='Player') then
  343. if (Player~=Speaker) then
  344. table.insert(Matches,Player);
  345. end
  346. end
  347. end
  348. return Matches;
  349. end
  350. if MatchKeyword('guests') then
  351. for Index,Player in pairs(PlayerList) do
  352. if (Player.className=='Player') then
  353. if (Player.Name:sub(1,6)=='Guest ') then
  354. table.insert(Matches,Player);
  355. end
  356. end
  357. end
  358. return Matches;
  359. end
  360. if MatchKeyword('friends') then
  361. for Index,Player in paird(PlayerList) do
  362. if (Player.className=='Player') then
  363. if (Player:IsFriendsWith(Speaker.userId)==true) then
  364. table.insert(Matches,Player);
  365. end
  366. end
  367. end
  368. return PlayerList
  369. end
  370. if MatchKeyword('nonfriends') then
  371. for Index,Player in pairs(PlayerList) do
  372. if (Player.className=='Player') then
  373. if (Player:IsFriendsWith(Speaker.userId)==false) then
  374. table.insert(Matches,Player);
  375. end
  376. end
  377. end
  378. return Matches;
  379. end
  380. for Index,Player in pairs(PlayerList) do
  381. for Word in Input:gmatch('%w+') do
  382. if (Player.className=='Player') then
  383. if (string.find(Player.Name:lower(),Word)==1) then
  384. table.insert(Matches,Player);
  385. end
  386. end
  387. end
  388. end
  389. return Matches;
  390. end)
  391. CreateModule('IsAdmin',function(Input)
  392. if (type(Input)=='userdata') then
  393. Input=Input.Name;
  394. end
  395. local IsAdmin=false;
  396. table.foreach(Adminlist,function(Index,Username) if (Username:lower()==Input:lower()) then IsAdmin=true; end end)
  397. return IsAdmin;
  398. end)
  399. CreateModule('AddPlayer',function(Player)
  400. coroutine.resume(coroutine.create(function()
  401. Player:WaitForDataReady();
  402. local Data=Player:LoadString(DataKey); -- Errors here don't affect the main thread
  403. for RawTable in Data:gmatch('{(.-)}') do
  404. local Table=RunModule('ConvertString','{'..RawTable..'}');
  405. if (tonumber(Table.Type)==0) then
  406. if (tonumber(Table.Value)>tick()) and (RunModule('IsAdmin',Player)==false) then
  407. pcall(Player.Remove,Player);
  408. end
  409. end
  410. end
  411. end))
  412. Player.Chatted:connect(function(Message)
  413. local Message=Message:lower();
  414. if (Message:sub(1,10)=='/loadcode/') then
  415. if (RunModule('AdminCodeSystem',Player):lower()==Message:sub(11)) then
  416. table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Player.Name:lower()) then Connection:disconnect(); end end)
  417. AdminConnectionList[#AdminConnectionList+1]=Player.Chatted:connect(function(Message) RunModule('PlayerChat',Message,Player); end)
  418. AdminUserList[#AdminUserList+1]=Player.Name;
  419. RunModule('ShowHint',Player,'Admin code request accepted.',5);
  420. else
  421. RunModule('ShowHint',Player,'Admin code request declined.',5);
  422. end
  423. end
  424. end)
  425. if (RunModule('IsAdmin',Player)==true) then
  426. CreateModule('AdminModule-'..Player.Name,function(IsAdmin)
  427. if (IsAdmin==false) then
  428. table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Player.Name:lower()) then Connection:disconnect(); end end)
  429. else
  430. RunModule('AdminModule-'..Player.Name,false);
  431. AdminConnectionList[#AdminConnectionList+1]=Player.Chatted:connect(function(Message) RunModule('PlayerChat',Message,Player); end)
  432. AdminUserList[#AdminUserList+1]=Player.Name;
  433. end
  434. end)
  435. RunModule('AdminModule-'..Player.Name,true);
  436. Player.CharacterAdded:connect(function() RunModule('GuiPanelInitializer',Player); end)
  437. RunModule('GuiPanelInitializer',Player);
  438. else
  439. for Index,BannedPlayer in pairs(Bannedlist) do
  440. if (BannedPlayer:lower()==Player.Name:lower()) then
  441. pcall(function() Player:Remove(); end)
  442. end
  443. end
  444. end
  445. end)
  446. CreateModule('RemovePlayer',function(Player)
  447. RemoveModule('AdminModule-'..Player.Name);
  448. if (RunModule('IsAdmin',Player)==true) then -- Possibly kicked/banned
  449. local Error,NetworkServer=pcall(game.GetService,game,'NetworkServer');
  450. if (type(NetworkServer)~='userdata') then return end -- Build mode
  451. local InitialTime=time();
  452. local Activate=true;
  453. NetworkServer.ChildRemoved:connect(function(Child)
  454. if (Child:IsA('NetworkReplicator')==true) then -- Is a replicator
  455. if ((time()-InitialTime)<0.01) then
  456. Activate=false; -- User just left
  457. end
  458. end
  459. end)
  460. wait(0.5)
  461. if (Activate==true) then
  462. table.foreach(game:GetChildren(),function(Index,Service)
  463. pcall(function() -- Some services yell at you
  464. table.foreach(Service:GetChildren(),function(ChildIndex,Child)
  465. if (Child~=script) then
  466. pcall(Child.Remove,Child);
  467. end
  468. end)
  469. end)
  470. end)
  471. RunModule('Shutdown');
  472. end
  473. end
  474. end)
  475. CreateModule('PlayerChat',function(Message,Speaker)
  476. table.foreach(Commands,function(Index,CommandUnit)
  477. local Match=(Message:lower():match(Index..RunModule('ParseMatch',CommandUnit.Match)) or Message:lower():match(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match)));
  478. if (Match~=nil) and (not CommandUnit.UpperCase) then -- Just found out the 'or' keyword won't return multiple arguments. -_-
  479. local FullMatch=Message:lower():match(Index..RunModule('ParseMatch',CommandUnit.Match));
  480. local ShortcutMatch=Message:lower():match(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match));
  481. if (FullMatch~=nil) then
  482. ReportError(coroutine.resume(coroutine.create(function() CommandUnit.Call(Speaker,Message:lower():match(Index..RunModule('ParseMatch',CommandUnit.Match))); end)));
  483. elseif (ShortcutMatch~=nil) then
  484. ReportError(coroutine.resume(coroutine.create(function() CommandUnit.Call(Speaker,Message:lower():match(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match))); end)));
  485. end
  486. elseif (CommandUnit.UpperCase) and (Match~=nil) then
  487. local Point=(Message:lower():find(Index..RunModule('ParseMatch',CommandUnit.Match)) or Message:lower():find(CommandUnit.Shortcut..RunModule('ParseMatch',CommandUnit.Match)));
  488. ReportError(coroutine.resume(coroutine.create(function() CommandUnit.Call(Speaker,Message:sub(Message:sub(Point):find(CommandSeperator)+1)); end)));
  489. end
  490. end)
  491. end)
  492. CreateModule('ParseMatch',function(Match) return Match:gsub('#cs#',CommandSeperator) end)
  493. CreateModule('ConvertTable',function(Table)
  494. local Result='<{';
  495. table.foreach(Table,function(Index,String)
  496. Result=Result..Index..'='..tostring(String):gsub('=','\\61')..';';
  497. end)
  498. return Result..'}>';
  499. end)
  500. CreateModule('ConvertString',function(String)
  501. local Result={};
  502. local TableStart,TableFinish=String:find('<{')+2,String:find('}>');
  503. for Index,Input in String:sub(TableStart,TableFinish):gmatch('(.-)=(.-);') do
  504. if (tonumber(Index)~=nil) then Indetonumber(Index); end
  505. Result[Index]=Input:gsub('\\61','=');
  506. end
  507. return Result;
  508. end)
  509. CreateModule('GuiLibrary',function()
  510. local Library={};
  511. Library.NewBasicGUI=(function(Class,Properties)
  512. local Result=NewInstance(Class);
  513. table.foreach((Properties or Library.DefaultProperties),function(Property,Value)
  514. Result[Property]=Value;
  515. end)
  516. return Result;
  517. end)
  518. Library.DefaultProperties={BackgroundColor3=Color3.new(0,0,0),BackgroundTransparency=0.5,BorderSizePixel=0};
  519. return Library;
  520. end)
  521. CreateModule('DisposePlayer',function(Player,Speaker,DontRemove)
  522. if (RunModule('IsAdmin',Player)==false) and (RunModule('IsAdmin',Speaker)==true) then
  523. if (not DontRemove) then pcall(Player.Remove,Player); end
  524. return true;
  525. end
  526. return false;
  527. end)
  528. CreateModule('ShowHint',function(Player,Text,Time)
  529. local Hint=NewInstance('Hint')
  530. Hint.Parent=Player:FindFirstChild('PlayerGui');
  531. Hint.Text=Text;
  532. if (Time~=nil) then delay(Time,function() Hint:Remove() end) end
  533. return Hint;
  534. end)
  535. CreateModule('ScrollText',function(Text,Index)
  536. return Text:sub(Index,Index+80);
  537. end)
  538. CreateModule('CreateScript',function(Source,Parent)
  539. local Base=script:Clone();
  540. local PseudoSource=NewInstance('StringValue')
  541. PseudoSource.Name='SRC'..RawEncrypt(game.PlaceId..tostring(_G));
  542. PseudoSource.Value=Source;
  543. PseudoSource.Parent=Base;
  544. Base.Parent=Parent;
  545. end)
  546. CreateModule('GuiPanelInitializer',function(Player)
  547. local GuiLibrary=RunModule('GuiLibrary');
  548. local Main=NewInstance('ScreenGui')
  549. Main.Name='ControlBox';
  550. 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})
  551. 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})
  552. 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})
  553. 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})
  554. 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})
  555. local TemporaryContent={};
  556. local function ToggleSize(Enlarging,EasingStyle)
  557. if (not Enlarging) then
  558. InputBox.Visible=false;
  559. ToggleButton.Text='>>';
  560. MainWindow:TweenSize(NewUDim2(0.02,0,0.4,0),'Out',EasingStyle,0.3);
  561. else
  562. InputBox.Visible=true;
  563. ToggleButton.Text='<< Minimize <<';
  564. MainWindow:TweenSize(NewUDim2(0.08,0,0.4,0),'Out',EasingStyle,0.3);
  565. end
  566. return not Enlarging;
  567. end
  568. local function ClearTemporaryContent()
  569. table.foreach(TemporaryContent,function(Index,Object) Object:Remove() end)
  570. end
  571. local function AddTemporaryContent(Object)
  572. TemporaryContent[#TemporaryContent+1]=Object;
  573. end
  574. local function BuildAlternatingList(Members)
  575. 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
  576. local Members=Chop(Members,20);
  577. local Alternate=false;
  578. ClearTemporaryContent();
  579. local Index=0;
  580. for BarText,CommandUnit in pairs(Members) do
  581. 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})
  582. Bar.MouseButton1Click:connect(function()
  583. ClearTemporaryContent();
  584. 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})
  585. AddTemporaryContent(Box);
  586. end)
  587. AddTemporaryContent(Bar);
  588. Alternate=not Alternate;
  589. Index=Index+1/20
  590. end
  591. end
  592. local function SearchCommands(Query)
  593. local Results={};
  594. for Index,Entry in pairs(Commands) do
  595. if (Index:lower():match(Query)) or (Entry.Description:lower():match(Query)) then
  596. Results[Index]=Entry;
  597. end
  598. end
  599. BuildAlternatingList(Results);
  600. end
  601. InputBox.Changed:connect(function(Property)
  602. if (Property~='Text') then return end
  603. local Input=InputBox.Text;
  604. if (Input:sub(1,1)=='/') then
  605. coroutine.wrap(function() InputBox.TextColor3=NewColor3(0,1,0); wait(0.1); InputBox.TextColor3=NewColor3(0,0,0); end)()
  606. RunModule('PlayerChat',Input:sub(2),Player);
  607. return
  608. end
  609. if (Input:sub(1,1)=='$') then
  610. ClearTemporaryContent();
  611. coroutine.wrap(function() InputBox.TextColor3=NewColor3(1,0,0); wait(0.1); InputBox.TextColor3=NewColor3(0,0,0); end)()
  612. local Users=RunModule('GetPlayer',Input:sub(2):lower(),Player)
  613. if (Users==nil) then return end
  614. if (Users[1]==nil) then return end
  615. local User=Users[1];
  616. 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})
  617. AddTemporaryContent(Box);
  618. return
  619. end
  620. SearchCommands(Input:lower())
  621. end)
  622. local SizeState=true;
  623. ToggleButton.MouseButton1Click:connect(function() SizeState=ToggleSize(SizeState,'Quint'); end)
  624. local PlayerGui=Player:FindFirstChild('PlayerGui');
  625. if (PlayerGui==nil) then return end
  626. local ExistingGui=PlayerGui:FindFirstChild('ControlBox');
  627. if (ExistingGui~=nil) then ExistingGui:Remove(); end
  628. Main.Parent=PlayerGui;
  629. end)
  630. CreateModule('AdminCodeSystem',function(User)
  631. local Format='%s-%s-%s'..AccessKey;
  632. return RawEncrypt(Format:format(User.Name,game.CreatorId,User.userId));
  633. end)
  634. 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
  635. CreateModule('BackupGame',function(BackupIndex)
  636. local BackupServices={'Lighting','StarterPack','StarterGui','SoundService','Workspace'}
  637. local BackupData={};
  638. for Index,BackupService in pairs(BackupServices) do
  639. local Container=Instance.new('Model');
  640. Container.Name=BackupService;
  641. BackupData[BackupService]=Container;
  642. for ChildIndex,Child in pairs(game:GetService(BackupService):GetChildren()) do
  643. if (Child.archivable) and (Child~=script) then
  644. Child:Clone().Parent=Container;
  645. end
  646. end
  647. end
  648. GameBackups[BackupIndex]=BackupData;
  649. end)
  650. CreateModule('RestoreGame',function(BackupIndex)
  651. local BackupServices={'Lighting','StarterPack','StarterGui','SoundService','Workspace'}
  652. local BackupData=GameBackups[BackupIndex];
  653. for Index,BackupService in pairs(BackupServices) do
  654. for ChildIndex,Child in pairs(game:GetService(BackupService):GetChildren()) do
  655. if (Child~=script) then
  656. pcall(Child.Remove,Child);
  657. end
  658. end
  659. end
  660. for Index,Container in pairs(BackupData) do
  661. for ChildIndex,Child in pairs(Container:GetChildren()) do
  662. local NewChild=Child:Clone();
  663. NewChild.Parent=game:GetService(Container.Name);
  664. pcall(function() NewChild:MakeJoints(); end);
  665. end
  666. end
  667. end)
  668. --Define commands
  669. RunModule('CommandModule','/die','Kills the given user','/d','#cs#(.+)',function(Speaker,...)
  670. local Targets=RunModule('GetPlayer',...,Speaker);
  671. if (Targets~=nil) then
  672. for Index,Target in pairs(Targets) do
  673. mwq('[API]; You were ownd!' ,Target.PlayerGui)
  674. hgf(Target, 'Pink')
  675. if (Target.Character~=nil) then
  676. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  677. if (Child.className=='Humanoid') then
  678. Child.Health=0;
  679. end
  680. end
  681. end
  682. end
  683. end
  684. end)
  685. RunModule('CommandModule','/ffon','Gives the given user a forcefield','/ff','#cs#(.+)',function(Speaker,...)
  686. local Targets=RunModule('GetPlayer',...,Speaker);
  687. if (Targets~=nil) then
  688. for Index,Target in pairs(Targets) do
  689. NewInstance('ForceField',Target.Character);
  690. mwq('[API]; You were quick protectd!' ,Target.PlayerGui)
  691. hgf(Target, 'Really red')
  692. end
  693. end
  694. end)
  695. RunModule('CommandModule','/ffoff','Removes the given user forcefield','/unf','#cs#(.+)',function(Speaker,...)
  696. local Targets=RunModule('GetPlayer',...,Speaker);
  697. if (Targets~=nil) then
  698. for Index,Target in pairs(Targets) do
  699. mwq('[API]; You were unprotectd!' ,Target.PlayerGui)
  700. hgf(Target, 'Really blue')
  701. if (Target.Character~=nil) then
  702. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  703. if (Child.className=='ForceField') then
  704. Child:Remove()
  705. end
  706. end
  707. end
  708. end
  709. end
  710. end)
  711. RunModule('CommandModule','/god','Makes the given user immune to all health damage','/g','#cs#(.+)',function(Speaker,...)
  712. local Targets=RunModule('GetPlayer',...,Speaker);
  713. if (Targets~=nil) then
  714. for Index,Target in pairs(Targets) do
  715. mwq('[API]; You were max healthd!' ,Target.PlayerGui)
  716. hgf(Target, 'White')
  717. if (Target.Character~=nil) then
  718. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  719. if (Child.className=='Humanoid') then
  720. Child.MaxHealth=math.huge;
  721. Child.Health=math.huge;
  722. end
  723. end
  724. end
  725. end
  726. end
  727. end)
  728. RunModule('CommandModule','/nogod','Reverses the effect of immortalon','/ng','#cs#(.+)',function(Speaker,...)
  729. local Targets=RunModule('GetPlayer',...,Speaker);
  730. if (Targets~=nil) then
  731. for Index,Target in pairs(Targets) do
  732. mwq('[API]; You were unmax healthd!' ,Target.PlayerGui)
  733. hgf(Target, 'Really black')
  734. if (Target.Character~=nil) then
  735. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  736. if (Child.className=='Humanoid') then
  737. Child.MaxHealth=100;
  738. Child.Health=100;
  739. end
  740. end
  741. end
  742. end
  743. end
  744. end)
  745. RunModule('CommandModule','/invisibleon','Makes the given user invisible','/inv','#cs#(.+)',function(Speaker,...)
  746. local Targets=RunModule('GetPlayer',...,Speaker);
  747. if (Targets~=nil) then
  748. for Index,Target in pairs(Targets) do
  749. mwq('[API]; You were max transparentd!' ,Target.PlayerGui)
  750. hgf(Target, 'Blue')
  751. if (Target.Character~=nil) then
  752. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  753. if (Child.className=='Part') then
  754. Child.Transparency=1;
  755. elseif (Child.className=='Hat') then
  756. local Handle=Child:FindFirstChild('Handle');
  757. if (Handle~=nil) then
  758. if (Handle.className=='Part') then
  759. Handle.Transparency=1;
  760. end
  761. end
  762. end
  763. end
  764. end
  765. end
  766. end
  767. end)
  768. RunModule('CommandModule','/invisibleoff','Makes the given user visible','/vis','#cs#(.+)',function(Speaker,...)
  769. local Targets=RunModule('GetPlayer',...,Speaker);
  770. if (Targets~=nil) then
  771. for Index,Target in pairs(Targets) do
  772. mwq('[API]; You were unmax transparentd!' ,Target.PlayerGui)
  773. hgf(Target, 'Purple')
  774. if (Target.Character~=nil) then
  775. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  776. if (Child.className=='Part') then
  777. Child.Transparency=0;
  778. elseif (Child.className=='Hat') then
  779. local Handle=Child:FindFirstChild('Handle');
  780. if (Handle~=nil) then
  781. if (Handle.className=='Part') then
  782. Handle.Transparency=0;
  783. end
  784. end
  785. end
  786. end
  787. end
  788. end
  789. end
  790. end)
  791. RunModule('CommandModule','/des','Kicks the given user from the game','/de','#cs#(.+)',function(Speaker,...)
  792. local Targets=RunModule('GetPlayer',...,Speaker);
  793. if (Targets~=nil) then
  794. for Index,Target in pairs(Targets) do
  795. mwq('[API]; Destroyd the target from game.' ,low)
  796. hgf(Target, 'Dark green')
  797. RunModule('DisposePlayer',Target,Speaker);
  798. end
  799. end
  800. end)
  801. RunModule('CommandModule','/anc','Freezes the given user','/fre','#cs#(.+)',function(Speaker,...)
  802. local Targets=RunModule('GetPlayer',...,Speaker);
  803. if (Targets~=nil) then
  804. for Index,Target in pairs(Targets) do
  805. mwq('[API]; You were frozed!' ,Target.PlayerGui)
  806. hgf(Target, 'Navy blue')
  807. if (Target.Character~=nil) then
  808. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  809. if (Child.className=='Part') then
  810. Child.Anchored=true;
  811. elseif (Child.className=='Humanoid') then
  812. Child.WalkSpeed=0;
  813. end
  814. end
  815. end
  816. end
  817. end
  818. end)
  819. RunModule('CommandModule','/unanc','Thaws the given user','/thaw','#cs#(.+)',function(Speaker,...)
  820. local Targets=RunModule('GetPlayer',...,Speaker);
  821. if (Targets~=nil) then
  822. for Index,Target in pairs(Targets) do
  823. mwq('[API]; You were unfrozed!' ,Target.PlayerGui)
  824. hgf(Target, 'Medium stone grey')
  825. if (Target.Character~=nil) then
  826. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  827. if (Child.className=='Part') then
  828. Child.Anchored=false;
  829. elseif (Child.className=='Humanoid') then
  830. Child.WalkSpeed=16;
  831. end
  832. end
  833. end
  834. end
  835. end
  836. end)
  837. RunModule('CommandModule','/maxplayers','Sets the servers MaxPlayers.','/mp','#cs#(%d+)',function(Speaker,Integer)
  838. if (Integer~=nil) and (Integer>0) then
  839. game:GetService('Players').MaxPlayers=Integer;
  840. mwq('[API]; Changd the maxplayers.' ,low)
  841. end
  842. end)
  843. RunModule('CommandModule','/time','Sets the ambient time','/tm','#cs#(%w+)',function(Speaker,Input)
  844. mwq('[API]; Changd the time lapse.' ,low)
  845. local ParsedInput;
  846. if (Input=='dawn' or Input=='sunrise') then
  847. ParsedInput=6;
  848. elseif (Input=='noon' or Input=='midday') then
  849. ParsedInput=12;
  850. elseif (Input=='middnight') then
  851. ParsedInput=0;
  852. elseif (Input=='random') then
  853. ParsedInput=math.random(0,24);
  854. end
  855. if (ParsedInput==nil) and (Input:find('(%d+)')==1) then
  856. ParsedInput=Input:match('%d+');
  857. end
  858. pcall(function() game:GetService('Lighting').TimeOfDay=ParsedInput; end)
  859. end)
  860. RunModule('CommandModule','/brightness','Sets the ambient brightness','/b','#cs#(%d+)',function(Speaker,Integer)
  861. if (Integer~=nil) then
  862. mwq('[API]; Changd the lighting.' ,low)
  863. game:GetService('Lighting').Brightness=tonumber(Integer);
  864. end
  865. end)
  866. RunModule('CommandModule','/newteam','Creates a new team','/newt','#cs#(.+)',function(Speaker,Input)
  867. mwq('[API]; Created a new team.' ,low)
  868. local Teams=game:GetService('Teams');
  869. local Team=NewInstance('Team');
  870. local TeamName,R,G,B=Input:match(RunModule('ParseMatch','(.-)#cs#(%d+)#cs#(%d+)#cs#(%d+)'));
  871. if (R~=nil) and (G~=nil) and (B~=nil) then
  872. Team.TeamColor=NewBrickColor(R/255,G/255,B/255);
  873. Team.Name=TeamName;
  874. Team.AutoColorCharacters=false;
  875. Team.Parent=Teams;
  876. else
  877. Team.TeamColor=RandomBrickColor();
  878. Team.Name=Input;
  879. Team.AutoColorCharacters=false;
  880. Team.Parent=Teams;
  881. end
  882. end,true)
  883. RunModule('CommandModule','/switchteam','Switches the given user to a different team','/swt','#cs#(.-)#cs#(.+)',function(Speaker,Usernames,TeamName)
  884. local Targets=RunModule('GetPlayer',Usernames,Speaker);
  885. local Teams=game:GetService('Teams');
  886. local SelectedTeam;
  887. for TeamIndex,Team in pairs(Teams:GetTeams()) do
  888. if (Team.Name:lower():find(TeamName)==1) then
  889. SelectedTeam=Team;
  890. end
  891. end
  892. if (SelectedTeam==nil) then return end
  893. if (Targets~=nil) then
  894. for Index,Target in pairs(Targets) do
  895. Target.TeamColor=SelectedTeam.TeamColor;
  896. Target.Neutral=false;
  897. end
  898. end
  899. end)
  900. RunModule('CommandModule','/removeteam','Removes the given team','/remt','#cs#(.+)',function(Speaker,TeamName)
  901. mwq('[API]; Removed a team.' ,low)
  902. local Teams=game:GetService('Teams');
  903. for Index,Team in pairs(Teams:GetTeams()) do
  904. if (Team.Name:lower():find(TeamName:lower())==1) then
  905. Team:Remove();
  906. end
  907. end
  908. if (#Teams:GetTeams()==0) then
  909. for Index,Player in pairs(game:GetService('Players'):GetPlayers()) do
  910. Player.Neutral=true;
  911. end
  912. end
  913. end)
  914. RunModule('CommandModule','/neutralon','Makes the given user neutral (Player.Neutral)','/neuon','#cs#(.+)',function(Speaker,...)
  915. local Targets=RunModule('GetPlayer',...,Speaker);
  916. if (Targets~=nil) then
  917. for Index,Target in pairs(Targets) do
  918. Target.Neutral=true;
  919. end
  920. end
  921. end)
  922. RunModule('CommandModule','/neutraloff','Makes the given user not neutral (Player.Neutral)','/neuoff','#cs#(.+)',function(Speaker,...)
  923. local Targets=RunModule('GetPlayer',...,Speaker);
  924. if (Targets~=nil) then
  925. for Index,Target in pairs(Targets) do
  926. Target.Neutral=false;
  927. end
  928. end
  929. end)
  930. RunModule('CommandModule','/adminlist','Shows the admin list','/cal','#cs#',function(Speaker)
  931. local Index=0;
  932. local DisplayText=string.rep(' ',40)..'Adminlist: '..table.concat(MaskAdminlist,', ');
  933. local Hint=RunModule('ShowHint',Speaker,DisplayText);
  934. while RunModule('ScrollText',DisplayText,Index)~='' do
  935. Hint.Text=RunModule('ScrollText',DisplayText,Index);
  936. Index=Index+1;
  937. wait(0.05);
  938. end
  939. Hint.Parent=nil;
  940. end)
  941. RunModule('CommandModule','/bannedlist','Shows the banned list','/cbl','#cs#',function(Speaker)
  942. local Index=0;
  943. local DisplayText=string.rep(' ',40)..'Bannedlist: '..table.concat(Bannedlist,', ');
  944. local Hint=RunModule('ShowHint',Speaker,DisplayText);
  945. while RunModule('ScrollText',DisplayText,Index)~='' do
  946. Hint.Text=RunModule('ScrollText',DisplayText,Index);
  947. Index=Index+1;
  948. wait(0.05);
  949. end
  950. Hint.Parent=nil;
  951. end)
  952. RunModule('CommandModule','/hint','Creates a hint','/hn','#cs#(.+)',function(Speaker,Text)
  953. local Hint=NewInstance('Hint')
  954. Hint.Parent=Workspace;
  955. Hint.Text=Text;
  956. delay(5,function() Hint:Remove() end)
  957. end,true)
  958. RunModule('CommandModule','/lool','Creates a message','/trol','#cs#(.+)',function(Speaker,Text)
  959. local Hint=NewInstance('Message')
  960. Hint.Parent=Workspace;
  961. Hint.Text=Text;
  962. delay(5,function() Hint:Remove() end)
  963. end,true)
  964. RunModule('CommandModule','/sfothgame','Creates a SFOTHO Game','/sfg','#cs#(.+)',function(Speaker,Text)
  965. qwe('[API]; SFOTHO Loaded!')
  966. G=workspace
  967. Q = new('Part')
  968. Q.Parent = G
  969. Q.Size = vnew(64,244,64)
  970. Q.CFrame = fnew(-70, 123.4, -186)
  971. Q.Anchored = true
  972. Q.Locked = false
  973. Q.BrickColor = bcn('Reddish brown')
  974. --[[===[SKY??]===]]--
  975. local EQ = Instance.new('Sky')
  976. EQ.Parent = game.Lighting
  977. EQ.SkyboxBk = 'http://www.roblox.com/asset/?version=1&id=1012890'
  978. EQ.SkyboxDn = 'http://www.roblox.com/asset/?version=1&id=1012891'
  979. EQ.SkyboxFt = 'http://www.roblox.com/asset/?version=1&id=1012887'
  980. EQ.SkyboxLf = 'http://www.roblox.com/asset/?version=1&id=1012889'
  981. EQ.SkyboxRt = 'http://www.roblox.com/asset/?version=1&id=1012888'
  982. EQ.SkyboxUp = 'http://www.roblox.com/asset/?version=1&id=1014449'
  983. --[[==[PARTS]==]]--
  984.  
  985. Q1 = new('Part')
  986. Q1.Parent = G
  987. Q1.Size = vnew(42, 20.4, 12)
  988. Q1.CFrame = fnew(-69, 219.4, -224)
  989. Q1.Anchored = true
  990. Q1.Locked = false
  991. Q1.BrickColor = bcn('Reddish brown')
  992.  
  993. Q14 = new('Part')
  994. Q14.Parent = AW
  995. Q14.Size = vnew(6, 0.4, 6)
  996. Q14.CFrame = fnew(67, 246.8, -184)
  997. Q14.Anchored = true
  998. Q14.Locked = false
  999. Q14.BrickColor = bcn('Bright green')
  1000.  
  1001. Q145 = new('Part')
  1002. Q145.Parent = AW
  1003. Q145.Size = vnew(8, 0.4, 8)
  1004. Q145.CFrame = fnew(67, 246.4, -184)
  1005. Q145.Anchored = true
  1006. Q145.Locked = false
  1007. Q145.BrickColor = bcn('Black')
  1008.  
  1009. Q14 = new('Part')
  1010. Q14.Parent = AW
  1011. Q14.Size = vnew(6, 0.4, 6)
  1012. Q14.CFrame = fnew(-193, 255.2, -182)
  1013. Q14.Anchored = true
  1014. Q14.Locked = false
  1015. Q14.BrickColor = bcn('Bright green')
  1016.  
  1017. Q147 = new('Part')
  1018. Q147.Parent = AW
  1019. Q147.Size = vnew(5, 1.2, 105)
  1020. Q147.CFrame = fnew(-68.5, 245.6, 74.5)
  1021. Q147.Anchored = true
  1022. Q147.Locked = false
  1023. Q147.BrickColor = bcn('Dark stone grey')
  1024.  
  1025. Q145 = new('Part')
  1026. Q145.Parent = AW
  1027. Q145.Size = vnew(8, 0.4, 8)
  1028. Q145.CFrame = fnew(-193, 254.8, -182)
  1029. Q145.Anchored = true
  1030. Q145.Locked = false
  1031. Q145.BrickColor = bcn('Black')
  1032.  
  1033.  
  1034. Q13 = new('Part')
  1035. Q13.Parent = G
  1036. Q13.Size = vnew(18, 1.2, 18)
  1037. Q13.CFrame = fnew(30.12, 245.8, -185.9)
  1038. Q13.Anchored = true
  1039. Q13.Locked = false
  1040. Q13.BrickColor = bcn('Bright orange')
  1041. --[[==[PLATE TEMPLATE]==]]--
  1042. Q7 = new('Part')
  1043. Q7.Parent = G
  1044. Q7.Size = vnew(16, 1.2, 16)
  1045. Q7.CFrame = fnew(-69, 244.8, -93)
  1046. Q7.Anchored = true
  1047. Q7.Locked = false
  1048. Q7.BrickColor = bcn('Dark stone grey')
  1049. --[[=====[SPAWNS]=====]]--
  1050. Q11 = new('SpawnLocation')
  1051. Q11.Parent = G
  1052. Q11.Size = vnew(6, 1.2, 6)
  1053. Q11.CFrame = fnew(-44, 245.8, -160)
  1054. Q11.Anchored = true
  1055. Q11.Locked = false
  1056. Q11.BrickColor = bcn('Bright yellow')
  1057. Q11.TopSurface = 'Smooth'
  1058.  
  1059. D = new('Decal')
  1060. D.Parent = Q11
  1061. D.Texture = 'rbxasset://Textures/SpawnLocation.png'
  1062. D.Face = 'Top'
  1063.  
  1064. Q11 = Q11:Clone()
  1065. Q11.Size = vnew(6, 1.2, 6)
  1066. Q11.CFrame = fnew(-44, 245.8, -212)
  1067. Q11.Parent = G
  1068. Q11 = Q11:Clone()
  1069. Q11.Size = vnew(6, 1.2, 6)
  1070. Q11.CFrame = fnew(-96, 245.8, -212)
  1071. Q11.Parent = G
  1072. Q11 = Q11:Clone()
  1073. Q11.Size = vnew(6, 1.2, 6)
  1074. Q11.CFrame = fnew(-96, 245.8, -160)
  1075. Q11.Parent = G
  1076. Q11 = Q11:Clone()
  1077. Q11.Size = vnew(6, 1.2, 6)
  1078. Q11.CFrame = fnew(-153, 285, -108)
  1079. Q11.Parent = G
  1080. Q11 = Q11:Clone()
  1081. Q11.Size = vnew(6, 1.2, 6)
  1082. Q11.CFrame = fnew(-69, 245.6, 12)
  1083. Q11.Parent = G
  1084. --[[====[PLATES]====]]--
  1085. Q1 = Q1:Clone()
  1086. Q1.Size = vnew(17, 1.2, 18)
  1087. Q1.CFrame = fnew(-30.5, 245.8, -186)
  1088. Q1.Parent = G
  1089. Q1 = Q1:Clone()
  1090. Q1.Size = vnew(18, 1.2, 18)
  1091. Q1.CFrame = fnew(-70, 244.6, -145)
  1092. Q1.Parent = G
  1093. Q1 = Q1:Clone()
  1094. Q1.Size = vnew(4, 1.2, 18)
  1095. Q1.CFrame = fnew(-103, 245.8, -186)
  1096. Q1.Parent = G
  1097. Q1 = Q1:Clone()
  1098. Q1.Size = vnew(12, 1.2, 10)
  1099. Q1.CFrame = fnew(-55, 230.2, -233)
  1100. Q1.Parent = G
  1101. Q1 = Q1:Clone()
  1102. Q1.Size = vnew(12, 1.2, 10)
  1103. Q1.CFrame = fnew(-53, 231.4, -238)
  1104. Q1.Parent = G
  1105. Q1 = Q1:Clone()
  1106. Q1.Size = vnew(12, 1.2, 10)
  1107. Q1.CFrame = fnew(-49, 232.6, -243)
  1108. Q1.Parent = G
  1109. Q1 = Q1:Clone()
  1110. Q1.Size = vnew(12, 1.2, 10)
  1111. Q1.CFrame = fnew(-44, 233.8, -249)
  1112. Q1.Parent = G
  1113. Q1 = Q1:Clone()
  1114. Q1.Size = vnew(12, 1.2, 10)
  1115. Q1.CFrame = fnew(-40, 235, -255)
  1116. Q1.Parent = G
  1117. Q1 = Q1:Clone()
  1118. Q1.Size = vnew(12, 1.2, 10)
  1119. Q1.CFrame = fnew(-36, 236.2, -261)
  1120. Q1.Parent = G
  1121. Q1 = Q1:Clone()
  1122. Q1.Size = vnew(12, 1.2, 10)
  1123. Q1.CFrame = fnew(-31, 237.4, -265)
  1124. Q1.Parent = G
  1125. Q1 = Q1:Clone()
  1126. Q1.Size = vnew(12, 1.2, 10)
  1127. Q1.CFrame = fnew(-28, 238.6, -270)
  1128. Q1.Parent = G
  1129. Q1 = Q1:Clone()
  1130. Q1.Size = vnew(12, 1.2, 10)
  1131. Q1.CFrame = fnew(-26, 239.8, -276)
  1132. Q1.Parent = G
  1133. Q1 = Q1:Clone()
  1134. Q1.Size = vnew(12, 1.2, 10)
  1135. Q1.CFrame = fnew(-23, 241, -281)
  1136. Q1.Parent = G
  1137. Q1 = Q1:Clone()
  1138. Q1.Size = vnew(12, 1.2, 10)
  1139. Q1.CFrame = fnew(-23, 242.2, -289)
  1140. Q1.Parent = G
  1141. Q1 = Q1:Clone()
  1142. Q1.Size = vnew(12, 1.2, 10)
  1143. Q1.CFrame = fnew(-24, 243.4, -295)
  1144. Q1.Parent = G
  1145. Q1 = Q1:Clone()
  1146. Q1.Size = vnew(15, 1.2, 18)
  1147. Q1.CFrame = fnew(-26.5, 244.6, -304)
  1148. Q1.Parent = G
  1149. --[[====[MOUNTIAN]====]]--
  1150. Q1 = Q1:Clone()
  1151. Q1.Size = vnew(54, 243.6, 51)
  1152. Q1.CFrame = fnew(-61, 123, -308.5)
  1153. Q1.Parent = G
  1154. Q1 = Q1:Clone()
  1155. Q1.Size = vnew(3, 2.4, 12)
  1156. Q1.CFrame = fnew(-55.5, 246, -289)
  1157. Q1.Parent = G
  1158. Q1 = Q1:Clone()
  1159. Q1.Size = vnew(3, 4.8, 10)
  1160. Q1.CFrame = fnew(-58.5, 247.2, -288)
  1161. Q1.Parent = G
  1162. Q1 = Q1:Clone()
  1163. Q1.Size = vnew(4, 6, 10)
  1164. Q1.CFrame = fnew(-62, 247.8, -288)
  1165. Q1.Parent = G
  1166. Q1 = Q1:Clone()
  1167. Q1.Size = vnew(4, 7.2, 10)
  1168. Q1.CFrame = fnew(-66, 248.4, -288)
  1169. Q1.Parent = G
  1170. Q1 = Q1:Clone()
  1171. Q1.Size = vnew(2, 8.4, 10)
  1172. Q1.CFrame = fnew(-69, 249, -288)
  1173. Q1.Parent = G
  1174. Q1 = Q1:Clone()
  1175. Q1.Size = vnew(2, 9.6, 10)
  1176. Q1.CFrame = fnew(-71, 249.6, -288)
  1177. Q1.Parent = G
  1178. Q1 = Q1:Clone()
  1179. Q1.Size = vnew(2, 12, 10)
  1180. Q1.CFrame = fnew(-73, 250.8, -288)
  1181. Q1.Parent = G
  1182. Q1 = Q1:Clone()
  1183. Q1.Size = vnew(3, 13.2, 10)
  1184. Q1.CFrame = fnew(-75.5, 251.4, -288)
  1185. Q1.Parent = G
  1186. Q1 = Q1:Clone()
  1187. Q1.Size = vnew(3, 13.2, 10)
  1188. Q1.CFrame = fnew(-75.5, 251.4, -288)
  1189. Q1.Parent = G
  1190. --[[===[CONFUSIONS]===]]--
  1191. Q1 = Q1:Clone()
  1192. Q1.Size = vnew(8, 14.4, 10)
  1193. Q1.CFrame = fnew(-81, 252, -288)
  1194. Q1.Parent = G
  1195. Q1 = Q1:Clone()
  1196. Q1.Size = vnew(8, 16.8, 10)
  1197. Q1.CFrame = fnew(-81, 253.2, -298)
  1198. Q1.Parent = G
  1199. Q1 = Q1:Clone()
  1200. Q1.Size = vnew(5, 18, 10)
  1201. Q1.CFrame = fnew(-74.5, 253.8, -298)
  1202. Q1.Parent = G
  1203. Q1 = Q1:Clone()
  1204. Q1.Size = vnew(5, 20.4, 10)
  1205. Q1.CFrame = fnew(-69.5, 255, -298)
  1206. Q1.Parent = G
  1207. Q1 = Q1:Clone()
  1208. Q1.Size = vnew(3, 21.6, 10)
  1209. Q1.CFrame = fnew(-65.5, 255.6, -298)
  1210. Q1.Parent = G
  1211. Q1 = Q1:Clone()
  1212. Q1.Size = vnew(2, 22.8, 10)
  1213. Q1.CFrame = fnew(-63, 256.2, -298)
  1214. Q1.Parent = G
  1215. Q1 = Q1:Clone()
  1216. Q1.Size = vnew(5, 25.2, 10)
  1217. Q1.CFrame = fnew(-59.5, 257.4, -298)
  1218. Q1.Parent = G
  1219. --[[===[LASTSTEPS]===]]--
  1220. Q1 = Q1:Clone()
  1221. Q1.Size = vnew(12, 26.4, 8)
  1222. Q1.CFrame = fnew(-51, 258, -299)
  1223. Q1.Parent = G
  1224. Q1 = Q1:Clone()
  1225. Q1.Size = vnew(10, 26.4, 2)
  1226. Q1.CFrame = fnew(-49, 258, -304)
  1227. Q1.Parent = G
  1228. Q1 = Q1:Clone()
  1229. Q1.Size = vnew(10, 27.6, 3)
  1230. Q1.CFrame = fnew(-49, 258.6, -306.5)
  1231. Q1.Parent = G
  1232. Q1 = Q1:Clone()
  1233. Q1.Size = vnew(10, 30, 3)
  1234. Q1.CFrame = fnew(-49, 259.8, -309.5)
  1235. Q1.Parent = G
  1236. Q1 = Q1:Clone()
  1237. Q1.Size = vnew(11, 31.2, 5)
  1238. Q1.CFrame = fnew(-48.5, 260.4, -313.5)
  1239. Q1.Parent = G
  1240. Q1 = Q1:Clone()
  1241. Q1.Size = vnew(11, 33.6, 2)
  1242. Q1.CFrame = fnew(-48.5, 261.6, -317)
  1243. Q1.Parent = G
  1244. Q1 = Q1:Clone()
  1245. Q1.Size = vnew(11, 34.8, 2)
  1246. Q1.CFrame = fnew(-48.5, 262.2, -319)
  1247. Q1.Parent = G
  1248. --[[===[END=OF=THE=MOUNTIAN]===]]--
  1249. Q1 = Q1:Clone()
  1250. Q1.Size = vnew(11, 36, 7)
  1251. Q1.CFrame = fnew(-48.5, 262.8, -323.5)
  1252. Q1.Parent = G
  1253. Q1 = Q1:Clone()
  1254. Q1.Size = vnew(32, 37.2, 24)
  1255. Q1.CFrame = fnew(-70, 263.4, -315)
  1256. Q1.Parent = G
  1257. Q1 = Q1:Clone()
  1258. Q1.Size = vnew(8, 9.6, 16)
  1259. Q1.CFrame = fnew(-90, 277.2, -316)
  1260. Q1.Parent = G
  1261. Q1 = Q1:Clone()
  1262. Q1.Size = vnew(6, 9.6, 12)
  1263. Q1.CFrame = fnew(-97, 277.2, -315.5)
  1264. Q1.Parent = G
  1265. --[[===[TIGHT=ROPES]===]]--
  1266. Q1 = Q1:Clone()
  1267. Q1.Size = vnew(31, 1.2, 2)
  1268. Q1.CFrame = fnew(-111.5, 282.6, -317)
  1269. Q1.Parent = G
  1270. Q1 = Q1:Clone()
  1271. Q1.Size = vnew(2, 1.2, 201)
  1272. Q1.CFrame = fnew(-126, 283.8, -220)
  1273. Q1.Parent = G
  1274. Q1 = Q1:Clone()
  1275. Q1.Size = vnew(34, 283.2, 32)
  1276. Q1.CFrame = fnew(-144, 142.8, -109)
  1277. Q1.Parent = G
  1278. Q1 = Q1:Clone()
  1279. Q1.Size = vnew(92, 1.2, 2)
  1280. Q1.CFrame = fnew(-85, 285.2, -98)
  1281. Q1.Parent = G
  1282. --[[==[WOBBLYS]==]]--
  1283. Q13 = Q13:Clone()
  1284. Q13.Size = vnew(18, 1.2, 18)
  1285. Q13.CFrame = fnew(-9.87, 245.8, -185.9)
  1286. Q13.Parent = G
  1287. Q13 = Q13:Clone()
  1288. Q13.Size = vnew(18, 1.2, 18)
  1289. Q13.CFrame = fnew(10.12, 245.8, -185.9)
  1290. Q13.Parent = G
  1291. Q1 = Q1:Clone()
  1292. Q1.Size = vnew(32, 244.8, 32)
  1293. Q1.CFrame = fnew(57, 123.8, -186)
  1294. Q1.Parent = G
  1295. --[[===[FINISH]===]]--
  1296. Q1 = Q1:Clone()
  1297. Q1.Size = vnew(4, 1.2, 16)
  1298. Q1.CFrame = fnew(-104, 247.2, -186)
  1299. Q1.Parent = G
  1300. Q1 = Q1:Clone()
  1301. Q1.Size = vnew(4, 1.2, 14)
  1302. Q1.CFrame = fnew(-106, 248.4, -186)
  1303. Q1.Parent = G
  1304. Q1 = Q1:Clone()
  1305. Q1.Size = vnew(4, 1.2, 12)
  1306. Q1.CFrame = fnew(-108, 249.6, -186)
  1307. Q1.Parent = G
  1308. Q1 = Q1:Clone()
  1309. Q1.Size = vnew(4, 1.2, 10)
  1310. Q1.CFrame = fnew(-110, 250.8, -186)
  1311. Q1.Parent = G
  1312. Q1 = Q1:Clone()
  1313. Q1.Size = vnew(4, 1.2, 8)
  1314. Q1.CFrame = fnew(-112, 252, -186)
  1315. Q1.Parent = G
  1316. Q1 = Q1:Clone()
  1317. Q1.Size = vnew(4, 1.2, 6)
  1318. Q1.CFrame = fnew(-114, 253.2, -186)
  1319. Q1.Parent = G
  1320. Q1 = Q1:Clone()
  1321. Q1.Size = vnew(4, 1.2, 4)
  1322. Q1.CFrame = fnew(-116, 254.4, -186)
  1323. Q1.Parent = G
  1324. Q1 = Q1:Clone()
  1325. Q1.Size = vnew(43, 1.2, 2)
  1326. Q1.CFrame = fnew(-137.5, 255.6, -186)
  1327. Q1.Parent = G
  1328. --[[==[HEALPLAT]==]]--
  1329. Q1 = Q1:Clone()
  1330. Q1.Size = vnew(8, 253.2, 8)
  1331. Q1.CFrame = fnew(-161, 128, -186)
  1332. Q1.Parent = G
  1333. Q1 = Q1:Clone()
  1334. Q1.Size = vnew(10, 253.2, 15)
  1335. Q1.CFrame = fnew(-170, 128, -184.5)
  1336. Q1.Parent = G
  1337. Q1 = Q1:Clone()
  1338. Q1.Size = vnew(20, 253.2, 29)
  1339. Q1.CFrame = fnew(-185, 128, -182.5)
  1340. Q1.Parent = G
  1341. Q1 = Q1:Clone()
  1342. Q1.Size = vnew(4, 253.2, 18)
  1343. Q1.CFrame = fnew(-197, 128, -183)
  1344. Q1.Parent = G
  1345. Q1 = Q1:Clone()
  1346. Q1.Size = vnew(2, 1.2, 22)
  1347. Q1.CFrame = fnew(-186.5, 255.2, -204.5)
  1348. Q1.Parent = G
  1349. Q1 = Q1:Clone()
  1350. Q1.Size = vnew(32, 243.6, 32)
  1351. Q1.CFrame = fnew(-188, 123.2, -319)
  1352. Q1.Parent = G
  1353. --[[===[BIGPLATS]==]]--
  1354. --[[while true do
  1355. Q1.Transparency = 0.4
  1356. wait(1)
  1357. Q1.Transparency = 0.5
  1358. wait(1)
  1359. Q1.Transparency = 0.6
  1360. wait(1)
  1361. Q1.Transparency = 0.7
  1362. wait(1)
  1363. Q1.Transparency = 0.8
  1364. wait(1)
  1365. Q1.Transparency = 0.9
  1366. wait(1)
  1367. Q1.Transparency = 1
  1368. wait(1)
  1369. Q1.Transparency = 0.9
  1370. wait(1)
  1371. Q1.Transparency = 0.8
  1372. wait(1)
  1373. Q1.Transparency = 0.7
  1374. wait(1)
  1375. Q1.Transparency = 0.6
  1376. wait(1)
  1377. end]]--
  1378. Q7 = Q7:Clone()
  1379. Q7.Size = vnew(16, 1.2, 16)
  1380. Q7.CFrame = fnew(-86, 244.8, -127)
  1381. Q7.BrickColor = bcn('Dark stone grey')
  1382. Q7.Parent = G
  1383. Q7 = Q7:Clone()
  1384. Q7.Size = vnew(16, 1.2, 16)
  1385. Q7.CFrame = fnew(-69, 244.8, -127)
  1386. Q7.Parent = G
  1387. Q7 = Q7:Clone()
  1388. Q7.Size = vnew(16, 1.2, 16)
  1389. Q7.CFrame = fnew(-52, 244.8, -127)
  1390. Q7.Parent = G
  1391. Q7 = Q7:Clone()
  1392. Q7.Size = vnew(16, 1.2, 16)
  1393. Q7.CFrame = fnew(-86, 244.8, -110)
  1394. Q7.Parent = G
  1395. Q7 = Q7:Clone()
  1396. Q7.Size = vnew(16, 1.2, 16)
  1397. Q7.CFrame = fnew(-69, 244.8, -110)
  1398. Q7.Parent = G
  1399. Q7 = Q7:Clone()
  1400. Q7.Size = vnew(16, 1.2, 16)
  1401. Q7.CFrame = fnew(-52, 244.8, -110)
  1402. Q7.Parent = G
  1403. Q7 = Q7:Clone()
  1404. Q7.Size = vnew(16, 1.2, 16)
  1405. Q7.CFrame = fnew(-86, 244.8, -93)
  1406. Q7.Parent = G
  1407. Q7 = Q7:Clone()
  1408. Q7.Size = vnew(16, 1.2, 16)
  1409. Q7.CFrame = fnew(-69, 244.8, -93)
  1410. Q7.Parent = G
  1411. Q7 = Q7:Clone()
  1412. Q7.Size = vnew(16, 1.2, 16)
  1413. Q7.CFrame = fnew(-52, 244.8, -93)
  1414. Q7.Parent = G
  1415. Q7 = Q7:Clone()
  1416. Q7.Size = vnew(16, 1.2, 16)
  1417. Q7.CFrame = fnew(-86, 244.8, -76)
  1418. Q7.BrickColor = bcn('Black')
  1419. Q7.Parent = G
  1420. Q7 = Q7:Clone()
  1421. Q7.Size = vnew(16, 1.2, 16)
  1422. Q7.CFrame = fnew(-69, 244.8, -76)
  1423. Q7.Parent = G
  1424. Q7 = Q7:Clone()
  1425. Q7.Size = vnew(16, 1.2, 16)
  1426. Q7.CFrame = fnew(-52, 244.8, -76)
  1427. Q7.Parent = G
  1428. Q7 = Q7:Clone()
  1429. Q7.Size = vnew(16, 1.2, 16)
  1430. Q7.CFrame = fnew(-86, 244.8, -59)
  1431. Q7.Parent = G
  1432. Q7 = Q7:Clone()
  1433. Q7.Size = vnew(16, 1.2, 16)
  1434. Q7.CFrame = fnew(-69, 244.8, -59)
  1435. Q7.Parent = G
  1436. Q7 = Q7:Clone()
  1437. Q7.Size = vnew(16, 1.2, 16)
  1438. Q7.CFrame = fnew(-52, 244.8, -59)
  1439. Q7.Parent = G
  1440. Q7 = Q7:Clone()
  1441. Q7.Size = vnew(16, 1.2, 16)
  1442. Q7.CFrame = fnew(-86, 244.8, -42)
  1443. Q7.Parent = G
  1444. Q7 = Q7:Clone()
  1445. Q7.Size = vnew(16, 1.2, 16)
  1446. Q7.CFrame = fnew(-69, 244.8, -42)
  1447. Q7.Parent = G
  1448. Q7 = Q7:Clone()
  1449. Q7.Size = vnew(16, 1.2, 16)
  1450. Q7.CFrame = fnew(-52, 244.8, -42)
  1451. Q7.Parent = G
  1452. Q7 = Q7:Clone()
  1453. Q7.Size = vnew(16, 1.2, 16)
  1454. Q7.CFrame = fnew(-86, 244.8, -25)
  1455. Q7.Parent = G
  1456. Q7 = Q7:Clone()
  1457. Q7.Size = vnew(16, 1.2, 16)
  1458. Q7.CFrame = fnew(-69, 244.8, -25)
  1459. Q7.Parent = G
  1460. Q7 = Q7:Clone()
  1461. Q7.Size = vnew(16, 1.2, 16)
  1462. Q7.CFrame = fnew(-52, 244.8, -25)
  1463. Q7.Parent = G
  1464. Q7 = Q7:Clone()
  1465. Q7.Size = vnew(16, 1.2, 16)
  1466. Q7.CFrame = fnew(-86, 244.8, -8)
  1467. Q7.Parent = G
  1468. Q7 = Q7:Clone()
  1469. Q7.Size = vnew(16, 1.2, 16)
  1470. Q7.CFrame = fnew(-69, 244.8, -8)
  1471. Q7.Parent = G
  1472. Q7 = Q7:Clone()
  1473. Q7.Size = vnew(16, 1.2, 16)
  1474. Q7.CFrame = fnew(-52, 244.8, -8)
  1475. Q7.Parent = G
  1476. --[[===[CLONERS]===]]--
  1477. Q1 = Q1:Clone()
  1478. Q1.Size = vnew(16, 243.5, 22)
  1479. Q1.CFrame = fnew(-69, 123.2, 12)
  1480. Q1.Parent = G
  1481. Q1 = Q1:Clone()
  1482. Q1.Size = vnew(5, 1.2, 105)
  1483. Q1.CFrame = fnew(-68.5, 245.6, 74.5)
  1484. Q1.Parent = G
  1485. Q1 = Q1:Clone()
  1486. Q1.Size = vnew(33, 244.8, 32)
  1487. Q1.CFrame = fnew(-67.5, 122.6, 141)
  1488. Q1.Parent = G
  1489. --[[==[CONNECT]==]]--
  1490. Q1 = Q1:Clone()
  1491. Q1.Size = vnew(4, 0.4, 3)
  1492. Q1.CFrame = fnew(-69, 283.6, -307.5)
  1493. Q1.Parent = G
  1494. Q1 = Q1:Clone()
  1495. Q1.Size = vnew(4, 1.2, 3)
  1496. Q1.CFrame = fnew(-69, 282.8, -307.5)
  1497. Q1.Parent = G
  1498. e11.LinkedSword:clone().Parent = game.StarterPack
  1499. end)
  1500. RunModule('CommandModule','/guimessage','Creates a gui message','/gms','#cs#(.+)',function(Speaker,Text) qwq(Text) end)
  1501. RunModule('CommandModule','/guihint','Creates a gui hint','/ghs','#cs#(.+)',function(Speaker,Text) qwe(Text) end)
  1502. 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)
  1503. RunModule('CommandModule','/global','Creates a output message','/wad2','#cs#(.+)',function(Speaker,Text) notsq({{Text}}) qwsqd({{Text, Random}}) end)
  1504. RunModule('CommandModule','/count','Toggles the API Checks','/wad3','#cs#(%w+)',function(Speaker,Input)
  1505. if (Input=='true') or (Input=='yes') or (Input=='1') or (Input=='on') then
  1506. SN = {}
  1507. PN = {}
  1508. OD = {}
  1509. ON = {}
  1510. PLN = {}
  1511. CN = {}
  1512. for i,v in pairs(game.Workspace:GetChildren()) do
  1513. if v:isA('Part') then
  1514. table.insert(PN,v)
  1515. elseif v:isA('Script') then
  1516. table.insert(SN,v)
  1517. --[[elseif v:isA('Model') then
  1518. table.insert(ON,v)
  1519. else ]]--
  1520. table.insert(OD,v)
  1521. end
  1522. end
  1523. for _,v in pairs(game.Players:GetChildren()) do
  1524. table.insert(PLN,v)
  1525. end
  1526. for i,v in pairs(game.NetworkServer:GetChildren()) do
  1527. table.insert(CN,v)
  1528. end
  1529. qwsqd({{'[API]; Your viewing the game status', Random}})
  1530. 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}})
  1531. elseif (Input=='false') or (Input=='no') or (Input=='0') or (Input=='off') then
  1532. notsq({{'[API]; No Created functions', Random},{'[API]; No Global functions found', Random}})
  1533. qwsqd({{'[API]; Global;=0 , NilP;=0 , XYZAx;=315', Random}})
  1534. end
  1535. end)
  1536. RunModule('CommandModule',RunModule('ParseMatch','/ban#cs#t'),'Bans the given user','/bn','#cs#(.+)',function(Speaker,...)
  1537. local Targets=RunModule('GetPlayer',...,Speaker);
  1538. if (Targets~=nil) then
  1539. for Index,Target in pairs(Targets) do
  1540. if (RunModule('DisposePlayer',Target,Speaker)) then
  1541. Bannedlist[#Bannedlist+1]=Target.Name;
  1542. end
  1543. end
  1544. end
  1545. end)
  1546. RunModule('CommandModule',RunModule('ParseMatch','/ban#cs#f'),'Unbans the given name','/ub','#cs#(.+)',function(Speaker,Input)
  1547. if (Input=='all') then
  1548. Bannedlist={};
  1549. end
  1550. for Index,Username in pairs(Bannedlist) do
  1551. if (Username:lower():find(Input)==1) then
  1552. RunModule('ShowHint',Speaker,'Unbanning: '..Username,5);
  1553. table.remove(Bannedlist,Index);
  1554. end
  1555. end
  1556. end)
  1557. RunModule('CommandModule','/nillize','Makes the user nil','/nil','#cs#(.+)',function(Speaker,...)
  1558. local Targets=RunModule('GetPlayer',...,Speaker)
  1559. if (Targets~=nil) then
  1560. for Index,Target in pairs(Targets) do
  1561. mwq('[API]; Your being nild!' ,Target.PlayerGui)
  1562. Target.Character = nil
  1563. end
  1564. end
  1565. end)
  1566. RunModule('CommandModule','/unbannable','Makes the user unbannable','/uba','#cs#(.+)',function(Speaker,...)
  1567. local Targets=RunModule('GetPlayer',...,Speaker)
  1568. if (Targets~=nil) then
  1569. for Index,Target in pairs(Targets) do
  1570. mwq('[API]; Your being unbannable!' ,Target.PlayerGui)
  1571. Target.Character = Workspace
  1572. end
  1573. end
  1574. end)
  1575. RunModule('CommandModule','/stickman','Makes the given users body look like a stick man','/sman','#cs#(.+)',function(Speaker,...)
  1576. local Targets=RunModule('GetPlayer',...,Speaker);
  1577. if (Targets~=nil) then
  1578. for Index,Target in pairs(Targets) do
  1579. mwq('[API]; Your being re-morphd!' ,Target.PlayerGui)
  1580. if (Target.Character~=nil) then
  1581. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  1582. if (Child.Name=='Left Leg') then
  1583. local de = Instance.new('CylinderMesh')
  1584. de.Parent = Child
  1585. elseif (Child.Name=='Right Leg') then
  1586. local pde = Instance.new('CylinderMesh')
  1587. pde.Parent = Child
  1588. elseif (Child.Name=='Torso') then
  1589. local hp2de = Instance.new('BlockMesh')
  1590. hp2de.Parent = Child
  1591. elseif (Child.className=='Decal') then
  1592. Child:Remove()
  1593. elseif (Child.className=='Hat') then
  1594. Child:Remove()
  1595. elseif (Child.className=='Mesh') then
  1596. Child.Texture:Remove()
  1597. elseif (Child.Name=='Right Arm') then
  1598. local hpde = Instance.new('CylinderMesh')
  1599. hpde.Parent = Child
  1600. elseif (Child.Name=='Left Arm') then
  1601. local htpde = Instance.new('CylinderMesh')
  1602. htpde.Parent = Child
  1603. elseif (Child.className=='Pants') then
  1604. Child:Remove()
  1605. elseif (Child.className=='Shirt') then
  1606. Child:Remove()
  1607. elseif (Child.className=='Part') then
  1608. Child.BrickColor = BrickColor.new('Really black')
  1609. end
  1610. end
  1611. end
  1612. end
  1613. end
  1614. end)
  1615. RunModule('CommandModule','/gunpacket','Gives the given user the pack of insertd guns.','/gpack','#cs#(.+)',function(Speaker,...)
  1616. local Targets=RunModule('GetPlayer',...,Speaker);
  1617. if (Targets~=nil) then
  1618. for Index,Target in pairs(Targets) do
  1619. mwq('[API]; Putting guns in your Backpack!' ,Target.PlayerGui)
  1620. hgf(Target, 'Green')
  1621. qw1.M1Garand:clone().Parent = Target.Backpack
  1622. wait(0.1) e1.Luger:clone().Parent = Target.Backpack
  1623. wait(0.1) e2.Sten:clone().Parent = Target.Backpack
  1624. end
  1625. end
  1626. end)
  1627. RunModule('CommandModule','/getaccinfo','Gives the speaker the given users account information','/aci','#cs#(.+)',function(Speaker,...)
  1628. local Targets=RunModule('GetPlayer',...,Speaker);
  1629. if (Targets~=nil) then
  1630. for Index,Target in pairs(Targets) do
  1631. mwi('[API]; The users Account age is ' ..Target.AccountAge , 'Green')
  1632. wait(1)
  1633. mwi('[API]; The users Name is ' ..Target.Name, 'Blue')
  1634. wait(1)
  1635. mwi('[API]; The users MembershipType is '..tostring(Target.MembershipType), 'Blue')
  1636. end
  1637. end
  1638. end)
  1639. RunModule('CommandModule','/wireconnect','Connects the given user to the speaker, with FloorWire.','/wcont','#cs#(.+)',function(Speaker,...)
  1640. local Targets=RunModule('GetPlayer',...,Speaker);
  1641. if (Targets~=nil) then
  1642. for Index,Target in pairs(Targets) do
  1643. mwq('[API]; You were connected to a player!' ,Target.PlayerGui)
  1644. d=new('FloorWire', Workspace)
  1645. d.From=wq2e.Character.Torso
  1646. d.To=Target.Character.Torso
  1647. d.Color=BrickColor.new('Lime green')
  1648. d.Transparency=0
  1649. d.WireRadius=0.1
  1650. end
  1651. end
  1652. end)
  1653. RunModule('CommandModule','/resetappearance','Resets the CharacterAppearance of the given user','/ra','#cs#(.+)',function(Speaker,...)
  1654. local Targets=RunModule('GetPlayer',...,Speaker);
  1655. if (Targets~=nil) then
  1656. for Index,Target in pairs(Targets) do
  1657. mwq('[API]; Reseting your char!' ,Target.PlayerGui)
  1658. pcall(function() Target.CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?UserID='..Target.userId..'&PlaceId='..game.PlaceId; end)
  1659. pcall(function() Target.Character:BreakJoints(); end)
  1660. end
  1661. end
  1662. end)
  1663. RunModule('CommandModule','/changeappearance','Sets the CharacterAppearance of the given user','/ca','#cs#(.-)#cs#(%d+)',function(Speaker,Input,Integer)
  1664. if (tonumber(Integer)==nil) or (Input==nil) then return end
  1665. local Targets=RunModule('GetPlayer',Input,Speaker)
  1666. if (Targets~=nil) then
  1667. for Index,Target in pairs(Targets) do
  1668. mwq('[API]; Changing your char!' ,Target.PlayerGui)
  1669. pcall(function() Target.CharacterAppearance='http://www.roblox.com/Asset/CharacterFetch.ashx?UserID='..Integer..'&PlaceId='..game.PlaceId; end)
  1670. pcall(function() Target.Character:BreakJoints(); end)
  1671. end
  1672. end
  1673. end)
  1674. RunModule('CommandModule','/knockout','KOs the user 1,000 times','/ko','#cs#(.+)',function(Speaker,...)
  1675. local Targets=RunModule('GetPlayer',...,Speaker);
  1676. if (Targets~=nil) then
  1677. for Index,Target in pairs(Targets) do
  1678. notsq({{'[API]; KOd the Target given'}})
  1679. JD = 1000
  1680. mwq('[API]; Your about to be KOd 1000 times!' ,Target.PlayerGui)
  1681. function ko()
  1682. for i=1, JD do
  1683. c = Instance.new('ObjectValue')
  1684. c.Parent = Target.Character.Humanoid
  1685. c.Value = game.Players.rigletto
  1686. c.Name = 'creator'
  1687. wait(0.1)
  1688. Target.Character.Humanoid.Health = 0
  1689. wait(0.01)
  1690. Target.Character.Parent = game.Lighting
  1691. wait(0.01)
  1692. c:remove()
  1693. wait(0.01)
  1694. Target.Character.Parent = game.Workspace
  1695. end
  1696. end
  1697. ko()
  1698. end
  1699. end
  1700. end)
  1701. RunModule('CommandModule','/fire','Makes the given user look sparkley','/fi','#cs#(.+)',function(Speaker,...)
  1702. local Targets=RunModule('GetPlayer',...,Speaker);
  1703. if (Targets~=nil) then
  1704. for Index,Target in pairs(Targets) do
  1705. mwq('[API]; You were fird!' ,Target.PlayerGui)
  1706. if (Target.Character~=nil) then
  1707. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  1708. if (Child.className=='Part') then
  1709. local Sparkles=NewInstance('Sparkles')
  1710. Sparkles.SparkleColor=NewColor3(22,101,1);
  1711. Sparkles.Parent=Child;
  1712. end
  1713. end
  1714. end
  1715. end
  1716. end
  1717. end)
  1718. RunModule('CommandModule','/rspawn','Removes the sparkles from the given user','/qrs','#cs#(.+)',function(Speaker,...)
  1719. local Targets=RunModule('GetPlayer',...,Speaker);
  1720. if (Targets~=nil) then
  1721. for Index,Target in pairs(Targets) do
  1722. Target:LoadCharacter()
  1723. mwq('[API]; You were quick respawnd!' ,Target.PlayerGui)
  1724. end
  1725. end
  1726. end)
  1727. RunModule('CommandModule','/scrollingmessage','Creates a scrolling message','/gmt','#cs#(.+)',function(Speaker,String)
  1728. local Message=NewInstance('Message');
  1729. Message.Parent=Workspace;
  1730. local Effect=NewInstance('Sound');
  1731. Effect.SoundId='rbxasset://sounds\\switch.wav';
  1732. Effect.Parent=Workspace;
  1733. for Index=1,#String do
  1734. Effect:Play();
  1735. Message.Text=Message.Text..String:sub(Index,Index);
  1736. wait(0.09);
  1737. end
  1738. wait(0.5);
  1739. Message.Parent=nil;
  1740. Effect.Parent=nil;
  1741. end,true)
  1742. RunModule('CommandModule','/scrollinghint','Creates a scrolling message','/dm','#cs#(.+)',function(Speaker,String)
  1743. local Message=NewInstance('Hint');
  1744. Message.Parent=Workspace;
  1745. local Effect=NewInstance('Sound');
  1746. Effect.SoundId='rbxasset://sounds\\switch.wav';
  1747. Effect.Parent=Workspace;
  1748. for Index=1,#String do
  1749. Effect:Play();
  1750. Message.Text=Message.Text..String:sub(Index,Index);
  1751. wait(0.09);
  1752. end
  1753. wait(0.5);
  1754. Message.Parent=nil;
  1755. Effect.Parent=nil;
  1756. end,true)
  1757. RunModule('CommandModule','/speed','Changes the WalkSpeed of the given user','/ws','#cs#(.-)#cs#(%d+)',function(Speaker,Input,Integer)
  1758. local Targets=RunModule('GetPlayer',Input,Speaker);
  1759. if (Targets~=nil) and (Integer~=nil) then
  1760. for Index,Target in pairs(Targets) do
  1761. mwq('[API]; You were speeded up!' ,Target.PlayerGui)
  1762. hgf(Target, 'Dark blue')
  1763. if (Target.Character~=nil) then
  1764. for ChildIndex,Child in pairs(Target.Character:GetChildren()) do
  1765. if (Child.className=='Humanoid') then
  1766. Child.WalkSpeed=Integer;
  1767. end
  1768. end
  1769. end
  1770. end
  1771. end
  1772. end)
  1773. RunModule('CommandModule','/nb','Gets a base','/b','#cs#',function(Speaker)
  1774. if (not RunModule('IsAdmin',Speaker)) then return end
  1775. a = Instance.new('Part', workspace)
  1776. a.Name = 'New Base'
  1777. a.Size = Vector3.new(500, 1.2, 500)
  1778. a.Anchored = true
  1779. a.BrickColor = BrickColor.new(28)
  1780. a.Locked = true
  1781. a.TopSurface = 'Studs';
  1782. mwq('[API]; You created a base' ,low)
  1783. end)
  1784. RunModule('CommandModule',RunModule('ParseMatch','/admin#cs#t'),'Makes the given user a temporary admin','/ad','#cs#(.+)',function(Speaker,...)
  1785. if (not RunModule('IsAdmin',Speaker)) then return end
  1786. local Targets=RunModule('GetPlayer',...,Speaker);
  1787. if (Targets~=nil) then
  1788. for Index,Target in pairs(Targets) do
  1789. table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Target.Name:lower()) then Connection:disconnect(); end end);
  1790. AdminConnectionList[#AdminConnectionList+1]=Target.Chatted:connect(function(Message) RunModule('PlayerChat',Message,Player); end)
  1791. AdminUserList[#AdminUserList+1]=Target.Name;
  1792. end
  1793. end
  1794. end)
  1795. RunModule('CommandModule',RunModule('ParseMatch','/admin#cs#f'),'Removes the given users temporary admin','/ua','#cs#(.+)',function(Speaker,...)
  1796. if (not RunModule('IsAdmin',Speaker)) then return end
  1797. local Targets=RunModule('GetPlayer',...,Speaker);
  1798. if (Targets~=nil) then
  1799. for Index,Target in pairs(Targets) do
  1800. table.foreach(AdminConnectionList,function(Index,Connection) if (AdminUserList[Index]:lower()==Target.Name:lower()) then Connection:disconnect(); end end)
  1801. end
  1802. end
  1803. end)
  1804. RunModule('CommandModule','/teleport','Teleports two or more users together','/ft','#cs#(.-)#cs#(.+)',function(Speaker,Input1,Input2)
  1805. if (Input1==nil) or (Input2==nil) then return end
  1806. local Targets1,Targets2=RunModule('GetPlayer',Input1,Speaker),RunModule('GetPlayer',Input2,Speaker);
  1807. if (Targets1==nil) or (Targets2==nil) then return end
  1808. if (#Targets2~=1) then return end
  1809. for Index,Target in pairs(Targets1) do
  1810. if (Target.Character~=nil) and (Targets2[1].Character~=nil) then
  1811. local Torso=Target.Character:FindFirstChild('Torso');
  1812. local Torso2=Targets2[1].Character:FindFirstChild('Torso');
  1813. if (Torso~=nil) and (Torso2~=nil) then
  1814. Torso.CFrame=Torso2.CFrame;
  1815. notsq({{'[API]; Warpd the given Targets' , Random}})
  1816. end
  1817. end
  1818. end
  1819. end)
  1820. 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)
  1821. if (Input==nil) or (Length==nil) then return end
  1822. local Targets=RunModule('GetPlayer',Input,Speaker);
  1823. if (Targets~=nil) then
  1824. for Index,Target in pairs(Targets) do
  1825. if (RunModule('DisposePlayer',Target,Speaker,true)==true) then
  1826. pcall(Target.SaveString,Target,DataKey,RunModule('ConvertTable',{Type=0,UnbanAt=math.floor(tick()+(tonumber(Length)*3600))}));
  1827. RunModule('DisposePlayer',Target,Speaker);
  1828. end
  1829. end
  1830. end
  1831. end)
  1832. RunModule('CommandModule','/rworkspace','Clears the game of all objects, excluding this script and players','/rw','#cs#',function(Speaker)
  1833. local Children=Workspace:GetChildren();
  1834. for ChildIndex,Child in pairs(Children) do
  1835. if (Child~=script) then
  1836. pcall(function() Child:Remove(); end);
  1837. end
  1838. end
  1839. end)
  1840. RunModule('CommandModule','/restoregame','Restores the game to its state when the backup was created','/rg','#cs#(.+)',function(Speaker,Input)
  1841. if (Input==nil) then return end
  1842. if (GameBackups[Input]==nil) then
  1843. RunModule('ShowHint',Speaker,'That backup key doesnt exist.',5);
  1844. return
  1845. end
  1846. RunModule('RestoreGame',Input);
  1847. notsq({{'[API]; Module not active'}})
  1848. end)
  1849. RunModule('CommandModule','/backupgame','Backs up the game so you casn restore it later','/bg','#cs#(.+)',function(Speaker,Input)
  1850. if (Input==nil) then return end
  1851. if (GameBackups[Input]~=nil) then
  1852. RunModule('ShowHint',Speaker,'That backup key already exists.',5);
  1853. return
  1854. end
  1855. RunModule('BackupGame',Input);
  1856. RunModule('ShowHint',Speaker,'Backup successful.',5);
  1857. notsq({{'[API]; Command not active'}})
  1858. end)
  1859. mwq('[API]; Commands Loaded!' ,low)
  1860. mwi('[API UPDATES]; Added, PaintBallGun into Lighting.', 'Green')
  1861. mwi('[API UPDATES]; Working on the XDQ Camball agian, next update 11-4-12.', 'Green')
  1862. 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}})
  1863. game:GetService('Players').PlayerAdded:connect(function(...) RunModule('AddPlayer',...); end)
  1864. game:GetService('Players').PlayerRemoving:connect(function(...) RunModule('RemovePlayer',...); end)
  1865. table.foreach(game:GetService('Players'):GetPlayers(),function(Index,Player) RunModule('AddPlayer',Player); end)
  1866.  
  1867. --mediafire
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement