Advertisement
UnknownZealot

Goku Slayer (BROKEN)

Sep 3rd, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 147.84 KB | None | 0 0
  1. --God Slayer
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do
  7. print("FE Compatibility code by Mokiros")
  8. local rp = RealPlayer
  9. script.Parent = rp.Character
  10.  
  11. --RemoteEvent for communicating
  12. local Event = Instance.new("RemoteEvent")
  13. Event.Name = "UserInput_Event"
  14.  
  15. --Fake event to make stuff like Mouse.KeyDown work
  16. local function fakeEvent()
  17. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  18. t.connect = t.Connect
  19. return t
  20. end
  21.  
  22. --Creating fake input objects with fake variables
  23. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  24. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  25. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  26. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  27. end}
  28. --Merged 2 functions into one by checking amount of arguments
  29. CAS.UnbindAction = CAS.BindAction
  30.  
  31. --This function will trigger the events that have been :Connect()'ed
  32. local function te(self,ev,...)
  33. local t = m[ev]
  34. if t and t._fakeEvent then
  35. for _,f in pairs(t.Functions) do
  36. f(...)
  37. end
  38. end
  39. end
  40. m.TrigEvent = te
  41. UIS.TrigEvent = te
  42.  
  43. Event.OnServerEvent:Connect(function(plr,io)
  44. if plr~=rp then return end
  45. m.Target = io.Target
  46. m.Hit = io.Hit
  47. if not io.isMouse then
  48. local b = io.UserInputState == Enum.UserInputState.Begin
  49. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  50. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  51. end
  52. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  53. return m:TrigEvent(b and "Button2Down" or "Button2Up")
  54. end
  55. for _,t in pairs(CAS.Actions) do
  56. for _,k in pairs(t.Keys) do
  57. if k==io.KeyCode then
  58. t.Function(t.Name,io.UserInputState,io)
  59. end
  60. end
  61. end
  62. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  63. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  64. end
  65. end)
  66. Event.Parent = NLS([==[
  67. local Player = owner
  68. local Event = script:WaitForChild("UserInput_Event")
  69. local UIS = game:GetService("UserInputService")
  70. local input = function(io,a)
  71. if a then return end
  72. --Since InputObject is a client-side instance, we create and pass table instead
  73. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  74. end
  75. UIS.InputBegan:Connect(input)
  76. UIS.InputEnded:Connect(input)
  77.  
  78. local h,t
  79. --Give the server mouse data 30 times every second, but only if the values changed
  80. --If player is not moving their mouse, client won't fire events
  81. while wait(1/30) do
  82. if h~=Mouse.Hit or t~=Mouse.Target then
  83. h,t=Mouse.Hit,Mouse.Target
  84. Event:FireServer({isMouse=true,Target=t,Hit=h})
  85. end
  86. end]==],Player.Character)
  87.  
  88. ----Sandboxed game object that allows the usage of client-side methods and services
  89. --Real game object
  90. local _rg = game
  91.  
  92. --Metatable for fake service
  93. local fsmt = {
  94. __index = function(self,k)
  95. local s = rawget(self,"_RealService")
  96. if s then
  97. return typeof(s[k])=="function"
  98. and function(_,...)return s[k](s,...)end or s[k]
  99. end
  100. end,
  101. __newindex = function(self,k,v)
  102. local s = rawget(self,"_RealService")
  103. if s then s[k]=v end
  104. end
  105. }
  106. local function FakeService(t,RealService)
  107. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  108. return setmetatable(t,fsmt)
  109. end
  110.  
  111. --Fake game object
  112. local g = {
  113. GetService = function(self,s)
  114. return rawget(self,s) or _rg:GetService(s)
  115. end,
  116. Players = FakeService({
  117. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  118. },"Players"),
  119. UserInputService = FakeService(UIS,"UserInputService"),
  120. ContextActionService = FakeService(CAS,"ContextActionService"),
  121. RunService = FakeService({
  122. _btrs = {},
  123. RenderStepped = _rg:GetService("RunService").Heartbeat,
  124. BindToRenderStep = function(self,name,_,fun)
  125. self._btrs[name] = self.Heartbeat:Connect(fun)
  126. end,
  127. UnbindFromRenderStep = function(self,name)
  128. self._btrs[name]:Disconnect()
  129. end,
  130. },"RunService")
  131. }
  132. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  133. g.service = g.GetService
  134. FakeService(g,game)
  135. --Changing owner to fake player object to support owner:GetMouse()
  136. game,owner = g,g.Players.LocalPlayer
  137. end
  138.  
  139. wait(0.001);
  140.  
  141. --------------------------------------------------------------------------------------
  142.  
  143. _clear=function()
  144. local c={char;bag;gui;};
  145. for i=1,#c do
  146. local c=c[i]:children();
  147. for i=1,#c do
  148. if(c[i].Name==name)then
  149. c[i].Parent=nil;
  150. end;
  151. end;
  152. end;
  153. local n=name..user.Name;
  154. local c=workspace:children();
  155. for i=1,#c do
  156. if(c[i].Name==n)then
  157. c[i].Parent=nil;
  158. end;
  159. end;
  160. end;
  161.  
  162. _valid_key=function(object,key)
  163. return object[key],key;
  164. end;
  165.  
  166. _new=function(class)
  167. return function(props)
  168. if(type(list_base_props)=='table')then
  169. for i,v in next,list_base_props do
  170. if(props[i]==nil)then
  171. props[i]=v;
  172. end;
  173. end;
  174. end;
  175.  
  176. local object=class;
  177.  
  178. if(type(class)=='string')then
  179. object=Instance.new(class:sub(1,1):upper()..class:sub(2));
  180. end;
  181.  
  182. local parent=props[1];
  183. props[1]=nil;
  184.  
  185. for i,v in next,props do
  186. local load,res,key=pcall(_valid_key,object,i:sub(1,1):upper()..i:sub(2));
  187. if(not load)then
  188. load,res,key=pcall(_valid_key,object,i);
  189. end;
  190.  
  191. if(key)then
  192. t=type(res);
  193. s=tostring(res);
  194. if(t=='userdata'and s=='Signal '..key)then
  195. if(type(v)=='table')then
  196. for i=1,#v do
  197. res:connect(v[i]);
  198. end;
  199. else
  200. res:connect(v);
  201. end;
  202. else
  203. object[key]=v;
  204. end;
  205. end;
  206. end;
  207.  
  208. if(parent)then
  209. object.Parent=parent;
  210. end;
  211.  
  212. return object;
  213. end;
  214. end;
  215.  
  216. _RGB=function(r,g,b)
  217. return Color3.new(r/255,g/255,b/255);
  218. end;
  219.  
  220. _copy=function(o)
  221. local def=o.archivable;
  222. o.archivable=true;
  223. local c=o:clone();
  224. o.archivable=def;
  225. return c;
  226. end;
  227.  
  228. _hum=function(char)
  229. local hum=char:findFirstChild'Humanoid';
  230. if(not hum or hum.className~='Humanoid')then
  231. local c=char:children();
  232. for i=1,#c do
  233. if(c[i].className=='Humanoid')then
  234. return c[i];
  235. end;
  236. end;
  237. else
  238. return hum;
  239. end;
  240. end;
  241.  
  242. _hum_tag=function(hum)
  243. local c=hum:findFirstChild'creator'or Instance.new('ObjectValue',hum);
  244. c.Name='creator';
  245. c.Value=user;
  246. if(hum.Health==0 and not hum:findFirstChild'killed')then
  247. Instance.new('BoolValue',hum).Name='killed';
  248. bullets.clip=bullets.clip+10;
  249. end;
  250. end;
  251.  
  252. _hum_dam=function(hum,dam,percent)
  253. hum.Health=hum.Health-(percent and hum.MaxHealth*(dam*0.01)or dam);
  254. if(hum.Health<=hum.MaxHealth*0.1)then
  255. _hum_tag(hum);
  256. end;
  257. end;
  258.  
  259. _ray=function(v0,v1,i)
  260. local mag=(v0-v1).magnitude;
  261. local ray=Ray.new(v0,(v1-v0).unit*(mag>999 and 999 or mag));
  262.  
  263. return(type(i)=='table'and workspace.FindPartOnRayWithIgnoreList or workspace.FindPartOnRay)(workspace,ray,i);
  264. end;
  265.  
  266. _must=function(v0,v1,i)
  267. local hit,pos=_ray(v0,v1,i);
  268. return not hit and mouse.target or hit,pos;
  269. end;
  270.  
  271. _cframe=function(x,y,z,r0,r1,r2)
  272. return CFrame.Angles(
  273. math.rad(r0 or 0),
  274. math.rad(r1 or 0),
  275. math.rad(r2 or 0)
  276. )*CFrame.new(x,y,z);
  277. end;
  278.  
  279. _update=function()
  280. if(bool_active and not screen.Parent)then
  281. screen.Parent=gui;
  282. elseif(not bool_active and screen.Parent)then
  283. screen.Parent=nil;
  284. end;
  285. end;
  286.  
  287. _light=function(v0,v1)
  288. local mag=(v0-v1).magnitude;
  289. local len=math.random(2,7);
  290. len=len>mag/2 and mag/2 or len;
  291.  
  292. local light=_new'part'{
  293. cFrame=CFrame.new(v0,v1);
  294. size=Vector3.new(1,1,1);
  295. color=_RGB(255,255,0);
  296. anchored=true;
  297. inv;
  298. };
  299. _new'blockMesh'{
  300. scale=Vector3.new(0.2,0.2,len);
  301. offset=Vector3.new(0,0,-len/2);
  302. light;
  303. };
  304.  
  305. local bb=_new'billboardGui'{
  306. size=UDim2.new(2,0,2,0);
  307. adornee=light;
  308. light;
  309. };
  310. _new'imageLabel'{
  311. image=url:format(109101526);
  312. backgroundTransparency=1;
  313. size=UDim2.new(1,0,1,0);
  314. bb;
  315. };
  316.  
  317. _rem(light,0.15);
  318. end;
  319.  
  320. _rem=function(object,del)
  321. if(del)then
  322. delay(del,function()
  323. if(object.Parent)then
  324. object.Parent=nil;
  325. end;
  326. end);
  327. else
  328. pcall(function()
  329. if(object.Parent)then
  330. object.Parent=nil;
  331. end;
  332. end);
  333. end;
  334. end;
  335.  
  336. _blood=function(pos,count)
  337. for i=1,count do
  338. local p=_new'part'{
  339. rotVelocity=Vector3.new(math.random(),math.random(),math.random())*50;
  340. position=pos+Vector3.new(math.random(),math.random(),math.random());
  341. velocity=Vector3.new(math.random(),math.random(),math.random())*50;
  342. size=Vector3.new(math.random(),math.random(),math.random())/3;
  343. color=_RGB(255,0,0);
  344. transparency=0.5;
  345. canCollide=true;
  346. bottomSurface=0;
  347. topSurface=0;
  348. formFactor=3;
  349. locked=true;
  350. inv;
  351. };
  352. delay(5,function()
  353. p.Parent=nil;
  354. end);
  355. end;
  356. end;
  357.  
  358. _make_hue=function()
  359. h_hue=_new'part'{
  360. size=Vector3.new(0.25,1.8,0.35);
  361. color=_RGB(100,100,100);
  362. formFactor=3;
  363. name='hue';
  364. handle;
  365. };
  366. hh_weld=_new'weld'{
  367. c1=_cframe(0,0.5,0);
  368. part0=handle;
  369. part1=h_hue;
  370. handle;
  371. };
  372. end;
  373.  
  374. _shot=function(v0,v1)
  375. if(not time_left)then
  376. time_left=0;
  377. end;
  378. if(time_left>time())then
  379. return nil;
  380. else
  381. time_left=time()+math.random(1,10)/100;
  382. end;
  383.  
  384. if(bullets.current<1)then
  385. local tick_sound=head:findFirstChild'tick_sound'or _new'sound'{
  386. soundId='rbxasset://sounds/SWITCH3.wav';
  387. name='tick_sound';
  388. volume=0.2;
  389. pitch=2;
  390. head;
  391. };
  392. tick_sound:play();
  393. if(bullets.clip>0)then
  394. time_left=time()+2;
  395. h_hue:breakJoints();
  396. h_hue.CanCollide=true;
  397. h_hue.Velocity=(h_hue.CFrame*CFrame.new(0,5,0)).lookVector*10;
  398. _rem(h_hue,10);
  399. delay(1.9,function()
  400. _make_hue();
  401. local got=(bullets.clip>bullets.maximum and
  402. bullets.maximum or
  403. bullets.clip)-bullets.current;
  404.  
  405. bullets.clip=bullets.clip-got;
  406. bullets.current=bullets.current+got;
  407. end);
  408. end;
  409. return nil;
  410. else
  411. bullets.current=bullets.current-1;
  412.  
  413. h_weld.C1=_cframe(0,0.75,0,
  414. -math.random(1000,1100)/10,180,0);
  415. d_weld.C1=_cframe(0,-0.25,0.3);
  416.  
  417. lightstuff.Visible=true;
  418. delay(0.1,function()
  419. lightstuff.Visible=false;
  420. end);
  421.  
  422. _rem(_new'part'{
  423. velocity=CFrame.new(drag.Position,(drag.CFrame*CFrame.new(-4,-5,0)).p).lookVector*10;
  424. cFrame=drag.CFrame*CFrame.new(-0.5,0,0);
  425. size=Vector3.new(0.1,0.1,0.4);
  426. color=_RGB(200,200,0);
  427. material='Slate';
  428. canCollide=true;
  429. formFactor=3;
  430. inv;
  431. },5);
  432. delay(0.1,function()
  433. d_weld.C1=_cframe(0,-0.25,0);
  434. if(bool_active)then
  435. h_weld.C1=h_weld_cf_active;
  436. end;
  437. end)
  438. end;
  439.  
  440. local hit,pos=_must(v0,v1,char);
  441.  
  442. shot_sound:play();
  443.  
  444. _light(v0,v1);
  445.  
  446. if(not hit)then return nil;end;
  447.  
  448. if(hit.Parent.className=='Hat')then
  449. hit:breakJoints();
  450. hit.CanCollide=true;
  451. hit.Velocity=CFrame.new(v0,pos).lookVector*math.random(30,50);
  452. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90));
  453. else
  454. local hum=_hum(hit.Parent);
  455. if(not hum)then
  456. if(hit.Anchored==false and hit.Size.magnitude<4)then
  457. hit:breakJoints();
  458. hit.CanCollide=true;
  459. end;
  460. else
  461. _hum_dam(hum,math.random(4,6));
  462. _blood(pos,math.random(3,6));
  463. hit.RotVelocity=Vector3.new(math.random(1,90),math.random(1,90),math.random(1,90))/6;
  464. if(hit.Name=='Head')then
  465. hum.Health=0;
  466. _blood(pos,math.random(3,6));
  467. delay(0.001,function()
  468. _new(workspace:FindFirstChild'head_shot'or'sound'){
  469. pitch=math.random(70,100)*0.01;
  470. soundId=url:format(1876552);
  471. name='head_shot';
  472. workspace;
  473. }:play();
  474. end);
  475. _hum_tag(hum);
  476. _rem(_new'part'{
  477. cFrame=CFrame.new(v0,pos)*CFrame.new(0,0,-(v0-pos).magnitude*0.5);
  478. size=Vector3.new(0.1,0.1,(v0-pos).magnitude);
  479. color=torso.Color;
  480. transparency=0.5;
  481. canCollide=false;
  482. bottomSurface=0;
  483. anchored=true;
  484. formFactor=3;
  485. topSurface=0;
  486. inv;
  487. },30);
  488. hit.Parent=nil;
  489. for b=0,1 do
  490. for a=0,1 do
  491. for i=0,1 do
  492. _rem(_new'part'{
  493. velocity=CFrame.new(v0,pos).lookVector*20;
  494. cFrame=hit.CFrame*CFrame.new(i,-b,a);
  495. size=Vector3.new(0.5,0.5,0.5);
  496. color=_RGB(255,255,255);
  497. bottomSurface=0;
  498. canCollide=true;
  499. transparency=0;
  500. formFactor=3;
  501. topSurface=0;
  502. hum;
  503. },30);
  504. end;
  505. end;
  506. end;
  507. end;
  508. end;
  509. end;
  510. end;
  511.  
  512. ----------------------------------------------------------------------------------------
  513.  
  514. _cf_select=function(mouse)
  515. mouse.Icon=url:format(109111387);--108999296
  516. bool_active=true;
  517.  
  518. local arm=char:findFirstChild'Right Arm';
  519. local weld=torso:findFirstChild'Right Shoulder';
  520. if(arm and weld)then
  521. h_weld.Part0=arm;
  522. h_weld.C1=h_weld_cf_active;
  523.  
  524. weld.Part1=nil;
  525. weld.Part0=nil;
  526.  
  527. weld=_new(torso:findFirstChild'right_arml'or'weld'){
  528. name='right_arml';
  529. part0=torso;
  530. part1=arm;
  531. torso;
  532. };
  533.  
  534. arml=(arml or 0)+1;
  535. local alv=arml;
  536. local gyro=torso:findFirstChild'p_gyro'or Instance.new('BodyGyro',torso);
  537. gyro.maxTorque=Vector3.new(5e5,5e5,5e5);
  538. gyro.P=30000;
  539. gyro.D=1000;
  540. gyro.Name='p_gyro';
  541. repeat
  542. local pos=mouse.hit.p;
  543. local val,valp,p0,p1,p2,hitpos,cj,c0,c1;
  544.  
  545. val=-math.pi*0.5;
  546. valp=val*-1;
  547. p0=torso.CFrame;
  548. p0=p0+((p0*CFrame.Angles(valp,0,0)).lookVector*0.5)+(p0*CFrame.Angles(0,val,0)).lookVector;
  549. p1=p0+((p0.p-pos).unit*-2);
  550. p2=CFrame.new((p0.p+p1.p)/2,p0.p)*CFrame.Angles(val,val,0);
  551. hitpos=torso.Position;
  552. cj=CFrame.new(hitpos);
  553. c0=torso.CFrame:inverse()*cj;
  554. c1=p2:inverse()*cj;
  555. weld.C0=c0;
  556. weld.C1=c1;
  557.  
  558. gyro.cframe=CFrame.new(torso.Position,Vector3.new(pos.X,torso.Position.Y,pos.Z));
  559.  
  560. wait(0.001);
  561. until arml~=alv;
  562. gyro.Parent=nil;
  563. end;
  564. end;
  565.  
  566. _cf_deselect=function()
  567. bool_active=false;
  568. arml=(arml or 0)+1;
  569. loop_shot=(loop_shot or 0)+1;
  570.  
  571. h_weld.Part0=torso;
  572. h_weld.C1=h_weld_cf_inactive;
  573.  
  574. local weld=torso:findFirstChild'right_arml';
  575. if(weld)then
  576. weld.Part1=nil;
  577. weld.Part0=nil;
  578. end;
  579. local arm=char:findFirstChild'Right Arm';
  580. local weld=torso:findFirstChild'Right Shoulder';
  581. if(arm and weld)then
  582. weld.Part0=torso;
  583. weld.Part1=arm;
  584. end;
  585. end;
  586.  
  587. _cf_mouse=function(event,fun)
  588. mouse[event:sub(1,1):upper()..event:sub(2)]:connect(function(...)
  589. if(bool_active)then
  590. fun(...);
  591. end;
  592. end);
  593. end;
  594.  
  595. ----------------------------------------------------------------------------------------
  596.  
  597. do
  598. local main=getfenv(0);
  599. local c=game:children();
  600. local check=function(v)
  601. if(v.className~=''and v.className~='Instance'and game:service(v.className))then
  602. main[v.className:sub(1,1):lower()..v.className:sub(2)]=v;
  603. end;
  604. end;
  605. for i=1,#c do
  606. pcall(check,c[i]);
  607. end;
  608. end;
  609.  
  610. ----------------------------------------------------------------------------------------
  611.  
  612. bullets={
  613. maximum=51111111111111111111111111110;
  614. current=511111111111111111111111111111110;
  615. clip=501111111111111111111111111111111*4;
  616. };
  617.  
  618. list_base_props={
  619. backgroundColor3=_RGB(0,0,0);
  620. textColor3=_RGB(200,200,200);
  621. borderSizePixel=0;
  622. color=_RGB(0,0,0);
  623. archivable=false;
  624. canCollide=false;
  625. bottomSurface=0;
  626. topSurface=0;
  627. formFactor=0;
  628. locked=true;
  629. };
  630.  
  631. ----------------------------------------------------------------------------------------
  632.  
  633. user=players.localPlayer;
  634. mouse=user:getMouse();
  635. char=user.Character;
  636. gui=user.PlayerGui;
  637. bag=user.Backpack;
  638. torso=char.Torso;
  639. head=char.Head;
  640. hum=_hum(char);
  641.  
  642. url='rbxassetid://%d';
  643. name='dev-uzi';
  644.  
  645. h_weld_cf_inactive=_cframe(0.35,0.5,0.5,
  646. 0,90,-70);
  647. h_weld_cf_active=_cframe(0,0.75,0,
  648. -110,180,0);
  649.  
  650. assert(hum,'humanoid is not found');
  651.  
  652. ----------------------------------------------------------------------------------------
  653.  
  654. _clear();
  655.  
  656. ----------------------------------------------------------------------------------------
  657.  
  658. _cf_mouse('button1Down',function()
  659. loop_shot=(loop_shot or 0)+1;
  660. local vers=loop_shot;
  661. local step=runService.Stepped;
  662. repeat
  663. _shot((tube.CFrame*CFrame.new(0,0,tube.Size.Z*0.5)).p,mouse.hit.p);
  664. step:wait();--wait(0.001);
  665. until vers~=loop_shot;
  666. end);
  667.  
  668. _cf_mouse('button1Up',function()
  669. loop_shot=(loop_shot or 0)+1;
  670. end);
  671.  
  672. _cf_mouse('move',function()
  673. cross_f.Position=UDim2.new(0,mouse.X-11,0,mouse.Y-11);
  674. end);
  675.  
  676. _cf_mouse('keyDown',function(k)
  677. if(k=='r')then
  678. if(bullets.clip>0 and time_left<=time())then
  679. local got=(bullets.clip>bullets.maximum and
  680. bullets.maximum or
  681. bullets.clip)-bullets.current;
  682.  
  683. bullets.clip=bullets.clip-got;
  684. bullets.current=bullets.current+got;
  685. if(got~=0)then
  686. time_left=time()+2;
  687. end;
  688. end;
  689. end;
  690. end);
  691.  
  692. ----------------------------------------------------------------------------------------
  693.  
  694. screen=_new'screenGui'{
  695. name=name;
  696. };
  697.  
  698. cross_f=_new'frame'{
  699. size=UDim2.new(0,21,0,21);
  700. backgroundTransparency=1;
  701. screen;
  702. };
  703.  
  704. for i=0,1 do
  705. _new'frame'{
  706. position=UDim2.new(0,13*i,0,11);
  707. size=UDim2.new(0,10,0,1);
  708. cross_f;
  709. };
  710. end;
  711.  
  712. for i=0,1 do
  713. _new'frame'{
  714. position=UDim2.new(0,11,0,13*i);
  715. size=UDim2.new(0,1,0,10);
  716. cross_f;
  717. };
  718. end;
  719.  
  720. ----------------------------------------------------------------------------------------
  721.  
  722. shot_sound=_new(head:findFirstChild'2920959'or'sound'){
  723. soundId=url:format(2920959);
  724. pitch=1.4;
  725. head;
  726. };
  727. if(shot_sound.Name~='2920959')then
  728. shot_sound.Name='2920959';
  729. shot_sound:play();
  730. end;
  731.  
  732. bin=_new'hopperBin'{
  733. deselected=_cf_deselect;
  734. selected=_cf_select;
  735. name=name;
  736. bag;
  737. };
  738.  
  739. inv=_new'model'{
  740. name=name;
  741. char;
  742. };
  743.  
  744. handle=_new'part'{
  745. size=Vector3.new(0.3,1.3,0.4);
  746. color=_RGB(140,140,140);
  747. name='handle';
  748. formFactor=3;
  749. inv;
  750. touched=function(hit)
  751. if(hit.Parent.className=='Model')then
  752. local hum=_hum(hit.Parent);
  753. if(hum~=nil)then
  754. _hum_dam(hum,handle.Velocity.magnitude);
  755. end;
  756. end;
  757. end;
  758. };
  759. h_weld=_new'weld'{
  760. c1=h_weld_cf_inactive;
  761. part1=handle;
  762. part0=torso;
  763. handle;
  764. };
  765. _make_hue();
  766.  
  767. h_part=_new'part'{
  768. size=Vector3.new(0.4,0.4,1.4);
  769. color=_RGB(140,140,140);
  770. name='handle';
  771. formFactor=3;
  772. handle;
  773. };
  774. hp_weld=_new'weld'{
  775. c1=_cframe(0,-1.3/2,-0.3,
  776. 20,0,0);
  777. part0=handle;
  778. part1=h_part;
  779. handle;
  780. };
  781.  
  782. drag=_new'part'{
  783. size=Vector3.new(0.5,0.45,1.5);
  784. color=_RGB(100,100,100);
  785. name='handle';
  786. formFactor=3;
  787. handle;
  788. };
  789. d_weld=_new'weld'{
  790. c1=_cframe(0,-0.25,0);
  791. part0=h_part;
  792. part1=drag;
  793. handle;
  794. };
  795.  
  796. tube=_new'part'{
  797. size=Vector3.new(0.2,0.2,1.5);
  798. color=_RGB(0,0,0);
  799. name='handle';
  800. formFactor=3;
  801. handle;
  802. };
  803. t_weld=_new'weld'{
  804. c1=_cframe(0,-0.3,-0.1);
  805. part0=h_part;
  806. part1=tube;
  807. handle;
  808. };
  809.  
  810. bullets_label=_new'textLabel'{
  811. textStrokeColor3=_RGB(0,0,0);
  812. textColor3=_RGB(200,200,200);
  813. textStrokeTransparency=0;
  814. backgroundTransparency=1;
  815. fontSize=5;
  816. screen;
  817. };
  818.  
  819. lightstuff=_new'frame'{
  820. backgroundColor3=_RGB(255,255,255);
  821. position=UDim2.new(0,0,0,-1);
  822. backgroundTransparency=0.5;
  823. size=UDim2.new(1,0,1,1);
  824. borderSizePixel=0;
  825. visible=false;
  826. screen;
  827. };
  828.  
  829. coroutine.wrap(function()
  830. local red,white,green;
  831. repeat
  832. if(screen.Parent)then
  833. if(not green and bullets.current==bullets.maximum)then
  834. green=true;
  835. bullets_label.TextColor3=_RGB(0,200,0);
  836. elseif(not red and bullets.current==0)then
  837. red=true;
  838. bullets_label.TextColor3=_RGB(200,0,0);
  839. elseif((red or green)and bullets.current~=0 and bullets.current~=bullets.maximum)then
  840. bullets_label.TextColor3=_RGB(200,200,200);
  841. green=false;
  842. red=false;
  843. end;
  844. bullets_label.Text=('Bullets: %d/%d'):format(bullets.current,bullets.clip);
  845. bullets_label.Size=UDim2.new(0,bullets_label.TextBounds.X,0,bullets_label.TextBounds.Y);
  846. bullets_label.Position=UDim2.new(1,-bullets_label.TextBounds.X-6,1,-bullets_label.TextBounds.Y-6);
  847. end;
  848. wait(0.001);
  849. until nil;
  850. end)();
  851.  
  852. ----------------------------------------------------------------------------------------
  853.  
  854. _G.dev_pistol_version=(_G.dev_pistol_version or 0)+1;
  855. local vers=_G.dev_pistol_version;
  856. repeat _update();wait(0.001);until _G.dev_pistol_version~=vers or hum.Health==0;
  857. if(hum.Health==0)then
  858. _clear();
  859. end;
  860. script.Disabled=true;
  861.  
  862. --mediafire-----------------------------------------------------------------------------
  863.  
  864.  
  865.  
  866. --[[wait(0.1)
  867. -------------------------------
  868. local p=owner
  869. local char=p.Character
  870. script.Parent=char
  871. local torso=char.Torso
  872. local hed=char.Head
  873. local larm=char:FindFirstChild("Left Arm")
  874. local rarm=char:FindFirstChild("Right Arm")
  875. local lleg=char:FindFirstChild("Left Leg")
  876. local rleg=char:FindFirstChild("Right Leg")
  877. local hum=char.Humanoid
  878. local cam=workspace.CurrentCamera
  879. local root=char.HumanoidRootPart
  880. local hb=game:service("RunService").Heartbeat
  881. local rs=game:service("RunService").Stepped
  882. hum.MaxHealth=math.huge
  883. hum.Health=hum.MaxHealth
  884. local pgui=Instance.new("ScreenGui",p.PlayerGui)
  885. random={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  886. local run = 30
  887. local normal = 16
  888. local color = "Institutional white"
  889. local color2 = "Institutional white"
  890. local righteyebrickcolor = "Institutional white"
  891. local NumCol = 0,0,255
  892. local GodSlayer = true
  893. local Full = false
  894. hum.WalkSpeed = 5
  895. ptz = {0.8, 0.85, 0.9, 0.95, 1, 1.05, 1.1}
  896. -------------------
  897. local drinks="10722059"
  898. local m="41707332"
  899. local tx="41708701"
  900. local ragesong="493647101"
  901. local breaks="368270172"
  902. local scream="527276541"
  903. local Shirt = "rbxassetid://1438537447"
  904. local Pants = "rbxassetid://1438538190"
  905. -------------------
  906.  
  907.  
  908. function swait(num)
  909. if num==0 or num==nil then
  910. game:service'RunService'.Stepped:wait(0)
  911. else
  912. for i=0,num do
  913. game:service'RunService'.Stepped:wait(0)
  914. end
  915. end
  916. end
  917.  
  918. function chatfunc(text)
  919. local chat = coroutine.wrap(function()
  920. if char:FindFirstChild("TalkingBillBoard")~= nil then
  921. char:FindFirstChild("TalkingBillBoard"):destroy()
  922. end
  923. local naeeym2 = Instance.new("BillboardGui",char)
  924. naeeym2.Size = UDim2.new(0,100,0,40)
  925. naeeym2.StudsOffset = Vector3.new(0,3,0)
  926. naeeym2.Adornee = char.Head
  927. naeeym2.Name = "TalkingBillBoard"
  928. local tecks2 = Instance.new("TextLabel",naeeym2)
  929. tecks2.BackgroundTransparency = 1
  930. tecks2.BorderSizePixel = 0
  931. tecks2.Text = ""
  932. tecks2.Font = "Fantasy"
  933. tecks2.TextSize = 30
  934. tecks2.TextStrokeTransparency = 0
  935. tecks2.TextColor3 = Color3.new(.6,0,0)
  936. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  937. tecks2.Size = UDim2.new(1,0,0.5,0)
  938. local tecks3 = Instance.new("TextLabel",naeeym2)
  939. tecks3.BackgroundTransparency = 1
  940. tecks3.BorderSizePixel = 0
  941. tecks3.Text = ""
  942. tecks3.Font = "Fantasy"
  943. tecks3.TextSize = 30
  944. tecks3.TextStrokeTransparency = 0
  945. tecks3.TextColor3 = Color3.new(0,0,255)
  946. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  947. tecks3.Size = UDim2.new(1,0,0.5,0)
  948. for i = 1,string.len(text),1 do
  949. tecks2.Text = string.sub(text,1,i)
  950. tecks3.Text = string.sub(text,1,i)
  951. wait(0.01)
  952. end
  953. wait(2)
  954. for i = 1, 50 do
  955. swait()
  956. tecks2.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  957. tecks2.Rotation = tecks2.Rotation - .8
  958. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  959. tecks2.TextTransparency = tecks2.TextTransparency + .04
  960. tecks3.Position = tecks2.Position - UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  961. tecks3.Rotation = tecks2.Rotation + .8
  962. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  963. tecks3.TextTransparency = tecks2.TextTransparency + .04
  964. end
  965. naeeym2:Destroy()
  966. end)
  967. chat()
  968. end
  969. function onChatted(msg)
  970. chatfunc(msg)
  971. end
  972. p.Chatted:connect(onChatted)
  973. coroutine.resume(coroutine.create(function()
  974. wait(2)
  975. chatfunc(". . . . . . .")
  976. end))
  977.  
  978.  
  979. local s0=Instance.new("Sound",char)
  980. s0.SoundId="rbxassetid://"..ragesong
  981. s0.Volume=5
  982. s0.Pitch=1
  983. s0.Looped=true
  984.  
  985.  
  986. local s02=Instance.new("Sound",char)
  987. s02.SoundId="rbxassetid://1461357296"
  988. s02.Volume=5
  989. s02.Pitch=1
  990. s02.Looped=false
  991. s02:Play()
  992.  
  993. function Sound(ID,Parent,Vol,Pitch,Loop)
  994. local S0 = Instance.new("Sound",Parent)
  995. S0.SoundId = ID
  996. S0.Volume = Vol
  997. S0.Looped = Loop
  998. S0.Pitch = Pitch
  999. wait(.1)
  1000. S0:Play()
  1001. end
  1002. function weld(a, b, acf)
  1003. local w = Instance.new("Weld", a)
  1004. w.Part0 = a
  1005. w.Part1 = b
  1006. w.C0 = acf
  1007. end
  1008.  
  1009.  
  1010. wait(9)
  1011. char.Head.face:Destroy()
  1012. local reye = Instance.new("Part", char)
  1013. reye.CanCollide = false
  1014. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  1015. reye.Material = "Neon"
  1016. reye.Size = Vector3.new(.15,.15,.15)
  1017. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  1018. m1 = Instance.new("SpecialMesh", reye)
  1019. m1.MeshType = "Sphere"
  1020. m1.Scale = Vector3.new(0.9,0.9,0.9)
  1021. reye.Locked = true
  1022. reye.Name = "re"
  1023.  
  1024. local leye = Instance.new("Part", char)
  1025. leye.CanCollide = false
  1026. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  1027. leye.Material = "Neon"
  1028. leye.Size = Vector3.new(.15,.15,.15)
  1029. weld(leye, char.Head, CFrame.new(-0.15,-0.2,0.55), CFrame.new(1,0,0))
  1030. local m = Instance.new("SpecialMesh", leye)
  1031. m.MeshType = "Sphere"
  1032. m.Scale = Vector3.new(0.9,0.9,0.9)
  1033. leye.Locked = true
  1034. leye.Name = "le"
  1035.  
  1036. coroutine.resume(coroutine.create(function(Part,Weld)
  1037. while Part.Parent~=nil do
  1038. wait(2)
  1039. for i=0,1,0.2 do
  1040. wait()
  1041. m.Scale = Vector3.new(.9,.9-.8*i,.5)
  1042. end
  1043. for i=0,1,0.2 do
  1044. wait()
  1045. m.Scale = Vector3.new(.9,.9+.8*i,.5)
  1046. end
  1047. end
  1048. end),leye,weld)
  1049.  
  1050. coroutine.resume(coroutine.create(function(Part,Weld)
  1051. while Part.Parent~=nil do
  1052. wait(2)
  1053. for z=0,1,0.2 do
  1054. wait()
  1055. m1.Scale = Vector3.new(.9,.9-.8*z,.5)
  1056. end
  1057. for z=0,1,0.2 do
  1058. wait()
  1059. m1.Scale = Vector3.new(.9,.9+.8*z,.5)
  1060. end
  1061. end
  1062. end),reye,weld)
  1063.  
  1064.  
  1065.  
  1066. function fnt(pos,dist,splr)
  1067. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  1068. local list = {}
  1069. for i,v in pairs(workspace:GetChildren())do
  1070. if v:IsA("Model")then
  1071. if v:findFirstChild("Torso")then
  1072. if v ~= char then
  1073. if(v.Torso.Position -pos).magnitude <= dist then
  1074. table.insert(list,v)
  1075. end
  1076. end
  1077. end
  1078. end
  1079. end
  1080. return list
  1081. end
  1082. function fnp(pos,dist,splr)
  1083. if splr then return(splr.Torso.CFrame.p -pos).magnitude < dist end
  1084. local list = {}
  1085. for i,v in pairs(workspace:GetChildren())do
  1086. if v:IsA("Part")then
  1087. if v ~= char and v.Name~="Car" and v~=torso and v.Name~="Base" and v.Name~="Baseplate" then
  1088. if(v.Position -pos).magnitude <= dist then
  1089. table.insert(list,v)
  1090. end
  1091. end
  1092. end
  1093. end
  1094. return list
  1095. end
  1096. fw = function(wp0, wp1, wc0x, wc0y, wc0z) -- fast weld
  1097. local wld = Instance.new("Weld", wp1)
  1098. wld.Part0 = wp0
  1099. wld.Part1 = wp1
  1100. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  1101. end
  1102. local trans=false
  1103. ------------------------------------
  1104. ------------------------------------
  1105. anim="idle"
  1106. local sine=0
  1107. local add=0
  1108. local value=0
  1109. local ffing=false
  1110. local msgs=0
  1111. attack=false
  1112. NoAnims=false
  1113. ----preparing character----
  1114.  
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120. function NoOutline(Part)
  1121. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1122. end
  1123. function lerp(a, b, t) -- Linear interpolation
  1124. return a + (b - a)*t
  1125. end
  1126.  
  1127. function slerp(a, b, t) --Spherical interpolation
  1128. dot = a:Dot(b)
  1129. if dot > 0.99999 or dot < -0.99999 then
  1130. return t <= 0.5 and a or b
  1131. else
  1132. r = math.acos(dot)
  1133. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  1134. end
  1135. end
  1136.  
  1137. function matrixInterpolate(a, b, t)
  1138. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  1139. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  1140. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  1141. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  1142. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  1143. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  1144. local t = v1:Dot(v2)
  1145. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  1146. return CFrame.new()
  1147. end
  1148. return CFrame.new(
  1149. v0.x, v0.y, v0.z,
  1150. v1.x, v1.y, v1.z,
  1151. v2.x, v2.y, v2.z,
  1152. v3.x, v3.y, v3.z)
  1153. end
  1154. ----------------------------------------------------
  1155. function genWeld(a,b)
  1156. local w = Instance.new("Weld",a)
  1157. w.Part0 = a
  1158. w.Part1 = b
  1159. return w
  1160. end
  1161. function weld(a, b)
  1162. local weld = Instance.new("Weld")
  1163. weld.Name = "W"
  1164. weld.Part0 = a
  1165. weld.Part1 = b
  1166. weld.C0 = a.CFrame:inverse() * b.CFrame
  1167. weld.Parent = a
  1168. return weld;
  1169. end
  1170. ----------------------------------------------------
  1171. function Lerp(c1,c2,al)
  1172. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  1173. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  1174. for i,v in pairs(com1) do
  1175. com1[i] = v+(com2[i]-v)*al
  1176. end
  1177. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  1178. end
  1179. ----------------------------------------------------
  1180.  
  1181.  
  1182.  
  1183. fw(torso, larm, -1.5, 0.5, 0)
  1184. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1185. fw(torso, rarm, 1.5, 0.5, 0)
  1186. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  1187. fw(torso, hed, 0, 1.5, 0)
  1188. fw(torso, lleg, -0.5, -1, 0)
  1189. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  1190. fw(torso, rleg, 0.5, -1, 0)
  1191. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  1192. fw(root, torso, 0, -1, 0)
  1193. torso.Weld.C1 = CFrame.new(0, -1, 0)
  1194. --------------rot------------
  1195. local r=0
  1196. local radd=0.04
  1197. coroutine.wrap(function()
  1198. while rs:wait() do
  1199. r=r+radd
  1200. end
  1201. end)()
  1202. attack = false
  1203. -----------------------------
  1204.  
  1205. -----------------------------
  1206.  
  1207.  
  1208. if trans == false then
  1209. attack=true
  1210. NoAnims=true
  1211. hum.WalkSpeed=0
  1212.  
  1213. local fx = Instance.new("Sound",char)
  1214. fx.SoundId="rbxassetid://"..drinks
  1215. fx.Volume=0
  1216. fx.Pitch=1
  1217. fx:Play()
  1218.  
  1219.  
  1220.  
  1221.  
  1222. fx.SoundId="rbxassetid://"..breaks
  1223. fx.Volume=10
  1224. fx:Play()
  1225.  
  1226.  
  1227.  
  1228.  
  1229. print("drinked")
  1230.  
  1231.  
  1232.  
  1233. coroutine.wrap(function()
  1234. while trans == false do
  1235. wait(0.2)
  1236. local ef = Instance.new("Part",char)
  1237. ef.Name="pulse"
  1238. ef.BrickColor=BrickColor.new(color2)
  1239. ef.Material="Neon"
  1240. ef.Shape="Ball"
  1241. ef.CanCollide=false
  1242. ef.Anchored=true
  1243. ef.Size=Vector3.new(1,1,1)
  1244. ef.CFrame=root.CFrame
  1245.  
  1246. local ef2 = ef:Clone()
  1247. ef2.Parent=ef
  1248. ef2.BrickColor=BrickColor.new(color)
  1249. ef2.Name="call"
  1250. ef2.Size=Vector3.new(1,1,1)
  1251. local em=Instance.new("SpecialMesh",ef2)
  1252. em.MeshId="rbxassetid://3270017"
  1253. em.Scale=Vector3.new(1,1,0.0001)
  1254.  
  1255. local ef3 = ef2:Clone()
  1256. ef3.Parent=ef
  1257. ef3.Name="aura"
  1258. ef3.CFrame=root.CFrame
  1259. local em2=ef3.Mesh
  1260. em2.MeshId="rbxassetid://20329976"
  1261. em2.Scale=Vector3.new(1,0.4,1)
  1262.  
  1263. local ef4 = ef3:Clone()
  1264. ef4.Parent=ef
  1265. local em3=ef4.Mesh
  1266.  
  1267. local ef5 = ef2:Clone()
  1268. ef5.Parent=ef
  1269. local em4=ef5.Mesh
  1270.  
  1271. coroutine.wrap(function()
  1272. for i = 1, 60 do
  1273. rs:wait()
  1274. ef.Size=ef.Size+Vector3.new(1,1,1)
  1275. ef.Transparency=ef.Transparency+1/60
  1276. ef2.Size=ef2.Size+Vector3.new(1,0.3,1)
  1277. ef2.Transparency=ef2.Transparency+1/60
  1278. em.Scale=em.Scale+Vector3.new(1,1,0)
  1279. ef2.CFrame=torso.CFrame*CFrame.Angles(r,r,r)
  1280. ef3.Size=ef3.Size+Vector3.new(1,0.3,1)
  1281. ef3.Transparency=ef3.Transparency+1/60
  1282. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  1283. em2.Scale=em2.Scale+Vector3.new(1,0.3,1)
  1284. ef4.Size=ef4.Size+Vector3.new(1,0.3,1)
  1285. ef4.Transparency=ef4.Transparency+1/60
  1286. ef4.CFrame=root.CFrame*CFrame.Angles(0,-r,0)
  1287. em3.Scale=em3.Scale+Vector3.new(1,0.3,1)
  1288. ef5.Transparency=ef5.Transparency+1/60
  1289. em4.Scale=em4.Scale+Vector3.new(1,1,0)
  1290. ef5.CFrame=torso.CFrame*CFrame.Angles(-r,-r,-r)
  1291. end
  1292. ef:Destroy()
  1293. ef2:Destroy()
  1294. ef3:Destroy()
  1295. ef4:Destroy()
  1296. ef5:Destroy()
  1297. end)()
  1298. end
  1299. local ef = Instance.new("Part",char)
  1300. ef.Name="pulse"
  1301. ef.BrickColor=BrickColor.new(color2)
  1302. ef.Material="Neon"
  1303. ef.Shape="Ball"
  1304. ef.CanCollide=false
  1305. ef.Anchored=true
  1306. ef.Size=Vector3.new(1,1,1)
  1307. ef.CFrame=root.CFrame
  1308. local em=Instance.new("SpecialMesh",ef)
  1309. em.MeshId="rbxassetid://9982590"
  1310. em.Scale=Vector3.new(1,0.3,1)
  1311.  
  1312. local ef2 = ef:Clone()
  1313. ef2.Parent=ef
  1314. ef2.Name="aura"
  1315. ef2.CFrame=root.CFrame
  1316. ef2.Mesh:Destroy()
  1317.  
  1318. local ef3 = ef:Clone()
  1319. ef3.Parent=ef
  1320. ef3.Name="aura"
  1321. ef3.CFrame=root.CFrame
  1322. ef3.Mesh:Destroy()
  1323. local em2=Instance.new("SpecialMesh",ef3)
  1324. em2.MeshId="rbxassetid://20329976"
  1325. em2.Scale=Vector3.new(1,0.3,1)
  1326.  
  1327. coroutine.wrap(function()
  1328. for i = 1, 250 do
  1329. ef.Size=ef.Size+Vector3.new(2,2,2)
  1330. ef.Transparency=ef.Transparency+1/160
  1331. em.Scale=em.Scale+Vector3.new(0.6,0.6,0.6)
  1332. ef.CFrame=root.CFrame*CFrame.Angles(r,r,r)
  1333. ef3.Transparency=ef3.Transparency+1/160
  1334. ef3.CFrame=root.CFrame*CFrame.Angles(0,r,0)
  1335. em2.Scale=em2.Scale+Vector3.new(2,0.8,2)
  1336. ef2.Size=ef2.Size+Vector3.new(2,2,2)
  1337. ef2.Transparency=ef2.Transparency+1/160
  1338. rs:wait()
  1339. end
  1340. ef:Destroy()
  1341. ef2:Destroy()
  1342. ef3:Destroy()
  1343. s02:Destroy()
  1344.  
  1345. end)()
  1346. end)()
  1347.  
  1348. for i = 1, 270 do
  1349. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,4,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  1350. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,0.15),0.25)
  1351. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.2)*CFrame.Angles(math.rad(-40),0,-0.15),0.25)
  1352. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,-6),0.25)
  1353. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.2)*CFrame.Angles(math.rad(-40),0,6),0.25)
  1354. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  1355. rs:wait()
  1356. end
  1357. wait(8.7)
  1358. s0:Play()
  1359. trans=true
  1360. print("screamed")
  1361. for i,v in pairs(char:GetChildren()) do
  1362. if v:FindFirstChild("Handle") then
  1363. v.Handle.Transparency=1
  1364. end
  1365. end
  1366. hum.WalkSpeed=normal
  1367. NoAnims=false
  1368. attack=false
  1369. end
  1370.  
  1371.  
  1372. ------effects------
  1373.  
  1374. ypcall(function()
  1375. shirt = Instance.new("Shirt", char)
  1376. shirt.Name = "Shirt"
  1377. pants = Instance.new("Pants", char)
  1378. pants.Name = "Pants"
  1379. char.Shirt.ShirtTemplate = Shirt
  1380. char.Pants.PantsTemplate = Pants
  1381. end)
  1382.  
  1383. char["Body Colors"].HeadColor = BrickColor.new("Light orange")
  1384. char["Body Colors"].TorsoColor = BrickColor.new("Light orange")
  1385. char["Body Colors"].LeftArmColor = BrickColor.new("Light orange")
  1386. char["Body Colors"].RightArmColor = BrickColor.new("Light orange")
  1387.  
  1388.  
  1389.  
  1390. hum = char.Humanoid
  1391.  
  1392. function CreateMesh(parent, id, x, y, z, texture)
  1393. local m=Instance.new("SpecialMesh", parent)
  1394. m.MeshType = "FileMesh"
  1395. m.MeshId=id
  1396. if texture ~= nil then
  1397. m.TextureId=texture
  1398. end
  1399. m.Scale = Vector3.new(x,y,z)
  1400. end
  1401.  
  1402. local euler = CFrame.fromEulerAnglesXYZ
  1403.  
  1404. Hat=function()
  1405. hat = Instance.new("Part", char)
  1406. CreateMesh(hat, "rbxassetid://667528488", 1.1, 1.1, 1.1,"rbxassetid://845828015")
  1407. hat.Name = "PurpleHair"
  1408. hat.Locked = true
  1409. hat.BrickColor = BrickColor.new("Dark indigo")
  1410. hat.CanCollide=true
  1411. hat.Size=Vector3.new(1,1,1)
  1412. hatw = Instance.new("Weld",hat)
  1413. hatw.Part0=hat
  1414. hatw.Part1=char['Head']
  1415. hatw.C0=CFrame.new(-0.1,-0.4,0)
  1416. hatw.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  1417. end
  1418.  
  1419.  
  1420. Hat2=function()
  1421. hat2 = Instance.new("Part", char)
  1422. CreateMesh(hat2, "rbxassetid://943649996", 0.5, 0.5, 0.5,"rbxassetid://943650208")
  1423. hat2.Name = "DisguiseScarf"
  1424. hat2.Locked = true
  1425. hat2.BrickColor = BrickColor.new("Dark indigo")
  1426. hat2.CanCollide=true
  1427. hat2.Size=Vector3.new(1,1,1)
  1428. hat2w = Instance.new("Weld",hat2)
  1429. hat2w.Part0=hat2
  1430. hat2w.Part1=char['Head']
  1431. hat2w.C0=CFrame.new(0,0.5,0)
  1432. hat2w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  1433. end
  1434.  
  1435. Hat()
  1436. Hat2()
  1437.  
  1438. hum.MaxHealth=math.huge
  1439. hum.Health=hum.MaxHealth
  1440.  
  1441.  
  1442. Debounces = {
  1443. CanAttack = true;
  1444. NoIdl = false;
  1445. Slashing = false;
  1446. Slashed = false;
  1447. RPunch = false;
  1448. RPunched = false;
  1449. LPunch = false;
  1450. LPunched = false;
  1451. }
  1452. local Touche = {char.Name, }
  1453.  
  1454.  
  1455.  
  1456.  
  1457.  
  1458. CV="Institutional white"
  1459.  
  1460. local txt = Instance.new("BillboardGui", char)
  1461. txt.Adornee = char .Head
  1462. txt.Name = "_status"
  1463. txt.Size = UDim2.new(2, 0, 1.2, 0)
  1464. txt.StudsOffset = Vector3.new(-9, 11, 0)
  1465. local text = Instance.new("TextLabel", txt)
  1466. text.Size = UDim2.new(10, 0, 7, 0)
  1467. text.FontSize = "Size24"
  1468. text.TextScaled = true
  1469. text.TextTransparency = 0
  1470. text.BackgroundTransparency = 1
  1471. text.TextTransparency = 0
  1472. text.TextStrokeTransparency = 0
  1473. text.Font = "Antique"
  1474. text.TextStrokeColor3 = Color3.new(255,255,255)
  1475.  
  1476. v=Instance.new("Part")
  1477. v.Name = "ColorBrick"
  1478. v.Parent=p.Character
  1479. v.FormFactor="Symmetric"
  1480. v.Anchored=true
  1481. v.CanCollide=false
  1482. v.BottomSurface="Smooth"
  1483. v.TopSurface="Smooth"
  1484. v.Size=Vector3.new(10,5,3)
  1485. v.Transparency=1
  1486. v.CFrame=char.Torso.CFrame
  1487. v.BrickColor=BrickColor.new(CV)
  1488. v.Transparency=1
  1489. text.TextColor3 = Color3.new(0,0,0)
  1490. v.Shape="Block"
  1491. text.Text = "Gokus Reborn Soul"
  1492.  
  1493.  
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499. rarm.Touched:connect(function(ht)
  1500. hit = ht.Parent
  1501. if ht and hit:IsA("Model") then
  1502. if hit:FindFirstChild("Humanoid") then
  1503. if hit.Name ~= p.Name then
  1504. if Debounces.RPunch == true and Debounces.RPunched == false then
  1505. Debounces.RPunched = true
  1506. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1507. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  1508. if Debounces.ks==true then
  1509. z = Instance.new("Sound",hed)
  1510. z.SoundId = "rbxassetid://588693156"
  1511. z.Pitch = ptz[math.random(1,#ptz)]
  1512. z.Volume = 20
  1513. z:Play()
  1514. end
  1515. wait(.2)
  1516. Debounces.RPunched = false
  1517. end
  1518. end
  1519. end
  1520. elseif ht and hit:IsA("Hat") then
  1521. if hit.Parent.Name ~= p.Name then
  1522. if hit.Parent:FindFirstChild("Humanoid") then
  1523. if Debounces.RPunch == true and Debounces.RPunched == false then
  1524. Debounces.RPunched = true
  1525. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(5,8))
  1526. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  1527. if Debounces.ks==true then
  1528. z = Instance.new("Sound",hed)
  1529. z.SoundId = "rbxassetid://588693156"
  1530. z.Pitch = ptz[math.random(1,#ptz)]
  1531. z.Volume = 20
  1532. z:Play()
  1533. end
  1534. wait(.2)
  1535. Debounces.RPunched = false
  1536. end
  1537. end
  1538. end
  1539. end
  1540. end)
  1541. larm.Touched:connect(function(ht)
  1542. hit = ht.Parent
  1543. if ht and hit:IsA("Model") then
  1544. if hit:FindFirstChild("Humanoid") then
  1545. if hit.Name ~= p.Name then
  1546. if Debounces.LPunch == true and Debounces.LPunched == false then
  1547. Debounces.LPunched = true
  1548. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1549. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  1550. if Debounces.ks2==true then
  1551. z = Instance.new("Sound",hed)
  1552. z.SoundId = "rbxassetid://588693156"
  1553. z.Pitch = ptz[math.random(1,#ptz)]
  1554. z.Volume = 20
  1555. z:Play()
  1556. end
  1557. wait(.2)
  1558. Debounces.LPunched = false
  1559. end
  1560. end
  1561. end
  1562. elseif ht and hit:IsA("Hat") then
  1563. if hit.Parent.Name ~= p.Name then
  1564. if hit.Parent:FindFirstChild("Humanoid") then
  1565. if Debounces.LPunch == true and Debounces.LPunched == false then
  1566. Debounces.LPunched = true
  1567. hit.Parent:FindFirstChild("Humanoid"):TakeDamage(math.random(4,8))
  1568. hit:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 20
  1569. if Debounces.ks2==true then
  1570. z = Instance.new("Sound",hed)
  1571. z.SoundId = "rbxassetid://588693156"
  1572. z.Pitch = ptz[math.random(1,#ptz)]
  1573. z.Volume = 20
  1574. z:Play()
  1575. end
  1576. wait(.2)
  1577. Debounces.LPunched = false
  1578. end
  1579. end
  1580. end
  1581. end
  1582. end)
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588.  
  1589.  
  1590.  
  1591. local attacktype = 1
  1592. local attack = false
  1593.  
  1594.  
  1595.  
  1596. function attackone()
  1597. Debounces.RPunch = true
  1598. Debounces.LPunch = true
  1599. attack = true
  1600. NoAnims = true
  1601. for i = 1, 3 do
  1602. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1603. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1604. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1605. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1606. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1607. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1608. if Debounces.on == false then break end
  1609. wait()
  1610. end
  1611. attack = false
  1612. NoAnims = false
  1613. Debounces.RPunch = false
  1614. Debounces.LPunch = false
  1615. end
  1616.  
  1617. function attacktwo()
  1618. Debounces.RPunch = true
  1619. Debounces.LPunch = true
  1620. NoAnims = true
  1621. attack = true
  1622. for i = 1, 3 do
  1623. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1624. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1625. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1626. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1627. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1628. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1629. if Debounces.on == false then break end
  1630. wait()
  1631. end
  1632. attack = false
  1633. NoAnims = false
  1634. Debounces.RPunch = false
  1635. Debounces.LPunch = false
  1636.  
  1637. end
  1638.  
  1639.  
  1640. function attackthree()
  1641. Debounces.RPunch = true
  1642. Debounces.LPunch = true
  1643. NoAnims = true
  1644. attack = true
  1645. for i = 1, 3 do
  1646. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(60),math.rad(20),math.rad(20)), 0.92)
  1647. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(50)), 0.92)
  1648. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(-50),0), 0.92)
  1649. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), 0), 0.92)
  1650. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-50), math.rad(-15)), 0.92)
  1651. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-50), math.rad(15)), 0.92)
  1652. if Debounces.on == false then break end
  1653. wait()
  1654. end
  1655. attack = false
  1656. NoAnims = false
  1657. Debounces.RPunch = false
  1658. Debounces.LPunch = false
  1659. end
  1660.  
  1661.  
  1662. function attackfour()
  1663. Debounces.RPunch = true
  1664. Debounces.LPunch = true
  1665. NoAnims = true
  1666. attack = true
  1667. for i = 1, 3 do
  1668. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(-50)), 0.92)
  1669. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(120),math.rad(20),math.rad(-20)), 0.92)
  1670. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.92)
  1671. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-50), 0), 0.92)
  1672. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.6, -1, 0) * CFrame.Angles(math.rad(10), math.rad(50), math.rad(-15)), 0.92)
  1673. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.6, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(50), math.rad(15)), 0.92)
  1674. if Debounces.on == false then break end
  1675. wait()
  1676. end
  1677. attack = false
  1678. NoAnims = false
  1679. Debounces.RPunch = false
  1680. Debounces.LPunch = false
  1681. end
  1682.  
  1683.  
  1684. mouse.Button1Down:connect(function()
  1685. if attack == false and attacktype == 1 then
  1686. attacktype = 2
  1687. attackone()
  1688. elseif attack == false and attacktype == 2 then
  1689. attacktype = 3
  1690. attacktwo()
  1691. elseif attack == false and attacktype == 3 then
  1692. attacktype = 4
  1693. attackthree()
  1694. elseif attack == false and attacktype == 4 then
  1695. attacktype = 1
  1696. attackfour()
  1697. end
  1698. end)
  1699.  
  1700.  
  1701. --[[function Transformation()
  1702. hum.WalkSpeed = 0
  1703. local Portal = Instance.new("Model",char)
  1704. local prt1 = Instance.new("Model",Portal)
  1705. local prt2 = Instance.new("Model",Portal)
  1706. local prt3 = Instance.new("Model",Portal)
  1707. for i = 1,7 do
  1708. local p = Instance.new("Part",prt1)
  1709. p.Locked = true
  1710. p.Anchored = true
  1711. p.Transparency = 1
  1712. p.CanCollide = false
  1713. p.BrickColor = BrickColor.new("Really red")
  1714. p.TopSurface = 0
  1715. p.Material = "Neon"
  1716. p.BottomSurface = 0
  1717. p.Size = Vector3.new(1,1,1)
  1718. local m = Instance.new("SpecialMesh",p)
  1719. m.Name = 'm'
  1720. m.Scale = Vector3.new(1,1,1)
  1721. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1722. end for i = 1,7 do
  1723. local p = Instance.new("Part",prt2)
  1724. p.Locked = true
  1725. p.Anchored = true
  1726. p.CanCollide = false
  1727. p.Transparency = 1
  1728. p.BrickColor = BrickColor.new("Really black")
  1729. p.TopSurface = 0
  1730. p.Material = "Neon"
  1731. p.BottomSurface = 0
  1732. p.Size = Vector3.new(1,1,1)
  1733. local m = Instance.new("SpecialMesh",p)
  1734. m.Name = 'm'
  1735. m.Scale = Vector3.new(1,1,1)
  1736. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1737. end for i = 1,7 do
  1738. local p = Instance.new("Part",prt3)
  1739. p.Locked = true
  1740. p.Anchored = true
  1741. p.CanCollide = false
  1742. p.Transparency = 1
  1743. p.BrickColor = BrickColor.new("Really red")
  1744. p.TopSurface = 0
  1745. p.Material = "Neon"
  1746. p.BottomSurface = 0
  1747. p.Size = Vector3.new(1,1,1)
  1748. local m = Instance.new("SpecialMesh",p)
  1749. m.Name = 'm'
  1750. m.Scale = Vector3.new(1,1,1)
  1751. m.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1752. end
  1753. local Rot,Rate,Dist,Size = 0,65,65,1
  1754. coroutine.wrap(function()
  1755. while wait()do
  1756. if _DEBOUNCE then break end
  1757. for i,v in pairs(prt1:GetChildren())do
  1758. v.Transparency = v.Transparency -0.035
  1759. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,math.rad((i *360/#prt1:GetChildren())+Rot),0)* CFrame.new(0,0,-Dist)
  1760. v.m.Scale = Vector3.new(Size,Size,Size)
  1761. end for i,v in pairs(prt2:GetChildren())do
  1762. v.Transparency = v.Transparency -0.035
  1763. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(math.rad((i *360/#prt2:GetChildren())+Rot),0,0)* CFrame.new(0,0,-Dist)
  1764. v.m.Scale = Vector3.new(Size,Size,Size)
  1765. end for i,v in pairs(prt3:GetChildren())do
  1766. v.Transparency = v.Transparency -0.035
  1767. v.CFrame = CFrame.new(char.Torso.Position)* CFrame.fromEulerAnglesXYZ(0,0,math.rad((i *360/#prt2:GetChildren())+Rot))* CFrame.new(-Dist,-Dist,0)
  1768. v.m.Scale = Vector3.new(Size,Size,Size)
  1769. end
  1770. Rot = Rot >= 360 and 0 or Rot +Rate
  1771. end end)()
  1772. wait(0.75)
  1773. for i = 1,90 do
  1774. Rate = Rate -(2.3/3)
  1775. Dist = Dist -(1.5/3)
  1776. wait()
  1777. end
  1778. wait(1)
  1779. for i = 1,30 do
  1780. Rate = Rate -(2.3/3)
  1781. Dist = Dist +0.5
  1782. wait()
  1783. end
  1784. wait(2)
  1785. for i = 1,30 do
  1786. Rate = Rate +(9.2/3)
  1787. Dist = Dist -1.75
  1788. wait()
  1789. end
  1790. wait(0.75)
  1791. for i = 1,6 do
  1792. Rate = Rate -4
  1793. Dist = Dist +0.5
  1794. wait()
  1795. end
  1796. Rate = 0
  1797. Dist = 6
  1798. wait(2)
  1799. for i = 1,90 do
  1800. Rate = Rate +0.5
  1801. Dist = Dist +0.2
  1802. wait()
  1803. end
  1804. wait(1)
  1805. for i = 1,30 do
  1806. Dist = Dist -(24/30)
  1807. Size = Size +0.05
  1808. wait()
  1809. end
  1810. -- Scream in pain
  1811.  
  1812.  
  1813. coroutine.resume(coroutine.create(function()
  1814. wait(2)
  1815. game.Lighting.TimeOfDay = "00:00:00"
  1816.  
  1817. hat.Transparency = 1
  1818. Hat3=function()
  1819. hat3 = Instance.new("Part", char)
  1820. CreateMesh(hat3, "rbxassetid://667528488", 1.1, 1.1, 1.1)
  1821. hat3.Name = "RedHair"
  1822. hat3.Locked = true
  1823. hat3.BrickColor = BrickColor.new("Institutional white")
  1824. hat3.CanCollide=true
  1825. hat3.Size=Vector3.new(1,1,1)
  1826. hat3w = Instance.new("Weld",hat3)
  1827. hat3w.Part0=hat3
  1828. hat3w.Part1=char['Head']
  1829. hat3w.C0=CFrame.new(-0.1,-0.4,0)
  1830. hat3w.C1=euler(math.rad(0),math.rad(0),math.rad(0))
  1831. end
  1832.  
  1833.  
  1834.  
  1835. ypcall(function()
  1836. shirt = Instance.new("Shirt", char)
  1837. shirt.Name = "Shirt"
  1838. pants = Instance.new("Pants", char)
  1839. pants.Name = "Pants"
  1840. char.Shirt.ShirtTemplate = "rbxassetid://1438537447"
  1841. char.Pants.PantsTemplate = "rbxassetid://1438538190"
  1842. end)
  1843.  
  1844. ragesong2 = "492913801"
  1845. s02=Instance.new("Sound",char)
  1846. s02.SoundId="rbxassetid://"..ragesong2
  1847. s02.Volume=1999
  1848. s02.Pitch=1
  1849. s02.Looped=true
  1850. righteyebrickcolor = "Really red"
  1851. s0:Stop()
  1852. wait(0.01)
  1853. s02:Play()
  1854. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  1855. leye.BrickColor = BrickColor.new(righteyebrickcolor)
  1856. text.TextStrokeColor3 = Color3.new(255,0,0)
  1857. hat.BrickColor = BrickColor.new("Maroon")
  1858. Hat3()
  1859. end))
  1860.  
  1861.  
  1862. tran = 0
  1863. for i,v in pairs(char:GetChildren()) do
  1864. if v.Name == "Head" or v.Name == "Torso" or v.Name == "Torso" or v.Name == "Left Arm" or v.Name == "Right Arm" or v.Name == "Left Leg" or v.Name == "Right Leg" then
  1865. Glow1 = Color3.new(.6,0,.1)
  1866. Glow2 = Color3.new(0,0,0)
  1867.  
  1868. GlowParticle = Instance.new("ParticleEmitter",v)
  1869. GlowParticle.LightEmission = 1
  1870. GlowParticle.Color = ColorSequence.new(Glow1,Glow2)
  1871. GlowParticle.Size = NumberSequence.new(0,2)
  1872.  
  1873. GlowParticle.Texture = "http://www.roblox.com/asset/?id=467188845"
  1874. GlowParticle.Transparency = NumberSequence.new(tran,1)
  1875. GlowParticle.LockedToPart = true
  1876. GlowParticle.Lifetime = NumberRange.new(0.5)
  1877. GlowParticle.Rate= 300
  1878. GlowParticle.Speed =NumberRange.new(0)
  1879. end end
  1880.  
  1881.  
  1882.  
  1883.  
  1884.  
  1885.  
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893. coroutine.wrap(function()
  1894. for i = 1,3 do
  1895. wait()
  1896. end end)()
  1897. wait(1.65)
  1898. _DEBOUNCE = true
  1899. wait()
  1900. Portal:Destroy()
  1901. coroutine.wrap(function()
  1902. local Pos = char.Torso.Position
  1903. local BOOSH = Instance.new("Sound",Workspace)
  1904. BOOSH.SoundId = "http://www.roblox.com/asset/?id=2101159"
  1905. BOOSH.Volume = 1
  1906. BOOSH.Pitch = 0.675
  1907. local Fuse = Instance.new("Sound",Workspace)
  1908. Fuse.SoundId = "http://www.roblox.com/asset/?id=2233908"
  1909. Fuse.Volume = 1
  1910. Fuse.Pitch = 0.25
  1911. local BOOSH2 = Instance.new("Sound",Workspace)
  1912. BOOSH2.SoundId = "http://www.roblox.com/asset/?id=3264793"
  1913. BOOSH2.Volume = 1
  1914. BOOSH2.Pitch = 0.25
  1915. local dsound = true
  1916. local PewPew = Instance.new("Sound",Workspace)
  1917. PewPew.Name = "PewPew"
  1918. PewPew.SoundId = "http://www.roblox.com/asset/?id=34315534"
  1919. PewPew.Volume = 1
  1920. PewPew.Pitch = 0.32
  1921. local function GetHumanoids()
  1922. local Characters = {}
  1923. for i,v in pairs(Workspace:GetChildren())do
  1924. if v:IsA("Model")then
  1925. local Hu = v:findFirstChild("Humanoid")
  1926. local Torso = v:findFirstChild("Torso")
  1927. if Hu and Torso and v.Name ~= p.Name then
  1928. table.insert(Characters,Torso)
  1929. end end end
  1930. return Characters
  1931. end
  1932. local function Boom()
  1933. for i = 1,25 do
  1934. for _,v in pairs(GetHumanoids())do
  1935. if(Pos - v.Position).magnitude <=(40 +i *2.5)/2 then
  1936. local h = v.Parent:findFirstChild("Humanoid")
  1937. if h then
  1938. local Moar =(Pos - v.Position).unit
  1939.  
  1940.  
  1941. end end end
  1942. local p = Instance.new("Part",char)
  1943. p.Name = "BlastRing"
  1944. p.TopSurface = 0
  1945. p.BottomSurface = 0
  1946. p.CanCollide = false
  1947. p.Anchored = true
  1948. p.BrickColor = BrickColor.new("Really red")
  1949. p.Size = Vector3.new(1,1,1)
  1950. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  1951. local rm = Instance.new("SpecialMesh",p)
  1952. rm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1953. rm.Name = "BlastMesh"
  1954. rm.Scale = Vector3.new(1,1,1)
  1955. coroutine.wrap(function()
  1956. for n = 1,15 do
  1957. rm.Scale = rm.Scale + Vector3.new(1.2 +2 +i/5,1.2 +2 +i/5,0.1)*4/2
  1958. if 2 +i/5 == 1.2 then
  1959. rm.Scale = rm.Scale + Vector3.new(0,0.9,0)
  1960. end
  1961. p.Transparency = n/15
  1962. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/50,math.random(-20,20)/70,0)
  1963. wait()
  1964. end
  1965. p:Destroy()
  1966. end)()
  1967. local p = Instance.new("Part",char)
  1968. p.TopSurface = 0
  1969. p.BottomSurface = 0
  1970. p.formFactor = "Symmetric"
  1971. p.Size = Vector3.new(1,1,1)
  1972. p.Anchored = true
  1973. p.CanCollide = false
  1974. p.BrickColor = BrickColor.new("Really red")
  1975. p.CFrame = CFrame.new(Pos)
  1976. local m = Instance.new("BlockMesh",p)
  1977. coroutine.wrap(function()
  1978. for x = 1,48 do
  1979. m.Scale = m.Scale + Vector3.new(0.48 *2 -x/50 +i *0.4,0.48 *2 -i/50 +i *0.4,0.48 *2 -i/50 +i *0.4)/2
  1980. p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/60,math.random(-10,10)/50)
  1981. p.Transparency = x/48
  1982. Wait()
  1983. end
  1984. p:Destroy()
  1985. end)()
  1986. Game:GetService("Debris"):AddItem(p,5)
  1987. local p = Instance.new("Part",char)
  1988. p.Name = "BlastRing"
  1989. p.TopSurface = 0
  1990. p.BottomSurface = 0
  1991. p.CanCollide = false
  1992. p.Anchored = true
  1993. p.BrickColor = BrickColor.new("Really black")
  1994. p.Size = Vector3.new(1,1,1)
  1995. p.CFrame = CFrame.new(Pos - Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  1996. local m = Instance.new("SpecialMesh",p)
  1997. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1998. m.Scale = Vector3.new(1,0.25,1)
  1999. coroutine.wrap(function()
  2000. for n = 1,13 do
  2001. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  2002. if 1 +i/5 == 1.2 then
  2003. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  2004. end
  2005. p.Transparency = n/13
  2006. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  2007. Wait()
  2008. end
  2009. p:Destroy()
  2010. end)()
  2011. Wait(0.1)
  2012. end for i = 10,19 do
  2013. local p = Instance.new("Part",char)
  2014. p.Name = "BlastRing"
  2015. p.TopSurface = 0
  2016. p.BottomSurface = 0
  2017. p.CanCollide = false
  2018. p.Anchored = true
  2019. p.BrickColor = BrickColor.new("Really red")
  2020. p.Size = Vector3.new(1,1,1)
  2021. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(0,0,0)
  2022. local m = Instance.new("SpecialMesh",p)
  2023. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2024. m.Scale = Vector3.new(1,0.25,1)
  2025. coroutine.wrap(function()
  2026. for n = 1,13 do
  2027. m.Scale = m.Scale + Vector3.new(0.7 +1 +i/5,0.7/(n/5),0.7 +1 +i/5)*4/2
  2028. if 1 +i/5 == 1.2 then
  2029. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  2030. end
  2031. p.Transparency = n/13
  2032. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(0,math.random(-4,4)/20,0)
  2033. Wait()
  2034. end
  2035. p:Destroy()
  2036. end)()
  2037. local p = Instance.new("Part",char)
  2038. p.Name = "BlastRing"
  2039. p.TopSurface = 0
  2040. p.BottomSurface = 0
  2041. p.CanCollide = false
  2042. p.Anchored = true
  2043. p.BrickColor = BrickColor.new("Really black")
  2044. p.Size = Vector3.new(1,1,1)
  2045. p.CFrame = CFrame.new(Pos -Vector3.new(0,3,0))* CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)/30)
  2046. p.Parent = workspace
  2047. local m = Instance.new("SpecialMesh",p)
  2048. m.Name = "BlastMesh"
  2049. m.Scale = Vector3.new(0.1,0.1,0.1)
  2050. m.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2051. coroutine.wrap(function()
  2052. for n = 1,15 do
  2053. m.Scale = m.Scale + Vector3.new(1.5 + 3 +i/5,1.5 + 3+i/5,0.1)*4/2
  2054. if 3+i/5 == 1.2 then
  2055. m.Scale = m.Scale + Vector3.new(0,0.9,0)
  2056. end
  2057. p.Transparency = n/15
  2058. p.CFrame = p.CFrame * CFrame.new(0,0.01,0)* CFrame.fromEulerAnglesXYZ(math.random(-20,20)/90,math.random(-20,20)/170,0)
  2059. Wait()
  2060. end
  2061. p:Destroy()
  2062. end)()
  2063. for _,v in pairs(GetHumanoids())do
  2064. if(Pos - v.Position).magnitude <=(5 +i *9.5)/3 then
  2065. local h = v.Parent:findFirstChild("Humanoid")
  2066. if h then
  2067. local Moar =(Pos - v.Position).unit
  2068.  
  2069.  
  2070. end end end
  2071. Wait(0.1)
  2072. end for i = 30,37 do
  2073. for _,v in pairs(GetHumanoids())do
  2074. if(Pos -v.Position).magnitude <=(140 +i *2.5)/3 then
  2075. local h = v.Parent:findFirstChild("Humanoid")
  2076. if h then
  2077. local Moar =(Pos - v.Position).unit
  2078.  
  2079.  
  2080. end end end end
  2081. dsound = false
  2082. wait(6.5)
  2083. for i = 1,30 do
  2084. BOOSH.Volume = BOOSH.Volume -0.033
  2085. BOOSH2.Volume = BOOSH.Volume
  2086. Fuse.Volume = BOOSH.Volume
  2087. Wait()
  2088. end
  2089. BOOSH:Stop()
  2090. BOOSH2:Stop()
  2091. Fuse:Stop()
  2092. end
  2093. BOOSH2:Play()
  2094. Fuse:Play()
  2095. BOOSH:Play()
  2096. Boom()
  2097. end)()
  2098. hum.WalkSpeed = 5
  2099. end]]
  2100.  
  2101.  
  2102. GroundWave = function()
  2103. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  2104. local Colors = {"Institutional white", "Institutional white"}
  2105. local wave = Instance.new("Part", torso)
  2106. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  2107. wave.Anchored = true
  2108. wave.CanCollide = false
  2109. wave.Locked = true
  2110. wave.Size = Vector3.new(1, 1, 1)
  2111. wave.TopSurface = "Smooth"
  2112. wave.BottomSurface = "Smooth"
  2113. wave.Transparency = 0.35
  2114. wave.CFrame = HandCF
  2115. wm = Instance.new("SpecialMesh", wave)
  2116. wm.MeshId = "rbxassetid://3270017"
  2117. coroutine.wrap(function()
  2118. for i = 1, 14, 1 do
  2119. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  2120. wave.Size = wm.Scale
  2121. wave.CFrame = HandCF
  2122. wave.Transparency = i/14
  2123. wait()
  2124. end
  2125. wait()
  2126. wave:Destroy()
  2127. end)()
  2128. end
  2129.  
  2130.  
  2131.  
  2132. function BurningEff(part)
  2133. local eff1 = Instance.new("ParticleEmitter",part)
  2134. eff1.Size = NumberSequence.new(.1)
  2135. eff1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  2136. eff1.LightEmission = 1
  2137. eff1.Lifetime = NumberRange.new(1)
  2138. eff1.Speed = NumberRange.new(0)
  2139. eff1.Rate = 100
  2140. eff1.Texture = "rbxassetid://284205403"
  2141. eff1.Acceleration = Vector3.new(0,10,0)
  2142. eff1.Color = ColorSequence.new(Color3.new(0,0,255))
  2143. local eff2 = Instance.new("ParticleEmitter",part)
  2144. eff2.Size = NumberSequence.new(.1)
  2145. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(.2,0),NumberSequenceKeypoint.new(1,1)})
  2146. eff2.LightEmission = 1
  2147. eff2.Lifetime = NumberRange.new(0.2)
  2148. eff2.Speed = NumberRange.new(0)
  2149. eff2.Rate = 100
  2150. eff2.Texture = "rbxassetid://347504259"
  2151. eff2.Acceleration = Vector3.new(0,10,0)
  2152. eff2.Color = ColorSequence.new(Color3.new(0,0,255))
  2153. local eff3 = Instance.new("ParticleEmitter",part)
  2154. eff3.Size = NumberSequence.new(0.2)
  2155. eff3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0),NumberSequenceKeypoint.new(1,1)})
  2156. eff3.LightEmission = 1
  2157. eff3.Lifetime = NumberRange.new(1)
  2158. eff3.Speed = NumberRange.new(0)
  2159. eff3.Rate = 100
  2160. eff3.Texture = "rbxassetid://284205403"
  2161. eff3.Acceleration = Vector3.new(0,10,0)
  2162. eff3.Color = ColorSequence.new(Color3.new(0,0,255))
  2163. end
  2164.  
  2165.  
  2166. function FullPower()
  2167. NoAnims = true
  2168. attack = true
  2169.  
  2170.  
  2171.  
  2172. Full = true
  2173.  
  2174.  
  2175. for i = 1, 40 do
  2176. wait()
  2177. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.10)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)), 0.4)--head
  2178. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)--torso
  2179. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(10)), 0.2)--rarm
  2180. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.2,-.70)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-10)), 0.2)--larm
  2181. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(-20)), 0.4)--lleg
  2182. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -0.6, -.40) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(10)), 0.4)--rleg
  2183. end
  2184.  
  2185.  
  2186.  
  2187.  
  2188.  
  2189.  
  2190.  
  2191.  
  2192.  
  2193. for i = 1, 20 do
  2194. wait()
  2195. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)), 0.4)--head
  2196. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10), math.rad(0), math.rad(0)), 0.2)--torso
  2197. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-30)), 0.2)--arm
  2198. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,0.5,0)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(30)), 0.2)--arm
  2199. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(-10)), 0.4)--leg
  2200. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(10)), 0.4)--leg
  2201. end
  2202.  
  2203. s0:Destroy()
  2204. ragesong = "397952612"
  2205. wait(0.001)
  2206. s02 = Instance.new("Sound",char)
  2207. s02.Volume = 90
  2208. s02.SoundId = "rbxassetid://"..ragesong
  2209. s02.Looped = true
  2210. s02.Pitch = 1
  2211. wait(0.001)
  2212. s02:Play()
  2213.  
  2214.  
  2215. local selectionBoxOfTorso = Instance.new("SelectionBox",torso)
  2216. selectionBoxOfTorso.Adornee = torso
  2217. selectionBoxOfTorso.Color = BrickColor.new("Institutional white")
  2218. selectionBoxOfTorso.LineThickness = 0.01
  2219. selectionBoxOfTorso.Transparency = 0
  2220.  
  2221. local selectionBoxOfRightArm = Instance.new("SelectionBox",char["Right Arm"])
  2222. selectionBoxOfRightArm.Adornee = char["Right Arm"]
  2223. selectionBoxOfRightArm.Color = BrickColor.new("Institutional white")
  2224. selectionBoxOfRightArm.LineThickness = 0.01
  2225. selectionBoxOfRightArm.Transparency = 0
  2226.  
  2227. local selectionBoxOfRightLeg = Instance.new("SelectionBox",char["Right Leg"])
  2228. selectionBoxOfRightLeg.Adornee = char["Right Leg"]
  2229. selectionBoxOfRightLeg.Color = BrickColor.new("Institutional white")
  2230. selectionBoxOfRightLeg.LineThickness = 0.01
  2231. selectionBoxOfRightLeg.Transparency = 0
  2232.  
  2233. local selectionBoxOfLeftArm = Instance.new("SelectionBox",char["Left Arm"])
  2234. selectionBoxOfLeftArm.Adornee = char["Left Arm"]
  2235. selectionBoxOfLeftArm.Color = BrickColor.new("Institutional white")
  2236. selectionBoxOfLeftArm.LineThickness = 0.01
  2237. selectionBoxOfLeftArm.Transparency = 0
  2238.  
  2239. local selectionBoxOfLeftLeg = Instance.new("SelectionBox",char["Left Leg"])
  2240. selectionBoxOfLeftLeg.Adornee = char["Left Leg"]
  2241. selectionBoxOfLeftLeg.Color = BrickColor.new("Institutional white")
  2242. selectionBoxOfLeftLeg.LineThickness = 0.01
  2243. selectionBoxOfLeftLeg.Transparency = 0
  2244.  
  2245. BurningEff(reye)
  2246.  
  2247. LightOnBody = Instance.new("PointLight", hed)
  2248. LightOnBody.Brightness = 3000
  2249. LightOnBody.Range = 20
  2250. LightOnBody.Color = Color3.new(0, 0, 255)
  2251.  
  2252. r = game:GetService("RunService").RenderStepped
  2253. Activated = true
  2254. custommath={25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,-25,-26,-27,-28,-29,-30,-31,-32,-33,-34,-35,-36,-37,-38,-39,-40,-41,-42,-43,-44,-45,-46,-47,-48,-49,-50,-51,-52,-53,-54,-55,-56,-57,-58,-59,-60,-61,-62,-63,-64,-65,-66,-67,-68,-69,-70,-71,-72,-73,-74,-75,-76,-77,-78,-79,-80,-81,-82,-83,-84,-85,-86,-87,-88,-89,-90,-91,-92,-93,-94,-95,-96,-97,-98,-99,-100}
  2255. Debri = coroutine.wrap(function()
  2256. repeat
  2257. local p = Instance.new('Part',torso)
  2258. p.formFactor = 'Custom'
  2259. p.Size = Vector3.new(1,1,1)
  2260. p.BrickColor = workspace.Base.BrickColor
  2261. p.CanCollide = false
  2262. p.Transparency = 0
  2263. p.Anchored = true
  2264. p.Locked=true
  2265. p.Material = workspace.Base.Material
  2266. s = math.random(1,40)/10
  2267. local m = Instance.new("BlockMesh",p)
  2268. m.Scale = Vector3.new(s,s,s)
  2269. p.CFrame = torso.CFrame*CFrame.new(custommath[math.random(1,#custommath)]/10,-math.random(5,7),custommath[math.random(1,#custommath)]/10)*CFrame.Angles(math.random(),math.random(),math.random())
  2270. --[[coroutine.wrap(function()
  2271. wait(2)
  2272. while Charging == true do
  2273. wait(2)
  2274. GroundWave1()
  2275. wait(2)
  2276. end
  2277. end)()]]--
  2278.  
  2279. spawn(function()
  2280. while r:wait() do
  2281. if p.Transparency >= 1 then p:Destroy() break end
  2282. p.CFrame = p.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))+Vector3.new(0,0.2,0)
  2283. p.Transparency = p.Transparency+0.01
  2284. end
  2285. end)
  2286. wait(.3)
  2287. until Activated == false
  2288. end)
  2289. Debri()
  2290.  
  2291. l = game.Lighting
  2292. l.TimeOfDay = 1
  2293. game.Lighting.Ambient = Color3.new(0,0,0)
  2294. l.Brightness = 0.1
  2295.  
  2296.  
  2297. spawn(function()
  2298. while wait(2)
  2299. do
  2300. GroundWave()
  2301. end
  2302. end)
  2303.  
  2304.  
  2305. local eColors = {"Institutional white", "Institutional white"}
  2306. coroutine.resume(coroutine.create(function()
  2307. function Lightning(Part0,Part1,Times,Offset,Color,Thickness,Trans) -- Lightning module
  2308. local magz = (Part0 - Part1).magnitude
  2309. local curpos = Part0
  2310. local trz = {-Offset,Offset}
  2311. for i=1,Times do
  2312. local li = Instance.new("Part", torso)
  2313. li.Name = "Lightning"
  2314. li.TopSurface =0
  2315. li.Material = "Neon"
  2316. li.BottomSurface = 0
  2317. li.Anchored = true
  2318. li.Locked = true
  2319. li.Transparency = Trans or 0.4
  2320. li.BrickColor = BrickColor.new(Color)
  2321. li.formFactor = "Custom"
  2322. li.CanCollide = false
  2323. li.Size = Vector3.new(Thickness,Thickness,magz/Times)
  2324. local Offzet = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  2325. local trolpos = CFrame.new(curpos,Part1)*CFrame.new(0,0,magz/Times).p+Offzet
  2326. if Times == i then
  2327. local magz2 = (curpos - Part1).magnitude
  2328. li.Size = Vector3.new(Thickness,Thickness,magz2)
  2329. li.CFrame = CFrame.new(curpos,Part1)*CFrame.new(0,0,-magz2/2)
  2330. else
  2331. li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
  2332. end
  2333. curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p
  2334. game.Debris:AddItem(li,.1)
  2335. end
  2336. end
  2337.  
  2338. BodyParts = {}
  2339. for _, v in pairs(char:GetChildren()) do
  2340. if v:IsA("Part") then
  2341. table.insert(BodyParts, v)
  2342. end
  2343. end
  2344.  
  2345. Bounding = {} -- Calculate the bounding boxes
  2346. for _, v in pairs(BodyParts) do
  2347. local temp = {X=nil, Y=nil, Z=nil}
  2348. temp.X = v.Size.X/2 * 10
  2349. temp.Y = v.Size.Y/2 * 10
  2350. temp.Z = v.Size.Z/2 * 10
  2351. Bounding[v.Name] = temp
  2352. end
  2353.  
  2354. while wait(lightspeed) do
  2355. lightspeed = math.random(0.1,0.2)
  2356. local Body1 = BodyParts[math.random(#BodyParts)]
  2357. local Body2 = BodyParts[math.random(#BodyParts)]
  2358. local Pos1 = Vector3.new(
  2359. math.random(-Bounding[Body1.Name].X, Bounding[Body1.Name].X)/10,
  2360. math.random(-Bounding[Body1.Name].Y, Bounding[Body1.Name].Y)/10,
  2361. math.random(-Bounding[Body1.Name].Z, Bounding[Body1.Name].Z)/10
  2362. )
  2363. local Pos2 = Vector3.new(
  2364. math.random(-Bounding[Body2.Name].X, Bounding[Body2.Name].X)/10,
  2365. math.random(-Bounding[Body2.Name].Y, Bounding[Body2.Name].Y)/10,
  2366. math.random(-Bounding[Body2.Name].Z, Bounding[Body2.Name].Z)/10
  2367. )
  2368. local SPos1 = Body1.Position + Pos1
  2369. local SPos2 = Body2.Position + Pos2
  2370. Lightning(SPos1, SPos2, 4, 3, eColors[math.random(1,#eColors)], .2, .56)
  2371. end
  2372. end))
  2373. for i = 1, 20 do
  2374. wait()
  2375. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.3,.2)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(0)), 0.4)--head
  2376. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0)), 0.2)--torso
  2377. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(60)), 0.2)--arm
  2378. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.4,0.5,0)*CFrame.Angles(math.rad(-120),math.rad(0),math.rad(-60)), 0.2)--arm
  2379. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(-10)), 0.4)--leg
  2380. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-20), math.rad(0), math.rad(10)), 0.4)--leg
  2381. end
  2382.  
  2383.  
  2384. attack = false
  2385. NoAnims = false
  2386. end
  2387.  
  2388. function weld5(part0, part1, c0, c1)
  2389. weeld=Instance.new("Weld", part0)
  2390. weeld.Part0=part0
  2391. weeld.Part1=part1
  2392. weeld.C0=c0
  2393. weeld.C1=c1
  2394. return weeld
  2395. end
  2396.  
  2397.  
  2398.  
  2399. Grab = false
  2400.  
  2401.  
  2402.  
  2403.  
  2404.  
  2405. fat = Instance.new("BindableEvent",script)
  2406. fat.Name = "Heartbeat"
  2407.  
  2408. script:WaitForChild("Heartbeat")
  2409.  
  2410. frame = 1/30
  2411. tf = 0
  2412. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  2413. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  2414. lastframe = tick()
  2415. script.Heartbeat:Fire() --ayy lmao
  2416.  
  2417. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  2418. tf = tf + s
  2419. if tf >= frame then
  2420. if allowframeloss then
  2421. script.Heartbeat:Fire()
  2422. lastframe=tick()
  2423. else
  2424. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  2425. for i=1, math.floor(tf/frame) do
  2426. script.Heartbeat:Fire()
  2427. end
  2428. lastframe=tick()
  2429. end
  2430. if tossremainder then
  2431. tf = 0
  2432. else
  2433. tf = tf - frame * math.floor(tf/frame)
  2434. end
  2435. end
  2436. end)
  2437.  
  2438. function Swait(NUMBER)
  2439. if NUMBER == 0 or NUMBER == nil then
  2440. fat.Event:wait()
  2441. else
  2442. for i = 1, NUMBER do
  2443. fat.Event:wait()
  2444. end
  2445. end
  2446. end
  2447.  
  2448.  
  2449.  
  2450.  
  2451.  
  2452. function GrabAndDrag()
  2453. NoAnims = true
  2454. attack = true
  2455.  
  2456. if Grab == false then
  2457.  
  2458. for i = 1, 20 do
  2459. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2460. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-80)), 0.2)
  2461. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(-70),0), 0.2)
  2462. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(70), 0), 0.2)
  2463. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(30), math.rad(-20)), 0.2)
  2464. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(-15), math.rad(20)), 0.2)
  2465. if Debounces.on == false then break end
  2466. rs:wait(2)
  2467. end
  2468. con1=larm.Touched:connect(function(hit) -- this is grab
  2469. ht = hit.Parent
  2470. hum1=ht:FindFirstChild('Humanoid')
  2471. if hum1 ~= nil then
  2472.  
  2473.  
  2474.  
  2475.  
  2476. z = Instance.new("Sound",char)
  2477. z.SoundId = "rbxassetid://227194112"
  2478. z.Volume = 90
  2479. wait(.1)
  2480. z:Play()
  2481. hum1.PlatformStand=true
  2482. gp = ht
  2483. Grab = true
  2484. asd=weld5(larm,ht:FindFirstChild("Torso"),CFrame.new(0,-1,1.5),CFrame.new(0,0,0))
  2485. asd.Parent = larm
  2486. asd.Name = "asd"
  2487. asd.C0=asd.C0*CFrame.Angles(math.rad(-90),math.rad(180),0)
  2488.  
  2489.  
  2490. --[[ elseif hum1 == nil then
  2491. con1:disconnect()
  2492. wait() return]]
  2493. end
  2494. end)
  2495.  
  2496.  
  2497. for i = 1, 20 do
  2498. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.2)
  2499. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(20)), 0.2)
  2500. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-10),math.rad(30),0), 0.2)
  2501. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-30), 0), 0.2)
  2502. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  2503. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.2)
  2504. if Debounces.on == false then break end
  2505. rs:wait(2)
  2506. end
  2507. con1:disconnect()
  2508.  
  2509. if gp == nil then
  2510. attack = false
  2511. NoAnims = false
  2512. return end
  2513.  
  2514.  
  2515.  
  2516. --[[for i = 1, 16 do
  2517. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(0),math.rad(50),math.rad(60)), 0.3)
  2518. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.5)*CFrame.Angles(math.rad(130),math.rad(0),math.rad(-60)), 0.3)
  2519. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(14),math.rad(70),0), 0.3)
  2520. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-70), 0), 0.3)
  2521. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.3)
  2522. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2523. cor.Weld.C1 = Lerp(cor.Weld.C1, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(40), 0), 0.3)
  2524. if Debounces.on == false then end
  2525. rs:wait()
  2526. end]]--
  2527. for i = 1, 16 do
  2528. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  2529. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-73)), 0.3)
  2530. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(20),math.rad(-60),0), 0.3)
  2531. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(50), 0), 0.3)
  2532. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(30), math.rad(-20)), 0.3)
  2533. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-15), math.rad(20)), 0.3)
  2534. if Debounces.on == false then end
  2535. rs:wait()
  2536. end
  2537.  
  2538.  
  2539. coroutine.resume(coroutine.create(function()
  2540. local BF = Instance.new("BodyVelocity",hed)
  2541. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2542. BF.velocity = root.CFrame.lookVector*120
  2543. wait(2.5)
  2544. BF:remove()
  2545. end))
  2546.  
  2547.  
  2548.  
  2549. z = Instance.new("Sound",char)
  2550. z.SoundId = "rbxassetid://138223085"
  2551. z.Volume = 90
  2552. wait(.1)
  2553. z:Play()
  2554.  
  2555. coroutine.resume(coroutine.create(function()
  2556. for i=1,78 do
  2557. wait()
  2558. MagicBlock(BrickColor.new("Institutional white"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  2559. wait(0.01)
  2560. MagicBlock(BrickColor.new("Really black"),gp:FindFirstChild("Torso").CFrame,1,1,1,0.5,0.5,0.5,0.025)
  2561. end
  2562. end))
  2563.  
  2564. coroutine.resume(coroutine.create(function()
  2565. Grabee = gp:FindFirstChild("Torso")
  2566. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  2567. wait(0.01)
  2568. for i = 1,78 do
  2569. wait(0.01)
  2570. for i=1, 5 do
  2571. p=Instance.new("Part")
  2572. p.FrontSurface=par.TopSurface
  2573. p.Material=par.Material
  2574. p.BottomSurface=0
  2575. p.Anchored=true p.CanCollide=false
  2576. p.BrickColor=par.BrickColor
  2577. p.Size=Vector3.new(math.random(15,35)/5,math.random(15,35)/5,math.random(4,5))
  2578. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-i,i)/1,3,math.random(-i,i)/1),loc+Vector3.new(0,1000-i*20,0))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  2579. p.Parent=char
  2580. game:GetService("Debris"):AddItem(p,2+i*.1)
  2581. if math.random(1,5)==5 then
  2582. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=30 f.RiseVelocity=0 f.Opacity=.025 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  2583. end
  2584. end
  2585. end
  2586.  
  2587. end))
  2588.  
  2589. coroutine.resume(coroutine.create(function()
  2590. Grabee = gp:FindFirstChild("Torso")
  2591. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  2592. wait(0.01)
  2593.  
  2594. for i=1, 78 do
  2595. wait(0.01)
  2596. for i=1, 1 do
  2597. p=Instance.new("Part")
  2598. p.TopSurface=par.TopSurface
  2599. p.BottomSurface=par.BottomSurface
  2600. p.Material=par.Material
  2601. p.BottomSurface=0
  2602. p.Anchored=false p.CanCollide=false
  2603. p.BrickColor=par.BrickColor
  2604. p.formFactor="Custom"
  2605. p.Size=Vector3.new(math.random(15,35)/12,math.random(13,35)/12,math.random(15,35)/12)
  2606. p.CFrame=CFrame.new(Grabee.Position-Vector3.new(math.random(-4,4),-2,math.random(-4,4)))*CFrame.fromEulerAnglesXYZ(math.random(-10,10)/20,math.random(-10,10)/5,math.random(-10,10)/20)
  2607. p.Parent=char
  2608. game:GetService("Debris"):AddItem(p,3+i*.1)
  2609. p.Velocity=Vector3.new(math.random(-10,10)*4,math.random(40,80),math.random(-10,10)*4)
  2610. p.RotVelocity=p.Velocity
  2611. if math.random(1,5)==5 then
  2612. coroutine.resume(coroutine.create(function(p) f=Instance.new("Smoke") f.Parent=p f.Size=15 f.RiseVelocity=10 f.Opacity=.1 Swait(.1) f.Enabled=false Swait(1) f:Remove() end),p)
  2613. end
  2614. end
  2615. Swait(.025)
  2616. end
  2617.  
  2618. end))
  2619. for i = 1, 100 do
  2620. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(20)), 0.3)
  2621. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.4)*CFrame.Angles(math.rad(70),math.rad(0),math.rad(-13)), 0.3)
  2622. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(0),math.rad(20),0), 0.3)
  2623. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-60), math.rad(-30), 0), 0.3)
  2624. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(80), math.rad(30), math.rad(-20)), 0.3)
  2625. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(70), math.rad(-15), math.rad(20)), 0.3)
  2626. if Debounces.on == false then end
  2627. rs:wait()
  2628. end
  2629. asd:Destroy()
  2630. gp = nil
  2631. hum1.Health = 0
  2632. attack = false
  2633. ht = nil
  2634. NoAnims = false
  2635. Grab = false
  2636. end
  2637. end
  2638.  
  2639.  
  2640.  
  2641.  
  2642.  
  2643.  
  2644.  
  2645.  
  2646.  
  2647.  
  2648.  
  2649. function FindNearestTorso(Position,Distance,SinglePlayer)
  2650. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  2651. local List = {}
  2652. for i,v in pairs(workspace:GetChildren())do
  2653. if v:IsA("Model")then
  2654. if v:findFirstChild("Torso")then
  2655. if v ~= char then
  2656. if(v.Torso.Position -Position).magnitude <= Distance then
  2657. table.insert(List,v)
  2658. end
  2659. end
  2660. end
  2661. end
  2662. end
  2663. return List
  2664. end
  2665.  
  2666.  
  2667.  
  2668. function Ring()
  2669.  
  2670.  
  2671. local effspwn = Instance.new("Part")
  2672. local model = Instance.new("Model")
  2673. game.Debris:AddItem(model, 20)
  2674. model.Name = "smasheffects"
  2675. model.Parent = workspace
  2676. effspwn.Name = "spwnr"
  2677. effspwn.Size = Vector3.new(1, 1, 1)
  2678. effspwn.Anchored = true
  2679. effspwn.CanCollide = false
  2680. effspwn.Transparency = 1
  2681. effspwn.CFrame = root.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  2682. effspwn.Parent = model
  2683.  
  2684. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  2685. if v:FindFirstChild('Humanoid') then
  2686. v.Humanoid:TakeDamage(math.random(10000020,10000030))
  2687. v.Humanoid.PlatformStand = true
  2688. v:FindFirstChild("Torso").Velocity = hed.CFrame.lookVector * 200
  2689. end
  2690. end
  2691. coroutine.resume(coroutine.create(function()
  2692. local shok = Instance.new("Part")
  2693. shok.Name = "wring1"
  2694. shok.BrickColor = BrickColor.new("Institutional white")
  2695. shok.CFrame = effspwn.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2696. shok.Size = Vector3.new(1, 1, 1)
  2697. shok.Anchored = true
  2698. shok.Material = "Neon"
  2699. shok.Transparency = 0.25
  2700. shok.CanCollide = false
  2701. shok.Parent = model
  2702. game.Debris:AddItem(shok, 12)
  2703. local mesh = Instance.new("SpecialMesh")
  2704. mesh.MeshType = "FileMesh"
  2705. mesh.MeshId = "rbxassetid://3270017"
  2706. mesh.Scale = Vector3.new(0.1, 0.1, 0.05)
  2707. mesh.Parent = shok
  2708. for e = 1, 30 do
  2709. wait()
  2710. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 3)
  2711. shok.Transparency = shok.Transparency + 0.002
  2712. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2713. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2714. end
  2715. for e = 1, 38 do
  2716. wait()
  2717. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2718. shok.Transparency = shok.Transparency + 0.002
  2719. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2720. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2721. end
  2722. for e = 1, 24 do
  2723. wait()
  2724. mesh.Scale = mesh.Scale + Vector3.new(2.6, 2.6, 0.1)
  2725. shok.Transparency = shok.Transparency + 0.03
  2726. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2727. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-2))
  2728. end
  2729. end))
  2730. coroutine.resume(coroutine.create(function()
  2731. local shok = Instance.new("Part")
  2732. shok.Name = "wring2"
  2733. shok.BrickColor = BrickColor.new("Institutional white")
  2734. shok.CFrame = effspwn.CFrame * CFrame.new(0, 12, 0) * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  2735. shok.Size = Vector3.new(1, 1, 1)
  2736. shok.Anchored = true
  2737. shok.Material = "Neon"
  2738. shok.Transparency = 0.25
  2739. shok.CanCollide = false
  2740. shok.Parent = model
  2741. game.Debris:AddItem(shok, 12)
  2742. local mesh = Instance.new("SpecialMesh")
  2743. mesh.MeshType = "FileMesh"
  2744. mesh.MeshId = "rbxassetid://3270017"
  2745. mesh.Scale = Vector3.new(12, 12, 0.05)
  2746. mesh.Parent = shok
  2747. for e = 1, 30 do
  2748. wait()
  2749. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 3)
  2750. shok.Transparency = shok.Transparency + 0.002
  2751. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -1), 0.4)
  2752. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2753. end
  2754. for e = 1, 38 do
  2755. wait()
  2756. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2757. shok.Transparency = shok.Transparency + 0.002
  2758. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2759. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2760. end
  2761. for e = 1, 24 do
  2762. wait()
  2763. mesh.Scale = mesh.Scale + Vector3.new(2.8, 2.8, 0.1)
  2764. shok.Transparency = shok.Transparency + 0.03
  2765. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 0, -0.12), 0.4)
  2766. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(2))
  2767. end
  2768. end))
  2769.  
  2770. coroutine.resume(coroutine.create(function()
  2771. local shok = Instance.new("Part")
  2772. shok.Name = "shokwve"
  2773. shok.BrickColor = BrickColor.new("Really black")
  2774. shok.Position = effspwn.Position + Vector3.new(0, 5, 0)
  2775. shok.Size = Vector3.new(1, 1, 1)
  2776. shok.Anchored = true
  2777. shok.Material = "Neon"
  2778. shok.Transparency = 0.6
  2779. shok.CanCollide = false
  2780. shok.Parent = model
  2781. game.Debris:AddItem(shok, 12)
  2782. local mesh = Instance.new("SpecialMesh")
  2783. mesh.MeshType = "FileMesh"
  2784. mesh.MeshId = "rbxassetid://489415447"
  2785. mesh.Scale = Vector3.new(1, 1, 1)
  2786. mesh.Parent = shok
  2787. for e = 1, 12 do
  2788. wait()
  2789. mesh.Scale = mesh.Scale + Vector3.new(2, 2, 2)
  2790. shok.Transparency = shok.Transparency + 0.002
  2791. end
  2792. for e = 1, 32 do
  2793. wait()
  2794. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2795. shok.Transparency = shok.Transparency + 0.002
  2796. end
  2797. for e = 1, 24 do
  2798. wait()
  2799. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0.5, 0.5)
  2800. shok.Transparency = shok.Transparency + 0.03
  2801. end
  2802. end))
  2803. coroutine.resume(coroutine.create(function()
  2804. local shok = Instance.new("Part")
  2805. shok.Name = "shock2"
  2806. shok.BrickColor = BrickColor.new("Really black")
  2807. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2808. shok.Size = Vector3.new(1, 1, 1)
  2809. shok.Anchored = true
  2810. shok.Material = "Neon"
  2811. shok.Transparency = 0.35
  2812. shok.CanCollide = false
  2813. shok.Parent = model
  2814. game.Debris:AddItem(shok, 12)
  2815. local mesh = Instance.new("SpecialMesh")
  2816. mesh.MeshType = "FileMesh"
  2817. mesh.MeshId = "rbxassetid://489415447"
  2818. mesh.Scale = Vector3.new(12, 12, 12)
  2819. mesh.Parent = shok
  2820. for e = 1, 15 do
  2821. wait()
  2822. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2823. shok.Transparency = shok.Transparency + 0.004
  2824. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2825. end
  2826. for e = 1, 16 do
  2827. wait()
  2828. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2829. shok.Transparency = shok.Transparency + 0.004
  2830. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2831. end
  2832. for e = 1, 12 do
  2833. wait()
  2834. mesh.Scale = mesh.Scale + Vector3.new(1.5, 2.8, 1.5)
  2835. shok.Transparency = shok.Transparency + 0.06
  2836. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(35), math.rad(0))
  2837. end
  2838. end))
  2839. coroutine.resume(coroutine.create(function()
  2840. local shok = Instance.new("Part")
  2841. shok.Name = "shock3"
  2842. shok.BrickColor = BrickColor.new("Institutional white")
  2843. shok.CFrame = effspwn.CFrame * CFrame.new(0, 6, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0))
  2844. shok.Size = Vector3.new(1, 1, 1)
  2845. shok.Anchored = true
  2846. shok.Material = "Neon"
  2847. shok.Transparency = 0.35
  2848. shok.CanCollide = false
  2849. shok.Parent = model
  2850. game.Debris:AddItem(shok, 12)
  2851. local mesh = Instance.new("SpecialMesh")
  2852. mesh.MeshType = "FileMesh"
  2853. mesh.MeshId = "rbxassetid://489415447"
  2854. mesh.Scale = Vector3.new(12, 12, 12)
  2855. mesh.Parent = shok
  2856. for e = 1, 15 do
  2857. wait()
  2858. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2859. shok.Transparency = shok.Transparency + 0.004
  2860. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2861. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2862. end
  2863. for e = 1, 16 do
  2864. wait()
  2865. mesh.Scale = mesh.Scale + Vector3.new(0.5, 2.6, 0.5)
  2866. shok.Transparency = shok.Transparency + 0.004
  2867. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2868. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2869. end
  2870. for e = 1, 12 do
  2871. wait()
  2872. mesh.Scale = mesh.Scale + Vector3.new(0.5, -1, 0.5)
  2873. shok.Transparency = shok.Transparency + 0.06
  2874. shok.CFrame = shok.CFrame:lerp(shok.CFrame * CFrame.new(0, 2, 0), 0.4)
  2875. shok.CFrame = shok.CFrame * CFrame.Angles(math.rad(0), math.rad(-16), math.rad(0))
  2876. end
  2877. end))
  2878.  
  2879. end
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887. it=Instance.new
  2888. vt=Vector3.new
  2889. cf=CFrame.new
  2890.  
  2891. function NoOutline(Part)
  2892. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  2893. end
  2894.  
  2895.  
  2896. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  2897. local fp=it("Part")
  2898. fp.formFactor=formfactor
  2899. fp.Parent=parent
  2900. fp.Reflectance=reflectance
  2901. fp.Transparency=transparency
  2902. fp.CanCollide=false
  2903. fp.Locked=true
  2904. fp.BrickColor=brickcolor
  2905. fp.Name=name
  2906. fp.Size=size
  2907. fp.Position=torso.Position
  2908. NoOutline(fp)
  2909. fp.Material="SmoothPlastic"
  2910. fp:BreakJoints()
  2911. return fp
  2912. end
  2913.  
  2914.  
  2915.  
  2916. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  2917. local mesh=it(Mesh)
  2918. mesh.Parent=part
  2919. if Mesh=="SpecialMesh" then
  2920. mesh.MeshType=meshtype
  2921. if meshid~="nil" then
  2922. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  2923. end
  2924. end
  2925. mesh.Offset=offset
  2926. mesh.Scale=scale
  2927. return mesh
  2928. end
  2929.  
  2930. function weld(parent,part0,part1,c0)
  2931. local weld=it("Weld")
  2932. weld.Parent=parent
  2933. weld.Part0=part0
  2934. weld.Part1=part1
  2935. weld.C0=c0
  2936. return weld
  2937. end
  2938.  
  2939.  
  2940. function swait(num)
  2941. if num==0 or num==nil then
  2942. game:service'RunService'.Stepped:wait(0)
  2943. else
  2944. for i=0,num do
  2945. game:service'RunService'.Stepped:wait(0)
  2946. end
  2947. end
  2948. end
  2949.  
  2950.  
  2951.  
  2952.  
  2953. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2954. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2955. end
  2956.  
  2957. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2958. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2959. prt.Anchored=true
  2960. prt.CFrame=cframe
  2961. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2962. --http://www.roblox.com/asset/?id=4770560
  2963. game:GetService("Debris"):AddItem(prt,2)
  2964. CF=prt.CFrame
  2965. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2966. for i=0,1,0.2 do
  2967. wait()
  2968. Part.CFrame=CF*cf(0,0,-0.4)
  2969. end
  2970. for i=0,1,delay do
  2971. wait()
  2972. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2973. Mesh.Scale=Mesh.Scale
  2974. end
  2975. for i=0,1,0.1 do
  2976. wait()
  2977. Part.Transparency=i
  2978. end
  2979. Part.Parent=nil
  2980. end),prt,msh,CF)
  2981. end
  2982.  
  2983. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2984. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2985. prt.Anchored=true
  2986. prt.Material = "SmoothPlastic"
  2987. prt.CFrame=cframe
  2988. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2989. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2990. game:GetService("Debris"):AddItem(prt,5)
  2991. coroutine.resume(coroutine.create(function(Part,Mesh)
  2992. for i=0,1,delay do
  2993. swait()
  2994. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2995. Part.Transparency=i
  2996. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2997. end
  2998. Part.Parent=nil
  2999. end),prt,msh)
  3000. end
  3001.  
  3002. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  3003. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3004. prt.Anchored=true
  3005. prt.Material = "Neon"
  3006. prt.CFrame=cframe
  3007. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3008. game:GetService("Debris"):AddItem(prt,5)
  3009. coroutine.resume(coroutine.create(function(Part,Mesh)
  3010. local rtype = rottype
  3011. for i=0,1,delay do
  3012. swait()
  3013. if rtype == 1 then
  3014. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  3015. elseif rtype == 2 then
  3016. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  3017. end
  3018. Part.Transparency=i
  3019. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3020. end
  3021. Part.Parent=nil
  3022. end),prt,msh)
  3023. end
  3024.  
  3025. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3026. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3027. prt.Anchored=true
  3028. prt.CFrame=cframe
  3029. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3030. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3031. game:GetService("Debris"):AddItem(prt,5)
  3032. coroutine.resume(coroutine.create(function(Part,Mesh)
  3033. for i=0,1,delay do
  3034. wait()
  3035. Part.Transparency=i
  3036. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3037. end
  3038. Part.Parent=nil
  3039. end),prt,msh)
  3040. end
  3041.  
  3042. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3043. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3044. prt.Anchored=false
  3045. prt.CFrame=cframe
  3046. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3047. local wld=weld(prt,prt,Parent,cframe)
  3048. game:GetService("Debris"):AddItem(prt,5)
  3049. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3050. for i=0,1,delay do
  3051. wait()
  3052. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  3053. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3054. Part.Transparency=i
  3055. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3056. end
  3057. Part.Parent=nil
  3058. end),prt,msh,wld)
  3059. end
  3060.  
  3061. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  3062. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3063. prt.Anchored=false
  3064. prt.CFrame=cframe
  3065. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3066. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  3067. game:GetService("Debris"):AddItem(prt,5)
  3068. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  3069. for i=0,1,delay do
  3070. wait()
  3071. Weld.C0=euler(i*20,0,0)
  3072. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3073. Part.Transparency=i
  3074. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3075. end
  3076. Part.Parent=nil
  3077. end),prt,msh,wld)
  3078. end
  3079.  
  3080. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3081. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3082. prt.Anchored=true
  3083. prt.CFrame=cframe
  3084. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  3085. game:GetService("Debris"):AddItem(prt,2)
  3086. coroutine.resume(coroutine.create(function(Part,Mesh)
  3087. for i=0,1,delay do
  3088. wait()
  3089. Part.CFrame=Part.CFrame
  3090. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3091. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3092. prt2.Anchored=true
  3093. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3094. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  3095. game:GetService("Debris"):AddItem(prt2,2)
  3096. coroutine.resume(coroutine.create(function(Part,Mesh)
  3097. for i=0,1,0.1 do
  3098. wait()
  3099. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  3100. end
  3101. Part.Parent=nil
  3102. end),prt2,msh2)
  3103. end
  3104. for i=0,1,delay*2 do
  3105. wait()
  3106. Part.CFrame=Part.CFrame
  3107. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  3108. end
  3109. Part.Parent=nil
  3110. end),prt,msh)
  3111. end
  3112.  
  3113. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3114. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3115. prt.Anchored=true
  3116. prt.CFrame=cframe
  3117. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3118. game:GetService("Debris"):AddItem(prt,2)
  3119. coroutine.resume(coroutine.create(function(Part,Mesh)
  3120. for i=0,1,delay do
  3121. wait()
  3122. Part.CFrame=Part.CFrame
  3123. Part.Transparency=i
  3124. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3125. end
  3126. Part.Parent=nil
  3127. end),prt,msh)
  3128. end
  3129.  
  3130. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  3131. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3132. prt.Anchored=true
  3133. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  3134. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  3135. game:GetService("Debris"):AddItem(prt,2)
  3136. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  3137. CF=Part.CFrame
  3138. Numbb=0
  3139. randnumb=math.random()/10
  3140. rand1=math.random()/10
  3141. for i=0,1,rand1 do
  3142. wait()
  3143. CF=CF*cf(0,math.random()/2,0)
  3144. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  3145. Part.CFrame=CF*euler(Numbb,0,0)
  3146. Part.Transparency=i
  3147. Numbb=Numbb+randnumb
  3148. end
  3149. Part.Parent=nil
  3150. end),prt,CF,Numbb,randnumb)
  3151. end
  3152.  
  3153. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3154. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3155. prt.Anchored=true
  3156. prt.CFrame=cframe
  3157. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  3158. game:GetService("Debris"):AddItem(prt,5)
  3159. coroutine.resume(coroutine.create(function(Part,Mesh)
  3160. for i=0,1,delay do
  3161. wait()
  3162. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  3163. Part.Transparency=i
  3164. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3165. end
  3166. Part.Parent=nil
  3167. end),prt,msh)
  3168. end
  3169.  
  3170. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  3171. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3172. prt.Anchored=true
  3173. prt.CFrame=cframe
  3174. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  3175. game:GetService("Debris"):AddItem(prt,2)
  3176. coroutine.resume(coroutine.create(function(Part,Mesh)
  3177. for i=0,1,delay do
  3178. wait()
  3179. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  3180. Part.Transparency=i
  3181. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  3182. end
  3183. Part.Parent=nil
  3184. end),prt,msh)
  3185. end
  3186.  
  3187. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  3188. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  3189. prt.Anchored=true
  3190. prt.CFrame=cframe*cf(x,y,z)
  3191. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  3192. game:GetService("Debris"):AddItem(prt,5)
  3193. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  3194. local num=math.random()
  3195. local num2=math.random(-3,2)+math.random()
  3196. local numm=0
  3197. for i=0,1,delay*2 do
  3198. swait()
  3199. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  3200. Part.Transparency=i
  3201. numm=numm+0.01
  3202. end
  3203. Part.Parent=nil
  3204. Mesh.Parent=nil
  3205. end),prt,msh,x,y,z)
  3206. end
  3207.  
  3208.  
  3209.  
  3210. function newRay(start,face,range,wat)
  3211. local rey=Ray.new(start.p,(face.p-start.p).Unit*range)
  3212. hit,pos=game.Workspace:FindPartOnRayWithIgnoreList(rey,wat)
  3213. return rey,hit,pos
  3214. end
  3215.  
  3216. function Landing()
  3217. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3218. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  3219. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3220. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3221. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  3222. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3223.  
  3224. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3225. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  3226. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3227. end
  3228.  
  3229.  
  3230.  
  3231.  
  3232.  
  3233.  
  3234.  
  3235.  
  3236.  
  3237.  
  3238. function nooutline(part)
  3239. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3240. end
  3241.  
  3242.  
  3243.  
  3244.  
  3245. function debris(cfremz, thepart, amt)
  3246. for j = 1, amt do
  3247. do
  3248. local pr = Instance.new("Part")
  3249. nooutline(pr)
  3250. pr.Name = "debrisobeb"
  3251. pr.Anchored = true
  3252. pr.BrickColor = thepart.BrickColor
  3253. pr.CanCollide = true
  3254. pr.Material = thepart.Material
  3255. pr.Transparency = thepart.Transparency
  3256. pr.Size = Vector3.new(math.random(16, 24), math.random(12, 16), math.random(16, 24))
  3257. pr.CFrame = cfremz * CFrame.Angles(0, math.rad(amt * j), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  3258. pr.Parent = workspace
  3259. game.Debris:AddItem(pr, 25)
  3260. delay(15, function()
  3261. if pr then
  3262. pr.CanCollide = false
  3263. pr.Anchored = false
  3264. end
  3265. end)
  3266. end
  3267. end
  3268. for c = 1, amt do
  3269. do
  3270. local pr2 = Instance.new("Part")
  3271. nooutline(pr2)
  3272. pr2.Name = "moredebr"
  3273. pr2.Anchored = false
  3274. pr2.BrickColor = thepart.BrickColor
  3275. pr2.CanCollide = false
  3276. pr2.Material = thepart.Material
  3277. pr2.Transparency = thepart.Transparency
  3278. pr2.Size = Vector3.new(math.random(8, 18), math.random(6, 18), math.random(8, 18))
  3279. pr2.CFrame = cfremz * CFrame.Angles(0, math.rad(30 * c), 0) * CFrame.new(0, -5, math.random(18, 22)) * CFrame.Angles(math.rad(math.random(-30, -15)), math.rad(math.random(0, 1)), math.rad(math.random(0, 1)))
  3280. pr2.Parent = workspace
  3281. pr2.Velocity = Vector3.new(math.random(-75, 75), math.random(120, 240), math.random(-75, 75))
  3282. pr2.RotVelocity = Vector3.new(math.random(-35, 35), math.random(-35, 35), math.random(-35, 35))
  3283. game.Debris:AddItem(pr2, 45)
  3284. delay(2, function()
  3285. pr2.CanCollide = true
  3286. wait(10)
  3287. if pr2 then
  3288. pr2.CanCollide = false
  3289. end
  3290. end)
  3291. end
  3292. end
  3293. end
  3294.  
  3295.  
  3296.  
  3297.  
  3298.  
  3299.  
  3300.  
  3301.  
  3302.  
  3303.  
  3304. function AirSlam()
  3305. NoAnims = true
  3306. attack = true
  3307. for i = 1, 20 do
  3308. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1,0.6,-.2) *CFrame.Angles (math.rad (45),math.rad(0),math.rad(32)), 0.2)
  3309. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1,1,0)*CFrame.Angles(math.rad (0),math.rad(0),math.rad(-20)), 0.2)
  3310. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (- 8),math.rad(-40), math.rad(-8)),0.2)
  3311. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles (math.rad (-50), math.rad(40), math.rad(0)), 0.2)
  3312. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, .4, -.6) * CFrame.Angles (math.rad (30), 0, math.rad(20)), 0.2)
  3313. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles (math.rad(- 10), math.rad(-40), math.rad(0)), 0.2)
  3314. if Debounces.on == false then break end
  3315. wait()
  3316. end
  3317. wait(0.5)
  3318.  
  3319.  
  3320. coroutine.resume(coroutine.create(function()
  3321. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,5*2.5,5*2.5,5*2.5,1.25*2.5,1.25*2.5,1.25*2.5,0.015)
  3322. MagicBlock(BrickColor.new("Really black"),root.CFrame,5*2.5,5*2.5,5*2.5,1.5*2.5,1.5*2.5,1.5*2.5,0.025)
  3323. MagicBlock(BrickColor.new("Institutional white"),root.CFrame,10*2.5,10*2.5,10*2.5,5.5*2.5,5.5*2.5,5.5*2.5,0.15)
  3324. end))
  3325.  
  3326. Sound("http://www.roblox.com/asset?id = 180199750",char,90,1,false)
  3327.  
  3328. hum.WalkSpeed = 50
  3329. BV = Instance.new("BodyVelocity", torso)
  3330. BV.maxForce = Vector3.new(0,200000,0)
  3331. BV.P = 100000
  3332. BV.velocity = Vector3.new(0,150,0)
  3333. for i = 1, 20 do
  3334. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(20),math.rad(0), math.rad(0)),0.7)
  3335. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(math.rad(-16), math.rad(0), math.rad(0)), 0.7)
  3336. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(40), 0, math.rad(-20)), 0.7)
  3337. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-40), math.rad(0), math.rad(20)), 0.7)
  3338. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-10), 0, 0), 0.7)
  3339. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, -0.5) * CFrame.Angles(math.rad(0), 0, 0), 0.7)
  3340. if Debounces.on == false then break end
  3341. wait()
  3342. end
  3343. BV:Destroy()
  3344.  
  3345. coroutine.resume(coroutine.create(function()
  3346. for i = 1, 2880, 48 do
  3347. torso.Weld.C1 = CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(i), math.rad(0), math.rad(0))
  3348. rs:wait(4)
  3349. end
  3350. torso.Weld.C1 = CFrame.new(0, -1, 0)
  3351. end))
  3352.  
  3353. for i = 1, 30 do
  3354. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-14),math.rad(0), math.rad(0)),0.3)
  3355. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-16), math.rad (0), math.rad(0)), 0.3)
  3356. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.3)
  3357. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.3)
  3358. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -1) * CFrame.Angles(math.rad(20), 0, 0), 0.3)
  3359. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.6) * CFrame.Angles(math.rad(-30), 0, 0), 0.3)
  3360. if Debounces.on == false then break end
  3361. wait()
  3362. end
  3363.  
  3364. if (torso.Velocity*Vector3.new(1, 1, 1)).magnitude > 1 then
  3365. for i = 1, 20 do
  3366. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0)*CFrame.Angles(math.rad(-18),math.rad(0), math.rad(0)),0.3)
  3367. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-13), math.rad (0), math.rad(0)), 0.3)
  3368. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-60)), 0.3)
  3369. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  3370. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -.4, -0.6) * CFrame.Angles(math.rad(10), 0, 0), 0.3)
  3371. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -.8, -.4) * CFrame.Angles(math.rad(-20), 0, 0), 0.3)
  3372. if Debounces.on == false then break end
  3373. wait()
  3374. end
  3375. end
  3376. local ry,ht,ps=nil,nil,nil
  3377. while ht==nil do
  3378. ry,ht,ps=newRay(root.CFrame*CFrame.new(0,-2,0),root.CFrame*CFrame.new(0,-3,0),4.1,{char})
  3379. wait()
  3380. end
  3381. par,loc=workspace:FindPartOnRay(Ray.new(char.Torso.Position,(char.Torso.Position-(char.Torso.Position-Vector3.new(0,2,0))).unit*-500),char)
  3382. if par then
  3383. local cfremz = CFrame.new(loc)
  3384. debris(cfremz, par, 50)
  3385. end
  3386. coroutine.resume(coroutine.create(function()
  3387. Ring()
  3388. end))
  3389. Landing()
  3390. Sound("rbxassetid://514867425",char,90,1,false)
  3391. hum.WalkSpeed = 5
  3392. for i = 1, 25 do
  3393. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.6, 0.3) *CFrame.Angles (math.rad(120),math.rad(10),math.rad(32)), 0.2)
  3394. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.2,1,0)*CFrame.Angles(math.rad(80),math.rad(0),math.rad(-20)), 0.2)
  3395. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,0)*CFrame.Angles(math.rad (-8),math.rad(-40), math.rad(-8)),0.2)
  3396. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.5, 0) * CFrame.Angles(math.rad(-50), math.rad(40), math.rad(0)), 0.2)
  3397. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.8, 0, -.6) * CFrame.Angles(math.rad(30), 0, math.rad(20)), 0.2)
  3398. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(1, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(-40), math.rad(0)), 0.2)
  3399. if Debounces.on == false then break end
  3400. wait()
  3401. end
  3402. wait(0.2)
  3403. attack = false
  3404. NoAnims = false
  3405. end
  3406.  
  3407.  
  3408.  
  3409. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  3410. local p = Instance.new("Part")
  3411. p.Parent = parent
  3412. p.Size = Vector3.new(1,1,1)
  3413. p.Transparency = transparency
  3414. p.Reflectance = reflectance
  3415. p.CanCollide = false
  3416. p.BrickColor = brickcolor
  3417. p.Material = material
  3418. return p
  3419. end
  3420.  
  3421.  
  3422. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  3423. local weld = Instance.new("Weld")
  3424. weld.Parent = parent
  3425. weld.Part0 = part0
  3426. weld.Part1 = part1
  3427. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  3428. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  3429. return weld
  3430. end
  3431.  
  3432.  
  3433.  
  3434. --[[HandleR = Instance.new("Part")
  3435. HandleR.BrickColor = BrickColor.new("Institutional white")
  3436. HandleR.Material = "Neon"
  3437. HandleR.Transparency = 0.3
  3438. HandleR.Size = Vector3.new(1,0.8,4)
  3439. HandleR.CFrame = sorb.CFrame
  3440. HandleRM = Instance.new("SpecialMesh",HandleR)
  3441. HandleRM.MeshId = "rbxasset://fonts/sword.mesh"
  3442. HandleRM.Scale = Vector3.new(1,1,1)
  3443.  
  3444. HandleL = Instance.new("Part")
  3445. HandleL.BrickColor = BrickColor.new("Institutional white")
  3446. HandleL.Material = "Neon"
  3447. HandleL.Transparency = 0.3
  3448. HandleL.Size = Vector3.new(1,0.8,4)
  3449. HandleL.CFrame = sorb2.CFrame
  3450. HandleLM = Instance.new("SpecialMesh",HandleL)
  3451. HandleLM.MeshId = "rbxasset://fonts/sword.mesh"
  3452. HandleLM.Scale = Vector3.new(1,1,1)]]
  3453.  
  3454.  
  3455. local sorb = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Institutional white"))
  3456. CreateWeld(sorb,rarm,sorb,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3457. local sorb2 = CreatePart(m,1,1,"SmoothPlastic",BrickColor.new("Institutional white"))
  3458. CreateWeld(sorb2,larm,sorb2,0,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  3459.  
  3460.  
  3461. v3 = Vector3.new
  3462. rad=math.rad
  3463.  
  3464. kiblade = Instance.new("Part",char)
  3465. kiblade.Name = "Blade"
  3466. kiblade.Size = v3(1,5,1)
  3467. kiblade.Transparency = 1
  3468. kiblade.BrickColor = BrickColor.new("Institutional white")
  3469. kiblade.Position = v3(999,999,999)
  3470. kiblade.CanCollide = false
  3471. kiblademesh = Instance.new("SpecialMesh",kiblade)
  3472. kiblademesh.MeshType = "FileMesh"
  3473. kiblademesh.MeshId = "rbxassetid://898849476"
  3474. kiblademesh.Scale = v3(0.01,0.008,0.01)
  3475. kiweld7 = Instance.new("Weld",kiblade)
  3476. kiweld7.Part0 = rarm
  3477. kiweld7.Part1 = kiblade
  3478. kiweld7.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  3479. kiblade1 = Instance.new("Part",char)
  3480. kiblade1.Name = "Blade"
  3481. kiblade1.Transparency = 1
  3482. kiblade1.Size = v3(0.1,0.1,0.1)
  3483. kiblade1.Position = v3(999,999,999)
  3484. kiblade1.CanCollide = false
  3485. kiblademesh = Instance.new("SpecialMesh",kiblade1)
  3486. kiblademesh.MeshType = "Sphere"
  3487. kiblademesh.Scale = v3(1,1,1)
  3488. kiweld = Instance.new("Weld",kiblade1)
  3489. kiweld.Part0 = rarm
  3490. kiweld.Part1 = kiblade1
  3491. kiweld.C0 = CFrame.new(0,-1,0)
  3492. kiblade2 = Instance.new("Part",char)
  3493. kiblade2.Name = "Blade"
  3494. kiblade2.Size = v3(0.1,0.1,0.1)
  3495. kiblade2.Transparency = 1
  3496. kiblade2.Position = v3(999,999,999)
  3497. kiblade2.CanCollide = false
  3498. kiblademesh = Instance.new("SpecialMesh",kiblade2)
  3499. kiblademesh.MeshType = "Sphere"
  3500. kiblademesh.Scale = v3(1,1,1)
  3501. kiweld = Instance.new("Weld",kiblade2)
  3502. kiweld.Part0 = rarm
  3503. kiweld.Part1 = kiblade2
  3504. kiweld.C0 = CFrame.new(0,-4.5,0)
  3505. torso = game.Players.LocalPlayer.Character.Torso
  3506. head = game.Players.LocalPlayer.Character.Head
  3507. torso1 = Instance.new("Attachment",kiblade1)
  3508. head1 = Instance.new("Attachment",kiblade2)
  3509. trail = Instance.new("Trail",torso)
  3510. trail.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  3511. trail.Attachment0 = torso1
  3512. trail.Attachment1 = head1
  3513. trail.Lifetime = 0.5
  3514. trail.Enabled = false
  3515.  
  3516.  
  3517.  
  3518.  
  3519. kiblade2 = Instance.new("Part",char)
  3520. kiblade2.Name = "Blade"
  3521. kiblade2.Size = v3(1,5,1)
  3522. kiblade2.Transparency = 1
  3523. kiblade2.BrickColor = BrickColor.new("Institutional white")
  3524. kiblade2.Position = v3(999,999,999)
  3525. kiblade2.CanCollide = false
  3526. kiblademesh2 = Instance.new("SpecialMesh",kiblade2)
  3527. kiblademesh2.MeshType = "FileMesh"
  3528. kiblademesh2.MeshId = "rbxassetid://898849476"
  3529. kiblademesh2.Scale = v3(0.01,0.008,0.01)
  3530. kiweld72 = Instance.new("Weld",kiblade2)
  3531. kiweld72.Part0 = larm
  3532. kiweld72.Part1 = kiblade2
  3533. kiweld72.C0 = CFrame.new(0,-2.1,0) * CFrame.Angles(rad(180),rad(0),rad(0))
  3534. kiblade12 = Instance.new("Part",char)
  3535. kiblade12.Name = "Blade"
  3536. kiblade12.Transparency = 1
  3537. kiblade12.Size = v3(0.1,0.1,0.1)
  3538. kiblade12.Position = v3(999,999,999)
  3539. kiblade12.CanCollide = false
  3540. kiblademesh2 = Instance.new("SpecialMesh",kiblade12)
  3541. kiblademesh2.MeshType = "Sphere"
  3542. kiblademesh2.Scale = v3(1,1,1)
  3543. kiweld2 = Instance.new("Weld",kiblade12)
  3544. kiweld2.Part0 = larm
  3545. kiweld2.Part1 = kiblade12
  3546. kiweld2.C0 = CFrame.new(0,-1,0)
  3547. kiblade22 = Instance.new("Part",char)
  3548. kiblade22.Name = "Blade"
  3549. kiblade22.Size = v3(0.1,0.1,0.1)
  3550. kiblade22.Transparency = 1
  3551. kiblade22.Position = v3(999,999,999)
  3552. kiblade22.CanCollide = false
  3553. kiblademesh2 = Instance.new("SpecialMesh",kiblade22)
  3554. kiblademesh2.MeshType = "Sphere"
  3555. kiblademesh2.Scale = v3(1,1,1)
  3556. kiweld2 = Instance.new("Weld",kiblade22)
  3557. kiweld2.Part0 = larm
  3558. kiweld2.Part1 = kiblade22
  3559. kiweld2.C0 = CFrame.new(0,-4.5,0)
  3560. torso2 = game.Players.LocalPlayer.Character.Torso
  3561. head2 = game.Players.LocalPlayer.Character.Head
  3562. torso12 = Instance.new("Attachment",kiblade12)
  3563. head12 = Instance.new("Attachment",kiblade22)
  3564. trail2 = Instance.new("Trail",torso2)
  3565. trail2.Color = ColorSequence.new(Color3.fromRGB(0,0,255))
  3566. trail2.Attachment0 = torso12
  3567. trail2.Attachment1 = head12
  3568. trail2.Lifetime = 0.5
  3569. trail2.Enabled = false
  3570.  
  3571.  
  3572.  
  3573. local Gibs = game.Workspace
  3574.  
  3575.  
  3576.  
  3577.  
  3578.  
  3579.  
  3580.  
  3581.  
  3582.  
  3583.  
  3584.  
  3585.  
  3586. function Kill(Character)
  3587. Character.Humanoid.Health = 0
  3588. local poo = Instance.new("IntValue",Character)
  3589. poo.Name = "haha nope"
  3590. local svch = Character
  3591. local hum = Character:findFirstChild("Humanoid")
  3592. Character.Archivable = true
  3593. local chrclone = Character:clone()
  3594. Character.Archivable = false
  3595.  
  3596. local ch = chrclone:GetChildren()
  3597. local i
  3598. for i = 1,#ch do
  3599. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  3600. ch[i]:remove()
  3601. end
  3602. end
  3603. local function Scan(ch)
  3604. local e
  3605. for e = 1,#ch do
  3606. Scan(ch[e]:GetChildren())
  3607. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  3608. ch[e]:remove()
  3609. end
  3610. end
  3611. end
  3612. Scan(chrclone:GetChildren())
  3613.  
  3614. local hum2 = chrclone:findFirstChild("Humanoid")
  3615.  
  3616.  
  3617. if hum2 ~= nil then
  3618. hum2.Name = "Humanoid2"
  3619. hum2.PlatformStand = true
  3620. hum2.Sit = true
  3621. hum2.MaxHealth = 0
  3622. hum2.Health = 0
  3623. end
  3624.  
  3625. local ch = Character:GetChildren()
  3626. local i
  3627. for i = 1,#ch do
  3628. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3629. ch[i]:remove()
  3630. end
  3631. end
  3632.  
  3633. wait(0.2)
  3634.  
  3635. local ch = Character:GetChildren()
  3636. local i
  3637. for i = 1,#ch do
  3638. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  3639. ch[i]:remove()
  3640. end
  3641. end
  3642. Character = chrclone
  3643. local Torso = Character.Torso
  3644. local movevector = Vector3.new()
  3645.  
  3646. if Torso then
  3647. local Head = Character:FindFirstChild("Head")
  3648. local Limb = Character:FindFirstChild("Right Arm")
  3649. if Limb then
  3650.  
  3651. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  3652. local Joint = Instance.new("Glue")
  3653. Joint.Name = "RightShoulder"
  3654. Joint.Part0 = Torso
  3655. Joint.Part1 = Limb
  3656. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3657. Joint.C1 = CFrame.new(-0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3658. Joint.Parent = Torso
  3659.  
  3660. local B = Instance.new("Part")
  3661. B.TopSurface = 0
  3662. B.BottomSurface = 0
  3663. B.formFactor = "Symmetric"
  3664. B.Size = Vector3.new(1, 1, 1)
  3665. B.Transparency = 1
  3666. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3667. B.Parent = Character
  3668. local W = Instance.new("Weld")
  3669. W.Part0 = Limb
  3670. W.Part1 = B
  3671. W.C0 = CFrame.new(0, -0.5, 0)
  3672. W.Parent = Limb
  3673.  
  3674. end
  3675. local Limb = Character:FindFirstChild("Left Arm")
  3676. if Limb then
  3677.  
  3678. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  3679. local Joint = Instance.new("Glue")
  3680. Joint.Name = "LeftShoulder"
  3681. Joint.Part0 = Torso
  3682. Joint.Part1 = Limb
  3683. Joint.C0 = CFrame.new(-1.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3684. Joint.C1 = CFrame.new(0, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3685. Joint.Parent = Torso
  3686.  
  3687. local B = Instance.new("Part")
  3688. B.TopSurface = 0
  3689. B.BottomSurface = 0
  3690. B.formFactor = "Symmetric"
  3691. B.Size = Vector3.new(1, 1, 1)
  3692. B.Transparency = 1
  3693. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3694. B.Parent = Character
  3695. local W = Instance.new("Weld")
  3696. W.Part0 = Limb
  3697. W.Part1 = B
  3698. W.C0 = CFrame.new(0, -0.5, 0)
  3699. W.Parent = Limb
  3700.  
  3701. end
  3702. local Limb = Character:FindFirstChild("Right Leg")
  3703. if Limb then
  3704.  
  3705. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  3706. local Joint = Instance.new("Glue")
  3707. Joint.Name = "RightHip"
  3708. Joint.Part0 = Torso
  3709. Joint.Part1 = Limb
  3710. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3711. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  3712. Joint.Parent = Torso
  3713.  
  3714. local B = Instance.new("Part")
  3715. B.TopSurface = 0
  3716. B.BottomSurface = 0
  3717. B.formFactor = "Symmetric"
  3718. B.Size = Vector3.new(1, 1, 1)
  3719. B.Transparency = 1
  3720. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3721. B.Parent = Character
  3722. local W = Instance.new("Weld")
  3723. W.Part0 = Limb
  3724. W.Part1 = B
  3725. W.C0 = CFrame.new(0, -0.5, 0)
  3726. W.Parent = Limb
  3727.  
  3728. end
  3729. local Limb = Character:FindFirstChild("Left Leg")
  3730. if Limb then
  3731.  
  3732. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  3733. local Joint = Instance.new("Glue")
  3734. Joint.Name = "LeftHip"
  3735. Joint.Part0 = Torso
  3736. Joint.Part1 = Limb
  3737. Joint.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3738. Joint.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  3739. Joint.Parent = Torso
  3740.  
  3741. local B = Instance.new("Part")
  3742. B.TopSurface = 0
  3743. B.BottomSurface = 0
  3744. B.formFactor = "Symmetric"
  3745. B.Size = Vector3.new(1, 1, 1)
  3746. B.Transparency = 1
  3747. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  3748. B.Parent = Character
  3749. local W = Instance.new("Weld")
  3750. W.Part0 = Limb
  3751. W.Part1 = B
  3752. W.C0 = CFrame.new(0, -0.5, 0)
  3753. W.Parent = Limb
  3754.  
  3755. end
  3756. --[
  3757. local Bar = Instance.new("Part")
  3758. Bar.TopSurface = 0
  3759. Bar.BottomSurface = 0
  3760. Bar.formFactor = "Symmetric"
  3761. Bar.Size = Vector3.new(1, 1, 1)
  3762. Bar.Transparency = 1
  3763. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  3764. Bar.Parent = Character
  3765. local Weld = Instance.new("Weld")
  3766. Weld.Part0 = Torso
  3767. Weld.Part1 = Bar
  3768. Weld.C0 = CFrame.new(0, 0.5, 0)
  3769. Weld.Parent = Torso
  3770. --]]
  3771. end
  3772. Character.Parent = Gibs
  3773. game.Debris:AddItem(Character, 12)
  3774. if movevector ~= Vector3.new() then
  3775. for i = 1,10 do
  3776. wait()
  3777. Torso.Velocity = Vector3.new(0,0,-100)
  3778. Head.Velocity = movevector * 200
  3779. end
  3780. end
  3781. end
  3782.  
  3783.  
  3784.  
  3785. function SpinSlice()
  3786. NoAnims = true
  3787. attack = true
  3788.  
  3789.  
  3790. Sound("rbxassetid://588738949",char,90,1,false)
  3791. kiblade.Transparency = 0
  3792. kiblade2.Transparency = 0
  3793. trail.Enabled = true
  3794. trail2.Enabled = true
  3795.  
  3796. hum.WalkSpeed = 0
  3797. for i = 1,40 do
  3798. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3799. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3800. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3801. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(160),math.rad(0),math.rad(90)), 0.5)--arm
  3802. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(140),math.rad(0),math.rad(-90)), 0.5)--arm
  3803. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3804. if Debounces.on == false then break end
  3805. wait()
  3806. end
  3807.  
  3808.  
  3809. coroutine.resume(coroutine.create(function()
  3810. local BF = Instance.new("BodyVelocity",hed)
  3811. BF.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  3812. BF.velocity = root.CFrame.lookVector*120
  3813. wait(2.0)
  3814. BF:remove()
  3815. end))
  3816.  
  3817. coroutine.resume(coroutine.create(function()
  3818. Sound("rbxassetid://588734356",char,90,1,false)
  3819. wait(.1)
  3820. Sound("rbxassetid://588734356",char,90,1,false)
  3821. wait(.1)
  3822. Sound("rbxassetid://588734356",char,90,1,false)
  3823. wait(.1)
  3824. Sound("rbxassetid://588734356",char,90,1,false)
  3825. wait(.1)
  3826. Sound("rbxassetid://588734356",char,90,1,false)
  3827. wait(.1)
  3828. Sound("rbxassetid://588734356",char,90,1,false)
  3829. wait(.1)
  3830. Sound("rbxassetid://588734356",char,90,1,false)
  3831. wait(.1)
  3832. Sound("rbxassetid://588734356",char,90,1,false)
  3833. end))
  3834. local HitBox = Instance.new("Part",rarm)
  3835. HitBox.Size = Vector3.new(1,5,1)
  3836. HitBox.CanCollide = false
  3837. HitBox.Transparency = 1
  3838. local HitBox2 = Instance.new("Weld",HitBox)
  3839. HitBox2.Part0 = rarm
  3840. HitBox2.Part1 = HitBox
  3841. HitBox2.C0 = CFrame.new(0,-1.8,0)
  3842. HitBox.Touched:connect(function(hit)
  3843. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3844. Kill(hit.Parent)
  3845. hit.Parent.Humanoid.PlatformStand = true
  3846. end
  3847. end)
  3848.  
  3849. local HitBox2 = Instance.new("Part",larm)
  3850. HitBox2.Size = Vector3.new(1,5,1)
  3851. HitBox2.CanCollide = false
  3852. HitBox2.Transparency = 1
  3853. local HitBox22 = Instance.new("Weld",HitBox2)
  3854. HitBox22.Part0 = larm
  3855. HitBox22.Part1 = HitBox2
  3856. HitBox22.C0 = CFrame.new(0,-1.8,0)
  3857. HitBox2.Touched:connect(function(hit)
  3858. if hit.Parent:FindFirstChild("Humanoid") and hit.Parent ~= nil and hit.Parent.Name ~= char.Name then
  3859. Kill(hit.Parent)
  3860. hit.Parent.Humanoid.PlatformStand = true
  3861. end
  3862. end)
  3863.  
  3864. for i = 1,40 do
  3865. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  3866. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  3867. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  3868. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,-0.2)*CFrame.Angles(math.rad(170),math.rad(0),math.rad(90)), 0.5)--arm
  3869. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.2)*CFrame.Angles(math.rad(150),math.rad(0),math.rad(-90)), 0.5)--arm
  3870. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  3871. root.CFrame = root.CFrame * CFrame.fromEulerAnglesXYZ(0,1,0)
  3872. if Debounces.on == false then break end
  3873. wait()
  3874. end
  3875. kiblade.Transparency = 1
  3876. kiblade2.Transparency = 1
  3877. trail.Enabled = false
  3878. trail2.Enabled = false
  3879. HitBox:Destroy()
  3880. HitBox2:Destroy()
  3881. hum.WalkSpeed = 5
  3882. attack = false
  3883. NoAnims = false
  3884. end
  3885.  
  3886.  
  3887.  
  3888.  
  3889. function hito(partoz, magn, dmg, debtim)
  3890. for _, guy in pairs(workspace:GetChildren()) do
  3891. if guy:FindFirstChildOfClass("Humanoid") and guy:FindFirstChild("Head") and guy ~= char and magn > (guy:FindFirstChild("Head").Position - partoz.Position).magnitude and guy:FindFirstChild("Head"):FindFirstChild("alabo") == nil then
  3892. do
  3893. local humz = guy:FindFirstChildOfClass("Humanoid")
  3894. local hed = guy:FindFirstChild("Head")
  3895. humz:TakeDamage(math.random(15,30)) if Full == true then guy:BreakJoints()
  3896. local db = Instance.new("StringValue")
  3897. db.Name = "alabo"
  3898. db.Parent = hed
  3899. delay(debtim, function()
  3900. db:Destroy()
  3901. end)
  3902. end
  3903. end
  3904. end
  3905. end
  3906. end
  3907.  
  3908.  
  3909.  
  3910. ang = CFrame.Angles
  3911. rd = math.rad
  3912. rd2 = math.random
  3913. ov = false
  3914.  
  3915.  
  3916.  
  3917. nooutline = function(i)
  3918. i.TopSurface = 10
  3919. end
  3920. makepart = function(l, m, n, o, p, q, r)
  3921. local s = Instance.new("Part")
  3922. s.BrickColor = BrickColor.new(l)
  3923. s.Name = m
  3924. s.Transparency = o
  3925. nooutline(s)
  3926. s.Reflectance = n
  3927. s.Material = p
  3928. s.Anchored = true
  3929. s.CanCollide = false
  3930. s.Locked = true
  3931. s.CFrame = r
  3932. s.Size = Vector3.new(0.2, 0.2, 0.2)
  3933. s.Parent = q
  3934. return s
  3935. end
  3936.  
  3937. makemesh = function(t, u, v, w)
  3938. local x = Instance.new("SpecialMesh")
  3939. x.MeshType = t
  3940. x.Scale = u
  3941. if t == "FileMesh" then
  3942. x.MeshId = v
  3943. end
  3944. x.Parent = w
  3945. return x
  3946. end
  3947.  
  3948. local H = {}
  3949.  
  3950.  
  3951. Barrage = function()
  3952. modz = Instance.new("Model")
  3953. modz.Name = "efx"
  3954. modz.Parent = char
  3955. ov = true
  3956. hum.AutoRotate = false
  3957. local aN = nil
  3958. local a9 = true
  3959. local aa = {}
  3960. local ab = {}
  3961. local b7 = {}
  3962. for j = 1, 16 do
  3963. local ac = Instance.new("Part")
  3964. nooutline(ac)
  3965. ac.Anchored = true
  3966. ac.Locked = true
  3967. ac.CanCollide = false
  3968. ac.Material = "Neon"
  3969. ac.Size = Vector3.new(1, 1, 1)
  3970. ac.Transparency = 1
  3971. ac.CFrame = CFrame.new(0, 1000, 0)
  3972. ac.Parent = modz
  3973. ac.BrickColor = BrickColor.new("Institutional white")
  3974. makemesh("Sphere", (Vector3.new(0, 0, 0)), nil, ac)
  3975. table.insert(aa, ac)
  3976. end
  3977. for j = 1, 40 do
  3978. local a3 = makepart("Institutional white", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3979. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://489415447", a3)
  3980. table.insert(ab, a3)
  3981. end
  3982. for j = 1, 30 do
  3983. local a3 = makepart("Institutional white", "nah", 0, 1, "Neon", modz, cf(0, 1000, 0))
  3984. makemesh("FileMesh", Vector3.new(0, 0, 0), "rbxassetid://3270017", a3)
  3985. table.insert(b7, a3)
  3986. end
  3987. local b8 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", rarm)
  3988. local b9 = makemesh("FileMesh", Vector3.new(0, 0, 0), "", larm)
  3989. for I,aO in pairs(H) do
  3990. if aO.Parent == rarm or aO.Parent == larm then
  3991. aN = aO.Transparency
  3992. aO.Transparency = 1
  3993. end
  3994. end
  3995. local a8 = Instance.new("BodyGyro")
  3996. a8.MaxTorque = Vector3.new(1050, 3000, 750)
  3997. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  3998. a8.P = 580000
  3999. a8.D = 250
  4000. a8.Parent = root
  4001. coroutine.resume(coroutine.create(function()
  4002. while a8 do
  4003. swait()
  4004. a8.CFrame = CFrame.new(root.Position, mouse.Hit.p)
  4005. end
  4006. end))
  4007. local af = 0
  4008. local ag = 0
  4009. repeat
  4010. ag = ag + 1
  4011. if af == 0 then
  4012. af = 1
  4013. else
  4014. af = af % 14 + 1
  4015. end
  4016. coroutine.resume(coroutine.create(function()
  4017. local ah = aa[af]
  4018. local ai = ab[af]
  4019. local aj = ab[af + 14]
  4020. local ba = b7[af]
  4021. ah.Size = Vector3.new(1, 1, 2)
  4022. ah.CFrame = cf(root.CFrame * cf(rd2(-600, 600) / 100, rd2(-150, 350) / 100, rd2(-200, -50) / 100).p, mouse.Hit * cf(rd2(-4, 4), rd2(-2, 2), 0).p)
  4023. ah.Transparency = 0.25
  4024. ah:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0, 0, 0)
  4025. ai.Transparency = 0.35
  4026. ai:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.6, 0.6, 0.6)
  4027. aj.Transparency = 0.45
  4028. aj:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  4029. aj.CFrame = ah.CFrame * ang(0, rd(90), rd(90))
  4030. if af % 2 == 1 then
  4031. ai.CFrame = cf(rarm.CFrame * cf(rd2(-6, 6) / 10, rd2(4, 12) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
  4032. else
  4033. if af % 2 == 0 then
  4034. ai.CFrame = cf(larm.CFrame * cf(rd2(-6, 6) / 10, rd2(3, 8) / 10, rd2(-12, -1) / 10).p, mouse.Hit.p) * ang(0, rd(90), rd(90))
  4035. end
  4036. end
  4037. ba.CFrame = ah.CFrame * cf(0, 0, -8)
  4038. ba.Transparency = 0.4
  4039. ba:FindFirstChildOfClass("SpecialMesh").Scale = Vector3.new(0.7, 0.7, 0.7)
  4040. local bb = ah.CFrame * cf(0, 0, -5)
  4041. local bc = aj.CFrame * cf(0, -0.1, 0)
  4042. local bd = ba.CFrame * cf(0, 0, rd2(-300, 50) / 100)
  4043. local ak = false
  4044. for j = 1, 12 do
  4045. swait()
  4046. local a0 = Ray.new(ah.Position, ah.CFrame.lookVector * (12.5 - j))
  4047. local a1, a2 = workspace:FindPartOnRayWithIgnoreList(a0, {char}, true, true)
  4048. if a1 and ak == false then
  4049. ak = true
  4050. local a3 = makepart("Institutional white", "nah", 0, 0.2, "SmoothPlastic", modz, cf(a2, ah.CFrame.p) * ang(0, 0, 0) * ang(0, rd(270), rd(90)))
  4051. do
  4052. local a4 = makemesh("FileMesh", Vector3.new(0.4, 0.4, 0.4), "rbxassetid://489415447", a3)
  4053. game.Debris:AddItem(a3, 0.5)
  4054. local a5 = rd2(1, 12)
  4055. if a5 == 6 then
  4056. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10, Vector3.new(0, 0, rd2(-8, 8)))
  4057. else
  4058. hito(a3, 3.25, 6, 0.06, ah.CFrame.lookVector * 10)
  4059. end
  4060. coroutine.resume(coroutine.create(function()
  4061. for I = 1, 4 do
  4062. swait()
  4063. a4.Scale = a4.Scale + Vector3.new(0.8, 0.8, 0.8)
  4064. a3.Transparency = a3.Transparency + 0.2
  4065. end
  4066. a3:Destroy()
  4067. end))
  4068. end
  4069. end
  4070. ah.Size = ah.Size:lerp(Vector3.new(2, 2, 12), 0.5)
  4071. ah.CFrame = ah.CFrame:lerp(bb, 1)
  4072. ah:FindFirstChildOfClass("SpecialMesh").Scale = ah:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1, 1, 1), 0.45)
  4073. ah.Transparency = ah.Transparency + 0.0725
  4074. ai:FindFirstChildOfClass("SpecialMesh").Scale = ai:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.25, 1.2, 1.25), 0.4)
  4075. ai.Transparency = ai.Transparency + 0.06
  4076. aj:FindFirstChildOfClass("SpecialMesh").Scale = aj:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(1.6, 1.6, 1.6), 0.4)
  4077. aj.CFrame = aj.CFrame:lerp(bc, 0.3)
  4078. aj.Transparency = aj.Transparency + 0.05
  4079. ba:FindFirstChildOfClass("SpecialMesh").Scale = ba:FindFirstChildOfClass("SpecialMesh").Scale:lerp(Vector3.new(4.5, 4.5, 4.5), 0.4)
  4080. ba.CFrame = ba.CFrame:lerp(bd, 0.3)
  4081. ba.Transparency = ba.Transparency + 0.06
  4082. end
  4083. end))
  4084. swait()
  4085. until ov == false
  4086. for I,aO in pairs(H) do
  4087. if aO.Parent == rarm or aO.Parent == larm then
  4088. aO.Transparency = aN
  4089. end
  4090. end
  4091. b8:Destroy()
  4092. b9:Destroy()
  4093. a8:Destroy()
  4094. hum.AutoRotate = true
  4095. ov = false
  4096. wait(1)
  4097. for I,al in pairs(aa) do
  4098. al:Destroy()
  4099. end
  4100. for I,am in pairs(ab) do
  4101. am:Destroy()
  4102. end
  4103. for I,be in pairs(b7) do
  4104. be:Destroy()
  4105. end
  4106. end
  4107.  
  4108.  
  4109.  
  4110.  
  4111.  
  4112.  
  4113. function Kneel()
  4114.  
  4115. for i,v in pairs(FindNearestTorso(torso.CFrame.p,50))do
  4116. if v:FindFirstChild('Humanoid') then
  4117.  
  4118. hum2 = v:FindFirstChild('Humanoid')
  4119. hum2.PlatformStand=true
  4120.  
  4121. end
  4122. end
  4123. end
  4124.  
  4125. --[[mouse.KeyDown:connect(function(key)
  4126. if key == "l" and Trans == false and Strength then
  4127. Transformation()
  4128. Trans = true
  4129. end
  4130. end)]]
  4131.  
  4132.  
  4133.  
  4134. mouse.KeyDown:connect(function(key)
  4135. if key == "z" then
  4136. GrabAndDrag()
  4137. end
  4138. end)
  4139.  
  4140.  
  4141. mouse.KeyDown:connect(function(key)
  4142. if key == "x" then
  4143. AirSlam()
  4144. end
  4145. end)
  4146.  
  4147.  
  4148.  
  4149. mouse.KeyDown:connect(function(key)
  4150. if key == "c" then
  4151. SpinSlice()
  4152. end
  4153. end)
  4154.  
  4155.  
  4156. mouse.KeyDown:connect(function(key)
  4157. if key == "p" and Full == false then
  4158. FullPower()
  4159. end
  4160. end)
  4161.  
  4162. mouse.KeyDown:connect(function(key)
  4163. if key == "1" then
  4164. Sound("rbxassetid://966268002",char,90,1,false)
  4165. Kneel()
  4166. end
  4167. end)
  4168.  
  4169. mouse.KeyDown:connect(function(key)
  4170. if key == "v" then
  4171. if ov == false then
  4172. hed.Weld.C0 = hed.Weld.C0 * CFrame.Angles(0,0,0)
  4173. wait()
  4174. local ChatService = game:GetService("Chat")
  4175. wait()
  4176. local ChatService = game:GetService("Chat")
  4177. coroutine.resume(coroutine.create(function()
  4178. s = 0
  4179. repeat
  4180. s = s + 1
  4181. Barrage()
  4182. wait()
  4183. until not ov
  4184. end))
  4185. if Full == true then
  4186. coroutine.resume(coroutine.create(function()
  4187. s = 0
  4188. repeat
  4189. s = s + 1
  4190. Barrage()
  4191. wait()
  4192. until not ov
  4193. end))
  4194. end
  4195. mouse.KeyUp:connect(function(key)
  4196. if key == "v" then
  4197. wait(0.4)
  4198. ov = false
  4199. wait(0.1)
  4200. end
  4201. end)
  4202. end
  4203. end
  4204. end)
  4205.  
  4206.  
  4207.  
  4208.  
  4209.  
  4210. -----animations-----
  4211.  
  4212. game:GetService("RunService").RenderStepped:connect(function()
  4213. char.Humanoid.FreeFalling:connect(function(f)
  4214. if f then
  4215. ffing = true
  4216. else
  4217. ffing = false
  4218. end
  4219. end)
  4220. sine = sine + add
  4221. if ffing==true then
  4222. anim="jump"
  4223. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  4224. anim="idle"
  4225. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  4226. anim = "walk"
  4227. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  4228. anim = "run"
  4229. end
  4230.  
  4231. if NoAnims==false then
  4232. if anim=="idle" then
  4233. add=0.5
  4234. if trans == false then
  4235. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  4236. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  4237. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  4238. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.6+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/7,0,-6+-math.sin(sine/14)/7),0.1)
  4239. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  4240. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(0),0,0),0.25)
  4241. else
  4242. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,0+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(0),0,0),0.05)
  4243. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15+math.sin(sine/14)/20),0.25)
  4244. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15+-math.sin(sine/14)/20),0.25)
  4245. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(0.8,0.6,-0.6)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(-90)), 0.5)--arm
  4246. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-0.8,0.6,-.6)*CFrame.Angles(math.rad(90),math.rad(0),math.rad(90)), 0.5)--arm
  4247. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.15)*CFrame.Angles(math.rad(-20),0,0),0.25)
  4248. end
  4249.  
  4250. elseif anim=="walk" then
  4251. add=0.5
  4252. if trans == false then
  4253. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/3.5)/3,0)*CFrame.Angles(math.rad(-10),0,0),0.25)
  4254. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/7)/2,-0.15+-math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/7)/2,0,0.05),0.25)
  4255. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/7)/2,-0.15+math.sin(sine/7)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/7)/2,0,-0.05),0.25)
  4256. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/7)/7,0+math.sin(sine/14)/7)*CFrame.Angles(math.rad(0)+-math.sin(sine/14)/2,0,-6+-math.sin(sine/14)/7),0.1)
  4257. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/10)/14,0)*CFrame.Angles(math.rad(90)+-math.sin(sine/14)/7,0,0),0.1)
  4258. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(10),0,0),0.25)
  4259. else
  4260. change = 0.5
  4261. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5 + 0.05 * math.cos(sine / 3), -math.sin(sine / 6) / 4) * CFrame.Angles(math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(-10 - 2 * math.cos(sine / 3))), 0.2)
  4262. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5 - 0.05 * math.cos(sine / 3), math.sin(sine / 6) / 4) * CFrame.Angles(-math.sin(sine / 6) / 2.8, -math.sin(sine / 6) / 3, math.rad(10 + 2 * math.cos(sine / 3))), 0.2)
  4263. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-8 + 2 * math.cos(sine / 3)), math.rad(0), math.rad(0)), 0.2)
  4264. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1 - 0.15 * math.cos(sine / 6) / 5, -0.15 + math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + -math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  4265. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1 + 0.15 * math.cos(sine / 6) / 5, -0.15 + -math.sin(sine / 6) / 5) * CFrame.Angles(math.rad(-14) + math.sin(sine / 6) / 2.7, 0, 0), 0.4)
  4266. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1 + 0.07 * math.cos(sine / 3), 0) * CFrame.Angles(math.rad(-4 + 1 * math.cos(sine / 3)), 0, math.rad(0)), 0.2)
  4267. end
  4268.  
  4269. elseif anim=="run" then
  4270. add=0.5
  4271. if trans == false then
  4272. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,-1+math.sin(sine/2)/3,0)*CFrame.Angles(math.rad(-37),0,0),0.025)
  4273. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1+math.sin(sine/4)/2,-0.15+-math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+math.sin(sine/4)/2,0,0.05),0.25)
  4274. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1+-math.sin(sine/4)/2,-0.15+math.sin(sine/4)/2)*CFrame.Angles(math.rad(-20)+-math.sin(sine/4)/2,0,-0.05),0.25)
  4275. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,-6),0.25)
  4276. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0.1)*CFrame.Angles(math.rad(-20)+-math.sin(sine/17)/7,0,6),0.25)
  4277. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0)*CFrame.Angles(math.rad(20),0,0),0.25)
  4278. else
  4279. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0,1+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-70),0,0),0.25)
  4280. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-1,0)*CFrame.Angles(math.rad(0),0,0.15),0.25)
  4281. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0)*CFrame.Angles(math.rad(0),0,-0.15),0.25)
  4282. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,-6),0.25)
  4283. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5+-math.cos(sine/14)/7,0)*CFrame.Angles(math.rad(-20)+-math.sin(sine/14)/7,0,6),0.25)
  4284. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,0.3)*CFrame.Angles(math.rad(70),0,0),0.25)
  4285. end
  4286.  
  4287. elseif anim=="jump" then
  4288. add=0.5
  4289. torso.Weld.C0=torso.Weld.C0:lerp(CFrame.new(0+-math.cos(sine/14)/7,.5+-math.cos(sine/14)/7,0+-math.cos(sine/14)/7)*CFrame.Angles(math.rad(0),0,0),0.05)
  4290. rleg.Weld.C0=rleg.Weld.C0:lerp(CFrame.new(.5,-0.7,-0.5)*CFrame.Angles(math.rad(10),0,0),0.25)
  4291. lleg.Weld.C0=lleg.Weld.C0:lerp(CFrame.new(-.5,-1,0.1)*CFrame.Angles(math.rad(-10),0,0),0.25)
  4292. rarm.Weld.C0=rarm.Weld.C0:lerp(CFrame.new(1.5,0.5,0)*CFrame.Angles(math.rad(50),0,90),0.25)
  4293. larm.Weld.C0=larm.Weld.C0:lerp(CFrame.new(-1.5,0.5,0)*CFrame.Angles(math.rad(50),0,-90),0.25)
  4294. hed.Weld.C0=hed.Weld.C0:lerp(CFrame.new(0,1.5,-0.1)*CFrame.Angles(math.rad(-20),0,0),0.25)
  4295.  
  4296. end
  4297. end
  4298.  
  4299. end)
  4300.  
  4301.  
  4302. --[[l = game.Lighting
  4303. l.TimeOfDay = 1
  4304. game.Lighting.Ambient = Color3.new(0,0,0)
  4305. l.Brightness = 0.1]]--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement