Advertisement
alpayspastbin

Untitled

Jun 5th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.94 KB | None | 0 0
  1. Rise_Ohgal=function()
  2.  
  3. A={};
  4. A.Old={};
  5. A.Data={};
  6. A.User={};
  7. A.Calls={};
  8. A.Images={};
  9. A.Stuffs={};
  10. A.Sounds={};
  11. A.Modules={};
  12. A.Service={};
  13. A.Settings={};
  14. A.Commands={};
  15. A.Warehouse={};
  16. A.Functions={};
  17. A.EachCalls={};
  18. A.GuiModules={};
  19. A.SettingIDs={};
  20. A.KeyCommands={};
  21. A.ObjectsData={};
  22. A.RecentCommands={};
  23. A.SettingsFunctions={};
  24.  
  25. A.Stuffs.Meter={};
  26. A.Warehouse.Objects={};
  27. A.Warehouse.Connections={};
  28.  
  29. A.ObjectsData.KnowProperties={};
  30. A.ObjectsData.KnowPropertiesNumber={};
  31. A.ObjectsData.GlobalProperties={'Name';'className';'Parent';'archivable'};
  32. A.ObjectsData.EspecialProperties={
  33. 'Neutral';'PlayerMouse';'Mouse';'Volume';'Ip';'Ticket';'PlaceId';'JobId';'CreatorId';'location';
  34. 'Adornee';'Port';'RobloxLocked';'DataCost';'BaseUrl';'RequestQueueSize';'AttachmentForward';
  35. 'BottomSurface';'FrontSurface';'LeftSurface';'RightSurface';'TopSurface';'AbsolutePosition';
  36. 'Value';'CameraType';'CameraSubject';'BaseTextureId';'BodyPart';'MeshId';'OverlayTextureId';
  37. 'BorderSizePixel';'SizeConstraint';'Visible';'ZIndex';'C0';'C1';'Part0';'Part1';'BinType';
  38. 'MaxItems';'ResizeableFaces';'DataComplexity';'DataReady';'MembershipType';'AccountAge';
  39. 'CanCollide';'Locked';'Elasticity';'Friction';'Shape';'Size';'formFactor';'BackSurface';
  40. 'HeadColor';'RightArmColor';'LeftArmColor';'TorsoColor';'LeftLegColor';'RightLegColor';
  41. 'Material';'Reflectance';'Transparency';'Position';'RotVelocity';'Velocity';'Anchored';
  42. 'Pitch';'IsPlaying';'IsPaused';'Looped';'PlayOnRemove';'StudsPerTileU';'StudsPerTileV';
  43. 'GripRight';'GripUp';'TextureId';'TeamColor';'Enabled';'cframe';'CFrame';'BrickColor';
  44. 'CurrentAngle';'DesiredAngle';'MaxVelocity';'PantsTemplate';'ShirtTemplate';'SoundId';
  45. 'LeftLeg';'RightLeg';'Torso';'Health';'MaxHealth';'WalkSpeed';'Jump';'PlatformStand';
  46. 'MaxActivationDistance';'Shiny';'Specular';'Texture';'Face';'GripForward';'GripPos';
  47. 'ColorShift_Bottom';'ColorShift_Top';'ShadowColor';'GeographicLatitude';'TimeOfDay';
  48. 'Ip';'MaxExtents';'MembershipTypeReplicate';'ResizeIncrement';'DistributedGameTime';
  49. 'AbsoluteSize';'Active';'BackgroundColor3';'BackgroundTransparency';'BorderColor3';
  50. 'Vertex';'TextStrokeTransparency';'TextStrokeColor3';'TextFits';'ClipsDescendants';
  51. 'AttachmentPos';'AttachmentRight';'ScriptsDisabled';'AttachmentUp';'AnimationId';
  52. 'AmbientReverb';'DistanceFactor';'DopplerScale';'RolloffScale';'Source';'Scale';
  53. 'Sit';'AutoButtonColor';'Image';'LinkedSource';'Disabled';'Text';'PrimaryPart';
  54. 'From';'To';'Icon';'FogEnd';'FogStart';'FogColor';'CameraMode';'FieldOfView';
  55. 'userId';'BubbleChat';'ClassicChat';'MaxPlayers';'NumPlayers';'LocalPlayer';
  56. 'CharacterAppearance';'Character';'CurrentCamera';'Ambient';'Brightness';
  57. 'VertexColor';
  58. };
  59. A.ObjectsData.EspecialPropertiesLower={};
  60. for i,v in next,A.ObjectsData.EspecialProperties do
  61. A.ObjectsData.EspecialPropertiesLower[i]=v:lower();
  62. end;
  63.  
  64. A.Images.Meme={
  65. megusta=47594659;
  66. sparta=74142203;
  67. sovpax=60298055;
  68. ujelly=48989071;
  69. smile2=63175216;
  70. smile3=63186465;
  71. troll=45120559;
  72. horse=62079221;
  73. angry=48258623;
  74. orzse=62677682;
  75. smile=63174888;
  76. rofl=47595647;
  77. okey=62830600;
  78. yeaw=53646377;
  79. here=62677045;
  80. har=48260066;
  81. sun=47596170;
  82. lol=48293007;
  83. sad=53645378;
  84. lin=48290678;
  85. sls=53646388;
  86. j1d=45031979;
  87. jim=74885351;
  88. };
  89.  
  90.  
  91. --[[Functions]]
  92. A.Functions.Thread=function(Function)
  93. return coroutine.resume(coroutine.create(Function));
  94. end;
  95. A.Functions.Connect=function(Object,Event,Function,Table)
  96. local Connection=Object[Event]:connect(Function);
  97. A.Warehouse.Connections[#A.Warehouse.Connections+1]=Connection;
  98. if(Table~=nil)then
  99. Table.Connections[#Table.Connections+1]=Connection;
  100. end;
  101. return Object,Connection;
  102. end;
  103. A.Functions.Wait=function(Number)
  104. local _,Number2=A.Service.RunService.Stepped:wait();
  105. local Plus;
  106. Number=Number and Number-.01 or 0;
  107. if(Number>Number2 and Number~=Number2)then
  108. while(Number>Number2 and Number~=Number2)do
  109. _,Plus=A.Service.RunService.Stepped:wait();
  110. Number2=Number2+Plus;
  111. end;
  112. end;
  113. end;
  114. A.Functions.MatchProperty=function(Text)
  115.  
  116. Text=Text:lower();
  117.  
  118. local Found;
  119.  
  120. for i,v in next,A.ObjectsData.GlobalProperties do
  121. if(v:lower():find(Text)==1)then
  122. Found=v;
  123. break;
  124. end;
  125. end;
  126.  
  127. if(Found==nil)then
  128. for i,v in next,A.ObjectsData.EspecialPropertiesLower do
  129. if(v:find(Text)==1)then
  130. Property=A.ObjectsData.EspecialProperties[i];
  131. break;
  132. end;i,v=nil;
  133. end;
  134. end;
  135.  
  136. return Found;
  137.  
  138. end;
  139. A.Functions.GetProperties=function(Object,InNumber)
  140. local Class=type(Object)=='userdata'and Object.className or Object
  141. if(A.ObjectsData.KnowProperties[Class]==nil)then
  142. if(type(Object)=='string')then
  143. Object=A.Old.Instance.NewObject(Object);
  144. end;
  145. local New={};
  146. for i,v in next,A.ObjectsData.EspecialProperties do
  147. if(pcall(function()return Object[v];end)and Object:FindFirstChild(v)==nil)then
  148. New[v]=true;
  149. end;
  150. end;
  151. A.ObjectsData.KnowProperties[Class]=New;
  152. local Number=0;
  153. local Numbered={};
  154. for i,v in next,New do
  155. Number=Number+1;
  156. Numbered[Number]=i;
  157. i,v=nil;
  158. end;
  159. Number=nil;
  160. A.ObjectsData.KnowPropertiesNumber[Class]=Numbered;
  161. end;
  162. Object=nil;
  163. return InNumber==true and A.ObjectsData.KnowPropertiesNumber[Class]or A.ObjectsData.KnowProperties[Class];
  164. end;
  165. A.Functions.CopyTable=function(Table,New)
  166. if(Table and type(Table)=='table')then
  167. New=New~=nil and New or{};
  168. for i,v in next,Table do
  169. New[i],i,v=v,nil;
  170. end;
  171. return New;
  172. end;
  173. end;
  174. A.Functions.GetData=function(Object)
  175. local Class=Object.className;
  176. if(A.Warehouse.Objects[Class])then
  177. for i,v in next,A.Warehouse.Objects[Class]do
  178. if(v.Object==Object)then
  179. v.Rank=i;
  180. return v;
  181. else i,v=nil;
  182. end;
  183. end;
  184. end;
  185. return nil;
  186. end;
  187. A.Functions.KillData=function(Object,Data)
  188. Data=Data~=nil and Data or A.Functions.GetData(Object);
  189. if(Data~=nil)then
  190. for i,v in next,Data.Connections do
  191. v:disconnect();i,v=nil;
  192. end;
  193. table.remove(Data.Mother(),Data.Rank);
  194. for i,v in next,Data do
  195. Data[i],i,v=nil;
  196. end;
  197. end;
  198. return Object;
  199. end;
  200. A.Functions.GiveData=function(Object)
  201. if(A.Functions.GetData(Object)==nil)then
  202. local Class=Object.className;
  203. if(A.Warehouse.Objects[Class]==nil)then A.Warehouse.Objects[Class]={};end;
  204. local Rank=#A.Warehouse.Objects[Class]+1;
  205. local Data={};A.Warehouse.Objects[Class][Rank]=Data;
  206. Data.Rank=Rank
  207. Data.Object=Object;
  208. Data.Properties={};
  209. Data.Connections={};
  210. Data.Mother=function()return A.Warehouse.Objects[Class];end;
  211.  
  212. A.Functions.Connect(Object,'Changed',function(Property)
  213. if(Data.Properties[Property]~=nil)then
  214. local Health=Data.Properties[Property]();
  215. if(Property=='Parent')then
  216. if(pcall(function()Object[Property]=Health;end)==false)then
  217. A.Functions.KillData(Object,Data);
  218. end;
  219. else
  220. Object[Property]=Health;
  221. end;
  222. end;Property,Health=nil;
  223. end,Data);
  224.  
  225. return Object,Data;
  226. end;
  227. end;
  228. A.Functions.Remove=function(Object,Destroy)
  229. if(Object)then
  230. pcall(function()
  231. Object.Parent=nil;
  232. if(Destroy~=true)then
  233. Object:Remove();
  234. else
  235. Object:Destroy();
  236. end;
  237. end);
  238. end;
  239. end;
  240. A.Functions.All=function(Object,Function,Table,Return)
  241. if(Function~=nil)then
  242. for i,v in next,Object:children()do
  243. if(v~=script)then
  244. pcall(function()
  245. Function(v);
  246. A.Functions.All(v,Function,Table,Return);
  247. end);
  248. end;
  249. end;
  250. else
  251. Return=Return==nil and true or false;
  252. Table=Table~=nil and Table or{};
  253. for i,v in next,Object:children()do
  254. Table[#Table+1]=v;
  255. pcall(A.Functions.All,v,nil,Table,Return);
  256. i,v=nil;
  257. end;
  258. if(Return)then
  259. return Table;
  260. end;
  261. end;
  262. end;
  263. A.Functions.FindObject=function(Object,Property,Value)
  264. for i,v in next,Object:children()do
  265. if(v[Property]==Value)then
  266. return v;
  267. end;
  268. i,v=nil;
  269. end;
  270. end;
  271. A.Functions.ObjectWait=function(Object,Property,Value)
  272. local Part=A.Functions.FindObject(Object,Property,Value);
  273. if(Part)then return Part;end;
  274. while(A~=nil)do
  275. Part=Object.ChildAdded:wait();
  276. if(Part[Property]==Value)then
  277. return Part;
  278. end;
  279. end;
  280. end;
  281. A.Functions.PropertyWait=function(Object,Property)
  282. if(Object[Property]==nil)then
  283. while(Object.Changed:wait()~=Property)do end;
  284. end;
  285. return Object[Property];
  286. end;
  287. A.Functions.CreateCall=function(Description,Calls,Function)
  288. local Rank=#A.Calls+1;
  289. local New={};A.Calls[Rank]=New;
  290. New.Function=Function;
  291. New.Description=Description;
  292. New.Calls='"'..table.concat(Calls,'","')..'"';
  293. for i,v in next,Calls do
  294. A.EachCalls[v]=function(...)return A.Calls[Rank].Function(...);end;
  295. end;
  296. New,Description,Calls,Function=nil;
  297. end;
  298. A.Functions.MakeMeme=function(Type,Char)
  299. if(Char)then
  300. Type=Type~=nil and tostring(Type):lower()or'reset!'
  301. local Meme=A.Images.Meme[Type]or Type;
  302. local BBG_SIZE=Char.Head.Size.X*1.25;
  303. local STUD_VECTOR_1=Char.Head.Size.Z/4;
  304. local STUD_VECTOR_2=Char.Head.Size.Z;
  305. local bbg=Char:FindFirstChild'BBGMEME'or A.Old.Instance.NewObject('BillboardGui',Char);
  306. bbg.StudsOffset=A.Old.Vector3.new(0,STUD_VECTOR_1,STUD_VECTOR_2);
  307. bbg.Size=A.Old.UDim2.new(BBG_SIZE,0,BBG_SIZE);
  308. bbg.Adornee=Char.Head;
  309. bbg.Name='BBGMEME';
  310. local img=bbg:FindFirstChild'Meme'or A.Old.Instance.NewObject('ImageLabel',bbg);
  311. img.BackgroundTransparency=1;
  312. img.Image=A.Data.BaseUrl..Meme;
  313. img.Size=A.Old.UDim2.Full;
  314. img.Name='Meme';
  315. for i,v in next,Char:children()do
  316. if(v.className=='Hat')then
  317. v=v:FindFirstChild'Handle';
  318. if(v)then
  319. v.Transparency=Type~='reset!'and 1 or 0;
  320. end;
  321. end;
  322. i,v=nil;
  323. end;
  324. img,bbg,Type,Char=nil;
  325. end;
  326. end;
  327. A.Functions.Players=function(Name,Function)
  328. Name=Name~=nil and Name:lower()or'all!';
  329. if(Function~=nil)then
  330. local Load,Message;
  331. for Name in Name:gmatch'([^,]+)'do
  332. for Int,Player in next,A.Service.Players:GetPlayers()do
  333. Load,Message=pcall(function()
  334. if(Player.Name:lower():find(Name)==1 or A.EachCalls[Name](Player)==true)then
  335. Function(Player);
  336. end;
  337. end);Int,Player=nil;
  338. if(Game.PlaceId~=0 and Load==false and Message~=nil)then
  339. print(Message);
  340. end;
  341. end;Name=nil;
  342. end;
  343. else
  344. local Found={};
  345. for Name in Name:gmatch'([^,]+)'do
  346. for Int,Player in next,A.Service.Players:GetPlayers()do
  347. pcall(function()
  348. if(Name=='all!'or(A.EachCalls[Name]~=nil and A.EachCalls[Name](Player))or Player.Name:lower():find(Name)==1)then
  349. Found[#Found+1]=Player;
  350. end;
  351. end);Int,Player=nil;
  352. end;Name=nil;
  353. end;return Found;
  354. end;
  355. end;
  356. A.Functions.Peace=function(Object,Properties)
  357. Object=type(Object)=='string'and A.Old.Instance.NewObject(Object)or Object;
  358. local Parent=Properties.Parent;
  359. Properties.Parent=nil;
  360. for i,v in next,Properties do
  361. if(type(v)=='function')then
  362. coroutine.wrap(function()
  363. Object[i],i,v=v(),nil;
  364. end)();
  365. else
  366. Object[i],i,v=v,nil;
  367. end;
  368. end;
  369. if(type(Parent)=='function')then
  370. coroutine.wrap(function()
  371. Object.Parent=Parent();
  372. end)();
  373. else
  374. Object.Parent=Parent;
  375. end;
  376. return Object;
  377. end;
  378. A.Functions.Lock=function(Object,Properties,Events)
  379. local Data;
  380. Object,Data=type(Object)=='string'and A.Old.Instance.new(Object)or Object;
  381. if(type(Data)~='table')then
  382. Data=A.Functions.GetData(Object);
  383. end;
  384. for i,v in next,Properties do
  385. if(type(v)~='function')then
  386. Data.Properties[i]=function()return v;end;
  387. else
  388. Data.Properties[i]=v;
  389. end;
  390. end;
  391. A.Functions.Peace(Object,Properties);
  392. if(Events~=nil)then
  393. for i,v in next,Events do
  394. A.Functions.Connect(Object,i,v,Data);i,v=nil;
  395. end;
  396. end;
  397. return Object,Data;
  398. end;
  399. A.Functions.CreateModule=function(Type,Function)
  400. if(A.Modules[Type]==nil)then A.Modules[Type]={};end;
  401. A.Modules[Type][#A.Modules[Type]+1]=Function;
  402. end;
  403. A.Functions.LoadModule=function(Type)
  404. if(A.Modules[Type]~=nil)then
  405. local Load;
  406. for Number,Error in next,A.Modules[Type]do
  407. Load,Error=A.Functions.Thread(Error);
  408. if(Load==false)then
  409. print('ERROR: Modules.'..Type..'['..Number..']',Error);
  410. end;
  411. Load,Error=nil;
  412. end;
  413. end;
  414. end;
  415. A.Functions.VisibleOfHealthGUI=function(Bool)
  416. if(A.User.PlayerGui~=nil)then
  417. local Stuff=A.User.PlayerGui:FindFirstChild'HealthGUI';
  418. if(Stuff)then
  419. Stuff=Stuff:FindFirstChild'tray';
  420. if(Stuff)then
  421. Stuff.Visible=A.Settings.HealthBar.Value==false;
  422. end;
  423. end;
  424. end;
  425. end;
  426. A.Functions.Uninstall=function()
  427. local Connections=UDim['Dresmor Alakazard - Connections Of Ohgal Local Admin'];
  428. local Objects=UDim['Dresmor Alakazard - Objects Of Ohgal Local Admin'];
  429. if(Connections)then
  430. for i,v in next,Connections do
  431. v:disconnect();i,v=nil;
  432. end;
  433. end;
  434. if(Objects)then
  435. for i,v in next,Objects do
  436. for i,v in next,v do
  437. A.Functions.Remove(v.Object,true);i,v=nil;
  438. end;i,v=nil;
  439. end;
  440. end;
  441. UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']=
  442. UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']and
  443. UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']+1 or
  444. 0;
  445. end;
  446. A.Functions.CreateScript=function(Type,Parent,Text)
  447. local Script=A.Stuffs.ScriptPacket[Type]:clone();
  448. Script.Name=A.Service.Workspace.DistributedGameTime;
  449. Script.Disabled=false;
  450. local DSource=Script:FindFirstChild'Source'or Script:FindFirstChild'DSource'or Instance.new('StringValue',Script);
  451. DSource.Name=DSource.Name=='Value'and'DSource'or DSource.Name;
  452. DSource.Value=A.Stuffs.StarterSource..Text;
  453.  
  454. for i,v in next,A.Stuffs.ScriptPacket do
  455. v:clone().Parent=Script;
  456. end;
  457.  
  458. if(Parent~=nil and Parent.className=='Player')then
  459. Script.Parent=Parent.Character.Parent==A.Service.Workspace and Parent.Character or
  460. A.Functions.FindObject(Parent,'className','Backpack')or
  461. A.Functions.FindObject(Parent,'className','PlayerGui');
  462. else
  463. Script.Parent=Parent;
  464. end;
  465.  
  466. return Script
  467. end;
  468. A.Functions.Install=function()
  469. if(Game.PlaceId~=0)then
  470. if(script~=nil)then
  471. script.Parent=A.Service.Lighting;
  472. pcall(function()
  473. script:ClearAllChildren();
  474. end);
  475. end;
  476. print=function()end;
  477. else
  478. local Print=print;
  479. print=function(...)
  480. Print('|:. Ohgal .:|',...);
  481. end;
  482. end;
  483.  
  484. local Script;A.Stuffs.ScriptPacket={};
  485. if(script~=nil)then
  486. script.Name='Dresmor Alakazard - Ohgal Local Admin';
  487. for i,v in next,script:children()do
  488. if(v.className=='LocalScript'or v.className=='Script')then
  489. A.Stuffs.ScriptPacket[v.className]=v;
  490. end;
  491. end;
  492. end;
  493. if(Game.CreatorId==5111623)then
  494. local Model=A.Old.Instance.NewObject'Model';
  495. Wait();
  496. if(newLocalScript~=nil and A.Stuffs.ScriptPacket.LocalScript==nil)then
  497. newLocalScript('--Hello word!',Model);
  498. A.Stuffs.ScriptPacket.LocalScript=Model:children()[1];
  499. end;
  500. if(newScript~=nil and A.Stuffs.ScriptPacket.Script==nil)then
  501. newScript('--Hello word!',Model);
  502. A.Stuffs.ScriptPacket.Script=Model:children()[2];
  503. end;
  504. else
  505. local Pack=A.Service.InsertService:LoadAsset'83500620';
  506. if(type(Pack)=='userdata'and Pack:FindFirstChild'Ohgal_Scripts'~=nil)then
  507. for Int,Object in next,Pack.Ohgal_Scripts:children()do
  508. if(A.Stuffs.ScriptPacket[Object.className]==nil)then
  509. A.Stuffs.ScriptPacket[Object.className]=Object:clone();
  510. end;
  511. end;
  512. end;
  513. for Type,ID in next,{Script=68623472;LocalScript=68613786;}do
  514. if(A.Stuffs.ScriptPacket[Type]==nil)then
  515. Script=A.Service.InsertService:LoadAsset(ID);
  516. if(type(Script)=='userdata')then
  517. Script=Script:children()[1];
  518. if(Script~=nil)then
  519. A.Stuffs.ScriptPacket[Type]=Script:clone();
  520. Script.Disabled=true;
  521. end;
  522. end;
  523. end;
  524. end;
  525. end;
  526.  
  527. if(script~=nil and Game.PlaceId==0)then
  528. script:ClearAllChildren();
  529. for i,v in next,A.Stuffs.ScriptPacket do
  530. v.Parent=script;
  531. end;
  532. end;
  533.  
  534. A.Functions.SetupCommands();
  535.  
  536. if(A.SettingIDs[1]==nil)then
  537. local Number=0;
  538. for i,v in next,A.Settings do Number=Number+1;
  539. A.Settings[i]=A.Functions.Value('Bool',v);v=A.Settings[i];
  540. A.SettingIDs[Number]={Object=v;Name=i;};
  541. if(i=='HealthBar')then
  542. coroutine.wrap(function()
  543. while(A~=nil)do
  544. A.Functions.VisibleOfHealthGUI(v.Changed:wait()==false);
  545. end;
  546. end)();
  547. end;
  548. end;
  549. end;
  550.  
  551. UDim['Dresmor Alakazard - Connections Of Ohgal Local Admin']=A.Warehouse.Connections;
  552. UDim['Dresmor Alakazard - Objects Of Ohgal Local Admin']=A.Warehouse.Objects;
  553. UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']=
  554. UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']and
  555. UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']+1 or
  556. 0;
  557. A.Data.VisitVersion=UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin'];
  558.  
  559. A.User.C=A.Functions.PropertyWait(A.Service.Players,'LocalPlayer');
  560. A.User.Humanoid=A.Functions.Value'Object';
  561. A.User.Connections={};
  562. A.User.Windows={};
  563. A.User.Frames={};
  564. A.User.Gui={};
  565.  
  566. for i,v in next,{'PlayerGui','Backpack'}do
  567. A.User[v]=A.Functions.FindObject(A.User.C,'className',v);
  568. end;
  569.  
  570.  
  571. A.Functions.LoadModule'Once';
  572. A.Functions.LoadModule'Backpack';
  573. A.Functions.LoadModule'PlayerGui';
  574.  
  575.  
  576. A.Functions.Connect(A.User.C,'Chatted',function(Text)
  577. Wait();
  578. A.Functions.SearchCommand(Text);
  579. Text=nil;
  580. end);
  581. A.Functions.Connect(A.User.C,'ChildAdded',function(Object)
  582. Wait();
  583. local Class=Object.className;
  584. if(Class=='Backpack'or Class=='PlayerGui')then
  585. A.User[Class]=Object;
  586. A.Functions.LoadModule(Class);
  587. elseif(Class=='StringValue'and Object.Name=='Ohgal_Execution')then
  588. coroutine.wrap(function(Text,Name,Object)loadstring([=[local script={...};script=script[1]; ]=]..Text,Name)(Object);end)(Object.Value,'Ohgal',Object);
  589. end;
  590. end);
  591.  
  592. A.Stuffs.Meter.Local={};
  593. A.Stuffs.Meter.Server={};
  594.  
  595. A.Stuffs.Meter.Server.Players=A.Functions.Value'Number';
  596.  
  597. for i,v in next,{'Speed (FPS)';}do
  598. A.Stuffs.Meter.Local[v]=A.Functions.Value'Number';
  599. end;
  600. if(A.Stuffs.ScriptPacket.Script~=nil)then
  601. A.Functions.Thread(function()
  602. local Warehouse=A.Service.Lighting;
  603. A.Functions.CreateScript('Script',A.Service.Workspace,[[
  604. script.Parent=nil;
  605.  
  606. if(UDim.Ohgal_Server_Checker==true)then
  607. return nil;
  608. end;
  609. UDim.Ohgal_Server_Checker=true;
  610.  
  611. local Warehouse=Game:service'Lighting';
  612. local Clients=Instance.new'NumberValue';
  613. local Network=Game:service'NetworkServer';
  614. local Server_Speed=Instance.new'NumberValue';
  615.  
  616. while(Wait(2))do
  617. Server_Speed.Name='Ohgal_Server Speed (SFPS)';
  618. Server_Speed.Value=1/getfenv(0).Wait();
  619. Clients.Value=#Network:children();
  620. Clients.Name='Ohgal_Clients';
  621. Server_Speed.Parent=Warehouse;
  622. Clients.Parent=Warehouse;
  623. end;
  624. ]]
  625. );
  626. for i,v in next,{'Clients';'Server Speed (SFPS)';}do
  627. coroutine.wrap(function()Wait();
  628. local Value=Warehouse:FindFirstChild('Ohgal_'..v);
  629. while(Warehouse:FindFirstChild('Ohgal_'..v)==nil)do
  630. Value=Warehouse.ChildAdded:wait();
  631. end;
  632. A.Stuffs.Meter.Server[v]=Value;
  633. end)();
  634. end;
  635. end);
  636. end;
  637.  
  638. coroutine.wrap(function()
  639. while(A~=nil and A.Functions.Check()==true)do
  640. if(A.Stuffs.MeterIsActive==true)then
  641. A.Stuffs.Meter.Local['Speed (FPS)'].Value=1/getfenv(0).Wait();
  642. A.Stuffs.Meter.Server.Players.Value=A.Service.Players.NumPlayers;
  643. end;
  644. Wait(2);
  645. end;
  646. end)();
  647. coroutine.wrap(function()
  648. if(A.Stuffs.Security==true)then
  649. while(A.Functions.Check()==true)do
  650. A.Functions.DoKeyCommand(A.Service.GuiService.KeyPressed:wait());
  651. end;
  652. end;
  653. end)();
  654.  
  655. print('Number of the commands:',#A.Commands);
  656.  
  657. end;
  658. A.Functions.Check=function()
  659. return(A~=nil and A.Data.VisitVersion==UDim['Dresmor Alakazard - Visit Version Of Ohgal Local Admin']);
  660. end;
  661. A.Functions.GuisParent=function()
  662. A.User.Screen.Parent=A.Stuffs.Security==true and A.Service.CoreGui or A.User.PlayerGui;
  663. end;
  664. A.Functions.Screen=function()
  665. for i,v in next,A.User.Gui do
  666. for i,v in next,v do
  667. v[i],i,v=nil;
  668. end;i,v=nil;
  669. end;
  670. if(Game.PlaceId==0)then
  671. for i,v in next,A.Functions.ObjectWait(A.User.C,'className','PlayerGui'):children()do
  672. if(v.Name=='Ohgal')then
  673. A.Functions.Remove(v,true);
  674. end;
  675. end;
  676. end;
  677. A.User.Screen=A.Old.Instance.NewObject'ScreenGui';
  678. A.User.Screen.Name='Ohgal';
  679. coroutine.wrap(function()
  680. while(A~=nil and A.Functions.Check()==true)do
  681. A.Functions.Wait();
  682. if(A==nil)then break;end;
  683. if(pcall(A.Functions.GuisParent)==false)then
  684. A.Functions.Screen();break;
  685. end;
  686. if(A.User.Screen.Changed:wait()~='Parent')then
  687. while(A.User.Screen.Changed:wait()~='Parent')do end;
  688. end;
  689. end;
  690. end)();
  691. for i=1,#A.GuiModules do
  692. A.GuiModules[i]();
  693. end;
  694. end;
  695. A.Functions.CreateGuiModule=function(Function)
  696. A.GuiModules[#A.GuiModules+1]=Function;
  697. end;
  698. A.Functions.AddSound=function(Type,Table)
  699. if(A.Sounds[Type]==nil)then A.Sounds[Type]={};end;
  700. A.Sounds[Type][#A.Sounds[Type]+1]=Table;
  701. end;
  702. A.Functions.LoadSound=function(Type,Name)
  703. local Data=tonumber(Name)~=nil and A.Sounds[Type][tonumber(Name)]or(function()
  704. for i,v in next,A.Sounds[Type]do
  705. if(v.Name~=nil and v.Name:lower():find(Name:lower())==1)then
  706. return v;
  707. end;
  708. end;
  709. end)();
  710. local Sound=A.Functions.Peace('Sound',Data);
  711. Sound.SoundId=A.Data.BaseUrl..Data.SoundId;
  712. return Sound,Data;
  713. end;
  714. A.Functions.ToBoolean=function(Text)
  715. Text=Text~=nil and Text:lower():gsub('!','');
  716. return A.Stuffs.TrueBooleans[Text]==true;
  717. end;
  718. A.Functions.Value=function(Type,Value,Function)
  719. local Object=A.Old.Instance.NewObject(Type..'Value');
  720. if(Value~=nil)then Object.Value=Value;end;
  721. if(Function~=nil)then
  722. coroutine.wrap(function()
  723. while(A.Functions.Check()==true and Object.Name~='Over')do
  724. Function(Object.Changed:wait());
  725. end;
  726. end)();
  727. end;
  728. return Object;
  729. end;
  730. A.Functions.Button=function(Type,Properties,Events)
  731. if(A.Stuffs.Gui.Button[Type]~=true)then return nil;end;
  732. Properties.Size=Properties.Size or A.Old.UDim2.ButtonSize;
  733. local EventsIsATable=type(Events)=='table';
  734. local Button,ButtonData=A.Functions.Lock(Type,Properties,EventsIsATable and Events or nil);
  735. if(EventsIsATable==false)then
  736. A.Functions.Connect(Button,'MouseButton1Up',function()
  737. A.Functions.Wait();
  738. Events();
  739. A.Stuffs.Button:play();
  740. end,ButtonData);
  741. end;
  742. return Button,Data;
  743. end;
  744. A.Functions.ResetChar=function(Victim)
  745. if(pcall(function()Victim:LoadCharacter(true);end)==false)then
  746. if(Victim.Character~=nil)then A.Functions.Remove(Victim.Character);end;
  747. Victim.Character=A.Old.Instance.NewObject('Humanoid',A.Old.Instance.NewObject('Model',A.Service.Workspace)).Parent;
  748. end;
  749. end;
  750. A.Functions.NukeChar=function(Char)
  751. if(A.Stuffs.CharThings==nil)then
  752. A.Stuffs.CharThings={
  753. Parts={
  754. ['Animate']='LocalScript';
  755. ['Humanoid']='Humanoid';
  756. ['Immortal']='Humanoid';
  757. ['Right Arm']='Part';
  758. ['Right Leg']='Part';
  759. ['Left Arm']='Part';
  760. ['Left Leg']='Part';
  761. ['Torso']='Part';
  762. };
  763. Welds={
  764. ['Right Shoulder']='Motor6D';
  765. ['Left Shoulder']='Motor6D';
  766. ['Right Hip']='Motor6D';
  767. ['Left Hip']='Motor6D';
  768. ['Neck']='Motor6D';
  769. };
  770. };
  771. end;
  772. for i,v in next,Char:children()do
  773. if(v~=Char.PrimaryPart and(A.Stuffs.CharThings.Parts[v.Name]==v.className)==false)then
  774. A.Functions.Remove(v,true);
  775. end;
  776. end;
  777. for i,v in next,Char.Torso:children()do
  778. if((A.Stuffs.CharThings.Welds[v.Name]==v.className)==false)then
  779. A.Functions.Remove(v,true);
  780. end;
  781. end;
  782. end;
  783. A.Functions.Weld=function(Part0,Part1,C0,C1)
  784. Part1.CFrame=Part0.CFrame;
  785. local Weld=A.Old.Instance.NewObject('Motor',Part0);
  786. Weld.Part0=Part0;
  787. Weld.Part1=Part1;
  788. if(C0)then Weld.C0=C0;end;
  789. if(C1)then Weld.C1=C1;end;
  790. return Weld;
  791. end;
  792. A.Functions.Part=function(Properties,WeldProperties)
  793. local Part=A.Functions.Peace('Part',Properties);
  794. local Weld;
  795. if(WeldProperties)then
  796. if(WeldProperties.Part0)then Part.CFrame=WeldProperties.Part0;end;
  797. WeldProperties.Part1=Part;
  798. Weld=A.Functions.Peace('Motor',WeldProperties);
  799. end;
  800. return Part,Weld;
  801. end;
  802. A.Functions.GetWindow=function(Name)
  803. for Int=1,#A.User.Windows do
  804. if(A.User.Windows[Int].Name==Name)then
  805. return A.User.Windows[Int],Int;
  806. end;Int=nil;
  807. end;
  808. return nil;
  809. end;
  810. A.Functions.KillWindow=function(Name)
  811. local Type=type(Name);
  812. if(Type=='string'or Type=='table')then
  813. local Win,Int=Type=='table'and Name or A.Functions.GetWindow(Name);
  814. if(Win)then
  815. Win.SetVisible=false;
  816. A.Functions.All(Win.Title,function(Object)
  817. A.Functions.KillData(Object);
  818. A.Functions.Remove(Object,true);
  819. Object=nil;
  820. end);
  821. for i,v in next,Win do
  822. if(type(v)=='userdata')then
  823. v.Name='Over';
  824. A.Functions.KillData(v);
  825. A.Functions.Remove(v,true);
  826. end;
  827. Win[i]=nil;
  828. end;
  829. if(Int~=nil)then
  830. table.remove(A.User.Windows,Int);
  831. end;
  832. end;
  833. elseif(Type=='boolean'and Name==true)then
  834. for Int=1,#A.User.Windows do
  835. A.Functions.KillWindow(A.User.Windows[Int].Name);
  836. end;
  837. end;
  838. end;
  839. A.Functions.GiveWindow=function(Name,Weight,Leight,Title)
  840. local Win;
  841. local Type=Name;
  842. if(Type~=false)then
  843. Win=A.Functions.GetWindow(Name)or{};
  844. if(Win.Valid==true)then
  845. Win.SetVisible.Value=Win.SetVisible.Value==false;
  846. return nil;
  847. end;
  848. Win.Name=Name;
  849. Win.Valid=true;
  850.  
  851. A.User.Windows[#A.User.Windows+1]=Win;
  852. else
  853. Win={};
  854. end;
  855.  
  856. Win.SetLeight=A.Functions.Value('Number',Leight,function(Value)Win.Frame.Size=A.Old.UDim2.new(1,0,0,Value);Value=nil;end);
  857. Win.SetWeight=A.Functions.Value('Number',Weight,function(Value)Win.Title.Size=A.Old.UDim2.new(0,Value,0,20);Value=nil;end);
  858. Win.SetVisible=A.Functions.Value('Bool',true,function(Value)Win.Title.Visible=Value;if(Win.VisibleChanged~=nil)then Win.VisibleChanged(Value);end;Value=nil;end);
  859. Win.SetTitle=A.Functions.Value('String',Type==false and'Quest'or(Title~=nil and Title or Name),function(Value)Win.TitleText.Text='Dresmor Ohgal - ['..Value..']';Value=nil;end);
  860. Win.NOPOM=A.Functions.Value('Number',0,function(Value)Win.Menu.Visible=(Value>0);Win.Menu.Size=A.Old.UDim2.new(1,0,0,(Value>0)and 20 or 0);if(Win.Frame)then Win.Frame.Position=A.Old.UDim2.new(0,0,0,(Value>0)and 20 or 0);end;Value=nil;end);
  861.  
  862. Win.Title=A.Functions.Lock('TextButton',{
  863. BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  864. Size=function()return A.Old.UDim2.new(0,Win.SetWeight.Value,0,20);end;
  865. Visible=function()return Win.SetVisible.Value;end;
  866. Parent=A.User.Frames.Windows;
  867. Draggable=true;
  868. Active=true;
  869. Text='';
  870. },{
  871. MouseButton1Down=function()
  872. A.Functions.Wait();
  873. if(A.User.FirstWindow~=Win.Title)then
  874. A.User.FirstWindow=Win.Title;
  875. Win.Title.Parent=nil;
  876. end;
  877. end;
  878. }
  879. );A.User.FirstWindow=Win.Title;
  880. Win.TitleText=A.Functions.Lock('TextLabel',{
  881. BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  882. Text=function()return'Dresmor Ohgal - ['..Win.SetTitle.Value..']';end;
  883. Position=A.Old.UDim2.new(0,20);
  884. Size=A.Old.UDim2.new(1,-60,1);
  885. BackgroundTransparency=1;
  886. Parent=Win.Title;
  887. TextXAlignment=0;
  888. TextWrap=true;
  889. FontSize=5;
  890. Font=1;
  891. }
  892. );
  893. A.Functions.Lock('ImageLabel',{
  894. Image=A.Data.BaseUrl..84386870;
  895. Size=A.Old.UDim2.ButtonSize;
  896. Parent=Win.Title;
  897. }
  898. );
  899. Win.Close=A.Functions.Button('TextButton',{
  900. BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  901. BackgroundColor3=A.Old.Color3.DarkRed;
  902. Position=A.Old.UDim2.new(1,-20);
  903. TextColor3=A.Old.Color3.Black;
  904. Size=A.Old.UDim2.ButtonSize;
  905. Parent=Win.Title;
  906. FontSize=5;
  907. Text='X';
  908. Font=2;
  909. },function()
  910. A.Functions.KillWindow(Name==false and Win or Name);
  911. if(Name==false)then
  912. Win.Answer.Value=2;
  913. end;
  914. end
  915. );
  916. if(Type~=false)then
  917. Win.Minimalize=A.Functions.Button('TextButton',{
  918. BackgroundColor3=A.Old.Color3.Grey;
  919. Position=A.Old.UDim2.new(1,-40);
  920. TextColor3=A.Old.Color3.White;
  921. Size=A.Old.UDim2.ButtonSize;
  922. BackgroundTransparency=.5;
  923. Parent=Win.Title;
  924. FontSize=6;
  925. Text='_';
  926. Font=2;
  927. },function()
  928. Win.SetVisible.Value=false;
  929. end
  930. );
  931. end;
  932. Win.Menu=A.Functions.Lock('Frame',{
  933. BackgroundTransparency=function()if(Win.NOPOM.Value<=0)then return 1;end;return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  934. Size=function()return A.Old.UDim2.new(1,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  935. Position=A.Old.UDim2.new(0,0,1);
  936. Parent=Win.Title;
  937. },{
  938. ChildAdded=function(Object)
  939. if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  940. Win.NOPOM.Value=Win.NOPOM.Value+1;
  941. Win.Menu.BackgroundTransparency=0;
  942. end;
  943. end;
  944. ChildRemoved=function(Object)
  945. if(Object~=Win.Frame and A.Stuffs.Gui.PartOfGui[Object.className])then
  946. Win.NOPOM.Value=Win.NOPOM.Value-1;
  947. if(Win.NOPOM.Value<=0)then Win.Menu.BackgroundTransparency=0;end;
  948. end;
  949. end;
  950. }
  951. );
  952. local Frame,FrameData=A.Functions.Lock('Frame',{
  953. BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  954. Position=function()return A.Old.UDim2.new(0,0,0,(Win.NOPOM.Value>0)and 20 or 0);end;
  955. Size=function()return A.Old.UDim2.new(1,0,0,Win.SetLeight.Value);end;
  956. }
  957. );
  958. Win.Frame=Frame;
  959. FrameData.Properties.Parent=function()return Win.Menu;end;
  960. Win.Frame.Parent=Win.Menu;
  961.  
  962. local NUM_;
  963. Win.FixTransparency=function()
  964. NUM_=A.Settings['Windows transparency'].Value==true and .5 or 0;
  965. Win.TitleText.BackgroundTransparency=NUM_;
  966. Win.Frame.BackgroundTransparency=NUM_;
  967. Win.Close.BackgroundTransparency=NUM_;
  968. Win.Title.BackgroundTransparency=NUM_;
  969. Win.Menu.BackgroundTransparency=1;
  970. end;
  971.  
  972. coroutine.wrap(function()
  973. while(Win.Valid==true and A.Functions.Check()==true)do
  974. A.Settings['Windows transparency'].Changed:wait();
  975. if(Win.FixTransparency~=nil)then
  976. Win.FixTransparency();
  977. end;
  978. end;
  979. end)();
  980.  
  981. return Win;
  982. end;
  983. A.Functions.Meter=function()
  984. local Size=0;
  985. for i,v in next,A.Stuffs.Meter do
  986. for i,v in next,v do
  987. i,v=nil;Size=Size+20;
  988. end;
  989. i,v=nil;Size=Size+20;
  990. end;
  991. local Win=A.Functions.GiveWindow('Meter',300,Size);
  992. if(Win==nil)then return nil;end;local Num=0;
  993. Win.Title.Position=A.Old.UDim2.new(.5,-150,0,40);
  994. for i,v in next,A.Stuffs.Meter do
  995. A.Functions.Lock('TextLabel',{
  996. Position=A.Old.UDim2.new(0,0,0,Num*20);
  997. BackgroundColor3=A.Old.Color3.Grey;
  998. Size=A.Old.UDim2.new(1,0,0,20);
  999. TextColor3=A.Old.Color3.Green;
  1000. BackgroundTransparency=.8;
  1001. Text=i..' Things';
  1002. Parent=Win.Frame;
  1003. TextXAlignment=0;
  1004. FontSize=2;
  1005. }
  1006. );
  1007. Num=Num+1;
  1008. for Name,Object in next,v do Wait();
  1009. for i=0,1 do
  1010. local Gui;Gui=A.Functions.Lock('TextLabel',{
  1011. TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.Green;
  1012. Text=i==0 and Name or function()return Object.Value;end;
  1013. Position=A.Old.UDim2.new(i/2,0,0,Num*20);
  1014. Size=A.Old.UDim2.new(.5,0,0,20);
  1015. BackgroundTransparency=1;
  1016. TextXAlignment=0;
  1017. Parent=Win.Frame;
  1018. FontSize=1;
  1019. }
  1020. );
  1021. if(i==1)then
  1022. coroutine.wrap(function()
  1023. while(Win.Valid==true)do
  1024. Gui.Text=Object.Value;
  1025. Object.Changed:wait();
  1026. end;
  1027. end)();
  1028. end;
  1029. end;Num=Num+1;
  1030. end;
  1031. end;
  1032. Win.VisibleChanged=function(Value)
  1033. A.Stuffs.MeterIsActive=Value;Value=nil;
  1034. end;A.Stuffs.MeterIsActive=true;
  1035. end;
  1036. A.Functions.QuestWindow=function(Text)
  1037. local Win=A.Functions.GiveWindow(false,300,200);
  1038. Win.Answer=A.Functions.Value'Number';
  1039.  
  1040. A.Functions.Lock('TextLabel',{
  1041. BackgroundTransparency=1;
  1042. Size=A.Old.UDim2.Full;
  1043. Parent=Win.Frame;
  1044. TextYAlignment=0;
  1045. FontSize=3;
  1046. Text=Text;
  1047. }
  1048. );
  1049. A.Functions.Button('TextButton',{
  1050. Position=A.Old.UDim2.new(.5,-40,1,-25);
  1051. BackgroundColor3=A.Old.Color3.Grey;
  1052. Size=A.Old.UDim2.new(0,80,0,20);
  1053. Parent=Win.Frame;
  1054. Text='Okey';
  1055. },function()
  1056. Win.Answer.Value=1;
  1057. A.Functions.KillWindow(Win);
  1058. end
  1059. );
  1060. return Win.Answer.Changed:wait();
  1061. end;
  1062. A.Functions.GetSpawnLocationCFrame=function()
  1063. local Spawn={};
  1064. Spawn[1]=A.Old.CFrame.new(0,100,0);
  1065. A.Functions.All(A.Service.Workspace,function(Object)
  1066. if(Object.className=='SpawnLocation')then
  1067. Spawn[#Spawn+1]=Object.CFrame;
  1068. end;Object=nil;
  1069. end);
  1070. return Spawn[2]==nil and Spawn[1]or Spawn[math.random(2,#Spawn)]+A.Old.Vector3.Char;
  1071. end;
  1072. A.Functions.SettingsGui=function()
  1073. local Size=#A.SettingIDs;
  1074. local RealSize=Size;
  1075. Size=Size<10 and Size or 10;
  1076. local Win=A.Functions.GiveWindow('Settings',250,20*Size);
  1077. if(Win==nil)then return nil;end;
  1078.  
  1079. Win.Title.Position=A.Old.UDim2.new(.5,-125,.5,-110);
  1080.  
  1081. Win.Cells={};
  1082.  
  1083. Win.Fix=function()
  1084. for i=1,Size do
  1085. Win.Cells[i].SetTick.Value=A.SettingIDs[i].Object.Value;
  1086. Win.Cells[i].SetText.Value=A.SettingIDs[i].Name;i=nil;
  1087. end;
  1088. end;
  1089.  
  1090. Win.Pos=A.Functions.Value('String',0,Win.Fix);
  1091.  
  1092. if(RealSize>10)then
  1093. local Num;
  1094. local BS={
  1095. '<';function()
  1096. Num=Win.Pos.Value-10
  1097. if(Num>=0)then
  1098. Win.Pos.Value=Num;
  1099. end;
  1100. end;
  1101. 'Home';function()Win.Pos.Value=0;end;
  1102. '>';function()
  1103. Num=Win.Pos.Value+10;
  1104. if(Num>=RealSize)then
  1105. Win.Pos.Value=Num-(RealSize%10);
  1106. end;
  1107. end;
  1108. };
  1109. local BSn=#BS/2;
  1110. local Num=0;
  1111. for i=1,BSn do
  1112. A.Functions.Button('TextButton',{
  1113. Position=A.Old.UDim2.new((1/BSn)*(i-1),(2/BSn)/2,0,(2/BSn)/2);
  1114. Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  1115. BackgroundColor3=A.Old.Color3.Grey;
  1116. TextColor3=A.Old.Color3.Black;
  1117. BackgroundTransparency=.5;
  1118. Parent=Win.Menu;
  1119. Text=BS[i+Num];
  1120. TextWrap=true;
  1121. FontSize=1;
  1122. },BS[i+Num+1]
  1123. );Num=Num+1;
  1124. end;
  1125. end;
  1126.  
  1127. for Int=1,Size do
  1128. local Ints=Int+Win.Pos.Value;
  1129. local Cell={};Win.Cells[Int]=Cell;
  1130. local Setting=A.SettingIDs[Ints]~=nil and A.SettingIDs[Ints];
  1131.  
  1132. Cell.SetText=A.Functions.Value('String',A.SettingIDs[Ints]and A.SettingIDs[Ints].Name,function(Value)Cell.Label.Text=Value;Value=nil;end);
  1133. Cell.SetTick=A.Functions.Value('Bool',A.SettingIDs[Ints]and A.SettingIDs[Ints].Object.Value,function(Value)Cell.Button.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;Value=nil;end);
  1134.  
  1135. coroutine.wrap(function()
  1136. while(Win.Valid==true)do
  1137. Cell.SetTick.Value=Setting.Object.Changed:wait();
  1138. end;
  1139. end)();
  1140.  
  1141. Cell.Label=A.Functions.Lock('TextLabel',{
  1142. Visible=function()return Cell.SetText.Value~='';end;
  1143. Text=function()return Cell.SetText.Value;end;
  1144. Position=A.Old.UDim2.new(0,0,0,20*(Int-1));
  1145. Size=A.Old.UDim2.new(1,-20,0,20);
  1146. BackgroundTransparency=1;
  1147. TextXAlignment=0;
  1148. Parent=Win.Frame;
  1149. FontSize=1;
  1150. }
  1151. );
  1152. Cell.Button=A.Functions.Button('TextButton',{
  1153. BackgroundColor3=function()return Cell.SetTick.Value==true and A.Old.Color3.Green or A.Old.Color3.DarkRed;end;
  1154. Position=A.Old.UDim2.new(1,-17.5,1,-17.5);
  1155. Size=A.Old.UDim2.new(0,15,0,15);
  1156. BackgroundTransparency=.5;
  1157. Parent=A.Functions.Lock('Frame',
  1158. {
  1159. BackgroundColor3=A.Old.Color3.Grey;
  1160. Size=A.Old.UDim2.ButtonSize;
  1161. Position=A.Old.UDim2.new(1);
  1162. BackgroundTransparency=.5;
  1163. Parent=Cell.Label;
  1164. }
  1165. );
  1166. Text='';
  1167. },function()
  1168. A.SettingIDs[Ints].Object.Value=A.SettingIDs[Ints].Object.Value==false;
  1169. end
  1170. );
  1171. end;
  1172. end;
  1173. A.Functions.CreateCommand=function(Title,Commands,Description,Guide,MaxArguments,Function)
  1174. local New={};A.Commands[#A.Commands+1]=New;
  1175. New.Title=Title;
  1176. New.TrueCommands={};
  1177. New.Function=Function;
  1178. New.Description=Description;
  1179. New.MaxArguments=MaxArguments;
  1180. New.Commands='"'..table.concat(Commands,'","')..'"';
  1181.  
  1182. for Signal,Value in next,A.Stuffs.GuideCommands do
  1183. Guide=Guide:gsub(Signal,A.Data.Step..Value);Signal,Value=nil;
  1184. end;
  1185. for i=1,#Commands do
  1186. New.TrueCommands[Commands[i]]=true;
  1187. end;
  1188.  
  1189. New.Guide=A.Data.Start..Commands[1]..Guide;
  1190. end;
  1191. A.Functions.GetArguments=function(Text,Stepper,Max)
  1192. if(Max~=0)then
  1193. local New={};
  1194. local Num=0;
  1195. local blind=false;
  1196. local blindText='';
  1197. for i in Text:gmatch('([^'..Stepper..']+)')do
  1198. if(blind==false)then
  1199. blind=i:match'{b{'~=nil;
  1200. if(blind==true)then
  1201. i=i:gsub('{b{','');
  1202. end;
  1203. end;
  1204. if(blind==false)then
  1205. Num=Num+1;
  1206. New[#New+1]=i;i=nil;
  1207. else
  1208. blindText=blindText..i..Stepper;
  1209. if(i:match'}b}'~=nil)then
  1210. blind=false;
  1211. Num=Num+1;
  1212. if(blindText:sub(#blindText,#blindText)==';')then
  1213. blindText=blindText:sub(1,#blindText-1);
  1214. end;
  1215. New[#New+1]=blindText:gsub('}b}','');i=nil;
  1216. blindText='';
  1217. end;
  1218. end;
  1219. if(Num>=Max)then break;end;
  1220. end;
  1221. return New;
  1222. end;return A.Stuffs.NullTable;
  1223. end;
  1224. A.Functions.GetCommand=function(Command)
  1225. for i,v in next,A.Commands do
  1226. if(v.TrueCommands[Command]==true)then
  1227. return v,i;
  1228. end;
  1229. end;
  1230. end;
  1231. A.Functions.SearchCommand=function(Text)
  1232. local Command=Text:match(A.Data.Start..'(%w+)');
  1233. if(Command==nil)then return'Command word is not found!';end;
  1234. Command=Command:lower();
  1235. local FullText=Text:match(A.Data.Start..'%w+'..A.Data.Step..'(.+)')or'';
  1236. Text=FullText;
  1237.  
  1238. local StuffsOfCommand=A.RecentCommands[Command];
  1239. if(StuffsOfCommand==nil)then
  1240. local Number;
  1241. StuffsOfCommand,Number=A.Functions.GetCommand(Command);
  1242. if(StuffsOfCommand~=nil)then
  1243. A.RecentCommands[Command]={
  1244. Function=function(...)A.Commands[Number].Function(...);end;
  1245. MaxArguments=StuffsOfCommand.MaxArguments;
  1246. };
  1247. end;
  1248. end;
  1249. if(StuffsOfCommand==nil)then return'"'..Command..'" is not a valid member of library of the commands!';end;
  1250.  
  1251. local Load,Error=A.Functions.Thread(function()
  1252. StuffsOfCommand.Function(
  1253. Text,
  1254. FullText,
  1255. A.Functions.GetArguments(
  1256. Text,
  1257. A.Data.Step,
  1258. StuffsOfCommand.MaxArguments
  1259. )
  1260. );
  1261. end);
  1262.  
  1263. if(Load==false)then
  1264. return Error;
  1265. end;
  1266.  
  1267. end;
  1268. A.Functions.Message=function(Type,Text,Time)
  1269. local Message=A.Functions.Peace('TextLabel',{
  1270. Position=Type=='Message'and A.Old.UDim2.Pax or A.Old.UDim2.new(0,0,0,20*#A.User.Frames.Hints:children());
  1271. Size=Type=='Hint'and A.Old.UDim2.new(1,0,0,20)or A.Old.UDim2.Full;
  1272. Text=Text:gsub([[']],A.Stuffs.AsciiChar[255]);
  1273. BackgroundColor3=A.Old.Color3.Black;
  1274. Parent=A.User.Frames[Type..'s'];
  1275. TextColor3=A.Old.Color3.Yellow;
  1276. BackgroundTransparency=.5;
  1277. BorderSizePixel=0;
  1278. FontSize=2;
  1279. Name=Type;
  1280. }
  1281. );
  1282. Delay(Time or #Text/5,function()
  1283. A.Functions.Remove(Message,true);
  1284. if(Type=='Hint')then
  1285. for i,v in next,A.User.Frames.Hints:children()do
  1286. if(v.className=='TextLabel')then
  1287. v.Position=A.Old.UDim2.new(0,0,0,20*(i-1));
  1288. end;
  1289. end;
  1290. end;
  1291. end);
  1292. end;
  1293. A.Functions.TransparencyContact=function(Table)
  1294. coroutine.wrap(function()
  1295. local Num=#Table;
  1296. local Data;
  1297. for i=1,Num do
  1298. i=Table[i];
  1299. Data=A.Functions.GetData(i);
  1300. if(Data~=nil)then
  1301. Data.Properties.BackgroundTransparency=function()return A.Settings['Windows transparency'].Value==true and .5 or 0;end;
  1302. end;
  1303. i.BackgroundTransparency=A.Settings['Windows transparency'].Value==true and .5 or 0;
  1304. end;
  1305. local Function=function(Bool)
  1306. for i=1,Num do Table[i].BackgroundTransparency=Bool==true and .5 or 0;i=nil;end;Bool=nil;
  1307. end;
  1308. while(A.Functions.Check()==true)do
  1309. Function(A.Settings['Windows transparency'].Value);
  1310. A.Settings['Windows transparency'].Changed:wait();
  1311. end;
  1312. end)();
  1313. end;
  1314. A.Functions.CommandBar=function()
  1315. local Win=A.Functions.GiveWindow('Cmd',300,64);
  1316. if(Win==nil)then return nil;end;Win.Title.Position=A.Old.UDim2.new(0,0,.5,-100);
  1317. if(A.User.RecentCommands==nil)then
  1318. A.User.RecentCommands={};
  1319. end;
  1320.  
  1321. local NUM_,_NUM;
  1322. local BS={
  1323. '<';function()
  1324. NUM_=Win.Pos.Value-Win.MaxCells;
  1325. if(NUM_>=0)then
  1326. Win.Pos.Value=NUM_;
  1327. end;
  1328. end;
  1329. '>';function()
  1330. _NUM=#A.User.RecentCommands;
  1331. if(_NUM<=Win.MaxCells)then return nil;end;
  1332. NUM_=Win.Pos.Value+Win.MaxCells;
  1333. if(NUM_>=_NUM)then
  1334. NUM_=_NUM-(_NUM%Win.MaxCells);
  1335. end;
  1336. Win.Pos.Value=NUM_;
  1337. end;
  1338. 'Clean';function()
  1339. A.User.RecentCommands={};
  1340. Win.Pos.Value=0;
  1341. Win.Fix();
  1342. end;
  1343. 'H/S';function()
  1344. Win.FixEnabled=Win.FixEnabled==false;
  1345. Win.Fix();
  1346. end;
  1347. };
  1348. local BSn=#BS/2;
  1349.  
  1350. Win.Cells={};
  1351. Win.MaxCells=8;
  1352. Win.FixEnabled=true;
  1353.  
  1354. Win.Fix=function()
  1355. for Int=1,Win.MaxCells do
  1356. Win.Cells[Int].SetText.Value=A.User.RecentCommands[Int+Win.Pos.Value]or'';
  1357. Win.Cells[Int].Label.Visible=Win.FixEnabled;
  1358. end;
  1359. end;
  1360.  
  1361. Win.Pos=A.Functions.Value('Number',0,Win.Fix);
  1362.  
  1363. Win.Box=A.Functions.Lock('TextBox',{
  1364. Parent=function()A.Functions.Wait()return Win.Frame end;
  1365. TextColor3=A.Old.Color3.Yellow;
  1366. BackgroundTransparency=1;
  1367. Size=A.Old.UDim2.Full;
  1368. TextXAlignment=0;
  1369. TextYAlignment=0;
  1370. FontSize=1;
  1371. },{
  1372. FocusLost=function(Text)
  1373. Text=Win.Box.Text;
  1374. if(Text~=nil and(Text~=''and Text~='Click here to writting'))then
  1375. if(Text:sub(1,1)~=A.Data.Start)then Text=A.Data.Start..Text;end;
  1376. A.Functions.Wait();
  1377. local Message=A.Functions.SearchCommand(Text);
  1378. if(Message~=nil)then A.Functions.Message('Hint',Message);return nil;end;
  1379. if(Win.FixEnabled==true and A~=nil)then
  1380. table.insert(A.User.RecentCommands,1,Text);
  1381. Win.Fix();
  1382. end;
  1383. end;Text=nil;
  1384. end;
  1385. }
  1386. );Win.Box.Text='Click here to writting';
  1387.  
  1388. A.Functions.Lock('Frame',{
  1389. BackgroundColor3=A.Old.Color3.Grey;
  1390. Position=A.Old.UDim2.new(0,0,1);
  1391. Size=A.Old.UDim2.new(1,0,0,5);
  1392. BackgroundTransparency=.5;
  1393. Parent=Win.Frame;
  1394. }
  1395. );
  1396.  
  1397. local Smg={};
  1398. for Int=1,Win.MaxCells do
  1399. local Cell={};Win.Cells[#Win.Cells+1]=Cell;
  1400.  
  1401. Cell.SetText=A.Functions.Value('String',A.User.RecentCommands[Int],function(Value)Cell.Label.Visible=Value~='';Cell.Label.Text=Win.Pos.Value+Int..'.) '..Value;Value=nil;end);
  1402.  
  1403. Cell.Label=A.Functions.Button('TextButton',{
  1404. Visible=function()if(Win.FixEnabled==false)then return false;else return Cell.SetText.Value~='';end;end;
  1405. Text=function()return Win.Pos.Value+Int..'.) '..Cell.SetText.Value;end;
  1406. Position=A.Old.UDim2.new(0,0,1,20*(Int-1)+5);
  1407. Size=A.Old.UDim2.new(1,0,0,20);
  1408. AutoButtonColor=true;
  1409. Parent=Win.Frame;
  1410. TextXAlignment=0;
  1411. FontSize=1;
  1412. },function()
  1413. A.Functions.SearchCommand(Cell.SetText.Value);
  1414. end
  1415. );Smg[Int]=Cell.Label;
  1416. end;
  1417. A.Functions.TransparencyContact(Smg);
  1418.  
  1419. local Num=0;
  1420. local Asd={};
  1421. for Int=1,BSn do
  1422. Asd[Int]=A.Functions.Button('TextButton',{
  1423. Position=A.Old.UDim2.new(1/BSn*(Int-1),1,0,1);
  1424. Size=A.Old.UDim2.new(1/BSn,-2,1,-2);
  1425. BackgroundColor3=A.Old.Color3.Grey;
  1426. TextColor3=A.Old.Color3.Black;
  1427. Text=BS[Int+Num];
  1428. Parent=Win.Menu;
  1429. FontSize=1;
  1430. },BS[Int+Num+1]
  1431. );
  1432. Num=Num+1;
  1433. end;
  1434. A.Functions.TransparencyContact(Asd);
  1435.  
  1436. end;
  1437. A.Functions.HelpGui=function()
  1438. local Win=A.Functions.GiveWindow('Help',400,400);
  1439. if(Win==nil)then return nil;end;
  1440.  
  1441. local Ears={'Commands';'Players';'Signals';};
  1442.  
  1443. Win.Ears={};
  1444. Win.NumOfEars=#Ears;
  1445. Win.NumberOfCommands=#A.Commands;
  1446.  
  1447. local NUM;
  1448. local CCMD;
  1449. local TEXT='';
  1450. Win.FixTutorial=function()
  1451. NUM=Win.Pos.Value+1;
  1452. CCMD=A.Commands[NUM];
  1453. if(A.Stuffs.ForTutorialOfCommands==nil)then
  1454. A.Stuffs.ForTutorialOfCommands={'Title';'Description';'Commands';'Guide';};
  1455. end;
  1456. for i,v in next,A.Stuffs.ForTutorialOfCommands do
  1457. TEXT=TEXT..v..': '..CCMD[v]..'\n\n\n';i,v=nil;
  1458. end;
  1459. TEXT=NUM..' of '..Win.NumberOfCommands..'\n\n\n'..TEXT;
  1460. Win.Ears[1].SetText.Value=TEXT;TEXT='';
  1461. end;
  1462.  
  1463. Win.Pos=A.Functions.Value('Number',0,function(Value)Win.FixTutorial();Value=nil;end);
  1464. Win.CurrentFrame=A.Functions.Value('String','Commands',function(Value)
  1465. for i=1,Win.NumOfEars do
  1466. Win.Ears[i].Frame.Visible=Value==Win.Ears[i].Name;
  1467. end;
  1468. end);
  1469.  
  1470. local Smgs={};
  1471. for Int,Name in next,Ears do
  1472. local Ear={};Win.Ears[#Win.Ears+1]=Ear;
  1473.  
  1474. Ear.Name=Name;
  1475.  
  1476. Ear.SetText=A.Functions.Value('String','',function(Value)Ear.Frame.Text=Value;Value=nil;end);
  1477.  
  1478. Ear.Frame=A.Functions.Lock('TextLabel',{
  1479. Visible=function()return Win.CurrentFrame.Value==Name;end;
  1480. Text=function()return Ear.SetText.Value;end;
  1481. BackgroundTransparency=1;
  1482. Position=A.Old.UDim2.Pax;
  1483. Size=A.Old.UDim2.Full;
  1484. TextXAlignment=0;
  1485. TextYAlignment=0;
  1486. Parent=Win.Frame;
  1487. FontSize=2;
  1488. }
  1489. );
  1490. Ear.Ear=A.Functions.Button('TextButton',{
  1491. Position=A.Old.UDim2.new(1/Win.NumOfEars*(Int-1),1.25,0,1.25);
  1492. Size=A.Old.UDim2.new(1/Win.NumOfEars,-2.5,1,-2.5);
  1493. BackgroundColor3=A.Old.Color3.Grey;
  1494. TextColor3=A.Old.Color3.Black;
  1495. Parent=Win.Menu;
  1496. FontSize=1;
  1497. Text=Name;
  1498. },function()
  1499. Win.CurrentFrame.Value=Name;
  1500. end
  1501. );Smgs[#Smgs+1]=Ear.Ear;
  1502.  
  1503. if(Name=='Players')then
  1504. local Text='';
  1505. for Int,Table in next,A.Calls do
  1506. Text=Text..Table.Description..': '..Table.Calls..'\n'..'\n';
  1507. end;
  1508. Ear.SetText.Value=Text;
  1509. elseif(Name=='Signals')then
  1510. Ear.SetText.Value=[[The first signal what you need for run a command signal is "]]..A.Data.Start..'" :3'..'\n\n'..[[For arguments type this "]]..A.Data.Step..'"'..'\n\n'..[[To use blink argument (hard to tell my english not enough to this) "{b{" until "}b}" so {b{blah;blah;LAALla;;;;aolaL}b}]];
  1511. elseif(Name=='Commands')then
  1512. Win.FixTutorial();
  1513. for i=0,1 do
  1514. local Num=i==0 and-1 or 1;
  1515. local Plus;
  1516. Smgs[#Smgs+1]=A.Functions.Button('TextButton',{
  1517. Position=A.Old.UDim2.new(i,i==1 and -20,1,-20);
  1518. BackgroundColor3=A.Old.Color3.Grey;
  1519. TextColor3=A.Old.Color3.Black;
  1520. Size=A.Old.UDim2.ButtonSize;
  1521. Parent=Win.Ears[1].Frame;
  1522. Text=i==0 and'<'or'>';
  1523. FontSize=3;
  1524. },function()
  1525. Plus=Win.Pos.Value+Num;
  1526. if(Plus>=0 and Plus<Win.NumberOfCommands)then
  1527. Win.Pos.Value=Plus;
  1528. end;
  1529. end
  1530. );
  1531. end;
  1532. end;
  1533.  
  1534. end;A.Functions.TransparencyContact(Smgs);
  1535.  
  1536. end;
  1537. A.Functions.GetBase=function()
  1538. for i,v in next,A.Service.Workspace:children()do
  1539. if(v.className=='Part'and v.Name=='Base')then
  1540. A.Functions.Remove(v,true);
  1541. end;i,v=nil;
  1542. end;
  1543. local Base=A.Old.Instance.NewObject'Part';
  1544. Base.Name='Base';
  1545. Base.Locked=true;
  1546. Base.Anchored=true;
  1547. Base.archivable=false;
  1548. Base.Size=A.Old.Vector3.new(555,2,555);
  1549. Base.BrickColor=A.Old.BrickColor.new'37';
  1550. Base.Parent=A.Service.Workspace;
  1551. return Base;
  1552. end;
  1553. A.Functions.Clean=function()
  1554. local Base=A.Functions.GetBase();
  1555. if(A.Stuffs.Shielded==nil)then
  1556. A.Stuffs.Shielded={
  1557. HumanoidController=true;
  1558. Terrain=true;
  1559. Camera=true;
  1560. Player=true;
  1561. };
  1562. end;
  1563. if(A.Stuffs.Banned_Services==nil)then
  1564. A.Stuffs.Banned_Services={
  1565. NetworkClient=true;
  1566. CoreGui=true;
  1567. };
  1568. end;
  1569. for i,v in next,Game:children()do
  1570. pcall(function()
  1571. if(A.Stuffs.Banned_Services[v.className]==nil)then
  1572. for i,v in next,v:children()do
  1573. if(v~=script and v~=Base and A.Stuffs.Shielded[v.className]~=true and A.Service.Players:GetPlayerFromCharacter(v)==nil)then
  1574. A.Functions.Remove(v,true);
  1575. end;i,v=nil;
  1576. end;
  1577. end;
  1578. end);i,v=nil;
  1579. end;
  1580. end;
  1581. A.Functions.ResetLighting=function()
  1582. local Lighting=A.Service.Lighting;
  1583. if(A.Stuffs.LightingBaseProperties==nil)then
  1584. A.Stuffs.LightingBaseProperties={
  1585. ShadowColor=A.Old.Color3.new(.7,.7,.72);
  1586. FogColor=A.Old.Color3.new(.75,.75,.75);
  1587. ColorShift_Bottom=A.Old.Color3.Black;
  1588. GeographicLatitude=41.733299255371;
  1589. ColorShift_Top=A.Old.Color3.Black;
  1590. Ambient=A.Old.Color3.Grey;
  1591. Brightness=1;
  1592. FogEnd=1e6;
  1593. FogStart=0;
  1594. };
  1595. end;
  1596. for i,v in next,A.Stuffs.LightingBaseProperties do
  1597. Lighting[i]=v;i,v=nil;
  1598. end;
  1599. pcall(Lighting.ClearAllChildren,Lighting);
  1600. end;
  1601. A.Functions.ExplorerGui=function()
  1602. local Win=A.Functions.GiveWindow('Explorer',440,400);
  1603. if(Win==nil)then
  1604. return nil;
  1605. end;
  1606.  
  1607. Win.Frames={};
  1608.  
  1609. Win.CountThis=A.Functions.Value('Object',Game,function(Value)
  1610. if(Win.Frames.Explorer.SetPos.Value==0)then
  1611. Win.Frames.Explorer.Count(0,Value);
  1612. else
  1613. Win.Frames.Explorer.SetPos.Value=0;
  1614. end;
  1615. end);
  1616. Win.WatchingObject=A.Functions.Value('Object',Game,function(Value)
  1617. if(Win.Frames.Properties.SetPos.Value==0)then
  1618. Win.Frames.Properties.Count(0,Value);
  1619. else
  1620. Win.Frames.Properties.SetPos.Value=0;
  1621. end;
  1622. end);
  1623.  
  1624. local Cnr={};
  1625.  
  1626. Win.History={Game;};
  1627. Win.HistoryPos=1;
  1628.  
  1629. for i=0,1 do
  1630. local Plus=i==0 and -1 or 1;
  1631. local Num;
  1632. Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  1633. BackgroundColor3=A.Old.Color3.Blue;
  1634. Position=A.Old.UDim2.new(0,20*i);
  1635. TextColor3=A.Old.Color3.Black;
  1636. Text=i==0 and'<'or'>';
  1637. Parent=Win.Menu;
  1638. FontSize=3;
  1639. },function()
  1640. Num=Win.HistoryPos+Plus;
  1641. if(Num<1 or Win.History[Num]==nil)then return nil;end;
  1642. Win.HistoryPos=Num;
  1643. Win.CountThis.Value=Win.History[Num];
  1644. end
  1645. );
  1646. end;
  1647. Win.HomeButton=A.Functions.Button('TextButton',{
  1648. BackgroundColor3=A.Old.Color3.Green;
  1649. Position=A.Old.UDim2.new(0,40);
  1650. TextColor3=A.Old.Color3.Black;
  1651. Parent=Win.Menu;
  1652. Text='H';
  1653. },function()
  1654. Win.CountThis.Value=Game;
  1655. Win.HistoryPos=1;
  1656. end
  1657. );
  1658. Win.RefreshButton=A.Functions.Button('TextButton',{
  1659. BackgroundColor3=A.Old.Color3.Grey;
  1660. Position=A.Old.UDim2.new(0,60);
  1661. TextColor3=A.Old.Color3.Black;
  1662. Parent=Win.Menu;
  1663. Text='R';
  1664. },function()
  1665. Win.Frames.Explorer.Count(0,Win.CountThis.Value);
  1666. end
  1667. );
  1668. Win.RemoveButton=A.Functions.Button('TextButton',{
  1669. BackgroundColor3=A.Old.Color3.Grey;
  1670. Position=A.Old.UDim2.new(0,80);
  1671. TextColor3=A.Old.Color3.Black;
  1672. Parent=Win.Menu;
  1673. Text='K';
  1674. },function()
  1675. for i,v in next,Win.Frames.Explorer.Selected do
  1676. if(#v~=0)then
  1677. for i,v in next,v do
  1678. A.Functions.Remove(v);
  1679. end;
  1680. end;
  1681. end;
  1682. end
  1683. );
  1684.  
  1685. for i=0,1 do
  1686. local Name=i==0 and'Explorer'or'Properties';
  1687. local this={};
  1688. this.Cells={};
  1689.  
  1690. this.SetPos=A.Functions.Value('Number',0,function(Value)
  1691. this.PosChanged(Value);
  1692. end);
  1693.  
  1694. this.Frame=A.Functions.Lock('Frame',{
  1695. Size=A.Old.UDim2.new(.5,-20,1);
  1696. Position=A.Old.UDim2.new(i/2);
  1697. BackgroundTransparency=1;
  1698. Parent=Win.Frame;
  1699. }
  1700. );
  1701. this.ScrollFrame=A.Functions.Lock('Frame',{
  1702. BackgroundColor3=A.Old.Color3.White;
  1703. Size=A.Old.UDim2.new(0,20,1);
  1704. Position=A.Old.UDim2.new(1);
  1705. BackgroundTransparency=.5;
  1706. Parent=this.Frame;
  1707. }
  1708. );
  1709. Cnr[#Cnr+1]=this.ScrollFrame;
  1710.  
  1711. for i=0,1 do
  1712. local Plus=i==0 and-20 or 20;
  1713. local Num;
  1714. Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  1715. Position=A.Old.UDim2.new(0,0,i,i==1 and-20);
  1716. BackgroundColor3=A.Old.Color3.Grey;
  1717. Size=A.Old.UDim2.ButtonSize;
  1718. Text=i==0 and'/\\'or'\\/';
  1719. Parent=this.ScrollFrame;
  1720. AutoButtonColor=true;
  1721. FontSize=3;
  1722. },function()
  1723. Num=this.SetPos.Value+Plus;
  1724. if(Num<0)then
  1725. Num=0;
  1726. end;
  1727. if(Num>=this.Max)then
  1728. Num=this.Max-(this.Max%20);
  1729. end;
  1730. this.SetPos.Value=Num;
  1731. end
  1732. );
  1733. end;
  1734.  
  1735.  
  1736. if(i==0)then--Explorer
  1737.  
  1738. this.CountThis=Win.CountThis;
  1739.  
  1740. this.Selected={};
  1741. this.FreeBoxes={};
  1742.  
  1743. this.Count=function(From,Object)
  1744. local Parts=Object:children();
  1745. if(#Parts==0)then return nil;end;
  1746. this.Max=#Parts;
  1747.  
  1748.  
  1749. local Asd;
  1750. local i=1;
  1751. local Object2;
  1752. local NotGood=0;
  1753.  
  1754. while(i<21)do
  1755. Asd=From+i+NotGood;
  1756. Object2=Parts[Asd];
  1757. if(Object2==nil or pcall(function()return Object2:IsA'';end)==true)then
  1758. this.Cells[i].SetObject.Value=Object2;
  1759. i=i+1;
  1760. else
  1761. NotGood=NotGood+1;
  1762. end;
  1763. end;
  1764.  
  1765. end;
  1766. this.PosChanged=function(Value)
  1767. this.Count(Value,this.CountThis.Value);
  1768. end;
  1769.  
  1770. for i=1,20 do
  1771. local Cell={};this.Cells[#this.Cells+1]=Cell;
  1772.  
  1773. Cell.GetPos=function()return this.SetPos.Value+i;end;
  1774.  
  1775. Cell.SetText=A.Functions.Value('String','N/A',function(Value)
  1776. Cell.Text.Text=Value;
  1777. end);
  1778. Cell.SetObject=A.Functions.Value('Object',nil,function(Value)
  1779.  
  1780. if(Value~=nil)then
  1781. Cell.SetSelect.Value=Value:FindFirstChild'Ohgal_Selection'~=nil;
  1782. Cell.SetText.Value=Value.Name..' ('..Value.className..')';
  1783. Cell.Number.Text=Cell.GetPos();
  1784. end;
  1785.  
  1786. Cell.Frame.Visible=Value~=nil or false;
  1787.  
  1788. end);
  1789. Cell.SetSelect=A.Functions.Value('Bool',false,function(Value)
  1790. Cell.Selector.BackgroundColor3=Value==true and A.Old.Color3.Green or A.Old.Color3.Red;
  1791. local Object=Cell.SetObject.Value;
  1792. if(Value==false)then
  1793. local Selector=Object:FindFirstChild'Ohgal_Selection';
  1794. if(Selector~=nil)then
  1795. Selector.Parent=nil;
  1796. this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  1797. end;
  1798. else
  1799. local ThisAdded;
  1800. local Selector=Object:FindFirstChild'Ohgal_Selection'or this.FreeBoxes[1]or A.Old.Instance.NewObject'BindableEvent';
  1801. if(Selector==this.FreeBoxes[1])then
  1802. table.remove(this.FreeBoxes,1);
  1803. end;
  1804.  
  1805. Selector.Name='Ohgal_Selection';
  1806. Selector.archivable=false;
  1807. Selector.Parent=Object;
  1808.  
  1809.  
  1810. local Box;
  1811. if(Object:IsA'Model'or Object:IsA'Part')then
  1812. Box=A.Old.Instance.NewObject('SelectionBox',this.Frame);
  1813. Box.Adornee=Object;
  1814. end;
  1815.  
  1816. if(this.Selected[Object.className]==nil)then
  1817. this.Selected[Object.className]={};
  1818. else
  1819. for i,v in next,this.Selected[Object.className]do
  1820. if(v==Object)then
  1821. ThisAdded=true;
  1822. table.remove(this.Selected[Object.className],i);break;
  1823. end;
  1824. end;
  1825. end;
  1826. this.Selected[Object.className][#this.Selected[Object.className]+1]=Object;
  1827.  
  1828. if(ThisAdded==nil)then
  1829. local Kill=function()
  1830. Selector.Parent=nil;
  1831. this.FreeBoxes[#this.FreeBoxes+1]=Selector;
  1832. if(Box~=nil)then Box.Adornee=nil;Box.Parent=nil;end;
  1833. for i,v in next,this.Selected[Object.className]do
  1834. if(v==Object)then
  1835. table.remove(this.Selected[Object.className],i);break;
  1836. end;
  1837. end;
  1838. end;
  1839. A.Functions.Thread(function()
  1840. while(Selector.Parent~=nil)do Selector.Changed:wait();end;
  1841. Kill();
  1842. end);
  1843. A.Functions.Thread(function()
  1844. while(Object.Parent~=nil)do Object.Changed:wait();end;
  1845. Kill();
  1846. end);
  1847. end;
  1848. end;
  1849. end);
  1850.  
  1851.  
  1852. Cell.Frame=A.Functions.Lock('Frame',{
  1853. Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  1854. Visible=function()return Cell.SetObject.Value~=nil;end;
  1855. Size=A.Old.UDim2.new(1,0,0,18);
  1856. BackgroundTransparency=1;
  1857. Parent=this.Frame;
  1858. }
  1859. );
  1860.  
  1861. Cell.Selector=A.Functions.Button('ImageButton',{
  1862. BackgroundColor3=function()return Cell.SetSelect.Value==true and A.Old.Color3.Green or A.Old.Color3.Red;end;
  1863. Size=A.Old.UDim2.new(0,20,1);
  1864. Position=A.Old.UDim2.Pax;
  1865. Parent=Cell.Frame;
  1866. },function()
  1867. Cell.SetSelect.Value=Cell.SetSelect.Value==false;
  1868. end
  1869. );
  1870. Cnr[#Cnr+1]=Cell.Selector;
  1871.  
  1872. Cell.Number=A.Functions.Lock('TextLabel',{
  1873. BackgroundColor3=A.Old.Color3.Grey;
  1874. Position=A.Old.UDim2.new(0,20);
  1875. Size=A.Old.UDim2.new(0,20,1);
  1876. Parent=Cell.Frame;
  1877. Text=Cell.GetPos;
  1878. FontSize=1;
  1879. }
  1880. );
  1881. Cnr[#Cnr+1]=Cell.Number;
  1882.  
  1883. local TimeOut=0;
  1884. Cell.Text=A.Functions.Button('TextButton',{
  1885. Text=function()return Cell.SetText.Value;end;
  1886. BackgroundColor3=A.Old.Color3.White;
  1887. Position=A.Old.UDim2.new(0,40);
  1888. TextColor3=A.Old.Color3.Black;
  1889. Size=A.Old.UDim2.new(1,-40,1);
  1890. AutoButtonColor=true;
  1891. Parent=Cell.Frame;
  1892. TextXAlignment=0;
  1893. FontSize=1;
  1894. },function()
  1895. if(TimeOut==1)then
  1896. Win.HistoryPos=Win.HistoryPos+1;
  1897. Win.History[Win.HistoryPos]=Cell.SetObject.Value;
  1898. Win.History[Win.HistoryPos+1]=nil;
  1899. this.CountThis.Value=Cell.SetObject.Value;
  1900. else
  1901. TimeOut=1;
  1902.  
  1903. Win.WatchingObject.Value=Cell.SetObject.Value;
  1904.  
  1905. Delay(.2,function()
  1906. TimeOut=0;
  1907. end);
  1908. end;
  1909. end
  1910. );
  1911. Cnr[#Cnr+1]=Cell.Text;
  1912.  
  1913. end;
  1914.  
  1915. else--Properties
  1916.  
  1917. this.Count=function(From,Object)
  1918.  
  1919. if(this._ThisBox~=nil)then
  1920. this._ThisBox.Parent=nil;
  1921. end;
  1922.  
  1923. local Table=A.Functions.GetProperties(Object,true);
  1924. this.Max=#Table;
  1925.  
  1926. if(From<=4)then
  1927. this.Cells[1].SetProperty.Value='Name';
  1928. this.Cells[1].Fix();
  1929.  
  1930. this.Cells[2].SetProperty.Value='Parent';
  1931. this.Cells[2].Fix();
  1932.  
  1933. this.Cells[3].SetProperty.Value='className';
  1934. this.Cells[3].Fix();
  1935.  
  1936. this.Cells[4].SetProperty.Value='archivable';
  1937. this.Cells[4].Fix();
  1938.  
  1939. for i=5,20 do
  1940. this.Cells[i].SetProperty.Value=Table[(i-4)+From]or'';
  1941. this.Cells[i].Fix();
  1942. end;
  1943. else
  1944. for i=1,20 do
  1945. this.Cells[i].SetProperty.Value=Table[i+From]or'';
  1946. this.Cells[i].Fix();
  1947. end;
  1948. end;
  1949. end;
  1950. this.PosChanged=function(Value)
  1951. this.Count(Value,Win.WatchingObject.Value);
  1952. end;
  1953.  
  1954. this.TextBox=function(ALALOLUBU)--ROFL
  1955. if(pcall(function()this._ThisBox.Parent=ALALOLUBU;this._ThisBox.Text=ALALOLUBU.Text;end)==false)then
  1956. this._ThisBox=A.Functions.Peace('TextBox',{
  1957. BackgroundColor3=A.Old.Color3.White;
  1958. TextColor3=A.Old.Color3.Black;
  1959. Size=A.Old.UDim2.Full;
  1960. Text=ALALOLUBU.Text;
  1961. BorderSizePixel=0;
  1962. Parent=ALALOLUBU;
  1963. TextXAlignment=0;
  1964. FontSize=1;
  1965. }
  1966. );
  1967. end;
  1968. Delay(0,function()pcall(function()this._ThisBox:CaptureFocus();end);end);
  1969. this._ThisBox.FocusLost:wait();
  1970. this._ThisBox.Parent=nil;
  1971. A.Functions.Thread(function()
  1972. Win.WatchingObject.Value[this.SetProperty]=loadstring('return '..this._ThisBox.Text)();
  1973. end);
  1974. end;
  1975.  
  1976. for i=1,20 do
  1977. local Cell={};this.Cells[#this.Cells+1]=Cell;
  1978.  
  1979. Cell.SetProperty=A.Functions.Value('String','',function(Value)
  1980. Cell.Frame.Visible=Value~='';
  1981. end);
  1982.  
  1983. Cell.Fix=function()
  1984. if(Cell.SetProperty.Value~='')then
  1985. Cell.Property.Text=Cell.SetProperty.Value..' ';
  1986. Cell.Property.Size=A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1);
  1987.  
  1988. Cell.ValueButton.Position=A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);
  1989. Cell.ValueButton.Size=A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);
  1990. Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  1991. end;
  1992. end;
  1993.  
  1994.  
  1995. Cell.Frame=A.Functions.Lock('Frame',{
  1996. Position=A.Old.UDim2.new(0,0,0,i~=1 and 20*(i-1)+1 or 1);
  1997. Visible=function()return Cell.SetProperty.Value~='';end;
  1998. Size=A.Old.UDim2.new(1,0,0,18);
  1999. BackgroundTransparency=1;
  2000. Parent=this.Frame;
  2001. }
  2002. );
  2003.  
  2004. Cell.Property=A.Functions.Lock('TextLabel',{
  2005. Size=function()return Cell.Property~=nil and A.Old.UDim2.new(0,Cell.Property.TextBounds.X,1)or A.Old.UDim2.Pax;end;
  2006. Text=function()return Cell.SetProperty.Value..' ';end;
  2007. BackgroundColor3=A.Old.Color3.DarkRed;
  2008. TextWrapped=false;
  2009. Parent=Cell.Frame;
  2010. TextWrap=false;
  2011. FontSize=1;
  2012. }
  2013. );
  2014. Cnr[#Cnr+1]=Cell.Property;
  2015.  
  2016. Cell.ValueButton=A.Functions.Button('TextButton',{
  2017. Text=function()return(Cell.SetProperty.Value~=''and Win.WatchingObject.Value~=nil)and tostring(Win.WatchingObject.Value[Cell.SetProperty.Value])or'';end;
  2018. Position=function()return A.Old.UDim2.new(0,Cell.Property.Size.X.Offset);end;
  2019. Size=function()return A.Old.UDim2.new(1,-Cell.Property.Size.X.Offset,1);end;
  2020. Parent=Cell.Frame;
  2021. TextXAlignment=0;
  2022. FontSize=1;
  2023. },function()
  2024. this.SetProperty=Cell.SetProperty.Value;
  2025. this.TextBox(Cell.ValueButton);Wait();
  2026. Cell.ValueButton.Text=tostring(Win.WatchingObject.Value[Cell.SetProperty.Value]);
  2027. end
  2028. );
  2029. Cnr[#Cnr+1]=Cell.ValueButton;
  2030.  
  2031. end;
  2032.  
  2033. end;--Properties end;
  2034.  
  2035. this.Count(0,Game);
  2036.  
  2037.  
  2038. Win.Frames[Name]=this;
  2039. end;
  2040.  
  2041. A.Functions.TransparencyContact(Cnr);
  2042.  
  2043. end;
  2044. A.Functions.AddKey=function(Key,Function)
  2045. if(A.Stuffs.Security==true)then
  2046. if(A.KeyCommands[Key]==nil)then A.KeyCommands[Key]={};end;
  2047. A.KeyCommands[#A.KeyCommands+1]=Function;
  2048. A.Service.GuiService.AddKey(Key);
  2049. Key,Function=nil;
  2050. end;
  2051. end;
  2052. A.Functions.DoKeyCommand=function(Key)
  2053. if(A.KeyCommands[Key]~=nil)then
  2054. for Int=1,#A.KeyCommands[Key]do
  2055. A.KeyCommands[Key][Int]();
  2056. Int=nil;
  2057. end;
  2058. end;Key=nil;
  2059. end;
  2060. A.Functions.Heal=function(Corpse)--From first Local Admin :3
  2061. if(Corpse)then
  2062. local Humanoid=A.Functions.FindObject(Corpse,'className','Humanoid');
  2063. if(Humanoid==nil)then
  2064. return nil;
  2065. else
  2066. if(Humanoid.Health<=0)then
  2067. return nil;
  2068. end;
  2069. Humanoid.Health=Humanoid.MaxHealth
  2070. end;
  2071. for i,v in next,A.Data.CharacterLimbs do
  2072. if(Corpse:FindFirstChild(i)==nil)then
  2073. local Limb=A.Functions.Peace('Part',{
  2074. CanCollide=false;
  2075. BottomSurface=0;
  2076. Parent=Corpse;
  2077. TopSurface=0;
  2078. formFactor=0;
  2079. Size=v.Size;
  2080. Name=i;
  2081. });
  2082. if(v.C0 and v.C1)then
  2083. local Weld=A.Old.Instance.NewObject('Motor6D',Corpse:FindFirstChild'Torso');
  2084. if(Weld.Parent)then
  2085. Limb.Position=Weld.Parent.Position;
  2086. Weld.Name=v.Name;
  2087. Weld.Part0=Weld.Parent;
  2088. Weld.Part1=Limb;
  2089. Weld.C0=v.C0;
  2090. Weld.C1=v.C1;
  2091. Weld.MaxVelocity=.1;
  2092. end;
  2093. Weld=nil;
  2094. end;
  2095. Limb,i,v=nil;
  2096. end;
  2097. i,v=nil;
  2098. end;
  2099. local Skin=Corpse:FindFirstChild'Body Colors';
  2100. if(Skin~=nil)then
  2101. Skin.Parent=nil;
  2102. Skin.Parent=Corpse;
  2103. end;
  2104. local Animate=Corpse:FindFirstChild'Animate';
  2105. if(Animate~=nil)then
  2106. Animate.Parent=nil;
  2107. Animate.Parent=Corpse;
  2108. end;
  2109. end;
  2110. end;
  2111. A.Functions.CreateWeld=function(Part0,Part1,C0,C1)
  2112. local Weld=A.Old.Instance.NewObject('Motor',Part0);
  2113. Weld.Part0=Part0;
  2114. Weld.Part1=Part1;
  2115. if(C0~=nil)then
  2116. Weld.C0=C0;
  2117. end;
  2118. if(C1~=nil)then
  2119. Weld.C1=C1;
  2120. end;
  2121. return Weld;
  2122. end;
  2123. A.Functions.MemeGui=function()
  2124. local Win=A.Functions.GiveWindow('Memes',300,300);
  2125. if(Win==nil)then
  2126. return nil;
  2127. end;
  2128.  
  2129. Win.Title.Position=A.Old.UDim2.new(.5,-150);
  2130.  
  2131. Win.SetPos=A.Functions.Value('Number',0,function(Value)
  2132. Win.Status.Text=Value;
  2133. Win.Image.Image=Value;
  2134. end);
  2135.  
  2136.  
  2137. Win.Memes={};local Num=0;
  2138. for i,v in next,A.Images.Meme do Num=Num+1;--[[Num+=1; don't work :'( ]]
  2139. Win.Memes[Num]={Name=i;ID=v;};
  2140. end;Win.NumMemes=#Win.Memes;
  2141.  
  2142. Win.Status=A.Functions.Lock('TextLabel',{
  2143. Text=function()return 1+Win.SetPos.Value..' of '..Win.NumMemes..': '..Win.Memes[Win.SetPos.Value+1].Name..' ('..Win.Memes[Win.SetPos.Value+1].ID..')';end;
  2144. Position=A.Old.UDim2.new(0,20);
  2145. Size=A.Old.UDim2.new(1,-40,1);
  2146. TextColor3=A.Old.Color3.White;
  2147. BackgroundTransparency=1;
  2148. Parent=Win.Menu;
  2149. FontSize=2;
  2150. }
  2151. );
  2152. Win.Image=A.Functions.Lock('ImageLabel',{
  2153. Image=function()return A.Data.BaseUrl..Win.Memes[Win.SetPos.Value+1].ID;end;
  2154. Position=A.Old.UDim2.Pax;
  2155. Size=A.Old.UDim2.Full;
  2156. Parent=Win.Frame;
  2157. }
  2158. );
  2159.  
  2160. local Cnr={};
  2161. local Num;
  2162. for i=0,1 do
  2163. local Plus=i==0 and -1 or 1;
  2164. Cnr[#Cnr+1]=A.Functions.Button('TextButton',{
  2165. Position=A.Old.UDim2.new(i,i==1 and -20);
  2166. BackgroundColor3=A.Old.Color3.Grey;
  2167. TextColor3=A.Old.Color3.Black;
  2168. Size=A.Old.UDim2.new(0,20,1);
  2169. Text=i==0 and'<'or'>';
  2170. Parent=Win.Menu;
  2171. FontSize=2;
  2172. },function()
  2173. Num=Win.SetPos.Value+Plus;
  2174. if(Num>=Win.NumMemes)then
  2175. Num=0;
  2176. end;
  2177. if(Num<0)then
  2178. Num=Win.NumMemes-1;
  2179. end;
  2180. Win.SetPos.Value=Num;
  2181. end
  2182. );
  2183. A.Functions.Button('TextButton',{
  2184. TextColor3=i==0 and A.Old.Color3.White or A.Old.Color3.DarkRed;
  2185. Position=A.Old.UDim2.new(i/2,0,1,-20);
  2186. Size=A.Old.UDim2.new(.5,0,0,20);
  2187. Text=i==0 and'Wear'or'Drop';
  2188. BackgroundTransparency=1;
  2189. TextStrokeTransparency=0;
  2190. Parent=Win.Frame;
  2191. FontSize=3;
  2192. },i==0 and function()
  2193. A.Functions.MakeMeme(Win.Memes[Win.SetPos.Value+1].ID,A.User.C.Character);
  2194. end or function()
  2195. A.Functions.MakeMeme('reset!',A.User.C.Character);
  2196. end
  2197. );
  2198. end;
  2199.  
  2200. A.Functions.TransparencyContact(Cnr);
  2201.  
  2202. end;
  2203. A.Functions.SettingWait=function(Name,Bool)
  2204. if(A.Settings[Name].Value~=Bool)then
  2205. A.Settings[Name].Changed:wait();
  2206. end;
  2207. return A.Settings[Name];
  2208. end;
  2209. A.Functions.FindWithOutside=function(Start,End)
  2210. local Type=type(End);
  2211. if(Type=='userdata')then
  2212. local Stepped=0;
  2213. if(Start.Parent~=End)then
  2214. while(Start.Parent~=End and Stepped<50)do
  2215. Start=Start.Parent;
  2216. Stepped=Stepped+1;
  2217. end;
  2218. end;
  2219. elseif(Type=='string')then
  2220. local Stepped=0;
  2221. if(Start.Parent.className~=End)then
  2222. while(Start.Parent.className~=End and Stepped<50)do
  2223. Start=Start.Parent;
  2224. Stepped=Stepped+1;
  2225. end;
  2226. end;
  2227. end;
  2228.  
  2229. return Start;
  2230. end;
  2231. A.Functions.ResizeChar=function(Char,Plus_Size)
  2232. local Torso=Char.Torso;
  2233.  
  2234. Torso.Anchored=true;
  2235. Torso.BottomSurface=0;
  2236. Torso.TopSurface=0;
  2237.  
  2238. A.Functions.Remove(Char:FindFirstChild'Shirt',true);
  2239. A.Functions.Remove(Char:FindFirstChild'Pants',true);
  2240.  
  2241. local Virus=Char:FindFirstChild'Shirt Graphic';
  2242. if(Virus~=nil)then
  2243. Virus:Destroy();
  2244. end;
  2245.  
  2246. local Welds={};
  2247. local Change;Change=function(Object)
  2248. for i,Weld in next,Object:children()do
  2249. if(Weld.className=='Weld'or Weld.className=='Motor'or Weld.className=='Motor6D')then
  2250. local Part=Weld.Part1;
  2251.  
  2252. Part.Anchored=true;
  2253.  
  2254. Weld.Part1=nil;
  2255.  
  2256. local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C0:components();
  2257. Weld.C0=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  2258. local r01,r02,r03,r04,r05,r06,r07,r08,r09,r10,r11,r12=Weld.C1:components();
  2259. Weld.C1=A.Old.CFrame.new(r01*Plus_Size,r02*Plus_Size,r03*Plus_Size,r04,r05,r06,r07,r08,r09,r10,r11,r12);
  2260.  
  2261. if(Part.Name~='Head')then
  2262. Part.formFactor=3;
  2263. Part.Size=Part.Size*Plus_Size;
  2264. else
  2265. for i,v in next,Part:children()do
  2266. if(v.className=='Weld')then
  2267. v.Part0=nil;
  2268. v.Part1.Anchored=true;
  2269. end;
  2270. end;
  2271. Part.formFactor=3;
  2272. Part.Size=Part.Size*Plus_Size;
  2273. for i,v in next,Part:children()do
  2274. if(v.className=='Weld')then
  2275. v.Part0=Part;
  2276. v.Part1.Anchored=false;
  2277. end;
  2278. end;
  2279. end;
  2280.  
  2281. if(Weld.Parent==Torso)then
  2282. Part.BottomSurface=0;
  2283. Part.TopSurface=0;
  2284. end;
  2285.  
  2286. Part.Anchored=false;
  2287.  
  2288. Weld.Part1=Part;
  2289.  
  2290. if(Weld.Part0==Torso)then
  2291. Welds[#Welds+1]=Weld;
  2292. Part.Anchored=true;
  2293. Weld.Part0=nil;
  2294. end;
  2295. elseif(Weld.className=='CharacterMesh')then
  2296. local Body_Part=tostring(Weld.BodyPart):match'%w+.%w+.(%w+)';
  2297. local Mesh=A.Old.Instance.NewObject('SpecialMesh',
  2298. Body_Part=='Head'and Char:FindFirstChild'Head'or Body_Part=='Torso'and Char:FindFirstChild'Torso'or
  2299. Body_Part=='LeftArm'and Char:FindFirstChild'Left Arm'or Body_Part=='RightArm'and Char:FindFirstChild'Right Arm'or
  2300. Body_Part=='LeftLeg'and Char:FindFirstChild'Left Leg'or Body_Part=='RightLeg'and Char:FindFirstChild'Right Leg'or nil);
  2301. Mesh.MeshId=A.Data.BaseUrl..Weld.MeshId;
  2302. if(Weld.BaseTextureId~=0 or Weld.BaseTextureId~='0')then
  2303. Mesh.TextureId=A.Data.BaseUrl..Weld.BaseTextureId;
  2304. end;
  2305. Mesh.Scale=Mesh.Scale*Plus_Size;
  2306. Weld:Destroy();
  2307. elseif(Weld.className=='SpecialMesh'and Weld.Parent~=Char.Head)then
  2308. Weld.Scale=Weld.Scale*Plus_Size;
  2309. end;
  2310. Change(Weld);
  2311. end;
  2312. end;
  2313.  
  2314. Change(Char);
  2315.  
  2316. Torso.formFactor=3;
  2317. Torso.Size=Torso.Size*Plus_Size;
  2318.  
  2319. for i,v in next,Welds do
  2320. v.Part0=Torso;
  2321. v.Part1.Anchored=false;
  2322. end;
  2323.  
  2324. Torso.Anchored=false;
  2325. --[[
  2326. Wait(1);
  2327.  
  2328. if(Shirts~=nil)then
  2329. Shirts.Parent=Char;
  2330. end;
  2331. if(Pants~=nil)then
  2332. Pants.Parent=Char;
  2333. end;]]
  2334. end;
  2335. --[[Functions end;]]
  2336.  
  2337.  
  2338. --[[Old]]
  2339. local Table;
  2340. for i,Name in next,{
  2341. 'BrickColor';
  2342. 'Instance';
  2343. 'Vector3';
  2344. 'Vector2';
  2345. 'Color3';
  2346. 'CFrame';
  2347. 'UDim2';
  2348. 'UDim';
  2349. 'Ray';
  2350. }do
  2351. Table=loadstring('return '..Name)();
  2352. if(Table)then
  2353. Table.Old_New=Table.Old_New~=nil and Table.Old_New or Table.new;
  2354. Table.new=Table.Old_New;
  2355. A.Old[Name]=A.Functions.CopyTable(Table);
  2356. end;i,Name=nil;
  2357. end;
  2358.  
  2359. A.Old.Instance.NewObject=A.Old.Instance.Old_New;
  2360. A.Old.Instance.new=function(Object,Data)
  2361. local Class=Object;
  2362. Object,Data=A.Functions.GiveData(A.Old.Instance.NewObject(Object,Data));
  2363.  
  2364. if(A.Stuffs.Gui.PartOfGui[Class]==true)then
  2365. Data.Properties.BackgroundColor3=function()return A.Old.Color3.Black;end;
  2366. Data.Properties.BorderSizePixel=function()return 0;end;
  2367. Data.Properties.Visible=function()return true;end;
  2368. end;
  2369. if(A.Stuffs.Gui.Text[Class]==true)then
  2370. Data.Properties.TextColor3=function()return A.Old.Color3.White;end;
  2371. Data.Properties.TextWrapped=function()return true;end;
  2372. Data.Properties.TextWrap=function()return true;end;
  2373. end;
  2374. if(A.Stuffs.Gui.Image[Class]==true)then
  2375. Data.Properties.BackgroundTransparency=function()return 1;end;
  2376. end;
  2377. if(A.Stuffs.Gui.Button[Class]==true)then
  2378. Data.Properties.AutoButtonColor=function()return false;end;
  2379. Data.Properties.Active=function()return true;end;
  2380. end;Class=nil;
  2381.  
  2382. Data.Properties.archivable=function()return false;end;
  2383. Data.Properties.Archivable=function()return false;end;
  2384. Data.Properties.Name=function()return'';end;
  2385.  
  2386. pcall(A.Functions.Peace,Object,Data.Properties);
  2387.  
  2388. return Object,Data;
  2389. end;
  2390.  
  2391. A.Old.Color3.Red=A.Old.Color3.new(1);
  2392. A.Old.Color3.Black=A.Old.Color3.new();
  2393. A.Old.Color3.Green=A.Old.Color3.new(0,1);
  2394. A.Old.Color3.Blue=A.Old.Color3.new(0,0,1);
  2395. A.Old.Color3.DarkRed=A.Old.Color3.new(.8);
  2396. A.Old.Color3.Yellow=A.Old.Color3.new(1,1);
  2397. A.Old.Color3.White=A.Old.Color3.new(1,1,1);
  2398. A.Old.Color3.Grey=A.Old.Color3.new(.5,.5,.5);
  2399. A.Old.Color3.DarkGreen=A.Old.Color3.new(0,.8);
  2400. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  2401. A.Old.Color3.DarkBlue=A.Old.Color3.new(0,0,.8);
  2402. A.Old.Color3.DarkYellow=A.Old.Color3.new(.7,.7);
  2403.  
  2404. A.Old.CFrame.Pax=A.Old.CFrame.new();
  2405. A.Old.CFrame.Char=A.Old.CFrame.new(0,3,0);
  2406.  
  2407. A.Old.Vector3.Pax=A.Old.CFrame.Pax.p;
  2408. A.Old.Vector3.Char=A.Old.CFrame.Char.p;
  2409. A.Old.Vector3.Jump=A.Old.Vector3.new(0,100);
  2410.  
  2411.  
  2412. A.Old.BrickColor.White=A.Old.BrickColor.new'1001';
  2413. A.Old.BrickColor.Black=A.Old.BrickColor.new'1003';
  2414.  
  2415. A.Old.UDim2.Pax=A.Old.UDim2.new();
  2416. A.Old.UDim2.Full=A.Old.UDim2.new(1,0,1);
  2417. A.Old.UDim2.ButtonSize=UDim2.new(0,20,0,20);
  2418. A.Old.UDim2.ScreenPos=A.Old.UDim2.new(0,0,0,-1);
  2419. A.Old.UDim2.ScreenSize=A.Old.UDim2.new(1,0,1,1);
  2420. --[[Old end;]]
  2421.  
  2422.  
  2423. --[[Data]]
  2424. A.Data.Step=[=[;]=];
  2425. A.Data.Start=[=[']=];
  2426. A.Data.Wrap=[=[ & ]=];
  2427. A.Data.Repeat=[=[##]=];
  2428. A.Data.RbxUrl='rbxassetid://';
  2429. A.Data.BaseUrl='http://www.roblox.com/Asset/?id=';
  2430. A.Data.CharacterLimbs={
  2431. ['Torso']={
  2432. Size=A.Old.Vector3.new(2,2,1);
  2433. };
  2434. ['Head']={
  2435. C1=A.Old.CFrame.new(0,-0.5,0,-1,-0,-0,0,0,1,0,1,0);
  2436. C0=A.Old.CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0);
  2437. Size=A.Old.Vector3.new(2,1,1);
  2438. Name='Neck';
  2439. };
  2440. ['Right Arm']={
  2441. C1=A.Old.CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  2442. C0=A.Old.CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,-0,-0);
  2443. Size=A.Old.Vector3.new(1,2,1);
  2444. Name='Right Shoulder'
  2445. };
  2446. ['Right Leg']={
  2447. C1=A.Old.CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,-0,-0);
  2448. C0=A.Old.CFrame.new(1,-1,0,0,0,1,0,1,0,-1,-0,-0);
  2449. Size=A.Old.Vector3.new(1,2,1);
  2450. Name='Right Hip'
  2451. };
  2452. ['Left Arm']={
  2453. C1=A.Old.CFrame.new(0.5,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  2454. C0=A.Old.CFrame.new(-1,0.5,0,-0,-0,-1,0,1,0,1,0,0);
  2455. Size=A.Old.Vector3.new(1,2,1);
  2456. Name='Left Shoulder'
  2457. };
  2458. ['Left Leg']={
  2459. C1=A.Old.CFrame.new(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0);
  2460. C0=A.Old.CFrame.new(-1,-1,0,-0,-0,-1,0,1,0,1,0,0);
  2461. Size=A.Old.Vector3.new(1,2,1);
  2462. Name='Left Hip'
  2463. };
  2464. };
  2465. --[[Data end;]]
  2466.  
  2467.  
  2468. --[[Stuffs]]
  2469. A.Stuffs.Gui={
  2470. PartOfGui={
  2471. ImageButton=true;
  2472. TextButton=true;
  2473. ImageLabel=true;
  2474. TextLabel=true;
  2475. TextBox=true;
  2476. Frame=true;
  2477. };
  2478. Text={
  2479. TextButton=true;
  2480. TextLabel=true;
  2481. TextBox=true;
  2482. };
  2483. Image={
  2484. ImageButton=true;
  2485. ImageLabel=true;
  2486. };
  2487. Button={
  2488. ImageButton=true;
  2489. TextButton=true;
  2490. };
  2491. };
  2492. A.Stuffs.TrueBooleans={
  2493. ['of course']=true;
  2494. ['not false']=true;
  2495. ['why not']=true;
  2496. ['off on']=true;
  2497. ['yahwol']=true;
  2498. ['not 0']=true;
  2499. ['true']=true;
  2500. ['yes']=true;
  2501. ['yep']=true;
  2502. ['yup']=true;
  2503. ['on']=true;
  2504. ['ya']=true;
  2505. ['y']=true;
  2506. ['1']=true;
  2507. };
  2508. A.Stuffs.Security=pcall(function()return Game.RobloxLocked;end);
  2509. local Asd;
  2510. A.Stuffs.AsciiNum={};
  2511. A.Stuffs.AsciiChar={};
  2512. for i=0,255 do
  2513. Asd=string.char(i);
  2514. A.Stuffs.AsciiNum[Asd]=i;
  2515. A.Stuffs.AsciiChar[i]=Asd;i=nil;
  2516. end;Asd=nil;
  2517. A.Stuffs.CharVirus={
  2518. ['Shirt Graphic']='ShirtGraphic';
  2519. ['RobloxTeam']='Script';
  2520. ['Sound']='Script';
  2521. };
  2522. A.Stuffs.GuideCommands={
  2523. ['-r']='<Property>';
  2524. ['-x']='<Position>';
  2525. ['-b']='<Boolean>';
  2526. ['-p']='<Player>';
  2527. ['-v']='<Value>';
  2528. ['-s']='<Size>';
  2529. ['-t']='<Text>';
  2530. ['-i']='<Path>';
  2531. };
  2532. A.Stuffs.NullTable={};
  2533. A.Stuffs.StarterSource=[==[if(Game.PlaceId~=0)then print=function()end;end;local Users=Game:service'Players';local User=Users.LocalPlayer; ]==];
  2534. --[[Stuffs end;]]
  2535.  
  2536.  
  2537. --[[Settings]]
  2538. A.Settings['Security of character']=false;
  2539. A.Settings['Windows transparency']=true;
  2540. A.Settings['Big jumps']=false;
  2541. A.Settings.HealthBar=false;
  2542. A.Settings.Immortal=false;
  2543. --[[Settings end;]]
  2544.  
  2545.  
  2546. --[[Service]]
  2547. for i,v in next,Game:children()do
  2548. pcall(function()
  2549. if(Game:service(v.className)~=nil)then
  2550. A.Service[v.className]=v;
  2551. end;i,v=nil;
  2552. end);
  2553. end;
  2554. --[[Service end;]]
  2555.  
  2556.  
  2557.  
  2558. --[=[Create gui module
  2559. Exemple:
  2560.  
  2561. A.Functions.CreateGuiModule(function()
  2562.  
  2563. end);
  2564.  
  2565. ]=]
  2566. A.Functions.CreateGuiModule(function()
  2567. for i,v in next,{'Hints';'Messages';'Other';'Windows';'First';}do
  2568. A.User.Frames[v]=A.Functions.Lock('Frame',{
  2569. Position=A.Old.UDim2.ScreenPos;
  2570. Size=A.Old.UDim2.ScreenSize;
  2571. BackgroundTransparency=1;
  2572. Parent=A.User.Screen;
  2573. Name=v;
  2574. }
  2575. );i,v=nil;
  2576. end;
  2577. end);
  2578. A.Functions.CreateGuiModule(function()
  2579. A.Stuffs.MenuButton=A.Functions.Lock('Sound',{
  2580. SoundId='rbxasset://sounds/switch.wav';
  2581. Parent=A.User.Screen;
  2582. Volume=.5;
  2583. Pitch=2;
  2584. }
  2585. );
  2586. A.Stuffs.Button=A.Functions.Lock('Sound',{
  2587. SoundId='rbxasset://sounds/SWITCH3.wav';
  2588. Parent=A.User.Screen;
  2589. Volume=.2;
  2590. Pitch=2;
  2591. }
  2592. );
  2593. end);
  2594. A.Functions.CreateGuiModule(function()
  2595. local Frame;
  2596. local Pos1,Pos2=A.Old.UDim2.new(0,-110,1,-145),A.Old.UDim2.new(0,0,1,-145);
  2597.  
  2598. local MouseEnter=A.Functions.Value('Bool',false,function(Value)
  2599. A.User.MenuButton.Position=Value==true and Pos2 or Pos1;
  2600. A.User.MenuButton.Transparency=Value==true and 0 or .5;
  2601. end);
  2602. local Visible=A.Functions.Value('Bool',false,function(Value)A.User.MenuButton.Visible,MouseEnter.Value=Value==false;Frame.Visible=Value;end);
  2603.  
  2604. local BF={};
  2605. local AddButtonFunction=function(Title,Function,Security)
  2606. if(Security==true and A.Stuffs.Security==false)then
  2607. return nil;
  2608. end;
  2609. BF[#BF+1]={
  2610. Function=Function;
  2611. Title=Title;
  2612. };
  2613. end;
  2614.  
  2615. AddButtonFunction('Back to the game',function()Visible.Value=false;end);
  2616. AddButtonFunction('Fix Backpack & Player list gui',function()loadstring(Game:GetObjects'rbxassetid://83468770'[1].Value)();end,true);
  2617. AddButtonFunction('Show Memes',function()A.Functions.MemeGui();end);
  2618. AddButtonFunction('Spawning',function()A.User.Char.Torso.CFrame=A.Functions.GetSpawnLocationCFrame();A.User.Char.Torso.Velocity=A.Old.Vector3.Pax;end);
  2619. AddButtonFunction('Explorer',function()A.Functions.ExplorerGui();end);
  2620. AddButtonFunction('Settings',function()A.Functions.SettingsGui();end);
  2621. AddButtonFunction('Meters',function()A.Functions.Meter();end);
  2622. AddButtonFunction('Reset',function()A.Functions.ResetChar(A.User.C);end);
  2623. AddButtonFunction('Nuke',function()A.Functions.NukeChar(A.User.Char);end);
  2624. AddButtonFunction('Help',function()A.Functions.HelpGui();end);
  2625. AddButtonFunction('Heal',function()A.Functions.Heal(A.User.C.Character);end);
  2626. AddButtonFunction('Cmd',function()A.Functions.CommandBar();end);
  2627.  
  2628. AddButtonFunction=nil;--[[ lál ]]
  2629.  
  2630.  
  2631. A.User.MenuButton=A.Functions.Lock('TextButton',{
  2632. Transparency=function()return MouseEnter.Value==true and 0 or .5;end;
  2633. Visible=function()return Visible.Value==false;end;
  2634. Position=function()return MouseEnter.Value==true and Pos2 or Pos1;end;
  2635. TextColor3=A.Old.Color3.DarkYellow;
  2636. Size=A.Old.UDim2.new(0,125,0,20);
  2637. Parent=A.User.Frames.First;
  2638. Text='Menu of Ohgal';
  2639. FontSize=2;
  2640. },{
  2641. MouseEnter=function()
  2642. MouseEnter.Value=true;
  2643. A.User.MenuButton.MouseLeave:wait();
  2644. MouseEnter.Value=false;
  2645. end;
  2646. MouseButton1Up=function()
  2647. Visible.Value=true;
  2648. A.Stuffs.MenuButton:play();
  2649. end;
  2650. }
  2651. );
  2652. coroutine.wrap(function()
  2653. A.User.MenuButton.MouseButton1Down:wait();
  2654. A.User.STARTUPMSG.Parent=nil;
  2655. end)();
  2656. Frame=A.Functions.Lock('Frame',
  2657. {
  2658. Position=A.Old.UDim2.new(.5,-200,.5,-((#BF*20)+5)/2);
  2659. Size=A.Old.UDim2.new(0,400,0,(#BF*20)+10);
  2660. Visible=function()return Visible.Value;end;
  2661. BackgroundColor3=A.Old.Color3.DarkRed;
  2662. Parent=A.User.Frames.First;
  2663. BackgroundTransparency=.5;
  2664. }
  2665. );
  2666. for Int,v in next,BF do
  2667. A.Functions.Button('TextButton',{
  2668. Position=A.Old.UDim2.new(0,5,0,(20*(Int-1))+5);
  2669. TextColor3=A.Old.Color3.DarkYellow;
  2670. Size=A.Old.UDim2.new(1,-10,0,20);
  2671. BackgroundTransparency=.5;
  2672. AutoButtonColor=true;
  2673. Text=v.Title;
  2674. Parent=Frame;
  2675. FontSize=5;
  2676. Font=1;
  2677. },v.Function
  2678. );
  2679. end;
  2680. end);
  2681. A.Functions.CreateGuiModule(function()
  2682. Delay(0,function()
  2683. local Color1=A.Old.Color3.Black;
  2684. local Color2=A.Old.Color3.Red;
  2685. local Color3=A.Old.Color3.Red;
  2686. local Color4=A.Old.Color3.Black;
  2687. local Msg=A.Functions.Peace('TextLabel',{
  2688. Text='Welcome!'..string.rep('\n',2)..'Dresmor Alakazard - Ohgal Local Admin';
  2689. Position=A.Old.UDim2.new(.5,0,.5);
  2690. BackgroundTransparency=.5;
  2691. BackgroundColor3=Color1;
  2692. Parent=A.User.Screen;
  2693. TextColor3=Color2;
  2694. BorderSizePixel=0;
  2695. TextWrapped=true;
  2696. FontSize=3;
  2697. }
  2698. );
  2699. A.User.STARTUPMSG=Msg;
  2700. Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,300,0,70),A.Old.UDim2.new(.5,-150,.5,-35),1,2,1,false);
  2701. Wait(5);
  2702. Msg.BackgroundColor3=A.Old.Color3.Red;
  2703. Msg.TextColor3=A.Old.Color3.Black;
  2704. if(Msg.Parent~=nil)then
  2705. Msg:TweenSizeAndPosition(A.Old.UDim2.new(0,200,0,20),A.Old.UDim2.new(0,25,1,-145),1,1,1,false);
  2706. Msg.Text='<-- There is the MENU';
  2707. coroutine.wrap(function()
  2708. for i=1,3 do
  2709. Msg.BackgroundColor3=Color3;
  2710. Msg.TextColor3=Color4;
  2711. A.Functions.Wait(.3);
  2712. Msg.BackgroundColor3=Color1;
  2713. Msg.TextColor3=Color2;
  2714. A.Functions.Wait(.3);
  2715. end;
  2716. end)();
  2717. Wait(6);
  2718. end;
  2719. A.Functions.Remove(Msg,true);
  2720. end);
  2721. end);
  2722. A.Functions.CreateGuiModule(function()
  2723. A.Functions.SettingWait('HealthBar',true);
  2724. A.User.Gui.HelathBar={};
  2725. local this=A.User.Gui.HelathBar;
  2726.  
  2727. if(A.User.Humanoid.Value==nil)then
  2728. A.User.Humanoid.Changed:wait();
  2729. end;
  2730.  
  2731. this.Fix=function()
  2732. this.Pos=A.Old.UDim2.new(this.SetHealth.Value/this.SetMaxHealth.Value,0,1);
  2733. if(this.HBar~=nil)then
  2734. this.HBar.Size=this.Pos;
  2735. end;
  2736. return this.Pos;
  2737. end;
  2738. this.FixStats=function()
  2739. this.Idk=this.Humanoid.Health/this.Humanoid.MaxHealth;
  2740. this.SetMaxHealth.Value=this.Humanoid.MaxHealth;
  2741. this.SetHealth.Value=this.Humanoid.Health;
  2742. this.SetColor.Value=(this.Idk<=.1)and A.Old.Color3.DarkRed or(this.Idk>.1 and this.Idk<=.5)and
  2743. A.Old.Color3.DarkYellow or(this.Idk>.5 and this.Idk<=1)and A.Old.Color3.Green or A.Old.Color3.Black;
  2744. end;
  2745.  
  2746. this.SetColor=A.Functions.Value('Color3',A.Old.Color3.Green,function(Color3)this.HBar.BackgroundColor3=Color3;Color3=nil;end);
  2747. this.SetVisible=A.Functions.Value('Bool',true,function(Value)this.Frame.Visible=Value;Value=nil;end);
  2748. this.SetMaxHealth=A.Functions.Value('Number',A.User.Humanoid.Value.MaxHealth,this.Fix);
  2749. this.SetHealth=A.Functions.Value('Number',A.User.Humanoid.Value.Health,this.Fix);
  2750.  
  2751. this.Frame=A.Functions.Lock('Frame',{
  2752. Visible=function()return this.SetVisible.Value;end;
  2753. Position=A.Old.UDim2.new(.5,-55,1,-25);
  2754. Size=A.Old.UDim2.new(0,110,0,20);
  2755. Parent=A.User.Frames.Other;
  2756. BackgroundTransparency=.5;
  2757. }
  2758. );
  2759. this.MHBar=A.Functions.Lock('Frame',
  2760. {
  2761. --BackgroundColor3=A.Old.Color3.DarkRed;
  2762. Position=A.Old.UDim2.new(0,5,0,5);
  2763. Size=A.Old.UDim2.new(1,-10,1,-10);
  2764. BackgroundTransparency=1;
  2765. Parent=this.Frame;
  2766. }
  2767. );
  2768. this.HBar=A.Functions.Lock('Frame',
  2769. {
  2770. BackgroundColor3=function()return this.SetColor.Value;end;
  2771. Position=A.Old.UDim2.Pax;
  2772. Parent=this.MHBar;
  2773. }
  2774. );
  2775. this.HBar.Size=this.Fix();
  2776.  
  2777. this.Valid=true;
  2778.  
  2779. coroutine.wrap(function()
  2780. while(A.Functions.Check()and this.Valid==true)do
  2781. this.SetVisible.Value=A.Settings.HealthBar.Value;
  2782. A.Settings.HealthBar.Changed:wait();
  2783. end;
  2784. end)();
  2785. coroutine.wrap(function()
  2786. while(A.Functions.Check()and this.Valid==true)do
  2787. A.Functions.SettingWait('HealthBar',true);
  2788.  
  2789. this.Humanoid=A.User.Humanoid.Value;
  2790. this.FixStats();
  2791.  
  2792. coroutine.wrap(function()
  2793. while(A.Functions.Check()and A.User.Humanoid.Value==this.Humanoid)do
  2794. this.Humanoid.HealthChanged:wait();
  2795. this.FixStats();
  2796. end;
  2797. end)();
  2798.  
  2799. A.User.Humanoid.Changed:wait();
  2800. this.Humanoid.MaxHealth=this.Humanoid.MaxHealth+1;
  2801. end;
  2802. end)();
  2803.  
  2804. end);
  2805. --[[Create gui module end;]]
  2806.  
  2807.  
  2808. --[=[Module create
  2809. Exemple:
  2810. A.Functions.CreateModule('Type',function()
  2811.  
  2812. end);
  2813. ]=]
  2814. A.Functions.CreateModule('Once',A.Functions.Screen);
  2815. A.Functions.CreateModule('Once',function()
  2816.  
  2817. local Value=A.Functions.SettingWait('Immortal',true);
  2818. local Val_;
  2819.  
  2820. while(A.Functions.Check())do
  2821. Val_=Value.Value;
  2822. if(A.User.Humanoid.Value~=nil)then
  2823. A.User.Humanoid.Value.Name=Val_==true and'Immortal'or'Humanoid';
  2824. A.User.Humanoid.Value.MaxHealth=Val_==true and 1e666 or 100;
  2825. A.User.Humanoid.Value.Health=Val_==true and 1e666 or 100;
  2826. end;
  2827. Value.Changed:wait();
  2828. end;
  2829.  
  2830. end);
  2831. A.Functions.CreateModule('Once',function()
  2832. local Num;
  2833. A.Stuffs.SecurityID=A.Stuffs.SecurityID and A.Stuffs.SecurityID+1 or 1;
  2834. local Local_ID=A.Stuffs.SecurityID;
  2835. while(A.Functions.Check()==true and A.Stuffs.SecurityID==Local_ID)do
  2836. A.Functions.Wait();
  2837.  
  2838. A.User.Char=A.User.C.Character;
  2839.  
  2840. if(A.User.Char~=nil and A.User.Char.PrimaryPart~=nil)then
  2841. A.Functions.LoadModule'Char';
  2842. end;
  2843.  
  2844. A.User.C.CharacterAdded:wait();
  2845.  
  2846. Num=#A.User.Connections;
  2847. for i=1,Num do A.User.Connections[i]:disconnect();i=nil;end;
  2848. for i=1,Num do A.User.Connections[i]=nil;i=nil;end;
  2849. end;
  2850. end);
  2851. A.Functions.CreateModule('Char',function()
  2852. UDim['Ohgal - Char Security Version']=UDim['Ohgal - Char Security']~=nil and UDim['Ohgal - Char Security']+1 or 0;
  2853. local CharSecurityVersion=UDim['Ohgal - Char Security'];
  2854. local Torso=A.User.Char.Torso
  2855. while(A.Functions.Check()and CharSecurityVersion==UDim['Ohgal - Char Security'])do
  2856. A.Functions.SettingWait('Security of character',true);
  2857. if(Torso.Position.Y<=-200 and Torso.Velocity.Y~=0)then
  2858. Torso.CFrame=A.Functions.GetSpawnLocationCFrame();
  2859. Torso.RotVelocity=A.Old.Vector3.Pax;
  2860. Torso.Velocity=A.Old.Vector3.Pax;
  2861. end;
  2862. A.Functions.Wait();
  2863. end;
  2864. end);
  2865. A.Functions.CreateModule('Char',function()
  2866. A.User.Humanoid.Value=A.Functions.FindObject(A.User.Char,'className','Humanoid');
  2867.  
  2868. if(A.Settings.Immortal.Value==true)then
  2869. A.User.Humanoid.Value.Name='Immortal';
  2870. A.User.Humanoid.Value.MaxHealth=1e666;
  2871. A.User.Humanoid.Value.Health=1e666;
  2872. end;
  2873.  
  2874. coroutine.wrap(function()
  2875. local Humanoid=A.User.Humanoid.Value;
  2876. while(Humanoid==A.User.Humanoid.Value and A.Functions.Check()==true)do
  2877. A.Functions.SettingWait('Big jumps',true);
  2878. Humanoid.Jumping:wait();
  2879. if(A.Settings['Big jumps'].Value==true)then
  2880. Humanoid.Torso.Velocity=A.Old.Vector3.Jump;
  2881. end;
  2882. end;
  2883. end)();
  2884.  
  2885. for i,v in next,A.User.Char:children()do
  2886. if(A.Stuffs.CharVirus[v.Name]==v.className)then
  2887. A.Functions.Remove(v,true);
  2888. end;i,v=nil;
  2889. end;
  2890. A.Functions.Connect(A.User.Char,'ChildAdded',function(v)
  2891. if(A.Stuffs.CharVirus[v.Name]==v.className)then
  2892. A.Functions.Remove(v,true);
  2893. end;v=nil;
  2894. end,A.User);
  2895. if(A.Stuffs.CharVirus.Sound==nil)then return nil;end;
  2896. for i,v in next,A.User.Char.PrimaryPart:children()do
  2897. if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  2898. A.Functions.Remove(v,true);
  2899. end;i,v=nil;
  2900. end;
  2901. A.Functions.Connect(A.User.Char.PrimaryPart,'ChildAdded',function(v)
  2902. if(v.Name=='Sound'and v.className=='Sound'and v.archivable==false)then
  2903. A.Functions.Remove(v,true);
  2904. end;v=nil;
  2905. end,A.User);
  2906. end);
  2907. A.Functions.CreateModule('PlayerGui',A.Functions.GuisParent);
  2908. A.Functions.CreateModule('PlayerGui',function()
  2909. local Old=A.User.PlayerGui;
  2910. coroutine.wrap(function()
  2911. local Virus;
  2912. while(A~=nil and A.Functions.Check()and Old==A.User.PlayerGui)do
  2913. if(Virus==nil)then
  2914. Virus=Old:FindFirstChild'HealthGUI';
  2915. else
  2916. Virus=Virus.Name=='HealthGUI'and Virus or nil;
  2917. end;
  2918. if(Virus~=nil)then
  2919. A.Functions.VisibleOfHealthGUI(A.Settings.HealthBar.Value==false);
  2920. Virus=Virus:FindFirstChild'hurtOverlay';
  2921. if(Virus)then
  2922. A.Functions.Remove(Virus,true);
  2923. end;
  2924. end;
  2925. Virus=Old.ChildAdded:wait();Wait();
  2926. end;
  2927. end)();
  2928. while(Old.Parent~=nil)do Old.Changed:wait();end;
  2929. A.Old.Instance.NewObject('BoolValue',Old);
  2930. end);
  2931.  
  2932. --[[Module create end;]]
  2933.  
  2934.  
  2935.  
  2936. --[=[Call create
  2937. Exemple:
  2938.  
  2939. A.Functions.CreateCall([[Description]],{},function(Self)
  2940.  
  2941. end);
  2942.  
  2943. ]=]
  2944. A.Functions.CreateCall([[For you]],{'me!';'myself!';'satan!';},function(Self)
  2945. return Self==A.User.C;
  2946. end);
  2947. A.Functions.CreateCall([[For they]],{'other!';'noobs!';'idiots!';'notme!';},function(Self)
  2948. return Self~=A.User.C;
  2949. end);
  2950. A.Functions.CreateCall([[For players]],{'players!';},function(Self)
  2951. return Self.userId>0;
  2952. end);
  2953. A.Functions.CreateCall([[For guests]],{'guests!';},function(Self)
  2954. return Self.userId<1;
  2955. end);
  2956. A.Functions.CreateCall([[For random player]],{'random!';'rand!';},function(Self)
  2957. return math.random(1,4)==1;
  2958. end);
  2959. A.Functions.CreateCall([[For each]],{'all!';'each!'},function(Self)
  2960. return true;
  2961. end);
  2962. --[[Call create end;]]
  2963.  
  2964.  
  2965.  
  2966. A.Functions.SetupCommands=function()
  2967. --[==[Command create
  2968. Exemple:
  2969.  
  2970. A.Functions.CreateCommand([[Title]],{},[[Description]],[[]],1,function(Text,FullText,Args)
  2971.  
  2972. end);
  2973.  
  2974. ]==]
  2975. A.Functions.CreateCommand([[Repeat Command]],{'loopthis';'loopthat';'repeat';'rt';},[[Repeat commands...First is name of the loop... Second value is number of loop... Third is delay (0 not wait())... The last is the command and command argument(s)... To stop loop say loop name first and last "abort!"]],[[-v-v-v]],3,function(Text,FullText,Args)
  2976. if(A.Stuffs.Loops==nil)then
  2977. A.Stuffs.Loops={};
  2978. end;
  2979.  
  2980. local Value=Args[2]:lower()~='abort!'and true or nil;
  2981.  
  2982. if(Value==true and A.Stuffs.Loops[Args[1]]~=nil)then
  2983. error(Args[1]..' already run...');
  2984. return nil;
  2985. end;
  2986. A.Stuffs.Loops[Args[1]]=Value;
  2987. if(A.Stuffs.Loops[Args[1]]==nil)then
  2988. return nil;
  2989. end;
  2990. local Repeat=tonumber(Args[2]);
  2991. local Delay=tonumber(Args[3]);
  2992. local Command=A.Data.Start..FullText:match(Args[1]..A.Data.Step..Args[2]..A.Data.Step..Args[3]..A.Data.Step..'(.+)');
  2993. if(Delay>0)then
  2994. for i=1,Repeat do
  2995. if(A.Stuffs.Loops[Args[1]]==true)then
  2996. A.Functions.SearchCommand(Command);
  2997. Wait(Delay);
  2998. else
  2999. break;
  3000. end;
  3001. end;
  3002. else
  3003. for i=1,Repeat do
  3004. A.Functions.Thread(function()
  3005. A.Functions.SearchCommand(Command);
  3006. end);
  3007. end;
  3008. end;
  3009. A.Stuffs.Loops[Args[1]]=nil;
  3010. end);
  3011. A.Functions.CreateCommand([[Dummy]],{'dummy';'doll';},[[Dummy for testing lol... Add player name for or Vector3 position and for last number of dummies... For remove all, the first argument should be "remove!"]],[[-v-v]],2,function(Text,FullText,Args)
  3012. if(Args[1] and Args[1]:lower()=='remove!')then
  3013. for i,v in next,A.Service.Workspace:children()do
  3014. if(v:FindFirstChild'Dresmor Alakazard - Dummy')then
  3015. A.Functions.Remove(v,true);
  3016. end;
  3017. end;
  3018. return nil;
  3019. end;
  3020. local Repeat=tonumber(Args[2])or 1;
  3021. local Load,Position=pcall(function()return loadstring('local c={...};return c[1]('..Args[1]..')')(A.Old.CFrame.new);end);
  3022. if(Load==false)then Position=A.Functions.Players(Args[1])[1].Character.Torso.CFrame;end;
  3023. for i=1,Repeat do
  3024. local Dummy=A.Functions.Peace('Model',{
  3025. Parent=A.Service.Workspace;
  3026. Name='Dummy';
  3027. }
  3028. );
  3029. A.Old.Instance.NewObject('BoolValue',Dummy).Name='Dresmor Alakazard - Dummy';
  3030. A.Old.Instance.NewObject('Humanoid',Dummy);
  3031. A.Functions.Peace('Part',{
  3032. CFrame=Position*CFrame.Angles(0,math.rad(360/Repeat*i),0)*CFrame.new(5+.2*Repeat,0,0);
  3033. Size=Vector3.new(2,2,1);
  3034. BottomSurface=0;
  3035. TopSurface=0;
  3036. formFactor=3;
  3037. Parent=Dummy;
  3038. Name='Torso';
  3039. }
  3040. );
  3041. A.Functions.Heal(Dummy);
  3042. A.Old.Instance.NewObject('SpecialMesh',Dummy.Head).Scale=Vector3.new(1.25,1.25,1.25);
  3043. A.Functions.Peace('Decal',{
  3044. Texture='rbxasset://textures/face.png';
  3045. Parent=Dummy.Head;
  3046. Name='face';
  3047. Face=5;
  3048. }
  3049. );
  3050. end;
  3051. end);
  3052. A.Functions.CreateCommand([[Wall Hack]],{'wallhack';'wall_hack';'wh';},[[Wall hack... Add number for transparency value! The base value is 0.5]],[[-v]],1,function(Text,FullText,Args)
  3053. local Transparency=tonumber(Args[1])or .5;
  3054. A.Functions.All(A.Service.Workspace,function(Part)
  3055. if(Part:IsA'BasePart')then
  3056. Part.AlphaModifier=Transparency;
  3057. end;
  3058. end);
  3059. end);
  3060. A.Functions.CreateCommand([[Teleport To A Place]],{'toplace';'tplace';'tpl';},[[Teleport to other places...]],[[-v-p]],2,function(Text,FullText,Args)
  3061. local Teleport_ID=tonumber(Args[1]);
  3062. A.Functions.Players(Args[2],function(Self)
  3063. if(Self==A.User.C)then
  3064. A.Services.TeleportService:Teleport(Teleport_ID);
  3065. else
  3066. A.Functions.CreateScript('LocalScript',Self,[[
  3067. Game:service'TeleportService':Teleport(]]..Teleport_ID..[[);
  3068. ]]);
  3069. end;
  3070. end);
  3071. end);
  3072. A.Functions.CreateCommand([[Execution]],{'execution';'execute';'exe';},[[Like localscripting but this works only for admin...]],[[-t]],0,function(Text,FullText,Args)
  3073. local Exe=A.Old.Instance.NewObject'StringValue';
  3074. Exe.Name='Ohgal_Execution';
  3075. Exe.Parent=A.User.C;
  3076. Exe.Value=FullText;
  3077. end);
  3078. A.Functions.CreateCommand([[Resize Character]],{'resize';},[[Character resizing OLaloOLAolaol]],[[-p-v]],2,function(Text,FullText,Args)
  3079. local Size=tonumber(Args[2]);
  3080. if(Size==nil)then
  3081. return nil;
  3082. end;
  3083. A.Functions.Players(Args[1],function(Self)
  3084. A.Functions.ResizeChar(Self.Character,Size);
  3085. end);
  3086. end);
  3087. A.Functions.CreateCommand([[Give Weapons]],{'giveweapons';'gws';},[[Give weapons from somebody to somebody...]],[[-p-p]],2,function(Text,FullText,Args)
  3088. local Backpack=A.Functions.FindObject(A.Functions.Players(Args[2])[1],'className','Backpack');
  3089. if(Backpack~=nil)then
  3090. A.Functions.Players(Args[1],function(Self)
  3091. if(Self.Character~=nil)then
  3092. for i,v in next,Self.Character:children()do
  3093. if(v.className=='Tool')then
  3094. v.Parent=Backpack;
  3095. end;
  3096. end;
  3097. end;
  3098. for i,v in next,Self.Backpack:children()do
  3099. if(v.className=='Tool'or v.className=='HopperBin')then
  3100. v.Parent=Backpack;
  3101. end;
  3102. end;
  3103. end);
  3104. end;
  3105. end);
  3106. A.Functions.CreateCommand([[Be Cute]],{'becute';'bc';},[[Be cute?]],[[-p]],1,function(Text,FullText,Args)
  3107. A.Functions.Players(Args[1],function(Self)
  3108. local Parent=Self.Character;
  3109.  
  3110. if(Parent==nil)then
  3111. return nil;
  3112. end;
  3113.  
  3114. local StarterPos=A.Old.Vector3.Pax;
  3115.  
  3116. local Round=15;
  3117. local Radius=.7;
  3118. local Asd=Round/5;
  3119.  
  3120. local PSize=.5;
  3121.  
  3122. local P={};
  3123. local Num=0;
  3124.  
  3125. for i,v in next,Parent:children()do
  3126. if(v.Name=='Pentagramma')then
  3127. A.Functions.Remove(v,true);
  3128. elseif(v.Name=='Black Metal Set')then
  3129. for i,v in next,v:children()do
  3130. if(v.className=='Part')then
  3131. A.Functions.Remove(v,true);
  3132. end;
  3133. end;
  3134. end;
  3135. end;
  3136.  
  3137. local Warehouse=A.Old.Instance.NewObject('Model',Parent);
  3138. Warehouse.Name='Pentagramma';
  3139.  
  3140. for i=0,Round do
  3141. local Rad=math.rad((360/Round*i)+180);
  3142. local Pos=A.Old.Vector3.new(
  3143. math.sin(Rad)*Radius,
  3144. math.cos(Rad)*Radius,
  3145. -.5
  3146. );
  3147. if(i~=0)then Num=Num+1;
  3148. if(Num==Asd)then
  3149. Num=0;
  3150. P[#P+1]=Pos;
  3151. end;
  3152. A.Functions.Peace('BlockMesh',{
  3153. Scale=A.Old.Vector3.new(PSize,PSize,(StarterPos-Pos).Magnitude*5.2)+A.Old.Vector3.new(math.random()/10,0,0);
  3154. Parent=A.Functions.CreateWeld(
  3155. Parent.Torso,
  3156. A.Functions.Peace('Part',{
  3157. BrickColor=BrickColor.new(199);
  3158. CFrame=Parent.Torso.CFrame;
  3159. Size=A.Old.Vector3.Pax;
  3160. CanCollide=false;
  3161. Parent=Warehouse;
  3162. formFactor=3;
  3163. }
  3164. ),
  3165. A.Old.CFrame.new(StarterPos,Pos)*A.Old.CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  3166. ).Part1;
  3167. }
  3168. );
  3169. end;
  3170. StarterPos=Pos;
  3171. end;
  3172.  
  3173. for i,v in next,{{1;4;};{1;3;};{2;4;};{2;5;};{3;5;};}do --Make better...
  3174. local StarterPos=P[v[1]];
  3175. local Pos=P[v[2]];
  3176.  
  3177. local Weld=A.Old.Instance.NewObject('Weld',Warehouse);
  3178. A.Functions.Peace('BlockMesh',{
  3179. Scale=A.Old.Vector3.new(PSize-.2,PSize-.2,(StarterPos-Pos).Magnitude*5.2)+Vector3.new(math.random()/10,0,0);
  3180. Parent=A.Functions.CreateWeld(
  3181. Parent.Torso,
  3182. A.Functions.Peace('Part',{
  3183. BrickColor=BrickColor.new(194);
  3184. CFrame=Parent.Torso.CFrame;
  3185. Size=A.Old.Vector3.Pax;
  3186. CanCollide=false;
  3187. Parent=Warehouse;
  3188. formFactor=3;
  3189. }
  3190. ),
  3191. CFrame.new(StarterPos,Pos)*CFrame.new(0,0,-(StarterPos-Pos).Magnitude/2)
  3192. ).Part1;
  3193. }
  3194. );
  3195. end;
  3196. end);
  3197. end);
  3198. A.Functions.CreateCommand([[Change Music]],{'cmp';'cmusic';},[[Change current music properties]],[[-r-v]],2,function(Text,FullText,Args)
  3199. local Name='Ohgal_Music';
  3200. local Music=A.Service.Workspace.CurrentCamera:FindFirstChild(Name)or A.Service.Lighting(Name);
  3201. if(Music~=nil)then
  3202. Music=Music.className=='Tool'and Music:FindFirstChild(Name)or Music;
  3203. print(Music,Music.className);
  3204. for i,v in next,A.Functions.GetProperties(Music)do
  3205. if(i:lower():find(Args[1]:lower())==1)then
  3206. Music[i]=loadstring('return '..Args[2])();
  3207. end;
  3208. end;
  3209. end;
  3210. end);
  3211. A.Functions.CreateCommand([[Music]],{'play';'music';'mp';},[[asd...Arguments: 1.) name of the music or number of the music 2.) Public mode or Private mode (Base mode is Public!)]],[[-v-b]],2,function(Text,FullText,Args)
  3212. for i,Place in next,{A.Service.Lighting;A.Service.Workspace.CurrentCamera;}do
  3213. for i,v in next,Place:children()do
  3214. if((v.className=='Sound' or v.className=='Tool')and v.Name=='Ohgal_Music')then
  3215. A.Functions.Remove(v,true);
  3216. end;
  3217. end;
  3218. end;
  3219. local Bool=A.Functions.ToBoolean(Args[2]);
  3220. local Sound=A.Functions.LoadSound('Musics',Args[1]);
  3221. Sound.Name='Ohgal_Music';
  3222. if(Bool==true)then
  3223. Sound.Parent=A.Service.Workspace.CurrentCamera;
  3224. else
  3225. Sound.Parent=A.Old.Instance.NewObject('Tool',A.Service.Lighting);
  3226. Sound.Parent.Name=Sound.Name;
  3227. end;
  3228.  
  3229. Sound:play();
  3230. end);
  3231. A.Functions.CreateCommand([[Kick]],{'kick';'bye';},[[Customed player'll leave from the game...]],[[-p]],1,function(Text,FullText,Args)
  3232. A.Functions.Players(Args[1],function(Self)
  3233. if(Self~=A.User.C)then
  3234. if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  3235. A.Functions.CreateScript('LocalScript',Self,[[script.Parent=nil;User.Parent=nil;User.Parent=Users;]]);
  3236. else
  3237. A.Functions.Remove(Self);
  3238. end;
  3239. end;
  3240. end);
  3241. end);
  3242. A.Functions.CreateCommand([[Create Part]],{'npart';'cpart';'part';},[[Part creating... For remove all parts you should add first argument "remove!" or nothing... Arguments: 1.) Size(n,n,n) 2.) BrickColor 3.) Collide 4.) Anchor 5.) Position(0,0,0)[ haven't to add ] 6.) Type of part]],[[-s-b-b-v-x-v]],6,function(Text,FullText,Args)
  3243.  
  3244. if(Args[1]==nil or Args[1]:lower()=='remove!')then
  3245. A.Functions.All(Workspace,function(Part)
  3246. if(Part.Name=='Ohgal_Part')then
  3247. A.Functions.Remove(Part,true);
  3248. end;
  3249. end);
  3250. return nil;
  3251. end;
  3252.  
  3253. local Size=A.Old.Vector3.new(loadstring('return '..Args[1])());
  3254.  
  3255. local Position=Args[5]~=nil and A.Old.CFrame.new(A.Old.Vector3.new(loadstring('return '..Args[5])()))or
  3256. A.User.Char.Head.CFrame+A.User.Char.Head.CFrame.lookVector*A.Old.Vector3.new(Size.X,0,Size.Z).Magnitude;
  3257.  
  3258. local Part=A.Functions.Peace(Args[6]~=nil and Args[6]or'Part',{
  3259. CanCollide=Args[3]~=nil and A.Functions.ToBoolean(Args[3])or true;
  3260. BrickColor=A.Old.BrickColor.new(Args[2]or 0);
  3261. Anchored=A.Functions.ToBoolean(Args[4]);
  3262. Name='Ohgal_Part';
  3263. Parent=Workspace;
  3264. CFrame=Position;
  3265. formFactor=3;
  3266. Size=Size;
  3267. }
  3268. );
  3269.  
  3270. end);
  3271. A.Functions.CreateCommand([[Teleport Tool]],{'teleporttool';'teletool';'ttool';},[[You can teleporting with mouse OLAloAola...]],[[]],0,function(Text,FullText,Args)
  3272. local Tool=A.Old.Instance.NewObject'Tool';
  3273. local Handle=A.Functions.Peace('Part',{
  3274. Size=A.Old.Vector3.Pax;
  3275. Name='Handle';
  3276. formFactor=0;
  3277. Parent=Tool;
  3278. }
  3279. );
  3280.  
  3281. Delay(0,function()
  3282. Tool.Parent=A.User.Char;
  3283. end);
  3284.  
  3285.  
  3286. local Mouse=Tool.Equipped:wait();
  3287.  
  3288. Mouse.Icon=A.Data.BaseUrl..65439473;
  3289.  
  3290. Tool.Parent=nil;
  3291.  
  3292.  
  3293. local Torso=A.User.Char.Torso;
  3294.  
  3295. local Cts={};
  3296.  
  3297. Cts[#Cts+1]=Mouse.Button1Down:connect(function()
  3298. if(Mouse.Target~=nil)then
  3299. Torso.Velocity=A.Old.Vector3.Pax;
  3300. Torso.RotVelocity=A.Old.Vector3.Pax;
  3301. Torso.CFrame=Torso.CFrame-Torso.CFrame.p+Mouse.Hit.p+A.Old.Vector3.Char;
  3302. end;
  3303. end);
  3304.  
  3305. local cTorso;
  3306. local Grabbed;
  3307. local Dragging=false;
  3308. Cts[#Cts+1]=Mouse.KeyDown:connect(function(Key)
  3309. if(Key=='f')then
  3310. if(Mouse.Target~=nil and Mouse.Target~=Workspace)then
  3311. local Humanoid=A.Functions.FindObject(Mouse.Target.Parent,'className','Humanoid');
  3312. if(Humanoid~=nil and Humanoid.Torso~=nil)then
  3313. cTorso=Humanoid.Torso;
  3314. cTorso.Velocity=A.Old.Vector3.Pax;
  3315. cTorso.RotVelocity=A.Old.Vector3.Pax;
  3316. cTorso.CFrame=Torso.CFrame+(A.Old.Vector3.Char*2);
  3317. end;
  3318. end;
  3319. elseif(Key=='e'and Dragging==false and Mouse.Target~=nil)then
  3320. local Target=Mouse.Target;
  3321. Grabbed=A.Functions.FindWithOutside(Target,Workspace);
  3322. Dragging=true;
  3323. A.Functions.Thread(function()
  3324. Mouse.KeyUp:wait();
  3325. Dragging=false;
  3326. end)
  3327. if(Grabbed:IsA'Part')then
  3328. while(Dragging==true and Target.Anchored==false)do
  3329. Mouse.Move:wait();
  3330. if(Mouse.Target~=Target and Mouse.Target~=nil)then
  3331. Grabbed.CFrame=Mouse.Hit.p;
  3332. end;
  3333. end;
  3334. else
  3335. while(Dragging==true)do
  3336. Mouse.Move:wait();
  3337. if(Mouse.Target~=Target and Mouse.Target~=nil and Target.Anchored==false)then
  3338. Grabbed:MoveTo(Mouse.Hit.p);
  3339. end;
  3340. end;
  3341. end;
  3342. end;
  3343. end);
  3344.  
  3345. A.Functions.Thread(function()
  3346. A.User.C.CharacterRemoving:wait();
  3347.  
  3348. for i,v in next,Cts do
  3349. v:disconnect();
  3350. end;
  3351. end);
  3352. end);
  3353. A.Functions.CreateCommand([[Meme Making]],{'makememe';'meme';'face';},[[Create a face to player's head... first is name of the meme or customed image's url]],[[-p-v]],2,function(Text,FullText,Args)
  3354. A.Functions.Players(Args[1],function(Self)
  3355. A.Functions.MakeMeme(Args[2],Self.Character);
  3356. end);
  3357. end);
  3358. if(A.Stuffs.ScriptPacket.Script~=nil)then
  3359. A.Functions.CreateCommand([[Script Creating]],{'s';'c';'lua';'do';'script';},[[Scripting]],[[-t]],1,function(Text,FullText,Args)
  3360. A.Functions.CreateScript('Script',A.Service.Workspace,FullText);
  3361. end);
  3362. A.Functions.CreateCommand([[Server Shutdown]],{'shutdown';},[[Shutdown server]],[[]],0,function(Text,FullText,Args)
  3363. A.Functions.CreateScript('Script',A.Service.Workspace,[[Instance.new('StringValue',Workspace).Value=string.rep('\n',9999999);]]);
  3364. end);
  3365. end;
  3366. if(A.Stuffs.ScriptPacket.LocalScript~=nil)then
  3367. A.Functions.CreateCommand([[Local Script Creating]],{'local';'ls';'l';'lual';},[[Local Scripting...If you want share "(start sginal)(command)(separator signal)share!(separator signal)[name of a player](separator signal)scriptSource"]],[[-t]],1,function(Text,FullText,Args)
  3368. if(Args[1]:lower()=='share!')then
  3369. FullText=FullText:match(Args[1]..A.Data.Step..'(.+)');
  3370. local List=FullText:match('([^'..A.Data.Step..']+)');
  3371. A.Functions.Players(List,function(Self)
  3372. A.Functions.CreateScript('LocalScript',Self,FullText:match(List..A.Data.Step..'(.+)'));
  3373. end);
  3374. else
  3375. A.Functions.CreateScript('LocalScript',A.User.C,FullText);
  3376. end;
  3377. end);
  3378. A.Functions.CreateCommand([[Changing To Black Metal Guy]],{'bmg';},[[Black metal appearance]],[[-p]],1,function(Text,FullText,Args)
  3379. A.Functions.Players(Args[1],function(Self)
  3380. local Char=Self.Character;
  3381. local Head=Char.Head;
  3382. local BodyColors=Char:FindFirstChild'Body Colors';
  3383. if(BodyColors~=nil)then
  3384. for Property,Bool in next,A.Functions.GetProperties(BodyColors)do
  3385. if(Property~='HeadColor')then
  3386. BodyColors[Property]=A.Old.BrickColor.Black;
  3387. else
  3388. BodyColors[Property]=A.Old.BrickColor.White;
  3389. end;
  3390. end;
  3391. end;
  3392. Delay(0,function()
  3393. A.Functions.NukeChar(Char);
  3394. local Face=Head:FindFirstChild'Decal'or
  3395. Head:FindFirstChild'face'or
  3396. A.Old.Instance.NewCreate('Decal',Head);
  3397. if(Face)then
  3398. Face.Texture=A.Data.BaseUrl..74447711;
  3399. Face.Name='face';
  3400. end;
  3401. local Model=A.Functions.Peace('Model',{
  3402. Name='Black Metal Set';
  3403. Parent=Char;
  3404. }
  3405. );
  3406. for i=0,1 do
  3407. A.Old.Instance.NewObject('BlockMesh',
  3408. A.Functions.CreateWeld(Char.Torso,
  3409. A.Functions.Peace('Part',{
  3410. Size=A.Old.Vector3.new(.25,i==0 and 1.5 or .75,.25);
  3411. Name='Part Of Cross ('..tostring(i+1)..')';
  3412. BrickColor=A.Old.BrickColor.White;
  3413. BottomSurface=0;
  3414. formFactor=3;
  3415. TopSurface=0;
  3416. Parent=Model;
  3417. }),
  3418. A.Old.CFrame.new(0,i==1 and -.25 or 0,-.5),
  3419. i==1 and A.Old.CFrame.Angles(0,0,math.rad(90))or
  3420. A.Old.CFrame.Pax
  3421. ).Part1
  3422. ).Scale=A.Old.Vector3.new(1,1,i==0 and 1 or .99);
  3423. end;
  3424. Wait(.3);
  3425. for i,v in next,Char:children()do
  3426. if(v.className=='Part')then
  3427. v.BrickColor=v.Name=='Head'and A.Old.BrickColor.White or A.Old.BrickColor.Black;
  3428. end;
  3429. end;
  3430. A.Functions.CreateScript('LocalScript',Model,[=[
  3431. local face=Game.Players.LocalPlayer.Character.Head.face;
  3432. local open=face.Texture;
  3433. local close=open:gsub('%d+','74468845');
  3434. while(Wait(math.random(10,200)/10))do
  3435. face.Texture=close;
  3436. Wait(math.random(1,3)/10);
  3437. face.Texture=open;
  3438. end;
  3439. ]=]);
  3440. end);
  3441. end);
  3442. end);
  3443. end;
  3444. A.Functions.CreateCommand([[Settings Change]],{'settings';'setting';'set';},[[Change settings...1.)name of the setting (Don't need write the full name!) 2.) on/off... TO CHANGE ALL SAY "all!"]],[[-v-b]],2,function(Text,FullText,Args)
  3445. local Name=Args[1]:lower();
  3446. local Bool=A.Functions.ToBoolean(Args[2]);
  3447. local Message=A.Service.Workspace:FindFirstChild'SettingChangedMsg'or A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  3448. local OldText;Delay(7,function()if(OldText==nil or Message.Text==OldText)then A.Functions.Remove(Message,true);end;end);
  3449. Message.Name='SettingChangedMsg';
  3450. Message.Text='Setting Changed:';
  3451. for Name in Name:gmatch'([^,]+)'do
  3452. for i,v in next,A.Settings do
  3453. if(i:lower():find(Name)==1 or Name=='all!')then
  3454. v.Value=Bool;
  3455. Message.Text=Message.Text..' ('..i..' to '..tostring(Bool)..')';
  3456. end;
  3457. end;
  3458. end;
  3459. OldText=Message.Text;
  3460. end);
  3461. A.Functions.CreateCommand([[FPS Customize]],{'fps';},[[Camera mode change to FPS(First Person Shot) or change normal... only local]],[[-b]],1,function(Text,FullText,Args)
  3462. A.User.C.CameraMode=A.Functions.ToBoolean(Args[1])==true and 1 or 0;
  3463. end);
  3464. A.Functions.CreateCommand([[Heal]],{'heal';'hpup';},[[Healing...]],[[-p]],1,function(Text,FullText,Args)
  3465. A.Functions.Players(Args[1],function(Self)
  3466. A.Functions.Heal(Self.Character);
  3467. end);
  3468. end);
  3469. A.Functions.CreateCommand([[Work]],{'work'},[[Do something to objects... arguments: 1.) Property 2.) Property Value 3.)New Property 4.) New Value 5.) Path... WHEN YOU WRITE FUNCTION USE THIS "{b{function(Object)end}b}"]],[[-p-v-v-i]],5,function(Text,FullText,Args)
  3470. local Property=A.Functions.MatchProperty(Args[1]);
  3471.  
  3472. local Value,Load=Args[2];
  3473. Load,Value=pcall(function()return loadstring('return '..Value)();end);
  3474. if(Load==false or Value==nil)then
  3475. Value=Args[2];
  3476. end;
  3477.  
  3478. local NewProperty=(#Args[3]<30)and A.Functions.MatchProperty(Args[3])or nil;
  3479. if(NewProperty==nil)then
  3480. local _=Args[3];
  3481. Load,NewProperty=pcall(function()return loadstring('return '..Args[3])();end);
  3482. if(Load==false or NewProperty==nil)then
  3483. NewProperty=_;
  3484. end;
  3485. end;
  3486.  
  3487. local NewValue=Args[4];
  3488. Load,NewValue=pcall(function()return loadstring('return '..NewValue)();end);
  3489. if(Load==false)then
  3490. NewValue=Args[4];
  3491. end;
  3492.  
  3493. local Path=Args[5];
  3494. if(Args[5])then
  3495. Load,Path=pcall(function()return loadstring('return '..Path)();end);
  3496. end;
  3497. if(Load==false or Path==nil or type(Path)~='userdata')then
  3498. Path=Game;
  3499. end;
  3500.  
  3501.  
  3502. local Function=type(NewProperty)=='function';
  3503. local TypeOfValue=type(Value);
  3504.  
  3505. if(TypeOfValue=='string')then
  3506. A.Functions.All(Path,function(Object)
  3507. if(Object[Property]:lower():match(Value:lower()))then
  3508. if(Function==true)then
  3509. coroutine.wrap(NewProperty)(Object);
  3510. else
  3511. Object[NewProperty]=NewValue;
  3512. end;
  3513. end;
  3514. end);
  3515. else
  3516. A.Functions.All(Path,function(Object)
  3517. if(Object[Property]==Value)then
  3518. if(Function==true)then
  3519. coroutine.wrap(NewProperty)(Object);
  3520. else
  3521. Object[NewProperty]=NewValue;
  3522. end;
  3523. end;
  3524. end);
  3525. end;
  3526. end);
  3527. A.Functions.CreateCommand([[Lighting Property Change]],{'lc';'lightingchange';},[[...]],[[-r-v]],2,function(Text,FullText,Args)
  3528. local Property,Value=Args[1]and Args[1]:lower()or'reset!';
  3529. local Lighting=A.Service.Lighting;
  3530. if(A.Stuffs.LightingColorProperties==nil)then
  3531. A.Stuffs.LightingColorProperties={
  3532. ColorShift_Bottom=true;
  3533. ColorShift_Top=true;
  3534. ShadowColor=true;
  3535. FogColor=true;
  3536. Ambient=true;
  3537. };
  3538. end;
  3539. if(Property=='newsky!')then
  3540. if(A.Stuffs.SkyIDs==nil)then
  3541. A.Stuffs.SkyIDs={
  3542. ['Walls Of Autumn']=47347;
  3543. ['The Utter East']=47346;
  3544. ['Shiverfrost']=311594;
  3545. ['Starry Night']=47344;
  3546. ['Winterness']=311580;
  3547. ['Broken Sky']=47339;
  3548. ['John Tron']=47431;
  3549. ['Alien Red']=47410;
  3550. ['Oblivion']=47343;
  3551. };
  3552. end;
  3553. for i,v in next,A.Service.Lighting:children()do
  3554. if(v.className=='Sky')then
  3555. A.Functions.Remove(v,true);
  3556. end;
  3557. end;
  3558. local ID=tonumber(Args[2]);
  3559. if(ID==nil and Args[2]~=nil)then
  3560. for i,v in next,A.Stuffs.SkyIDs do
  3561. if(i:lower():find(Args[2]:lower())==1)then
  3562. ID=v;break;
  3563. end;
  3564. end;
  3565. end;
  3566. if(ID~=nil)then
  3567. A.Service.InsertService:LoadAsset(ID):children()[1].Parent=A.Service.Lighting;
  3568. else
  3569. A.Old.Instance.NewObject('Sky',A.Service.Lighting);
  3570. end;
  3571. end;
  3572. if(Property=='reset!')then A.Functions.ResetLighting();end;
  3573. for i,v in next,A.Functions.GetProperties(Lighting)do
  3574. if(i:lower():find(Property)==1)then
  3575. Value=A.Stuffs.LightingColorProperties[i]and loadstring('return Color3.new('..Args[2]..');')''or Args[2];
  3576. Lighting[i]=Value;
  3577. end;
  3578. end;
  3579. end);
  3580. A.Functions.CreateCommand([[Change Humanoid Property]],{'hc';'humchange';'hcange';},[[...]],[[-p-r-v]],3,function(Text,FullText,Args)
  3581. local Property;
  3582. for i,v in next,A.Functions.GetProperties'Humanoid'do
  3583. if(i:lower():find(Args[2]:lower())==1)then
  3584. Property=i;
  3585. break;
  3586. end;i,v=nil;
  3587. end;
  3588. A.Functions.Players(Args[1],function(Self)
  3589. A.Functions.FindObject(Self.Character,'className','Humanoid')[Property]=Args[3];
  3590. end);
  3591. end);
  3592. A.Functions.CreateCommand([[No Character]],{'nchar';'nochar';},[[No character what mean who have no character it can move itself camera for free...]],[[-p]],1,function(Text,FullText,Args)
  3593. A.Functions.Players(Args[1],function(Self)
  3594. if(Self.Character)then
  3595. A.Functions.Remove(Self.Character);
  3596. end;
  3597. Self.Character=nil;
  3598. end);
  3599. end);
  3600. A.Functions.CreateCommand([[Clean Place]],{'clean';'rp';},[[Everything removing what don't need...]],[[]],0,function(Text,FullText,Args)
  3601. A.Functions.Clean();
  3602. end);
  3603. A.Functions.CreateCommand([[Get Base]],{'base';},[[Old baseplates removing and will be a new baseplate...]],[[]],0,function(Text,FullText,Args)
  3604. A.Functions.GetBase();
  3605. end);
  3606. A.Functions.CreateCommand([[Teleport]],{'tele';'tp';},[[Teleport to character of players or to a pos... (Value) is either CFrame position or Player name]],[[-p-v]],2,function(Text,FullText,Args)
  3607. local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[2]..');')(A.Old.CFrame.new);end);
  3608. if(Load==false or Position==nil)then
  3609. Position=A.Functions.Players(Args[2])[1].Character.Torso.CFrame;
  3610. end;
  3611. A.Functions.Players(Args[1],function(Self)
  3612. Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  3613. Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  3614. Self.Character.Torso.CFrame=Position+A.Old.Vector3.Char;
  3615. end);
  3616. end);
  3617. A.Functions.CreateCommand([[Explosion]],{'exp';'explosion';},[[Explosion creating...first value is player name or position second is BlastRadius of created explosion]],[[-v-v]],2,function(Text,FullText,Args)
  3618. local Load,Position=pcall(function()return loadstring('_={...};return _[1]('..Args[1]..');')(A.Old.CFrame.new).p;end);
  3619. local Explosion=A.Old.Instance.NewObject'Explosion';
  3620. if(Args[2])then Explosion.BlastRadius=Args[2];end;
  3621. if(Load==true)then
  3622. Explosion.Position=Position;
  3623. Explosion.Parent=A.Service.Workspace;
  3624. else
  3625. A.Functions.Players(Args[1],function(Self)
  3626. Explosion.Parent=nil;
  3627. Explosion.Position=Self.Character.Torso.Position;
  3628. Explosion.Parent=A.Service.Workspace;
  3629. end);
  3630. end;
  3631. end);
  3632. A.Functions.CreateCommand([[Nuke]],{'nuke';'nake';},[[Characters to be nake]],[[-p]],1,function(Text,FullText,Args)
  3633. A.Functions.Players(Args[1],function(Self)
  3634. A.Functions.NukeChar(Self.Character);
  3635. end);
  3636. end);
  3637. A.Functions.CreateCommand([[Stop]],{'stop';},[[Stop game...]],[[]],0,function(Text,FullText,Args)
  3638. Delay(0,function()
  3639. for i,v in next,Game:children()do
  3640. pcall(function()
  3641. for i,v in next,v:children()do
  3642. if(v~=script)then
  3643. pcall(v.Destroy,v);
  3644. end;i,v=nil;
  3645. end;
  3646. v:Destroy();
  3647. end);i,v=nil;
  3648. end;
  3649. end);
  3650. local User=A.User.C;
  3651. A.Functions.Uninstall();A=nil;
  3652. User.Parent=nil;User.Parent=Game:service'Players';
  3653. end);
  3654. A.Functions.CreateCommand([[Gravitation]],{'grav';},[[This put back characters gravitation to normal]],[[-p]],1,function(Text,FullText,Args)
  3655. A.Functions.Players(Args[1],function(Self)
  3656. if(Self.Character)then
  3657. A.Functions.All(Self.Character,function(Object)
  3658. if(Object.Name=='LolBodyForce')then
  3659. A.Functions.Remove(Object,true);
  3660. end;
  3661. end);
  3662. end;
  3663. end);
  3664. end);
  3665. A.Functions.CreateCommand([[Set Gravitation]],{'setgrav';'sg';},[[Character gravitation will change]],[[-p-v]],2,function(Text,FullText,Args)
  3666. local Plus=Args[2]or 0;
  3667. A.Functions.Players(Args[1],function(Self)
  3668. if(Self.Character)then
  3669. local bf;
  3670. A.Functions.All(Self.Character,function(Part)
  3671. if(Part:IsA'BasePart')then
  3672. bf=Part:FindFirstChild'LolBodyForce'or A.Old.Instance.NewObject'BodyForce';
  3673. bf.force=A.Old.Vector3.new(0,Part:GetMass()*-Plus*2,0);
  3674. bf.Name='LolBodyForce';
  3675. bf.Parent=Part;
  3676. end;
  3677. end);
  3678. end;
  3679. end);
  3680. end);
  3681. A.Functions.CreateCommand([[Rotate]],{'rotate';'rot';},[[Trip character...(Value) is radian value]],[[-p-v]],2,function(Text,FullText,Args)
  3682. local Rad=A.Old.CFrame.Angles(math.rad(Args[2]or 180),0,0);
  3683. A.Functions.Players(Args[1],function(Self)
  3684. Self.Character.Torso.CFrame=Rad+Self.Character.Torso.Position;
  3685. Self.Character.Torso.RotVelocity=A.Old.Vector3.Pax;
  3686. Self.Character.Torso.Velocity=A.Old.Vector3.Pax;
  3687. end);
  3688. end);
  3689. A.Functions.CreateCommand([[Fix Camera]],{'fixcam';'fc';},[[Your old camera removing and new creating]],[[]],0,function(Text,FullText,Args)
  3690. A.Functions.Remove(A.Service.Workspace.CurrentCamera,true);
  3691. local Camera=A.Service.Workspace.Changed:wait()and A.Service.Workspace.CurrentCamera;
  3692. Camera.CameraSubject=A.User.Char;
  3693. Camera.CameraType='Custom';
  3694. end);
  3695. A.Functions.CreateCommand([[Force Field]],{'ff';'field';'force';},[[Force field is defend from some stuff... exemple: explosions]],[[-p-b]],2,function(Text,FullText,Args)
  3696. local Bool=A.Functions.ToBoolean(Args[2]);
  3697. A.Functions.Players(Args[1],function(Self)
  3698. for i,v in next,Self.Character:children()do
  3699. if(v.className=='ForceField')then
  3700. A.Functions.Remove(v,true);
  3701. end;i,v=nil;
  3702. end;
  3703. if(Bool==true)then
  3704. A.Old.Instance.NewObject('ForceField',Self.Character).Name='';
  3705. end;
  3706. end);
  3707. end);
  3708. A.Functions.CreateCommand([[Uninstall]],{'uninstall';},[[Admin will uninstall]],[[]],0,function(Text,FullText,Args)
  3709. local Hint=A.Old.Instance.NewObject('Hint',A.Service.Workspace);
  3710. Hint.Text='"Dresmor Alakazard - Ohgal Local Admin" uninstalled!';
  3711. Delay(10,function()
  3712. Hint.Parent=nil;
  3713. end);
  3714. A.Functions.Uninstall();
  3715. A=nil;
  3716. end);
  3717. A.Functions.CreateCommand([[Kill]],{'kill';'die';'d';},[[Kill customed player]],[[-p]],1,function(Text,FullText,Args)
  3718. A.Functions.Players(Args[1],function(Self)
  3719. local c=A.Old.Instance.NewObject('ObjectValue',A.Functions.FindObject(Self.Character,'className','Humanoid'));
  3720. c.Name='creator';
  3721. c.Value=A.User.C;
  3722. Self.Character.Torso.RotVelocity=A.Old.Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100));
  3723. Self.Character:BreakJoints();
  3724. end);
  3725. end);
  3726. A.Functions.CreateCommand([[Reset Character]],{'respawn';'rs';'reset';},[[Old character removing and customed player get new character]],[[-p]],1,function(Text,FullText,Args)
  3727. A.Functions.Players(Args[1],function(Self)
  3728. A.Functions.ResetChar(Self);
  3729. end);
  3730. end);
  3731. A.Functions.CreateCommand([[Loadstring]],{'load';'loadstring';},[[load your chatted text...]],[[-t]],0,function(Text,FullText,Args)
  3732. loadstring([[_={...};func=_[1]; ]]..FullText,'Ohgal')(A.Functions);
  3733. end);
  3734. --[[Command create end;]]
  3735. end;
  3736.  
  3737.  
  3738. --[[Create Sounds]]
  3739.  
  3740.  
  3741. A.Functions.AddSound('Musics',{SoundId=27697713;Pitch=3;Volume=1;Looped=true;Name='Daniel Bautista - Music for a Film'})
  3742. A.Functions.AddSound('Musics',{SoundId=27697743;Pitch=3;Volume=1;Looped=true;Name='Zero Project - Gothic'})
  3743. A.Functions.AddSound('Musics',{SoundId=27697277;Pitch=1.37;Volume=1;Looped=true;Name='Positively Dark - Awakening'})
  3744. A.Functions.AddSound('Musics',{SoundId=27697735;Pitch=2;Volume=1;Looped=true;Name='Jeff Syndicate - Hip Hop'})
  3745. A.Functions.AddSound('Musics',{SoundId=1015394;Pitch=1;Volume=1;Looped=true;Name='Wind Of Fjords'})
  3746. A.Functions.AddSound('Musics',{SoundId=11420933;Pitch=1;Volume=1;Looped=true;Name='TOPW (idk)'})
  3747. A.Functions.AddSound('Musics',{SoundId=11231513;Pitch=1;Volume=1;Looped=true;Name='Toccata and Fugue in D minor'})
  3748. A.Functions.AddSound('Musics',{SoundId=27697719;Pitch=2.4;Volume=1;Looped=true;Name='Daniel Bautista - Flight of the Bumblebee'})
  3749. A.Functions.AddSound('Musics',{SoundId=11060062;Pitch=1;Volume=1;Looped=true;Name='Fast-Forward'})
  3750. A.Functions.AddSound('Musics',{SoundId=45819151;Pitch=1;Volume=1;Looped=true;Name='background Song1'})
  3751. A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=1;Volume=1;Looped=true;Name='Daniel Bautista - Intro'})
  3752. A.Functions.AddSound('Musics',{SoundId=27697707;Pitch=2;Volume=1;Looped=true;Name='Daniel Bautista - Intro (fast)'})
  3753. A.Functions.AddSound('Musics',{SoundId=5986151;Pitch=1;Volume=1;Looped=true;Name='Woman King'})
  3754. A.Functions.AddSound('Musics',{SoundId=9650822;Pitch=1;Volume=1;Looped=true;Name='S4Tunnel'})
  3755. A.Functions.AddSound('Musics',{SoundId=11420922;Pitch=1;Volume=1;Looped=true;Name='DOTR'})
  3756. A.Functions.AddSound('Musics',{SoundId=8610025;Pitch=1;Volume=1;Looped=true;Name='NerezzaSong'})
  3757. A.Functions.AddSound('Musics',{SoundId=35930009;Pitch=.9;Volume=1;Looped=true;Name='Troll'})
  3758. A.Functions.AddSound('Musics',{SoundId=1372260;Pitch=1;Volume=1;Looped=true;Name='Only one lul'})
  3759. A.Functions.AddSound('Musics',{SoundId=8663653;Pitch=1;Volume=1;Looped=true;Name='Zen'})
  3760.  
  3761. --[[Sounds end;]]
  3762.  
  3763.  
  3764.  
  3765.  
  3766.  
  3767.  
  3768.  
  3769.  
  3770.  
  3771.  
  3772.  
  3773.  
  3774.  
  3775.  
  3776.  
  3777.  
  3778.  
  3779.  
  3780.  
  3781.  
  3782.  
  3783.  
  3784.  
  3785.  
  3786.  
  3787.  
  3788.  
  3789.  
  3790. A.Functions.Uninstall();
  3791. A.Functions.Thread(A.Functions.Install);
  3792.  
  3793.  
  3794.  
  3795. local Client=Game:FindFirstChild'NetworkClient';
  3796. if(Client~=nil)then
  3797. Client.ChildRemoved:wait();
  3798. local Message=A.Old.Instance.new('Hint',Workspace);
  3799. Message.Text='Admin script removed!';
  3800. A.Functions.Uninstall();
  3801. for i,v in next,Game:children()do
  3802. pcall(function()
  3803. pcall(function()v:Destroy();end);
  3804. if(v.Parent~=nil)then
  3805. for i,v in next,v:children()do
  3806. pcall(function()
  3807. v.Parent=nil;
  3808. v:Destroy();
  3809. end);
  3810. end;
  3811. end;
  3812. end);
  3813. end;
  3814. end;
  3815.  
  3816. end;
  3817.  
  3818. if(Game.PlaceId==0)then
  3819. Rise_Ohgal();
  3820. else
  3821. coroutine.wrap(function()
  3822. loadstring(string.dump(Rise_Ohgal),'Ohgal')();
  3823. end)();
  3824. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement