Advertisement
Tetezaza1542

gasterrrrrr

Aug 13th, 2018
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 148.77 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. local RealPlayer = Player
  4. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer end
  5. dot = false
  6. des = f
  7.  
  8. pls=game:GetService'Players';
  9. rs=game:GetService'RunService';
  10. uinps=game:GetService'UserInputService';
  11. lp=pls.LocalPlayer;
  12. mouse=lp:GetMouse();
  13. c=lp.Character;
  14. rayModel=Instance.new('Model',c);
  15. human=c.Humanoid;
  16. Health = c.Humanoid.Health;
  17. Cone=nil;
  18. human.MaxHealth=5000;
  19. wait();
  20. human.Health=5000;
  21. c.Health:Destroy();
  22. Debounces={
  23. FPS=0;
  24. isAttacking=false;
  25. isMoving=false;
  26. isSprinting=false;
  27. Debounce=false;
  28. isTyping=false;
  29. isJumping=false;
  30. isFlash=false;
  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. pls=game:GetService'Players';
  67. rs=game:GetService'RunService';
  68. uinps=game:GetService'UserInputService';
  69. lp=pls.LocalPlayer;
  70. mouse=lp:GetMouse();
  71. c=lp.Character;
  72. rayModel=Instance.new('Model',c);
  73. human=c.Humanoid;
  74. Cone=nil;
  75. wait();
  76. Debounces={
  77. FPS=0;
  78. isAttacking=false;
  79. isMoving=false;
  80. isSprinting=false;
  81. Debounce=false;
  82. isTyping=false;
  83. isJumping=false;
  84. isFlash=false;
  85. };
  86. numLerp=function(start,goal,alpha)
  87. return(((goal-start)*alpha)+start);
  88. end;
  89. CFrameZero=function()
  90. return CFrame.new(Vector3.new());
  91. end;
  92. local function a()
  93. local t=tick();
  94. local l=t%1*3;
  95. local t=.5*math.pi*(l%1);
  96. if l<1 then
  97. return Color3.new(1,1-math.cos(t),1-math.sin(t));
  98. elseif l<2 then
  99. return Color3.new(1-math.sin(t),1,1-math.cos(t));
  100. else
  101. return Color3.new(1-math.cos(t),1-math.sin(t),1);
  102. end;
  103. end;
  104. rad=function(value)
  105. return math.rad(value);
  106. end;
  107. CFAngles=function(Vector)
  108. return CFrame.Angles(rad(Vector.x),rad(Vector.y),rad(Vector.z));
  109. end;
  110. AnimStat={
  111. lerpSpeed=.2;
  112. lerpSpeed2=.35;
  113. lerpTween=0;
  114. };
  115. Joints={
  116. c.HumanoidRootPart.RootJoint;
  117. c.Torso.Neck;
  118. c.Torso['Left Shoulder'];
  119. c.Torso['Right Shoulder'];
  120. c.Torso['Left Hip'];
  121. c.Torso['Right Hip'];
  122. };
  123. prepareCharacter=function()
  124. music=Instance.new('Sound',c.HumanoidRootPart);
  125. music.SoundId='rbxassetid://394144904';
  126. music.Looped=true;
  127. music.Volume=.6;
  128. music2=Instance.new('Sound',c);
  129. music2.SoundId='rbxassetid://259613634';
  130. music2.Looped=true;
  131. music2.Volume=1;
  132. music3=Instance.new('Sound',c.HumanoidRootPart);
  133. music3.SoundId='rbxassetid://266530326';
  134. music3.Looped=true;
  135. music3.Volume=1;
  136. music4=Instance.new('Sound',c.HumanoidRootPart);
  137. music4.SoundId='rbxassetid://155738252';
  138. music4.Looped=true;
  139. music4.Volume=1;
  140. music5=Instance.new('Sound',c.HumanoidRootPart);
  141. music5.SoundId='rbxassetid://215391212';
  142. music5.Looped=true;
  143. music5.Volume=1;
  144. human.WalkSpeed=0;
  145. human.JumpPower=0;
  146. end;
  147. triWave=function(x)
  148. local pi2=math.pi/2;
  149. return math.abs((x/pi2)%4-2)-1;
  150. end;
  151. setLerp=function(speed)
  152. AnimStat.lerpSpeed=speed;
  153. end;
  154. setTween=function(tween)
  155. AnimStat.lerpTween=tween;
  156. end;
  157. playSound=function(id,part,vol,pitch)
  158. local vol=vol or 1;
  159. local pitch=pitch or 1;
  160. local x=Instance.new('Sound',part);
  161. x.Volume=vol;
  162. x.Pitch=pitch;
  163. x.SoundId='rbxassetid://'..id;
  164. spawn(function()
  165. wait();
  166. x:Play();
  167. wait(x.TimeLength+.2);
  168. x:Destroy();
  169. end);
  170. end;
  171. lerpBoom=function()
  172. if Cone then
  173. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  174. cMesh.Scale=Vector3.new(20,20+c.HumanoidRootPart.Velocity.magnitude/10,20);
  175. Cone.Transparency=1-c.HumanoidRootPart.Velocity.magnitude/1000;
  176. else
  177. Cone=Instance.new('Part',c);
  178. Cone.Anchored=true;
  179. Cone.CanCollide=false;
  180. Cone.Transparency=math.random(50,70)/100;
  181. Cone.Size=Vector3.new(1,1,1);
  182. Cone.CFrame=CFrame.new(c.HumanoidRootPart.CFrame.p,c.HumanoidRootPart.CFrame.p+c.HumanoidRootPart.Velocity)*CFrame.Angles(-math.pi/2,0,0);
  183. cMesh=Instance.new('SpecialMesh',Cone);
  184. cMesh.MeshId='rbxassetid://1033714';
  185. cMesh.Scale=Vector3.new(20,50,20);
  186. end;
  187. end;
  188. noBoom=function()
  189. if Cone then local x=Cone Cone=nil;
  190. for i=1,20 do
  191. wait();
  192. x.Mesh.Scale=x.Mesh.Scale+Vector3.new(-.5,1,-.5);
  193. x.Transparency=x.Transparency+1/30;
  194. end;
  195. end;
  196. end;
  197. gasterBlast=function(tCFrame,aimPos,charge)
  198. local aimTarget;
  199. if aimPos then
  200. aimTarget=CFrame.new(tCFrame,aimPos);
  201. else
  202. aimTarget=tCFrame;
  203. end;
  204. local gast=Instance.new('Part',c);
  205. gast.Size=Vector3.new(12,.2,12);
  206. gast.CanCollide=false;
  207. gast.Anchored=true;
  208. gast.Transparency=1;
  209. if charge then
  210. playSound(400523331,gast,math.random(90,110)/100);
  211. end;
  212. wait();
  213. for i=1,2 do
  214. local decal=Instance.new('Decal',gast);
  215. decal.Texture='rbxassetid://323497117';
  216. if i==1 then
  217. decal.Face=Enum.NormalId.Top;
  218. else
  219. decal.Face=Enum.NormalId.Bottom;
  220. end;
  221. end;
  222. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  223. spawn(function()
  224. local tarCFrame=gast.CFrame;
  225. local isLooping=true;
  226. spawn(function()
  227. while rs.RenderStepped:wait()and isLooping do
  228. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  229. end;
  230. end);
  231. for i=1,30 do
  232. wait();
  233. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  234. end;
  235. playSound(340722848,gast,math.random(90,110)/100);
  236. isLooping=false;
  237. wait(.08);
  238. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  239. local _,pos=workspace:FindPartOnRay(ray,c);
  240. local dis=(aimTarget.p-pos).magnitude;
  241. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  242. local rayPart=Instance.new('Part',rayModel);
  243. rayPart.Material='Neon';
  244. rayPart.FormFactor='Custom';
  245. rayPart.Anchored=true;
  246. rayPart.CanCollide=false;
  247. rayPart.Shape='Cylinder';
  248. rayPart.Size=Vector3.new(dis+400,8,8);
  249. rayPart.CFrame=rayCFrame;
  250. gast:Destroy();
  251. end);
  252. end;
  253. largegasterBlast=function(tCFrame,aimPos)
  254. local aimTarget;
  255. if aimPos then
  256. aimTarget=CFrame.new(tCFrame,aimPos);
  257. else
  258. aimTarget=tCFrame;
  259. end;
  260. local gast=Instance.new('Part',c);
  261. gast.Size=Vector3.new(25,.2,25);
  262. gast.CanCollide=false;
  263. gast.Anchored=true;
  264. gast.Transparency=1;
  265. playSound(400523331,gast,math.random(85,97)/100);
  266. wait();
  267. for i=1,2 do
  268. local decal=Instance.new('Decal',gast);
  269. decal.Texture='rbxassetid://323497117';
  270. if i==1 then
  271. decal.Face=Enum.NormalId.Top;
  272. else
  273. decal.Face=Enum.NormalId.Bottom;
  274. end;
  275. end;
  276. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  277. spawn(function()
  278. local tarCFrame=gast.CFrame;
  279. local isLooping=true;
  280. spawn(function()
  281. while rs.RenderStepped:wait()and isLooping do
  282. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  283. end;
  284. end);
  285. for i=1,40 do
  286. wait();
  287. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  288. end;
  289. playSound(340722848,gast,math.random(80,95)/100);
  290. isLooping=false;
  291. wait(.08);
  292. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  293. local _,pos=workspace:FindPartOnRay(ray,c);
  294. local dis=(aimTarget.p-pos).magnitude;
  295. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  296. local rayPart=Instance.new('Part',rayModel);
  297. rayPart.Material='Neon';
  298. rayPart.FormFactor='Custom';
  299. rayPart.Anchored=true;
  300. rayPart.CanCollide=false;
  301. rayPart.Shape='Cylinder';
  302. rayPart.Size=Vector3.new(dis+400,17,17);
  303. rayPart.CFrame=rayCFrame;
  304. gast:Destroy();
  305. end);
  306. end;
  307.  
  308. if Debounces.isAttacking==false and Debounces.isMoving==false and Debounces.Debounce==false and Debounces.isJumping==false then
  309. setLerp(.8);
  310. elseif Debounces.isAttacking==false and Debounces.isMoving==true and Debounces.Debounce==false and Debounces.isSprinting==true and Debounces.isJumping==false then
  311. sine=tick()*28;
  312. human.WalkSpeed=400;
  313. lerpBoom();
  314. setLerp(.65);
  315. end;
  316. human.Changed:connect(function(prop)
  317. if prop=='MoveDirection'then
  318. if human.MoveDirection.magnitude>.02 then
  319. Debounces.isMoving=true;
  320. else
  321. Debounces.isMoving=false;
  322. end;
  323. end;
  324. end);
  325. uinps.InputBegan:connect(function(InputObj)
  326. if InputObj.KeyCode==Enum.KeyCode.Slash then
  327. local finishEvent=nil;
  328. Debounces.isTyping=true
  329. finishEvent=uinps.InputBegan:connect(function(InputObj)
  330. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  331. Debounces.isTyping=false;
  332. finishEvent:disconnect();
  333. end;
  334. end);
  335. end;
  336. end);
  337. mouse.KeyDown:connect(function(key)
  338. if key=='.'then
  339. Debounces.isSprinting=true;
  340. playSound(160248522,c.Torso);
  341. for i=1,3 do
  342. spawn(function()
  343. local e=Instance.new('Part',c);
  344. e.Size=Vector3.new(1,1,1);
  345. e.Material='Neon';
  346. e.Anchored=true;
  347. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  348. e.CanCollide=false;
  349. local rm=Instance.new('SpecialMesh',e);
  350. rm.MeshType='FileMesh';
  351. rm.MeshId='rbxassetid://3270017';
  352. rm.Scale=Vector3.new(3.2,3.2,10);
  353. for x=1,30 do
  354. wait();
  355. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  356. e.Transparency=x/30+.5;
  357. end;
  358. end);
  359. end;
  360. c.HumanoidRootPart.Velocity=c.HumanoidRootPart.CFrame.lookVector*200;
  361. end;
  362. end);
  363. mouse.KeyUp:connect(function(key)
  364. if key=='.'then
  365. Debounces.isSprinting=false;
  366. end;
  367. end);
  368. mouse.KeyDown:connect(function(key)
  369. if key=='n'then
  370. playSound(446961725,c.Torso,math.random(90,120)/100);
  371. local oldPos=c.HumanoidRootPart.CFrame.p;
  372. local mHit=mouse.Hit.p;
  373. for i=1,2 do
  374. spawn(function()
  375. local pos
  376. if i==1 then pos=oldPos else pos=mHit end
  377. end);
  378. end;
  379. if Debounces.isMoving then
  380. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(c.HumanoidRootPart.Velocity.x,mouse.Hit.p.y+4,c.HumanoidRootPart.Velocity.z));
  381. else
  382. c.HumanoidRootPart.CFrame=CFrame.new(mouse.Hit.p+Vector3.new(0,4,0),Vector3.new(oldPos.x,mouse.Hit.p.y+4,oldPos.z));
  383.  
  384. end;
  385. end;
  386. end);
  387. mouse.KeyDown:connect(function(key)
  388. if key=='x'then
  389. local pointTarget=mouse.Hit.p;
  390.  
  391.  
  392. for i=1,20 do
  393. wait();
  394. gasterBlast(CFrame.new(pointTarget+Vector3.new(math.sin(tick()*10)*20,5+math.abs(math.sin(tick()*5)*10),math.cos(tick()*10)*20),pointTarget));
  395. end;
  396. wait();
  397. largegasterBlast(CFrame.new(pointTarget+Vector3.new(0,35,0),pointTarget));
  398. end;
  399. end);
  400. mouse.KeyDown:connect(function(key)
  401. if key=='c'then
  402. local pointTarget=mouse.Hit.p;
  403. for i=1,20 do
  404. wait();
  405.  
  406.  
  407. gasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(math.sin(i/2)*(20-i),math.cos(i/2)*(20-i),-i)));
  408. end;
  409. largegasterBlast(CFrame.new(c.HumanoidRootPart.CFrame.p+Vector3.new(0,50,0),pointTarget):toWorldSpace(CFrame.new(0,0,-25)));
  410. end;
  411. end);
  412. mouse.Button1Down:connect(function()
  413. Debounces.isFlash=true;
  414. end);
  415. mouse.Button1Up:connect(function()
  416. Debounces.isFlash=false;
  417. end);
  418. mouse.KeyDown:connect(function(key)
  419. if key=='v'then
  420. if music2.isPlaying then music2:Stop();else music2:Play();end;
  421. end;
  422. end);
  423. mouse.KeyDown:connect(function(key)
  424. if key==','then
  425. if music3.isPlaying then music3:Stop();else music3:Play();end;
  426. end;
  427. end);
  428. mouse.KeyDown:connect(function(key)
  429. if key==','then
  430. if music5.isPlaying then music4:Stop();else music5:Play();end;
  431. end;
  432. end);
  433. mouse.KeyDown:connect(function(key)
  434. if key=='b'then
  435.  
  436.  
  437. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  438.  
  439.  
  440. end;
  441. end);
  442. mouse.KeyDown:connect(function(key)
  443. if key=='f'then
  444.  
  445.  
  446. largegasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  447.  
  448.  
  449. end;
  450. end);
  451. mouse.KeyDown:connect(function(key)
  452. if key=='g'then
  453. eye.Transparency = 1
  454.  
  455. for i=1,5 do
  456. wait();
  457. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p);
  458.  
  459.  
  460. end;
  461. largegasterBlast(c.Torso.CFrame.p+Vector3.new(0,25,0),mouse.Hit.p);
  462. end;
  463. end);
  464. mouse.KeyDown:connect(function(key)
  465. if key=='h'then
  466.  
  467.  
  468. local pointTarget=mouse.Hit.p;
  469. for i=1,20 do
  470. gasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/40)*i))*(20-i),5+i,math.cos(math.deg((360/40)*i))*(20-i)),pointTarget);
  471.  
  472.  
  473. end;
  474. wait(.2);
  475. for i=1,10 do
  476. largegasterBlast(pointTarget+Vector3.new(math.sin(math.deg((360/20)*i))*25,20,math.cos(math.deg((360/20)*i))*25),pointTarget);
  477. end;
  478. end;
  479. end);
  480. human.StateChanged:connect(function(os,ns)
  481. if c.HumanoidRootPart.Velocity.Y<.1 and Debounces.isJumping==true and ns==Enum.HumanoidStateType.Landed then
  482. Debounces.isJumping=false;
  483. end;
  484. end);
  485. rs.RenderStepped:connect(function()
  486. Debounces.FPS=1/rs.RenderStepped:wait();
  487. if Debounces.FPS<30 then
  488. Debounces.FPS=30;
  489. end;
  490. if Debounces.isSprinting then
  491. lerpBoom();
  492. else
  493. noBoom();
  494. end;
  495. for _,v in pairs(rayModel:children())do
  496. v.Transparency=v.Transparency+.06/(Debounces.FPS/60);
  497. if v.Transparency>.99 then v:Destroy();return;end;
  498. v.CanCollide=true;
  499. local tParts=v:GetTouchingParts();
  500. v.CanCollide=false;
  501. local vCFrame=v.CFrame;
  502. v.Size=v.Size+Vector3.new(0,1,1)/(Debounces.FPS/60);
  503. v.CFrame=vCFrame;
  504. for _,x in pairs(tParts)do
  505. if x and x.Parent and x.Parent:FindFirstChild'Humanoid'and x.Parent.Humanoid:isA'Humanoid'and x.Parent~=c then
  506. x.Parent.Humanoid.Health=0;
  507. end;
  508. end;
  509. end;
  510. local FPSLerp=AnimStat.lerpSpeed/(Debounces.FPS/60);
  511. end);
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558. gasterBlast=function(tCFrame,aimPos,charge)
  559. local aimTarget;
  560. if aimPos then
  561. aimTarget=CFrame.new(tCFrame,aimPos);
  562. else
  563. aimTarget=tCFrame;
  564. end;
  565. local gast=Instance.new('Part',c);
  566. gast.Size=Vector3.new(12,.2,12);
  567. gast.CanCollide=false;
  568. gast.Anchored=true;
  569. gast.Transparency=1;
  570. if charge then
  571. playSound(400523331,gast,math.random(90,110)/100);
  572. end;
  573. wait();
  574. for i=1,2 do
  575. local decal=Instance.new('Decal',gast);
  576. decal.Texture='rbxassetid://323497117';
  577. if i==1 then
  578. decal.Face=Enum.NormalId.Top;
  579. else
  580. decal.Face=Enum.NormalId.Bottom;
  581. end;
  582. end;
  583. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  584. spawn(function()
  585. local tarCFrame=gast.CFrame;
  586. local isLooping=true;
  587. spawn(function()
  588. while rs.RenderStepped:wait()and isLooping do
  589. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  590. end;
  591. end);
  592. for i=1,30 do
  593. wait();
  594. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  595. end;
  596. playSound(340722848,gast,math.random(90,110)/100);
  597. isLooping=false;
  598. wait(.08);
  599. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  600. local _,pos=workspace:FindPartOnRay(ray,c);
  601. local dis=(aimTarget.p-pos).magnitude;
  602. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  603. local rayPart=Instance.new('Part',rayModel);
  604. rayPart.Material='Neon';
  605. rayPart.FormFactor='Custom';
  606. rayPart.Color= Color3.new (1, 1, 1)
  607. rayPart.Anchored=true;
  608. rayPart.CanCollide=false;
  609. rayPart.Shape='Cylinder';
  610. rayPart.Size=Vector3.new(dis+400,8,8);
  611. rayPart.CFrame=rayCFrame;
  612. gast:Destroy();
  613. end);
  614. end;
  615. largegasterBlast=function(tCFrame,aimPos)
  616. local aimTarget;
  617. if aimPos then
  618. aimTarget=CFrame.new(tCFrame,aimPos);
  619. else
  620. aimTarget=tCFrame;
  621. end;
  622. local gast=Instance.new('Part',c);
  623. gast.Size=Vector3.new(25,.2,25);
  624. gast.CanCollide=false;
  625. gast.Anchored=true;
  626. gast.Transparency=1;
  627. playSound(400523331,gast,math.random(85,97)/100);
  628. wait();
  629. for i=1,2 do
  630. local decal=Instance.new('Decal',gast);
  631. decal.Texture='rbxassetid://323497117';
  632. if i==1 then
  633. decal.Face=Enum.NormalId.Top;
  634. else
  635. decal.Face=Enum.NormalId.Bottom;
  636. end;
  637. end;
  638. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  639. spawn(function()
  640. local tarCFrame=gast.CFrame;
  641. local isLooping=true;
  642. spawn(function()
  643. while rs.RenderStepped:wait()and isLooping do
  644. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  645. end;
  646. end);
  647. for i=1,40 do
  648. wait();
  649. tarCFrame=gast.CFrame:lerp(aimTarget,.18);
  650. end;
  651. playSound(340722848,gast,math.random(80,95)/100);
  652. isLooping=false;
  653. wait(.08);
  654. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  655. local _,pos=workspace:FindPartOnRay(ray,c);
  656. local dis=(aimTarget.p-pos).magnitude;
  657. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  658. local rayPart=Instance.new('Part',rayModel);
  659. rayPart.Material='Neon';
  660. rayPart.FormFactor='Custom';
  661. rayPart.Color=Color3.new (1, 1, 1)
  662. rayPart.Anchored=true;
  663. rayPart.CanCollide=false;
  664. rayPart.Shape='Cylinder';
  665. rayPart.Size=Vector3.new(dis+400,17,17);
  666. rayPart.CFrame=rayCFrame;
  667. gast:Destroy();
  668. end);
  669. end;
  670.  
  671.  
  672. human.Changed:connect(function(prop)
  673. if prop=='MoveDirection'then
  674. if human.MoveDirection.magnitude>.02 then
  675. Debounces.isMoving=true;
  676. else
  677. Debounces.isMoving=false;
  678. end;
  679. end;
  680. end);
  681. uinps.InputBegan:connect(function(InputObj)
  682. if InputObj.KeyCode==Enum.KeyCode.Slash then
  683. local finishEvent=nil;
  684. Debounces.isTyping=true
  685. finishEvent=uinps.InputBegan:connect(function(InputObj)
  686. if InputObj.KeyCode==Enum.KeyCode.Return or InputObj.UserInputType==Enum.UserInputType.MouseButton1 then
  687. Debounces.isTyping=false;
  688. finishEvent:disconnect();
  689. end;
  690. end);
  691. end;
  692. end);
  693. mouse.KeyDown:connect(function(key)
  694. if key==','then
  695. Debounces.isSprinting=true;
  696. playSound(160248522,c.Torso);
  697. for i=1,3 do
  698. spawn(function()
  699. end);
  700. local e=Instance.new('Part',c);
  701. e.Size=Vector3.new(1,1,1);
  702. e.Material='Neon';
  703. e.Color=Color3.new(1, 1, 1)
  704. e.Anchored=true;
  705. e.CFrame=c.HumanoidRootPart.CFrame*CFrame.Angles(0,0,-math.pi/2);
  706. e.CanCollide=false;
  707. local rm=Instance.new('SpecialMesh',e);
  708. rm.MeshType='FileMesh';
  709. rm.MeshId='rbxassetid://3270017';
  710. rm.Scale=Vector3.new(3.2,3.2,10);
  711. for x=1,30 do
  712. wait();
  713. rm.Scale=rm.Scale:lerp(Vector3.new(i*30,i*30,(4-i)*450),.1);
  714. e.Transparency=x/30+.5;
  715. end;
  716. end;
  717. end;
  718. end);
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725. for i,v in pairs(c:children())do
  726. if v:isA'Hat'then v:Destroy();end;
  727. if v:FindFirstChild'roblox'then v.roblox:Destroy();end;
  728. if v.Name=='Head'then v.Transparency=1 for _,x in pairs(v:children())do if x.ClassName=='Sound'then x:Destroy();end;end;end;
  729. if v:isA'Part'then v.BrickColor=BrickColor.new'White';end;
  730. end
  731. local shirt=c:FindFirstChild'Shirt'or Instance.new('Shirt',c);
  732. local pants=c:FindFirstChild'Pants'or Instance.new('Pants',c);
  733. shirt.ShirtTemplate='rbxassetid://380669876';
  734. pants.PantsTemplate='rbxassetid://380670039';
  735. local Head=Instance.new('Part',c);
  736. Head.Size=Vector3.new(2.5,2.5,1);
  737. Head.Transparency=1;
  738. Head:BreakJoints();
  739. local hw=Instance.new('Weld',c.Head);
  740. hw.Part0=c.Head;
  741. hw.Part1=Head;
  742. hw.C0=CFrame.new(0,0.5,0);
  743. faceDecal = Instance.new('Decal',Head);
  744. faceDecal.Face=Enum.NormalId.Front;
  745. faceDecal.Texture='rbxassetid://470787985';
  746. local backDecal = Instance.new('Decal',Head);
  747. backDecal.Face=Enum.NormalId.Back;
  748. backDecal.Texture='rbxassetid://470992211';
  749. local mes=Instance.new('BlockMesh',Head);
  750. mes.Scale=Vector3.new(1,1,.4);
  751. local Anim=human:FindFirstChild'Animator'
  752. if Anim then Anim:Destroy();end;
  753.  
  754.  
  755.  
  756.  
  757.  
  758.  
  759. numLerp=function(start,goal,alpha)
  760. return(((goal-start)*alpha)+start);
  761. end;
  762.  
  763. print 'Beware of the man who speaks in hands.'
  764. local ChatService = game:GetService("Chat")
  765. local player = game.Players.LocalPlayer
  766. char = player.Character
  767. hum = char.Humanoid
  768. torso = hum.Torso
  769. lig = Instance.new("PointLight",player.Character.Torso)
  770. lig.Color=Color3.new(0, 0, 0)
  771. m=player:GetMouse()
  772. bb = Instance.new("BillboardGui",player.Character.Head)
  773. bb.Enabled = true
  774. bb.AlwaysOnTop = true
  775. bb.Size = UDim2.new(0,200,0,50)
  776. bb.StudsOffset = Vector3.new(0,1,0)
  777. gui=Instance.new("TextBox",bb)
  778. gui.Text = "*"
  779. gui.Size = UDim2.new(0,133,0,45)
  780. gui.Position=UDim2.new(0,57,0,-40)
  781. gui.TextColor3 = Color3.new(0, 0, 0)
  782. gui.BackgroundColor3=Color3.new(255, 255, 255)
  783. gui.TextWrapped = true
  784. gui.TextScaled = true
  785. gui.TextXAlignment = "Left"
  786. gui.TextYAlignment = "Top"
  787. gui.Visible = false
  788. gui.BorderColor3 = Color3.new(255, 255, 255)
  789.  
  790. gui1=Instance.new("TextButton",bb)
  791. gui1.Position=UDim2.new(0,5,0,-43)
  792. gui1.Size = UDim2.new(0,190,0,51)
  793.  
  794. gui1.TextColor3 = Color3.new(0, 0, 0)
  795. gui1.BackgroundColor3=Color3.new(0, 0, 0)
  796.  
  797. gui1.Visible = false
  798. img = Instance.new("ImageLabel",bb)
  799. img.Size = UDim2.new(0,46,0,47)
  800. img.Position = UDim2.new(0,10,0,-41)
  801. img.Image = "rbxassetid://470787985"
  802. img.BorderColor3 = Color3.new(0,0,0)
  803. img.Visible = false
  804. asd = Instance.new("Sound",player.Character.Torso)
  805. asd.SoundId = "http://www.roblox.com/asset/?id = 470794204"
  806.  
  807. asd1 = Instance.new("Sound",player.Character.Torso)
  808. asd1.SoundId = "http://www.roblox.com/asset/?id = 470794204"
  809.  
  810. asd2 = Instance.new("Sound",player.Character.Torso)
  811. asd2.SoundId = "http://www.roblox.com/asset/?id = 470794204"
  812. asd2.Looped = true
  813. asd3 = Instance.new("Sound",player.Character.Torso)
  814. asd3.SoundId = "http://www.roblox.com/asset/?id = 470794204"
  815. asd3.Looped = true
  816. asd4 = Instance.new("Sound",player.Character.Torso)
  817. asd4.SoundId = "http://www.roblox.com/asset/?id = 470794204"
  818. asd4.Looped = false
  819. asd5 = Instance.new("Sound",player.Character.Torso)
  820. asd5.SoundId = "http://www.roblox.com/asset/?id = 0"
  821. asd5.Looped = true
  822. dunkd = Instance.new("Sound",player.Character.Torso)
  823. dunkd.SoundId = "http://www.roblox.com/asset/?id = 470794204"
  824. dunkd.Looped = false
  825. function play(play)
  826. asd:Play()
  827. asd1:Play()
  828. end
  829. eye = Instance.new("Part",player.Character)
  830. eye.BrickColor = BrickColor.new("Toothpaste")
  831. eye.Material = "Neon"
  832. eye.FormFactor = 3
  833. eye.Shape = "Ball"
  834. eye.Size = Vector3.new(0.37,0.37,0.1)
  835. weld = Instance.new("Weld",eye)
  836. weld.Part0 = eye
  837. weld.Part1 = player.Character.Head
  838. weld.C0 = CFrame.new(0.1,-0.2,0.45)
  839. eye.Transparency = 1
  840. -- listen for their chatting
  841. player.Chatted:connect(function(message)
  842. a = string.len(message)
  843. gui.Text = " "
  844. gui.Visible = true
  845. gui1.Visible = true
  846. des = false
  847. img.Visible = true
  848. print(a)
  849. if dot == false then
  850. for i = 1,string.len(message) do wait(0.07)
  851. gui.Text =gui.Text..message:sub(i,i)
  852. play()
  853. end
  854. end
  855. des = true
  856. end)
  857. m.KeyDown:connect(function(k)
  858. if k == "z" then
  859. img.Image = "rbxassetid://470787985"
  860. end
  861. end)
  862. m.KeyDown:connect(function(k)
  863. if k == "c" then
  864. img.Image = "rbxassetid://470787985"
  865. end
  866. end)
  867. m.KeyDown:connect(function(k)
  868. if k == "n" then
  869. img.Image = "rbxassetid://470787985"
  870. end
  871. end)
  872. m.KeyDown:connect(function(k)
  873. if k == "b" then
  874. img.Image = "rbxassetid://470787985"
  875. end
  876. end)
  877. m.KeyDown:connect(function(k)
  878. if k == "m" then
  879. img.Image = "rbxassetid://470787985"
  880. end
  881. end)
  882. m.KeyDown:connect(function(k)
  883. if k == "v" then
  884. img.Image = "rbxassetid://470787985"
  885. end
  886. end)
  887. m.KeyDown:connect(function(k)
  888. if k == "h" then
  889. img.Image = "rbxassetid://470787985"
  890. end
  891. end)
  892. m.KeyDown:connect(function(k)
  893. if k == "j" then
  894. img.Image = "rbxassetid://470787985"
  895. end
  896. end)
  897. m.KeyDown:connect(function(k)
  898. if k == "l" then
  899. img.Image = "rbxassetid://470787985"
  900. print("You take your very last breath...")
  901. asdd = Instance.new("Sound", Torso)
  902. asdd.SoundId = "http://www.roblox.com/asset/?id = 387187707"
  903. wait(4)
  904. Humanoid:Remove()
  905. end
  906. end)
  907. m.KeyDown:connect(function(k)
  908. if k == "x" then
  909. if des == true then
  910. gui.Visible = false
  911. gui.Text = "> "
  912. gui1.Visible = false
  913. img.Visible = false
  914. end
  915. end
  916. end)
  917.  
  918. playSound=function(id,part,vol,pitch)
  919. end
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929. gasterBlast=function(tCFrame,aimPos,charge)
  930. local aimTarget;
  931. if aimPos then
  932. aimTarget=CFrame.new(tCFrame,aimPos);
  933. else
  934. aimTarget=tCFrame;
  935. end;
  936. local gast=Instance.new('Part',c);
  937. gast.Size=Vector3.new(12,.2,12);
  938. gast.CanCollide=false;
  939. gast.Anchored=true;
  940. gast.Transparency=1;
  941. if charge then
  942. playSound(400523331,gast,math.random(90,110)/100);
  943. end;
  944. wait();
  945. for i=1,2 do
  946. local decal=Instance.new('Decal',gast);
  947. decal.Texture='rbxassetid://323497117';
  948. if i==1 then
  949. decal.Face=Enum.NormalId.Top;
  950. else
  951. decal.Face=Enum.NormalId.Bottom;
  952. end;
  953. end;
  954. gast.CFrame=CFrame.new(aimTarget.p-Vector3.new(math.sin(tick()*10)*10,20,math.cos(tick()*10)*10));
  955. spawn(function()
  956. local tarCFrame=gast.CFrame;
  957. local isLooping=true;
  958. spawn(function()
  959. while rs.RenderStepped:wait()and isLooping do
  960. gast.CFrame=gast.CFrame:lerp(tarCFrame,.6/(Debounces.FPS/60));
  961. end;
  962. end);
  963. for i=1,30 do
  964. wait();
  965. tarCFrame=gast.CFrame:lerp(aimTarget,.24);
  966. end;
  967. playSound(340722848,gast,math.random(90,110)/100);
  968. isLooping=false;
  969. wait(.08);
  970. local ray=Ray.new(aimTarget.p,aimTarget.lookVector.unit*999);
  971. local _,pos=workspace:FindPartOnRay(ray,c);
  972. local dis=(aimTarget.p-pos).magnitude;
  973. local rayCFrame=CFrame.new(gast.CFrame.p+(pos-gast.CFrame.p).unit*(dis/2+200),gast.CFrame.p+(pos-gast.CFrame.p).unit*dis*2)*CFrame.Angles(0,math.pi/2,0);
  974. local rayPart=Instance.new('Part',rayModel);
  975. rayPart.Material='Neon';
  976. rayPart.FormFactor='Custom';
  977. rayPart.Color=Color3.new (1, 1, 1)
  978. rayPart.Anchored=true;
  979. rayPart.CanCollide=false;
  980. rayPart.Shape='Cylinder';
  981. rayPart.Size=Vector3.new(dis+400,8,8);
  982. rayPart.CFrame=rayCFrame;
  983. gast:Destroy();
  984. end)
  985. end
  986.  
  987.  
  988. mouse.KeyDown:connect(function(key)
  989. if key=='z'then
  990. gasterBlast(c.Torso.CFrame.p+Vector3.new(math.sin(tick()*10)*10,12,math.cos(tick()*10)*10),mouse.Hit.p,true);
  991. end
  992. end)
  993.  
  994.  
  995. Player=game:GetService("Players").LocalPlayer
  996. Character=Player.Character
  997. PlayerGui=Player.PlayerGui
  998. Backpack=Player.Backpack
  999. Torso=Character.Torso
  1000. Head=Character.Head
  1001. Humanoid=Character.Humanoid
  1002. m=Instance.new('Model',Character)
  1003. LeftArm=Character["Left Arm"]
  1004. LeftLeg=Character["Left Leg"]
  1005. RightArm=Character["Right Arm"]
  1006. RightLeg=Character["Right Leg"]
  1007. LS=Torso["Left Shoulder"]
  1008. LH=Torso["Left Hip"]
  1009. RS=Torso["Right Shoulder"]
  1010. RH=Torso["Right Hip"]
  1011. Face = Head.face
  1012. Neck=Torso.Neck
  1013. it=Instance.new
  1014. attacktype=1
  1015. vt=Vector3.new
  1016. cf=CFrame.new
  1017. euler=CFrame.fromEulerAnglesXYZ
  1018. angles=CFrame.Angles
  1019. cloaked=false
  1020. --------------
  1021. Humanoid.MaxHealth = math.huge
  1022. --------------
  1023. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1024. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1025. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1026. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1027. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1028. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1029. RootPart=Character.HumanoidRootPart
  1030. RootJoint=RootPart.RootJoint
  1031. RootCF=euler(-1.57,0,3.14)
  1032. attack = false
  1033. attackdebounce = false
  1034. deb=false
  1035. equipped=true
  1036. hand=false
  1037. MMouse=nil
  1038. combo=0
  1039. mana=0
  1040. trispeed=1
  1041. pathtrans=.7
  1042. attackmode='none'
  1043. local idle=0
  1044. local Anim="Idle"
  1045. local Effects={}
  1046. local gun=false
  1047. local shoot=false
  1048. player=nil
  1049. cloak=false
  1050. lightcolor='Bright blue'
  1051.  
  1052. local Color1= BrickColor.new ("Institutional White")
  1053.  
  1054. local fengui=it("GuiMain")
  1055. fengui.Parent=Player.PlayerGui
  1056. fengui.Name="WeaponGUI"
  1057. local fenframe=it("Frame")
  1058. fenframe.Parent=fengui
  1059. fenframe.BackgroundColor3=Color3.new(255,255,255)
  1060. fenframe.BackgroundTransparency=1
  1061. fenframe.BorderColor3=Color3.new(0,0,0)
  1062. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  1063. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  1064. local fenbarmana1=it("TextLabel")
  1065. fenbarmana1.Parent=fenframe
  1066. fenbarmana1.Text=" "
  1067. fenbarmana1.BackgroundTransparency=0
  1068. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  1069. fenbarmana1.SizeConstraint="RelativeXY"
  1070. fenbarmana1.TextXAlignment="Center"
  1071. fenbarmana1.TextYAlignment="Center"
  1072. fenbarmana1.Position=UDim2.new(0,0,0,0)
  1073. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  1074. local fenbarmana2=it("TextLabel")
  1075. fenbarmana2.Parent=fenframe
  1076. fenbarmana2.Text=" "
  1077. fenbarmana2.BackgroundTransparency=0
  1078. fenbarmana2.BackgroundColor3=Torso.Color
  1079. fenbarmana2.SizeConstraint="RelativeXY"
  1080. fenbarmana2.TextXAlignment="Center"
  1081. fenbarmana2.TextYAlignment="Center"
  1082. fenbarmana2.Position=UDim2.new(0,0,0,0)
  1083. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  1084. local fenbarmana3=it("TextLabel")
  1085. fenbarmana3.Parent=fenframe
  1086. fenbarmana3.Text=" "
  1087. fenbarmana3.BackgroundTransparency=0
  1088. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  1089. fenbarmana3.SizeConstraint="RelativeXY"
  1090. fenbarmana3.TextXAlignment="Center"
  1091. fenbarmana3.TextYAlignment="Center"
  1092. fenbarmana3.Position=UDim2.new(0,0,0,0)
  1093. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  1094. local fenbarmana4=it("TextLabel")
  1095. fenbarmana4.Parent=fenframe
  1096. fenbarmana4.Text="Energy("..mana..")"
  1097. fenbarmana4.BackgroundTransparency=1
  1098. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  1099. fenbarmana4.SizeConstraint="RelativeXY"
  1100. fenbarmana4.TextXAlignment="Center"
  1101. fenbarmana4.TextYAlignment="Center"
  1102. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  1103. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  1104. fenbarmana4.FontSize="Size9"
  1105. fenbarmana4.TextStrokeTransparency=0
  1106. fenbarmana4.TextColor=BrickColor.new("Institutional White")
  1107.  
  1108. mouse=Player:GetMouse()
  1109. --save shoulders
  1110. RSH, LSH=nil, nil
  1111. --welds
  1112. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1113. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1114. LH=Torso["Left Hip"]
  1115. RH=Torso["Right Hip"]
  1116. TorsoColor= BrickColor.new ("Institutional White")
  1117. function NoOutline(Part)
  1118. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1119. end
  1120. player=Player
  1121. ch=Character
  1122. RSH=ch.Torso["Right Shoulder"]
  1123. LSH=ch.Torso["Left Shoulder"]
  1124. --
  1125. RSH.Parent=nil
  1126. LSH.Parent=nil
  1127. --
  1128. RW.Name="Right Shoulder"
  1129. RW.Part0=ch.Torso
  1130. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1131. RW.C1=cf(0, 0.5, 0)
  1132. RW.Part1=ch["Right Arm"]
  1133. RW.Parent=ch.Torso
  1134. --
  1135. LW.Name="Left Shoulder"
  1136. LW.Part0=ch.Torso
  1137. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1138. LW.C1=cf(0, 0.5, 0)
  1139. LW.Part1=ch["Left Arm"]
  1140. LW.Parent=ch.Torso
  1141.  
  1142. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1143. local fp=it("Part")
  1144. fp.formFactor=formfactor
  1145. fp.Parent=parent
  1146. fp.Reflectance=reflectance
  1147. fp.Transparency=transparency
  1148. fp.CanCollide=false
  1149. fp.Locked=true
  1150. fp.BrickColor=brickcolor
  1151. fp.Name=name
  1152. fp.Size=size
  1153. fp.Position=Torso.Position
  1154. NoOutline(fp)
  1155. fp.Material="Neon"
  1156. fp:BreakJoints()
  1157. return fp
  1158. end
  1159.  
  1160. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1161. local mesh=it(Mesh)
  1162. mesh.Parent=part
  1163. if Mesh=="SpecialMesh" then
  1164. mesh.MeshType=meshtype
  1165. if meshid~="nil" then
  1166. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1167. end
  1168. end
  1169. mesh.Offset=offset
  1170. mesh.Scale=scale
  1171. return mesh
  1172. end
  1173.  
  1174. function weld(parent,part0,part1,c0)
  1175. local weld=it("Weld")
  1176. weld.Parent=parent
  1177. weld.Part0=part0
  1178. weld.Part1=part1
  1179. weld.C0=c0
  1180. return weld
  1181. end
  1182.  
  1183. local Color1= BrickColor.new ("Institutional White")
  1184.  
  1185. local bodvel=Instance.new("BodyVelocity")
  1186. local bg=Instance.new("BodyGyro")
  1187.  
  1188. function swait(num)
  1189. if num==0 or num==nil then
  1190. game:service'RunService'.Stepped:wait(0)
  1191. else
  1192. for i=0,num do
  1193. game:service'RunService'.Stepped:wait(0)
  1194. end
  1195. end
  1196. end
  1197.  
  1198.  
  1199. so = function(id,par,vol,pit)
  1200. coroutine.resume(coroutine.create(function()
  1201. local sou = Instance.new("Sound",par or workspace)
  1202. sou.Volume=vol
  1203. sou.Pitch=pit or 1
  1204. sou.SoundId=id
  1205. swait()
  1206. sou:play()
  1207. game:GetService("Debris"):AddItem(sou,6)
  1208. end))
  1209. end
  1210.  
  1211. function clerp(a,b,t)
  1212. local qa = {QuaternionFromCFrame(a)}
  1213. local qb = {QuaternionFromCFrame(b)}
  1214. local ax, ay, az = a.x, a.y, a.z
  1215. local bx, by, bz = b.x, b.y, b.z
  1216. local _t = 1-t
  1217. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1218. end
  1219.  
  1220. function QuaternionFromCFrame(cf)
  1221. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1222. local trace = m00 + m11 + m22
  1223. if trace > 0 then
  1224. local s = math.sqrt(1 + trace)
  1225. local recip = 0.5/s
  1226. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1227. else
  1228. local i = 0
  1229. if m11 > m00 then
  1230. i = 1
  1231. end
  1232. if m22 > (i == 0 and m00 or m11) then
  1233. i = 2
  1234. end
  1235. if i == 0 then
  1236. local s = math.sqrt(m00-m11-m22+1)
  1237. local recip = 0.5/s
  1238. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1239. elseif i == 1 then
  1240. local s = math.sqrt(m11-m22-m00+1)
  1241. local recip = 0.5/s
  1242. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1243. elseif i == 2 then
  1244. local s = math.sqrt(m22-m00-m11+1)
  1245. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1246. end
  1247. end
  1248. end
  1249.  
  1250. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1251. local xs, ys, zs = x + x, y + y, z + z
  1252. local wx, wy, wz = w*xs, w*ys, w*zs
  1253. local xx = x*xs
  1254. local xy = x*ys
  1255. local xz = x*zs
  1256. local yy = y*ys
  1257. local yz = y*zs
  1258. local zz = z*zs
  1259. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  1260. end
  1261.  
  1262. function QuaternionSlerp(a, b, t)
  1263. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1264. local startInterp, finishInterp;
  1265. if cosTheta >= 0.0001 then
  1266. if (1 - cosTheta) > 0.0001 then
  1267. local theta = math.acos(cosTheta)
  1268. local invSinTheta = 1/math.sin(theta)
  1269. startInterp = math.sin((1-t)*theta)*invSinTheta
  1270. finishInterp = math.sin(t*theta)*invSinTheta
  1271. else
  1272. startInterp = 1-t
  1273. finishInterp = t
  1274. end
  1275. else
  1276. if (1+cosTheta) > 0.0001 then
  1277. local theta = math.acos(-cosTheta)
  1278. local invSinTheta = 1/math.sin(theta)
  1279. startInterp = math.sin((t-1)*theta)*invSinTheta
  1280. finishInterp = math.sin(t*theta)*invSinTheta
  1281. else
  1282. startInterp = t-1
  1283. finishInterp = t
  1284. end
  1285. end
  1286. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  1287. end
  1288.  
  1289. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1290. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1291. end
  1292.  
  1293. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  1294. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1295. prt.Anchored=true
  1296. prt.CFrame=cframe
  1297. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  1298. --http://www.roblox.com/asset/?id=4770560
  1299. game:GetService("Debris"):AddItem(prt,2)
  1300. CF=prt.CFrame
  1301. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  1302. for i=0,1,0.2 do
  1303. wait()
  1304. Part.CFrame=CF*cf(0,0,-0.4)
  1305. end
  1306. for i=0,1,delay do
  1307. wait()
  1308. --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)
  1309. Mesh.Scale=Mesh.Scale
  1310. end
  1311. for i=0,1,0.1 do
  1312. wait()
  1313. Part.Transparency=i
  1314. end
  1315. Part.Parent=nil
  1316. end),prt,msh,CF)
  1317. end
  1318.  
  1319. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1320. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1321. prt.Anchored=true
  1322. prt.CFrame=cframe
  1323. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1324. game:GetService("Debris"):AddItem(prt,5)
  1325. coroutine.resume(coroutine.create(function(Part,Mesh)
  1326. for i=0,1,delay do
  1327. wait()
  1328. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1329. Part.Transparency=i
  1330. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1331. end
  1332. Part.Parent=nil
  1333. end),prt,msh)
  1334. end
  1335.  
  1336. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1337. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1338. prt.Anchored=false
  1339. prt.CFrame=cframe
  1340. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1341. local wld=weld(prt,prt,Parent,cframe)
  1342. game:GetService("Debris"):AddItem(prt,5)
  1343. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1344. for i=0,1,delay do
  1345. wait()
  1346. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  1347. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1348. Part.Transparency=i
  1349. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1350. end
  1351. Part.Parent=nil
  1352. end),prt,msh,wld)
  1353. end
  1354.  
  1355. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  1356. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1357. prt.Anchored=false
  1358. prt.CFrame=cframe
  1359. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1360. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  1361. game:GetService("Debris"):AddItem(prt,5)
  1362. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  1363. for i=0,1,delay do
  1364. wait()
  1365. Weld.C0=euler(i*20,0,0)
  1366. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1367. Part.Transparency=i
  1368. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1369. end
  1370. Part.Parent=nil
  1371. end),prt,msh,wld)
  1372. end
  1373.  
  1374. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1375. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1376. prt.Anchored=true
  1377. prt.CFrame=cframe
  1378. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1379. game:GetService("Debris"):AddItem(prt,2)
  1380. coroutine.resume(coroutine.create(function(Part,Mesh)
  1381. for i=0,1,delay do
  1382. wait()
  1383. Part.CFrame=Part.CFrame
  1384. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1385. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1386. prt2.Anchored=true
  1387. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1388. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  1389. game:GetService("Debris"):AddItem(prt2,2)
  1390. coroutine.resume(coroutine.create(function(Part,Mesh)
  1391. for i=0,1,0.1 do
  1392. wait()
  1393. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  1394. end
  1395. Part.Parent=nil
  1396. end),prt2,msh2)
  1397. end
  1398. for i=0,1,delay*2 do
  1399. wait()
  1400. Part.CFrame=Part.CFrame
  1401. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  1402. end
  1403. Part.Parent=nil
  1404. end),prt,msh)
  1405. end
  1406.  
  1407. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1408. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1409. prt.Anchored=true
  1410. prt.CFrame=cframe
  1411. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1412. game:GetService("Debris"):AddItem(prt,2)
  1413. coroutine.resume(coroutine.create(function(Part,Mesh)
  1414. for i=0,1,delay do
  1415. wait()
  1416. Part.CFrame=Part.CFrame
  1417. Part.Transparency=i
  1418. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1419. end
  1420. Part.Parent=nil
  1421. end),prt,msh)
  1422. end
  1423.  
  1424. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  1425. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1426. prt.Anchored=true
  1427. prt.CFrame=cframe*euler(x2,y2,z2)
  1428. --"http://www.roblox.com/asset/?id=168892465"
  1429. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1430. game:GetService("Debris"):AddItem(prt,2)
  1431. coroutine.resume(coroutine.create(function(Part,Mesh)
  1432. for i=0,1,0.03 do
  1433. wait()
  1434. Part.CFrame=Part.CFrame
  1435. Part.Transparency=i
  1436. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1437. end
  1438. Part.Parent=nil
  1439. end),prt,msh)
  1440. end
  1441.  
  1442. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  1443. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1444. prt.Anchored=true
  1445. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1446. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1447. game:GetService("Debris"):AddItem(prt,2)
  1448. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  1449. CF=Part.CFrame
  1450. Numbb=0
  1451. randnumb=math.random()/10
  1452. rand1=math.random()/10
  1453. for i=0,1,rand1 do
  1454. wait()
  1455. CF=CF*cf(0,math.random()/2,0)
  1456. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  1457. Part.CFrame=CF*euler(Numbb,0,0)
  1458. Part.Transparency=i
  1459. Numbb=Numbb+randnumb
  1460. end
  1461. Part.Parent=nil
  1462. end),prt,CF,Numbb,randnumb)
  1463. end
  1464.  
  1465. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1466. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1467. prt.Anchored=true
  1468. prt.CFrame=cframe
  1469. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  1470. game:GetService("Debris"):AddItem(prt,5)
  1471. coroutine.resume(coroutine.create(function(Part,Mesh)
  1472. for i=0,1,delay do
  1473. wait()
  1474. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  1475. Part.Transparency=i
  1476. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1477. end
  1478. Part.Parent=nil
  1479. end),prt,msh)
  1480. end
  1481.  
  1482. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1483. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1484. prt.Anchored=true
  1485. prt.CFrame=cframe
  1486. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  1487. game:GetService("Debris"):AddItem(prt,2)
  1488. coroutine.resume(coroutine.create(function(Part,Mesh)
  1489. for i=0,1,delay do
  1490. wait()
  1491. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  1492. Part.Transparency=i
  1493. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1494. end
  1495. Part.Parent=nil
  1496. end),prt,msh)
  1497. end
  1498.  
  1499. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  1500. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1501. prt.Anchored=true
  1502. prt.CFrame=cframe*cf(x,y,z)
  1503. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  1504. game:GetService("Debris"):AddItem(prt,5)
  1505. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  1506. local num=math.random()
  1507. local num2=math.random(-3,2)+math.random()
  1508. local numm=0
  1509. for i=0,1,delay*2 do
  1510. swait()
  1511. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  1512. Part.Transparency=i
  1513. numm=numm+0.01
  1514. end
  1515. Part.Parent=nil
  1516. Mesh.Parent=nil
  1517. end),prt,msh,x,y,z)
  1518. end
  1519.  
  1520. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1521. if hit.Parent==nil then
  1522. return
  1523. end
  1524. h=hit.Parent:FindFirstChild("Humanoid")
  1525. for _,v in pairs(hit.Parent:children()) do
  1526. if v:IsA("Humanoid") then
  1527. h=v
  1528. end
  1529. end
  1530. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1531. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1532. end
  1533. if hit.Parent.className=="Hat" then
  1534. hit=hit.Parent.Parent:findFirstChild("Head")
  1535. end
  1536. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1537. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1538. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1539. return
  1540. end]]
  1541. -- hs(hit,1.2)
  1542. c=Instance.new("ObjectValue")
  1543. c.Name="creator"
  1544. c.Value=game:service("Players").LocalPlayer
  1545. c.Parent=h
  1546. game:GetService("Debris"):AddItem(c,.5)
  1547. Damage=math.random(minim,maxim)
  1548. -- h:TakeDamage(Damage)
  1549. blocked=false
  1550. block=hit.Parent:findFirstChild("Block")
  1551. if block~=nil then
  1552. print(block.className)
  1553. if block.className=="NumberValue" then
  1554. if block.Value>0 then
  1555. blocked=true
  1556. if decreaseblock==nil then
  1557. block.Value=block.Value-1
  1558. end
  1559. end
  1560. end
  1561. if block.className=="IntValue" then
  1562. if block.Value>0 then
  1563. blocked=true
  1564. if decreaseblock~=nil then
  1565. block.Value=block.Value-1
  1566. end
  1567. end
  1568. end
  1569. end
  1570. if blocked==false then
  1571. -- h:TakeDamage(Damage)
  1572. h.Health=h.Health-Damage
  1573. showDamage(hit.Parent,Damage,.5,TorsoColor)
  1574. else
  1575. h.Health=h.Health-(Damage/2)
  1576. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Institutional White"))
  1577. end
  1578. if Type=="Knockdown" then
  1579. hum=hit.Parent.Humanoid
  1580. hum.PlatformStand=true
  1581. coroutine.resume(coroutine.create(function(HHumanoid)
  1582. swait(1)
  1583. HHumanoid.PlatformStand=false
  1584. end),hum)
  1585. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1586. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1587. local bodvol=Instance.new("BodyVelocity")
  1588. bodvol.velocity=angle*knockback
  1589. bodvol.P=5000
  1590. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1591. bodvol.Parent=hit
  1592. rl=Instance.new("BodyAngularVelocity")
  1593. rl.P=3000
  1594. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1595. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1596. rl.Parent=hit
  1597. game:GetService("Debris"):AddItem(bodvol,.5)
  1598. game:GetService("Debris"):AddItem(rl,.5)
  1599. elseif Type=="Normal" then
  1600. vp=Instance.new("BodyVelocity")
  1601. vp.P=500
  1602. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1603. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1604. if KnockbackType==1 then
  1605. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1606. elseif KnockbackType==2 then
  1607. vp.velocity=Property.CFrame.lookVector*knockback
  1608. end
  1609. if knockback>0 then
  1610. vp.Parent=hit.Parent.Torso
  1611. end
  1612. game:GetService("Debris"):AddItem(vp,.5)
  1613. elseif Type=="Up" then
  1614. local bodyVelocity=Instance.new("BodyVelocity")
  1615. bodyVelocity.velocity=vt(0,10,0)
  1616. bodyVelocity.P=1000
  1617. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  1618. bodyVelocity.Parent=hit
  1619. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1620. rl=Instance.new("BodyAngularVelocity")
  1621. rl.P=3000
  1622. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1623. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  1624. rl.Parent=hit
  1625. game:GetService("Debris"):AddItem(rl,.5)
  1626. elseif Type=="Snare" then
  1627. bp=Instance.new("BodyPosition")
  1628. bp.P=2000
  1629. bp.D=100
  1630. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1631. bp.position=hit.Parent.Torso.Position
  1632. bp.Parent=hit.Parent.Torso
  1633. game:GetService("Debris"):AddItem(bp,1)
  1634. elseif Type=="Target" then
  1635. if Targetting==false then
  1636. ZTarget=hit.Parent.Torso
  1637. coroutine.resume(coroutine.create(function(Part)
  1638. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1639. swait(5)
  1640. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  1641. end),ZTarget)
  1642. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  1643. targetgui=Instance.new("BillboardGui")
  1644. targetgui.Parent=ZTarget
  1645. targetgui.Size=UDim2.new(10,100,10,100)
  1646. targ=Instance.new("ImageLabel")
  1647. targ.Parent=targetgui
  1648. targ.BackgroundTransparency=1
  1649. targ.Image="rbxassetid://4834067"
  1650. targ.Size=UDim2.new(1,0,1,0)
  1651. cam.CameraType="Scriptable"
  1652. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1653. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1654. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1655. Targetting=true
  1656. RocketTarget=ZTarget
  1657. for i=1,Property do
  1658. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  1659. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  1660. swait()
  1661. end
  1662. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  1663. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  1664. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  1665. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  1666. end
  1667. Targetting=false
  1668. RocketTarget=nil
  1669. targetgui.Parent=nil
  1670. cam.CameraType="Custom"
  1671. end
  1672. end
  1673. debounce=Instance.new("BoolValue")
  1674. debounce.Name="DebounceHit"
  1675. debounce.Parent=hit.Parent
  1676. debounce.Value=true
  1677. game:GetService("Debris"):AddItem(debounce,Delay)
  1678. c=Instance.new("ObjectValue")
  1679. c.Name="creator"
  1680. c.Value=Player
  1681. c.Parent=h
  1682. game:GetService("Debris"):AddItem(c,.5)
  1683. CRIT=false
  1684. hitDeb=true
  1685. AttackPos=6
  1686. end
  1687. end
  1688.  
  1689. showDamage=function(Char,Dealt,du,Color)
  1690. m=Instance.new("Model")
  1691. m.Name=tostring(Dealt)
  1692. h=Instance.new("Humanoid")
  1693. h.Health=0
  1694. h.MaxHealth=0
  1695. h.Parent=m
  1696. c=Instance.new("Part")
  1697. c.Transparency=0
  1698. c.BrickColor=TorsoColor
  1699. c.Name="Head"
  1700. c.TopSurface=0
  1701. c.BottomSurface=0
  1702. c.formFactor="Plate"
  1703. c.Size=Vector3.new(1,.4,1)
  1704. ms=Instance.new("CylinderMesh")
  1705. ms.Scale=Vector3.new(.8,.8,.8)
  1706. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  1707. if CRIT==true then
  1708. ms.Scale=Vector3.new(1,1.25,1)
  1709. end
  1710. ms.Parent=c
  1711. c.Reflectance=0
  1712. Instance.new("BodyGyro").Parent=c
  1713. c.Parent=m
  1714. if Char:findFirstChild("Head")~=nil then
  1715. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1716. elseif Char.Parent:findFirstChild("Head")~=nil then
  1717. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1718. end
  1719. f=Instance.new("BodyPosition")
  1720. f.P=2000
  1721. f.D=100
  1722. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1723. f.position=c.Position+Vector3.new(0,3,0)
  1724. f.Parent=c
  1725. game:GetService("Debris"):AddItem(m,.5+du)
  1726. c.CanCollide=false
  1727. m.Parent=workspace
  1728. c.CanCollide=false
  1729. end
  1730.  
  1731. Player=game:GetService('Players').LocalPlayer
  1732. Character=Player.Character
  1733. Mouse=Player:GetMouse()
  1734. m=Instance.new('Model',Character)
  1735.  
  1736.  
  1737. local function weldBetween(a, b)
  1738. local weldd = Instance.new("ManualWeld")
  1739. a = weldd.Part0
  1740. b = weldd.Part1
  1741. weldd.C0 = CFrame.new()
  1742. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1743. weldd.Parent = a
  1744. return weldd
  1745. end
  1746.  
  1747. it=Instance.new
  1748.  
  1749. function nooutline(part)
  1750. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1751. end
  1752.  
  1753. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1754. local fp=it("Part")
  1755. fp.formFactor=formfactor
  1756. fp.Parent=parent
  1757. fp.Reflectance=reflectance
  1758. fp.Transparency=transparency
  1759. fp.CanCollide=false
  1760. fp.Locked=true
  1761. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1762. fp.Name=name
  1763. fp.Size=size
  1764. fp.Position=Character.Torso.Position
  1765. nooutline(fp)
  1766. fp.Material=material
  1767. fp:BreakJoints()
  1768. return fp
  1769. end
  1770.  
  1771. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1772. local mesh=it(Mesh)
  1773. mesh.Parent=part
  1774. if Mesh=="SpecialMesh" then
  1775. mesh.MeshType=meshtype
  1776. mesh.MeshId=meshid
  1777. end
  1778. mesh.Offset=offset
  1779. mesh.Scale=scale
  1780. return mesh
  1781. end
  1782.  
  1783. function weld(parent,part0,part1,c0,c1)
  1784. local weld=it("Weld")
  1785. weld.Parent=parent
  1786. weld.Part0=part0
  1787. weld.Part1=part1
  1788. weld.C0=c0
  1789. weld.C1=c1
  1790. return weld
  1791. end
  1792.  
  1793. local modelzorz=Instance.new("Model")
  1794. modelzorz.Parent=Character
  1795. modelzorz.Name="Claw1"
  1796.  
  1797. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  1798. Handleweld=weld(m,Character["Torso"],Handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-6.74455023, 0.843135834, 3.31332064, 0.866820872, 0.000393055088, -0.498619556, 0.129048944, -0.966104209, 0.223582461, -0.481630623, -0.258152217, -0.837489963))
  1799. mesh("SpecialMesh",Handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=0",Vector3.new(0, 0, 0),Vector3.new(1, 1, 5))
  1800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1801. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  1802. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1803. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  1804. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1805. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1806. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  1807. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1808. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  1809. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1810. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  1811. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1812. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  1813. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1814. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  1815. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1816. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  1817. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1818. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  1819. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1820. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  1821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1822. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  1823. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1824. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1825. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  1826. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1827. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  1828. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1829. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional White","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1830. Gearweld=weld(m,Handle,Gear,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0552597046, -0.0398271084, -0.0363032818, 0.999988854, -3.23429704e-005, 0.00164097548, 3.37436795e-005, 0.999994695, -0.000689953566, -0.00164103508, 0.000689953566, 0.999993086))
  1831. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=3270017",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1833. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  1834. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1836. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  1837. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1838.  
  1839. local modelzorz2=Instance.new("Model")
  1840. modelzorz2.Parent=Character
  1841. modelzorz2.Name="Claw2"
  1842.  
  1843. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  1844. Handle2weld=weld(m,Character["Torso"],Handle2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.65693045, 1.66835713, 2.9684639, 0.866025746, 0.129405379, 0.482963592, -3.67555799e-006, -0.965926409, 0.258817136, 0.499999553, -0.224144042, -0.836516559))
  1845. mesh("SpecialMesh",Handle2,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=0",Vector3.new(0, 0, 0),Vector3.new(1, 1, 5))
  1846. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1847. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  1848. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1849. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  1850. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1851. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  1852. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1853. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  1854. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1855. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1856. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  1857. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1858. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1859. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  1860. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1861. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  1862. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1863. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1864. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  1865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1866. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  1867. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1869. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  1870. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  1871. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  1872. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  1873. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1874. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  1875. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1876. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  1877. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1878. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  1879. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Institutional White","Part",Vector3.new(4.29999971, 4.30000019, 1))
  1880. Gear2weld=weld(m,Handle2,Gear2,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.049841404, 0.049908638, 2.78949738e-005, 0.999990344, -5.01424074e-006, -1.49011612e-007, 5.28991222e-006, 0.999994934, 2.98023224e-008, 2.38418579e-007, -1.63912773e-007, 0.999994636))
  1881. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=3270017",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  1882. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  1883. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  1884.  
  1885. local modelzorz3=Instance.new("Model")
  1886. modelzorz3.Parent=Character
  1887. modelzorz3.Name="Eye"
  1888.  
  1889. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1890. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-2.22326851, -3.5562191, -0.038143158, 0, 0, 1, 0, 1, 0, -1, 0, 0))
  1891. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=0",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  1892.  
  1893. local moosick = it("Sound",Character)
  1894. moosick.SoundId = "rbxassetid://0"
  1895. moosick.Looped = true
  1896. moosick.Pitch = 1
  1897. moosick.Volume = 1
  1898. moosick:Play()
  1899.  
  1900. anim = Character:findFirstChild("Animate")
  1901. if anim then
  1902. anim:Destroy()
  1903. end
  1904.  
  1905. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1906. particleemitter.VelocitySpread = 180
  1907. particleemitter.Lifetime = NumberRange.new(0.4)
  1908. particleemitter.LockedToPart = true
  1909. particleemitter.Speed = NumberRange.new(2)
  1910. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1911. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1912. particleemitter.Rate = 100
  1913. particleemitter.Rotation = NumberRange.new(-45, 45)
  1914. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 2), NumberSequenceKeypoint.new(1, 2)})
  1915. particleemitter.LightEmission = 0
  1916. particleemitter.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
  1917.  
  1918. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1919. particleemitter.VelocitySpread = 180
  1920. particleemitter.Lifetime = NumberRange.new(0.4)
  1921. particleemitter.LockedToPart = true
  1922. particleemitter.Speed = NumberRange.new(2)
  1923. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1924. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1925. particleemitter.Rate = 100
  1926. particleemitter.Rotation = NumberRange.new(-45, 45)
  1927. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 2), NumberSequenceKeypoint.new(1, 2)})
  1928. particleemitter.LightEmission = 0
  1929. particleemitter.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
  1930.  
  1931. local particleemitter = Instance.new("ParticleEmitter", handle)
  1932. particleemitter.VelocitySpread = 180
  1933. particleemitter.LockedToPart = true
  1934. particleemitter.Lifetime = NumberRange.new(0.5)
  1935. particleemitter.Speed = NumberRange.new(2)
  1936. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1937. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1938. particleemitter.Rate = 100
  1939. particleemitter.Rotation = NumberRange.new(-45, 45)
  1940. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 2), NumberSequenceKeypoint.new(1, 2), NumberSequenceKeypoint.new(1, 2)})
  1941. particleemitter.LightEmission = 0.8
  1942. particleemitter.Color = ColorSequence.new(Color3.new(255, 0, 0), Color3.new(255, 0, 0))
  1943.  
  1944. local light = Instance.new("PointLight", Character.Torso)
  1945. light.Color = Color3.new(255,0,0)
  1946. light.Brightness = 2
  1947. light.Range = 4
  1948.  
  1949. particleemitter.Enabled = true
  1950.  
  1951. local Footsteps = it("Sound",Character.Torso)
  1952. Footsteps.SoundId = "rbxassetid://142665235"
  1953. Footsteps.Looped = true
  1954. Footsteps.Pitch = 0.8
  1955. Footsteps.Volume = 0.3
  1956.  
  1957. local Footsteps2 = it("Sound",Character.Torso)
  1958. Footsteps2.SoundId = "rbxassetid://142665235"
  1959. Footsteps2.Looped = true
  1960. Footsteps2.Pitch = 1
  1961. Footsteps2.Volume = 0.4
  1962.  
  1963. local cam = game.Workspace.CurrentCamera
  1964.  
  1965. --cam.CameraSubject = Character
  1966.  
  1967. for i,v in pairs(Head:children()) do
  1968. if v:IsA("Sound") then
  1969. v:Destroy()
  1970. end
  1971. end
  1972.  
  1973. mouse.Button1Down:connect(function()
  1974. if attack==false and attacktype==1 then
  1975. attacktype=2
  1976. attackone()
  1977. elseif attack==false and attacktype==2 then
  1978. attacktype=3
  1979. attacktwo()
  1980. elseif attack==false and attacktype==3 then
  1981. attacktype=4
  1982. attackthree()
  1983. elseif attack==false and attacktype==4 then
  1984. attacktype=1
  1985. attackfour()
  1986. end
  1987. end)
  1988.  
  1989. mouse.KeyDown:connect(function(k)
  1990. k=k:lower()
  1991. if k=='e' then
  1992. if attack==false and mana>=20 then
  1993. Push()
  1994. end
  1995. elseif k=='g' then
  1996. if attack==false and mana>=50 then
  1997. Twirl()
  1998. end
  1999. elseif k=='v' then
  2000. if attack==false and mana>=25 then
  2001. MagicJump()
  2002. end
  2003. elseif k=='q' then
  2004. if attack==false then
  2005. idle=1000
  2006. end
  2007. elseif k=='h' then
  2008. if attack==false then
  2009. mana=100
  2010. end
  2011. elseif k=='y' then
  2012. if attack==false and mana>=100 then
  2013. Shred()
  2014. end
  2015. elseif k=='p' then
  2016. if attack==false and mana>=23 then
  2017. attackthree()
  2018. end
  2019. elseif k=='u' then
  2020. if attack==false and mana>=40 then
  2021. Spin()
  2022. end
  2023. elseif k=='r' then
  2024. if attack==false and mana>=20 then
  2025. Clap()
  2026. end
  2027. elseif k=='t' then
  2028. if attack==false then
  2029. Hai()
  2030. end
  2031. elseif k==',' then
  2032. if attack==false then
  2033. Humanoid.WalkSpeed=(24)
  2034. end
  2035. elseif k=='j' then
  2036. if attack==false then
  2037. Humanoid.Health = 10
  2038. print("Congrats, you commited suicide.")
  2039. end
  2040. end
  2041. end)
  2042.  
  2043. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2044. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2045. prt.Anchored=true
  2046. prt.CFrame=cframe
  2047. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2048. game:GetService("Debris"):AddItem(prt,2)
  2049. coroutine.resume(coroutine.create(function(Part,Mesh)
  2050. for i=0,1,delay do
  2051. wait()
  2052. Part.CFrame=Part.CFrame
  2053. Part.Transparency=i
  2054. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2055. end
  2056. Part.Parent=nil
  2057. end),prt,msh)
  2058. end
  2059.  
  2060. TrailDeb = false
  2061.  
  2062. function equipanim()
  2063. attack=true
  2064. Humanoid.WalkSpeed = 0
  2065. if TrailDeb == false then
  2066. TrailDeb = true
  2067. end
  2068.  
  2069.  
  2070. coroutine.wrap(function()
  2071. local Old = handle.CFrame.p
  2072. while wait()do
  2073. if not TrailDeb then break end
  2074. local New = handle.CFrame.p
  2075. local Mag =(Old -New).magnitude
  2076. local Dis =(Old +New)/2
  2077. local Trail = Instance.new("Part",Character)
  2078. Trail.Material = "Neon"
  2079. Trail.Anchored = true
  2080. Trail.CanCollide = false
  2081. Trail.BrickColor = TorsoColor
  2082. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2083. Trail.TopSurface = 0
  2084. Trail.BottomSurface = 0
  2085. Trail.formFactor = "Custom"
  2086. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2087. local ms = Instance.new("BlockMesh",Trail)
  2088. ms.Scale = Vector3.new(1,1,1)
  2089. local TM = Instance.new("CylinderMesh",Trail)
  2090. TM.Scale = Vector3.new(1,1,1)
  2091. Old = New
  2092. coroutine.wrap(function()
  2093. for i = 1,0,-0.1 do
  2094. wait()
  2095. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2096. end
  2097. Trail:remove()
  2098. end)()
  2099. coroutine.wrap(function()
  2100. for i = 1,10 do
  2101. wait()
  2102. Trail.Transparency = Trail.Transparency +0.1
  2103. end end)()end end)()
  2104. coroutine.wrap(function()
  2105. local Old = Handle.CFrame.p
  2106. while wait()do
  2107. if not TrailDeb then break end
  2108. local New = Handle.CFrame.p
  2109. local Mag =(Old -New).magnitude
  2110. local Dis =(Old +New)/2
  2111. local Trail = Instance.new("Part",Character)
  2112. Trail.Material = "Neon"
  2113. Trail.Anchored = true
  2114. Trail.CanCollide = false
  2115. Trail.BrickColor = TorsoColor
  2116. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2117. Trail.TopSurface = 0
  2118. Trail.BottomSurface = 0
  2119. Trail.formFactor = "Custom"
  2120. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2121. local ms = Instance.new("BlockMesh",Trail)
  2122. ms.Scale = Vector3.new(1,1,1)
  2123. local TM = Instance.new("CylinderMesh",Trail)
  2124. TM.Scale = Vector3.new(1,1,1)
  2125. Old = New
  2126. coroutine.wrap(function()
  2127. for i = 1,0,-0.1 do
  2128. wait()
  2129. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2130. end
  2131. Trail:remove()
  2132. end)()
  2133. coroutine.wrap(function()
  2134. for i = 1,10 do
  2135. wait()
  2136. Trail.Transparency = Trail.Transparency +0.1
  2137. end end)()end end)()
  2138. coroutine.wrap(function()
  2139. local Old = Handle2.CFrame.p
  2140. while wait()do
  2141. if not TrailDeb then break end
  2142. local New = Handle2.CFrame.p
  2143. local Mag =(Old -New).magnitude
  2144. local Dis =(Old +New)/2
  2145. local Trail = Instance.new("Part",Character)
  2146. Trail.Material = "Neon"
  2147. Trail.Anchored = true
  2148. Trail.CanCollide = false
  2149. Trail.BrickColor = TorsoColor
  2150. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2151. Trail.TopSurface = 0
  2152. Trail.BottomSurface = 0
  2153. Trail.formFactor = "Custom"
  2154. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2155. local ms = Instance.new("BlockMesh",Trail)
  2156. ms.Scale = Vector3.new(1,1,1)
  2157. local TM = Instance.new("CylinderMesh",Trail)
  2158. TM.Scale = Vector3.new(1,1,1)
  2159. Old = New
  2160. coroutine.wrap(function()
  2161. for i = 1,0,-0.1 do
  2162. wait()
  2163. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2164. end
  2165. Trail:remove()
  2166. end)()
  2167. coroutine.wrap(function()
  2168. for i = 1,10 do
  2169. wait()
  2170. Trail.Transparency = Trail.Transparency +0.1
  2171. end end)()end end)()
  2172. so("http://www.roblox.com/asset/?id=357559831",Torso,1,0.5)
  2173. for i=0,1,0.005 do
  2174. swait()
  2175. moosick.Volume = 0+1*i
  2176. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  2177. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  2178. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  2179. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  2180. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  2181. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  2182. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  2183. end
  2184. for i=0,1,0.005 do
  2185. swait()
  2186. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  2187. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  2188. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  2189. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  2190. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  2191. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  2192. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  2193. end
  2194. so("http://www.roblox.com/asset/?id=35935204",Character,1,0.9)
  2195. so("http://www.roblox.com/asset/?id=35935204",Character,1,0.9)
  2196. for i=0,1,0.005 do
  2197. swait()
  2198. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  2199. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  2200. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  2201. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  2202. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  2203. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  2204. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  2205. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  2206. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  2207. end
  2208. for i=0,1,0.04 do
  2209. swait()
  2210. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  2211. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2212. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2213. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2214. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  2215. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  2216. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2217. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  2218. end
  2219. --dmgstop()
  2220. attack=false
  2221. Humanoid.WalkSpeed = 12
  2222. if TrailDeb == true then
  2223. TrailDeb = false
  2224. end
  2225. end
  2226.  
  2227. function attackone()
  2228. attack=true
  2229. if TrailDeb == false then
  2230. TrailDeb = true
  2231. end
  2232.  
  2233.  
  2234. coroutine.wrap(function()
  2235. local Old = Handle.CFrame.p
  2236. while wait()do
  2237. if not TrailDeb then break end
  2238. local New = Handle.CFrame.p
  2239. local Mag =(Old -New).magnitude
  2240. local Dis =(Old +New)/2
  2241. local Trail = Instance.new("Part",Character)
  2242. Trail.Material = "Neon"
  2243. Trail.Anchored = true
  2244. Trail.CanCollide = false
  2245. Trail.BrickColor = TorsoColor
  2246. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2247. Trail.TopSurface = 0
  2248. Trail.BottomSurface = 0
  2249. Trail.formFactor = "Custom"
  2250. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2251. local ms = Instance.new("BlockMesh",Trail)
  2252. ms.Scale = Vector3.new(1,1,1)
  2253. local TM = Instance.new("CylinderMesh",Trail)
  2254. TM.Scale = Vector3.new(1,1,1)
  2255. Old = New
  2256. coroutine.wrap(function()
  2257. for i = 1,0,-0.1 do
  2258. wait()
  2259. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2260. end
  2261. Trail:remove()
  2262. end)()
  2263. coroutine.wrap(function()
  2264. for i = 1,10 do
  2265. wait()
  2266. Trail.Transparency = Trail.Transparency +0.1
  2267. end end)()end end)()
  2268. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2269. for i=0,1,0.08 do
  2270. swait()
  2271. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  2272. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  2273. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2274. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2275. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2276. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  2277. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  2278. end
  2279. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  2280. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  2281. for i=0,1,0.1 do
  2282. swait()
  2283. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  2284. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2285. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2286. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  2287. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2288. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  2289. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  2290. end
  2291. --dmgstop()
  2292. attack=false
  2293. con1:disconnect()
  2294. if TrailDeb == true then
  2295. TrailDeb = false
  2296. end
  2297. end
  2298.  
  2299. function attacktwo()
  2300. attack=true
  2301. if TrailDeb == false then
  2302. TrailDeb = true
  2303. end
  2304.  
  2305.  
  2306. coroutine.wrap(function()
  2307. local Old = Handle2.CFrame.p
  2308. while wait()do
  2309. if not TrailDeb then break end
  2310. local New = Handle2.CFrame.p
  2311. local Mag =(Old -New).magnitude
  2312. local Dis =(Old +New)/2
  2313. local Trail = Instance.new("Part",Character)
  2314. Trail.Material = "Neon"
  2315. Trail.Anchored = true
  2316. Trail.CanCollide = false
  2317. Trail.BrickColor = TorsoColor
  2318. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2319. Trail.TopSurface = 0
  2320. Trail.BottomSurface = 0
  2321. Trail.formFactor = "Custom"
  2322. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2323. local ms = Instance.new("BlockMesh",Trail)
  2324. ms.Scale = Vector3.new(1,1,1)
  2325. local TM = Instance.new("CylinderMesh",Trail)
  2326. TM.Scale = Vector3.new(1,1,1)
  2327. Old = New
  2328. coroutine.wrap(function()
  2329. for i = 1,0,-0.1 do
  2330. wait()
  2331. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2332. end
  2333. Trail:remove()
  2334. end)()
  2335. coroutine.wrap(function()
  2336. for i = 1,10 do
  2337. wait()
  2338. Trail.Transparency = Trail.Transparency +0.1
  2339. end end)()end end)()
  2340. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2341. for i=0,1,0.08 do
  2342. swait()
  2343. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  2344. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2345. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2346. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  2347. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2348. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2349. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  2350. end
  2351. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2352. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  2353. for i=0,1,0.1 do
  2354. swait()
  2355. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  2357. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2358. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  2359. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2360. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2361. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  2362. end
  2363. --dmgstop()
  2364. attack=false
  2365. con1:disconnect()
  2366. if TrailDeb == true then
  2367. TrailDeb = false
  2368. end
  2369. end
  2370.  
  2371. function attackthree()
  2372. attack=true
  2373. if TrailDeb == false then
  2374. TrailDeb = true
  2375. end
  2376.  
  2377.  
  2378. coroutine.wrap(function()
  2379. local Old = Handle.CFrame.p
  2380. while wait()do
  2381. if not TrailDeb then break end
  2382. local New = Handle.CFrame.p
  2383. local Mag =(Old -New).magnitude
  2384. local Dis =(Old +New)/2
  2385. local Trail = Instance.new("Part",Character)
  2386. Trail.Material = "Neon"
  2387. Trail.Anchored = true
  2388. Trail.CanCollide = false
  2389. Trail.BrickColor = TorsoColor
  2390. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2391. Trail.TopSurface = 0
  2392. Trail.BottomSurface = 0
  2393. Trail.formFactor = "Custom"
  2394. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2395. local ms = Instance.new("BlockMesh",Trail)
  2396. ms.Scale = Vector3.new(1,1,1)
  2397. local TM = Instance.new("CylinderMesh",Trail)
  2398. TM.Scale = Vector3.new(1,1,1)
  2399. Old = New
  2400. coroutine.wrap(function()
  2401. for i = 1,0,-0.1 do
  2402. wait()
  2403. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2404. end
  2405. Trail:remove()
  2406. end)()
  2407. coroutine.wrap(function()
  2408. for i = 1,10 do
  2409. wait()
  2410. Trail.Transparency = Trail.Transparency +0.1
  2411. end end)()end end)()
  2412. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  2413. for i=0,1,0.08 do
  2414. swait()
  2415. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2416. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2417. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2418. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  2419. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2420. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  2421. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  2422. end
  2423. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2424. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  2425. for i=0,1,0.05 do
  2426. swait()
  2427. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2428. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2429. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2430. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  2431. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2432. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  2433. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  2434. end
  2435. --dmgstop()
  2436. attack=false
  2437. con1:disconnect()
  2438. if TrailDeb == true then
  2439. TrailDeb = false
  2440. end
  2441. end
  2442.  
  2443. function attackfour()
  2444. attack=true
  2445. if TrailDeb == false then
  2446. TrailDeb = true
  2447. end
  2448.  
  2449.  
  2450. coroutine.wrap(function()
  2451. local Old = Handle2.CFrame.p
  2452. while wait()do
  2453. if not TrailDeb then break end
  2454. local New = Handle2.CFrame.p
  2455. local Mag =(Old -New).magnitude
  2456. local Dis =(Old +New)/2
  2457. local Trail = Instance.new("Part",Character)
  2458. Trail.Material = "Neon"
  2459. Trail.Anchored = true
  2460. Trail.CanCollide = false
  2461. Trail.BrickColor = TorsoColor
  2462. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2463. Trail.TopSurface = 0
  2464. Trail.BottomSurface = 0
  2465. Trail.formFactor = "Custom"
  2466. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2467. local ms = Instance.new("BlockMesh",Trail)
  2468. ms.Scale = Vector3.new(1,1,1)
  2469. local TM = Instance.new("CylinderMesh",Trail)
  2470. TM.Scale = Vector3.new(1,1,1)
  2471. Old = New
  2472. coroutine.wrap(function()
  2473. for i = 1,0,-0.1 do
  2474. wait()
  2475. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2476. end
  2477. Trail:remove()
  2478. end)()
  2479. coroutine.wrap(function()
  2480. for i = 1,10 do
  2481. wait()
  2482. Trail.Transparency = Trail.Transparency +0.1
  2483. end end)()end end)()
  2484. coroutine.wrap(function()
  2485. local Old = Handle.CFrame.p
  2486. while wait()do
  2487. if not TrailDeb then break end
  2488. local New = Handle.CFrame.p
  2489. local Mag =(Old -New).magnitude
  2490. local Dis =(Old +New)/2
  2491. local Trail = Instance.new("Part",Character)
  2492. Trail.Material = "Neon"
  2493. Trail.Anchored = true
  2494. Trail.CanCollide = false
  2495. Trail.BrickColor = TorsoColor
  2496. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2497. Trail.TopSurface = 0
  2498. Trail.BottomSurface = 0
  2499. Trail.formFactor = "Custom"
  2500. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2501. local ms = Instance.new("BlockMesh",Trail)
  2502. ms.Scale = Vector3.new(1,1,1)
  2503. local TM = Instance.new("CylinderMesh",Trail)
  2504. TM.Scale = Vector3.new(1,1,1)
  2505. Old = New
  2506. coroutine.wrap(function()
  2507. for i = 1,0,-0.1 do
  2508. wait()
  2509. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2510. end
  2511. Trail:remove()
  2512. end)()
  2513. coroutine.wrap(function()
  2514. for i = 1,10 do
  2515. wait()
  2516. Trail.Transparency = Trail.Transparency +0.1
  2517. end end)()end end)()
  2518. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2519. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2520. for i=0,1,0.08 do
  2521. swait()
  2522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  2523. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2524. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2525. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2526. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  2527. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  2528. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2529. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  2530. end
  2531. if anim then
  2532. anim.Disabled=true
  2533. end
  2534. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  2535. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  2536. for i=0,1,0.04 do
  2537. swait()
  2538. Torso.Velocity=RootPart.CFrame.lookVector*50
  2539. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  2540. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2541. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2542. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2543. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2544. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2545. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2546. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(0,-1.57,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2547. end
  2548. --dmgstop()
  2549. attack=false
  2550. con1:disconnect()
  2551. con2:disconnect()
  2552. if anim then
  2553. anim.Disabled=false
  2554. end
  2555. if TrailDeb == true then
  2556. TrailDeb = false
  2557. end
  2558. end
  2559.  
  2560. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  2561. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2562. prt.Anchored = true
  2563. prt.CFrame = cframe
  2564. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  2565. coroutine.resume(coroutine.create(function()
  2566. for i = 0, 1, 0.05 do
  2567. wait()
  2568. prt.Transparency = i
  2569. msh.Scale = msh.Scale + vt(x2, y2, z2)
  2570. end
  2571. prt.Parent = nil
  2572. end))
  2573. end
  2574.  
  2575. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  2576. for _, c in pairs(workspace:children()) do
  2577. local hum = c:findFirstChild("Humanoid")
  2578. if hum ~= nil then
  2579. local head = c:findFirstChild("Torso")
  2580. if head ~= nil then
  2581. local targ = head.Position - Part.Position
  2582. local mag = targ.magnitude
  2583. if mag <= magni and c.Name ~= Player.Name then
  2584. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  2585. end
  2586. end
  2587. end
  2588. end
  2589. end
  2590.  
  2591. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  2592. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  2593. prt.Anchored = true
  2594. prt.CFrame = cframe
  2595. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  2596. game:GetService("Debris"):AddItem(prt, 2)
  2597. coroutine.resume(coroutine.create(function(Part, Mesh)
  2598. for i = 0, 1, delay do
  2599. swait()
  2600. Part.CFrame = Part.CFrame
  2601. Part.Transparency = i
  2602. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  2603. end
  2604. Part.Parent = nil
  2605. end), prt, msh)
  2606. end
  2607.  
  2608. function MagicJump()
  2609. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  2610. attack=true
  2611. mana=mana-25
  2612. --[[ Humanoid.WalkSpeed = 0
  2613. for i=0,1,0.01 do
  2614. swait()
  2615. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  2616. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  2617. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2618. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  2619. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  2620. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  2621. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  2622. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  2623. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  2624. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  2625. end]]--
  2626. Humanoid.Jump = true
  2627. Torso.Velocity = vt(0, 150, 0)
  2628. Humanoid.WalkSpeed = 64
  2629. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  2630. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  2631. for i=0,1,0.05 do
  2632. swait()
  2633. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  2634. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2635. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  2636. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2637. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2638. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2639. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2640. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2641. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  2642. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  2643. end
  2644. for i=0,1,0.02 do
  2645. swait()
  2646. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2647. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2648. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2649. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2650. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2651. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2652. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2653. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2654. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2655. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2656. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2657. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2658. end
  2659. Humanoid.WalkSpeed = 0
  2660. swait(8)
  2661. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  2662. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  2663. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  2664. if hit~=nil then
  2665. swait(2)
  2666. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("White"),"Effect",vt())
  2667. ref.Anchored=true
  2668. ref.CFrame=cf(pos)
  2669. game:GetService("Debris"):AddItem(ref,3)
  2670. for i=1,10 do
  2671. local Col=BrickColor.new("White")
  2672. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  2673. groundpart.Anchored=true
  2674. groundpart.CanCollide=false
  2675. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2676. local Col2=TorsoColor
  2677. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  2678. groundpart2.Anchored=true
  2679. groundpart2.CanCollide=false
  2680. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2681. game:GetService("Debris"):AddItem(groundpart,5)
  2682. game:GetService("Debris"):AddItem(groundpart2,5)
  2683. end
  2684. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  2685. BlastEffect(BrickColor.new("White"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  2686. MagicCircle(BrickColor.new("White"),cf(pos),5,5,5,5,5,5,0.05)
  2687. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  2688. for i=0,1,0.06 do
  2689. swait()
  2690. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2691. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2692. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  2693. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  2694. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  2695. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2696. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  2697. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2698. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2699. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2700. end
  2701. end
  2702. swait(20)
  2703. Humanoid.WalkSpeed = 12
  2704. --dmgstop()
  2705. attack=false
  2706. end
  2707. end
  2708.  
  2709. function Spin()
  2710. attack=true
  2711. mana=mana-40
  2712. if TrailDeb == false then
  2713. TrailDeb = true
  2714. end
  2715.  
  2716. coroutine.wrap(function()
  2717. local Old = Handle2.CFrame.p
  2718. while wait()do
  2719. if not TrailDeb then break end
  2720. local New = Handle2.CFrame.p
  2721. local Mag =(Old -New).magnitude
  2722. local Dis =(Old +New)/2
  2723. local Trail = Instance.new("Part",Character)
  2724. Trail.Material = "Neon"
  2725. Trail.Anchored = true
  2726. Trail.CanCollide = false
  2727. Trail.BrickColor = TorsoColor
  2728. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2729. Trail.TopSurface = 0
  2730. Trail.BottomSurface = 0
  2731. Trail.formFactor = "Custom"
  2732. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2733. local ms = Instance.new("BlockMesh",Trail)
  2734. ms.Scale = Vector3.new(1,1,1)
  2735. local TM = Instance.new("CylinderMesh",Trail)
  2736. TM.Scale = Vector3.new(1,1,1)
  2737. Old = New
  2738. coroutine.wrap(function()
  2739. for i = 1,0,-0.1 do
  2740. wait()
  2741. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2742. end
  2743. Trail:remove()
  2744. end)()
  2745. coroutine.wrap(function()
  2746. for i = 1,10 do
  2747. wait()
  2748. Trail.Transparency = Trail.Transparency +0.1
  2749. end end)()end end)()
  2750. coroutine.wrap(function()
  2751. local Old = Handle.CFrame.p
  2752. while wait()do
  2753. if not TrailDeb then break end
  2754. local New = Handle.CFrame.p
  2755. local Mag =(Old -New).magnitude
  2756. local Dis =(Old +New)/2
  2757. local Trail = Instance.new("Part",Character)
  2758. Trail.Material = "Neon"
  2759. Trail.Anchored = true
  2760. Trail.CanCollide = false
  2761. Trail.BrickColor = TorsoColor
  2762. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2763. Trail.TopSurface = 0
  2764. Trail.BottomSurface = 0
  2765. Trail.formFactor = "Custom"
  2766. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2767. local ms = Instance.new("BlockMesh",Trail)
  2768. ms.Scale = Vector3.new(1,1,1)
  2769. local TM = Instance.new("CylinderMesh",Trail)
  2770. TM.Scale = Vector3.new(1,1,1)
  2771. Old = New
  2772. coroutine.wrap(function()
  2773. for i = 1,0,-0.1 do
  2774. wait()
  2775. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2776. end
  2777. Trail:remove()
  2778. end)()
  2779. coroutine.wrap(function()
  2780. for i = 1,10 do
  2781. wait()
  2782. Trail.Transparency = Trail.Transparency +0.1
  2783. end end)()end end)()
  2784. Footsteps:Stop()
  2785. Footsteps2:Stop()
  2786. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2787. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2788. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  2789. for i=0,1,0.1 do
  2790. swait()
  2791. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2792. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2793. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2794. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2795. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2796. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2797. end
  2798. if anim then
  2799. anim.Disabled=true
  2800. end
  2801. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2802. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2803. for i=0,1,0.05 do
  2804. swait()
  2805. Torso.Velocity=RootPart.CFrame.lookVector*100
  2806. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2807. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2808. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2809. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2810. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2811. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2812. end
  2813. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2814. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2815. for i=0,1,0.05 do
  2816. swait()
  2817. Torso.Velocity=RootPart.CFrame.lookVector*100
  2818. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2819. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2820. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2821. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2822. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2823. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2824. end
  2825. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2826. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2827. for i=0,1,0.05 do
  2828. swait()
  2829. Torso.Velocity=RootPart.CFrame.lookVector*100
  2830. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2831. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2832. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2833. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2834. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2835. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2836. end
  2837. --dmgstop()
  2838. Humanoid.WalkSpeed=12
  2839. attack=false
  2840. con1:disconnect()
  2841. con2:disconnect()
  2842. if anim then
  2843. anim.Disabled=false
  2844. end
  2845. if TrailDeb == true then
  2846. TrailDeb = false
  2847. end
  2848. end
  2849.  
  2850. function Twirl()
  2851. mana=mana-50
  2852. attack=true
  2853. if TrailDeb == false then
  2854. TrailDeb = true
  2855. end
  2856.  
  2857.  
  2858. coroutine.wrap(function()
  2859. local Old = Handle2.CFrame.p
  2860. while wait()do
  2861. if not TrailDeb then break end
  2862. local New = Handle2.CFrame.p
  2863. local Mag =(Old -New).magnitude
  2864. local Dis =(Old +New)/2
  2865. local Trail = Instance.new("Part",Character)
  2866. Trail.Material = "Neon"
  2867. Trail.Anchored = true
  2868. Trail.CanCollide = false
  2869. Trail.BrickColor = TorsoColor
  2870. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2871. Trail.TopSurface = 0
  2872. Trail.BottomSurface = 0
  2873. Trail.formFactor = "Custom"
  2874. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2875. local ms = Instance.new("BlockMesh",Trail)
  2876. ms.Scale = Vector3.new(1,1,1)
  2877. local TM = Instance.new("CylinderMesh",Trail)
  2878. TM.Scale = Vector3.new(1,1,1)
  2879. Old = New
  2880. coroutine.wrap(function()
  2881. for i = 1,0,-0.1 do
  2882. wait()
  2883. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2884. end
  2885. Trail:remove()
  2886. end)()
  2887. coroutine.wrap(function()
  2888. for i = 1,10 do
  2889. wait()
  2890. Trail.Transparency = Trail.Transparency +0.1
  2891. end end)()end end)()
  2892. coroutine.wrap(function()
  2893. local Old = Handle.CFrame.p
  2894. while wait()do
  2895. if not TrailDeb then break end
  2896. local New = Handle.CFrame.p
  2897. local Mag =(Old -New).magnitude
  2898. local Dis =(Old +New)/2
  2899. local Trail = Instance.new("Part",Character)
  2900. Trail.Material = "Neon"
  2901. Trail.Anchored = true
  2902. Trail.CanCollide = false
  2903. Trail.BrickColor = TorsoColor
  2904. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2905. Trail.TopSurface = 0
  2906. Trail.BottomSurface = 0
  2907. Trail.formFactor = "Custom"
  2908. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2909. local ms = Instance.new("BlockMesh",Trail)
  2910. ms.Scale = Vector3.new(1,1,1)
  2911. local TM = Instance.new("CylinderMesh",Trail)
  2912. TM.Scale = Vector3.new(1,1,1)
  2913. Old = New
  2914. coroutine.wrap(function()
  2915. for i = 1,0,-0.1 do
  2916. wait()
  2917. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2918. end
  2919. Trail:remove()
  2920. end)()
  2921. coroutine.wrap(function()
  2922. for i = 1,10 do
  2923. wait()
  2924. Trail.Transparency = Trail.Transparency +0.1
  2925. end end)()end end)()
  2926. Footsteps:Stop()
  2927. Footsteps2:Stop()
  2928. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2929. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2930. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2931. for i=0,1,0.1 do
  2932. swait()
  2933. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2934. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2935. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2936. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2937. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2938. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2939. end
  2940. if anim then
  2941. anim.Disabled=true
  2942. end
  2943. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2944. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2945. for i=0,1,0.05 do
  2946. swait()
  2947. Torso.Velocity=RootPart.CFrame.lookVector*80
  2948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2949. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2950. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2951. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2952. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2953. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2954. end
  2955. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2956. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2957. for i=0,1,0.05 do
  2958. swait()
  2959. Torso.Velocity=RootPart.CFrame.lookVector*80
  2960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2961. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2962. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2963. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2964. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2965. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2966. end
  2967. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2968. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2969. for i=0,1,0.05 do
  2970. swait()
  2971. Torso.Velocity=RootPart.CFrame.lookVector*80
  2972. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2973. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2974. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2975. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2976. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2977. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2978. end
  2979. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2980. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2981. for i=0,1,0.05 do
  2982. swait()
  2983. Torso.Velocity=RootPart.CFrame.lookVector*80
  2984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2985. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2986. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2987. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2988. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2989. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2990. end
  2991. --dmgstop()
  2992. Humanoid.WalkSpeed=12
  2993. attack=false
  2994. con1:disconnect()
  2995. con2:disconnect()
  2996. if anim then
  2997. anim.Disabled=false
  2998. end
  2999. if TrailDeb == true then
  3000. TrailDeb = false
  3001. end
  3002. end
  3003.  
  3004. function Shred()
  3005. attack=true
  3006. mana=mana-100
  3007. if TrailDeb == false then
  3008. TrailDeb = true
  3009. end
  3010.  
  3011.  
  3012. coroutine.wrap(function()
  3013. local Old = Handle2.CFrame.p
  3014. while wait()do
  3015. if not TrailDeb then break end
  3016. local New = Handle2.CFrame.p
  3017. local Mag =(Old -New).magnitude
  3018. local Dis =(Old +New)/2
  3019. local Trail = Instance.new("Part",Character)
  3020. Trail.Material = "Neon"
  3021. Trail.Anchored = true
  3022. Trail.CanCollide = false
  3023. Trail.BrickColor = TorsoColor
  3024. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3025. Trail.TopSurface = 0
  3026. Trail.BottomSurface = 0
  3027. Trail.formFactor = "Custom"
  3028. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3029. local ms = Instance.new("BlockMesh",Trail)
  3030. ms.Scale = Vector3.new(1,1,1)
  3031. local TM = Instance.new("CylinderMesh",Trail)
  3032. TM.Scale = Vector3.new(1,1,1)
  3033. Old = New
  3034. coroutine.wrap(function()
  3035. for i = 1,0,-0.1 do
  3036. wait()
  3037. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3038. end
  3039. Trail:remove()
  3040. end)()
  3041. coroutine.wrap(function()
  3042. for i = 1,10 do
  3043. wait()
  3044. Trail.Transparency = Trail.Transparency +0.1
  3045. end end)()end end)()
  3046. coroutine.wrap(function()
  3047. local Old = Handle.CFrame.p
  3048. while wait()do
  3049. if not TrailDeb then break end
  3050. local New = Handle.CFrame.p
  3051. local Mag =(Old -New).magnitude
  3052. local Dis =(Old +New)/2
  3053. local Trail = Instance.new("Part",Character)
  3054. Trail.Material = "Neon"
  3055. Trail.Anchored = true
  3056. Trail.CanCollide = false
  3057. Trail.BrickColor = TorsoColor
  3058. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3059. Trail.TopSurface = 0
  3060. Trail.BottomSurface = 0
  3061. Trail.formFactor = "Custom"
  3062. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3063. local ms = Instance.new("BlockMesh",Trail)
  3064. ms.Scale = Vector3.new(1,1,1)
  3065. local TM = Instance.new("CylinderMesh",Trail)
  3066. TM.Scale = Vector3.new(1,1,1)
  3067. Old = New
  3068. coroutine.wrap(function()
  3069. for i = 1,0,-0.1 do
  3070. wait()
  3071. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3072. end
  3073. Trail:remove()
  3074. end)()
  3075. coroutine.wrap(function()
  3076. for i = 1,10 do
  3077. wait()
  3078. Trail.Transparency = Trail.Transparency +0.1
  3079. end end)()end end)()
  3080. Footsteps:Stop()
  3081. Footsteps2:Stop()
  3082. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  3083. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  3084. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  3085. for i=0,1,0.1 do
  3086. swait()
  3087. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3088. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3089. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3090. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  3091. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  3092. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3093. end
  3094. if anim then
  3095. anim.Disabled=true
  3096. end
  3097. for i=0,1,0.05 do
  3098. swait()
  3099. Torso.Velocity=RootPart.CFrame.lookVector*20
  3100. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  3101. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  3102. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  3103. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3104. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3105. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  3106. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  3107. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3108. end
  3109. for i=0,1,0.05 do
  3110. swait()
  3111. Torso.Velocity=RootPart.CFrame.lookVector*40
  3112. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  3113. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  3114. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  3115. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3116. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3117. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  3118. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  3119. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3120. end
  3121. for i=0,1,0.05 do
  3122. swait()
  3123. Torso.Velocity=RootPart.CFrame.lookVector*60
  3124. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  3125. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  3126. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  3127. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3128. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3129. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  3130. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  3131. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3132. end
  3133. so("http://www.roblox.com/asset/?id=35935204",Torso,1,1)
  3134. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  3135. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  3136. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  3137. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  3138. for i=0,1,0.05 do
  3139. swait()
  3140. Torso.Velocity=RootPart.CFrame.lookVector*80
  3141. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  3142. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3143. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3144. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  3145. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  3146. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3147. end
  3148. for i=0,1,0.005 do
  3149. swait()
  3150. Torso.Velocity=RootPart.CFrame.lookVector*100
  3151. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  3152. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3153. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3154. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  3155. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  3156. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  3157. end
  3158. --dmgstop()
  3159. Humanoid.WalkSpeed=12
  3160. attack=false
  3161. con1:disconnect()
  3162. con2:disconnect()
  3163. if anim then
  3164. anim.Disabled=false
  3165. end
  3166. if TrailDeb == true then
  3167. TrailDeb = false
  3168. end
  3169. end
  3170.  
  3171. function Push()
  3172. attack=true
  3173. mana=mana-20
  3174. if TrailDeb == false then
  3175. TrailDeb = true
  3176. end
  3177.  
  3178.  
  3179. coroutine.wrap(function()
  3180. local Old = Handle2.CFrame.p
  3181. while wait()do
  3182. if not TrailDeb then break end
  3183. local New = Handle2.CFrame.p
  3184. local Mag =(Old -New).magnitude
  3185. local Dis =(Old +New)/2
  3186. local Trail = Instance.new("Part",Character)
  3187. Trail.Material = "Neon"
  3188. Trail.Anchored = true
  3189. Trail.CanCollide = false
  3190. Trail.BrickColor = TorsoColor
  3191. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3192. Trail.TopSurface = 0
  3193. Trail.BottomSurface = 0
  3194. Trail.formFactor = "Custom"
  3195. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3196. local ms = Instance.new("BlockMesh",Trail)
  3197. ms.Scale = Vector3.new(1,1,1)
  3198. local TM = Instance.new("CylinderMesh",Trail)
  3199. TM.Scale = Vector3.new(1,1,1)
  3200. Old = New
  3201. coroutine.wrap(function()
  3202. for i = 1,0,-0.1 do
  3203. wait()
  3204. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3205. end
  3206. Trail:remove()
  3207. end)()
  3208. coroutine.wrap(function()
  3209. for i = 1,10 do
  3210. wait()
  3211. Trail.Transparency = Trail.Transparency +0.1
  3212. end end)()end end)()
  3213. coroutine.wrap(function()
  3214. local Old = Handle.CFrame.p
  3215. while wait()do
  3216. if not TrailDeb then break end
  3217. local New = Handle.CFrame.p
  3218. local Mag =(Old -New).magnitude
  3219. local Dis =(Old +New)/2
  3220. local Trail = Instance.new("Part",Character)
  3221. Trail.Material = "Neon"
  3222. Trail.Anchored = true
  3223. Trail.CanCollide = false
  3224. Trail.BrickColor = TorsoColor
  3225. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3226. Trail.TopSurface = 0
  3227. Trail.BottomSurface = 0
  3228. Trail.formFactor = "Custom"
  3229. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3230. local ms = Instance.new("BlockMesh",Trail)
  3231. ms.Scale = Vector3.new(1,1,1)
  3232. local TM = Instance.new("CylinderMesh",Trail)
  3233. TM.Scale = Vector3.new(1,1,1)
  3234. Old = New
  3235. coroutine.wrap(function()
  3236. for i = 1,0,-0.1 do
  3237. wait()
  3238. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3239. end
  3240. Trail:remove()
  3241. end)()
  3242. coroutine.wrap(function()
  3243. for i = 1,10 do
  3244. wait()
  3245. Trail.Transparency = Trail.Transparency +0.1
  3246. end end)()end end)()
  3247. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  3248. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  3249. for i=0,1,0.1 do
  3250. swait()
  3251. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3252. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3253. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3254. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  3255. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  3256. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  3257. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  3258. end
  3259. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  3260. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  3261. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  3262. for i=0,1,0.1 do
  3263. swait()
  3264. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3265. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3266. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3267. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  3268. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  3269. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  3270. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  3271. end
  3272. --dmgstop()
  3273. attack=false
  3274. con1:disconnect()
  3275. con2:disconnect()
  3276. if TrailDeb == true then
  3277. TrailDeb = false
  3278. end
  3279. end
  3280.  
  3281. function Clap()
  3282. attack=true
  3283. mana=mana-20
  3284. if TrailDeb == false then
  3285. TrailDeb = true
  3286. end
  3287.  
  3288.  
  3289. coroutine.wrap(function()
  3290. local Old = Handle2.CFrame.p
  3291. while wait()do
  3292. if not TrailDeb then break end
  3293. local New = Handle2.CFrame.p
  3294. local Mag =(Old -New).magnitude
  3295. local Dis =(Old +New)/2
  3296. local Trail = Instance.new("Part",Character)
  3297. Trail.Material = "Neon"
  3298. Trail.Anchored = true
  3299. Trail.CanCollide = false
  3300. Trail.BrickColor = TorsoColor
  3301. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3302. Trail.TopSurface = 0
  3303. Trail.BottomSurface = 0
  3304. Trail.formFactor = "Custom"
  3305. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3306. local ms = Instance.new("BlockMesh",Trail)
  3307. ms.Scale = Vector3.new(1,1,1)
  3308. local TM = Instance.new("CylinderMesh",Trail)
  3309. TM.Scale = Vector3.new(1,1,1)
  3310. Old = New
  3311. coroutine.wrap(function()
  3312. for i = 1,0,-0.1 do
  3313. wait()
  3314. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3315. end
  3316. Trail:remove()
  3317. end)()
  3318. coroutine.wrap(function()
  3319. for i = 1,10 do
  3320. wait()
  3321. Trail.Transparency = Trail.Transparency +0.1
  3322. end end)()end end)()
  3323. coroutine.wrap(function()
  3324. local Old = Handle.CFrame.p
  3325. while wait()do
  3326. if not TrailDeb then break end
  3327. local New = Handle.CFrame.p
  3328. local Mag =(Old -New).magnitude
  3329. local Dis =(Old +New)/2
  3330. local Trail = Instance.new("Part",Character)
  3331. Trail.Material = "Neon"
  3332. Trail.Anchored = true
  3333. Trail.CanCollide = false
  3334. Trail.BrickColor = TorsoColor
  3335. Trail.Size = Vector3.new(0.2,Mag,0.2)
  3336. Trail.TopSurface = 0
  3337. Trail.BottomSurface = 0
  3338. Trail.formFactor = "Custom"
  3339. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  3340. local ms = Instance.new("BlockMesh",Trail)
  3341. ms.Scale = Vector3.new(1,1,1)
  3342. local TM = Instance.new("CylinderMesh",Trail)
  3343. TM.Scale = Vector3.new(1,1,1)
  3344. Old = New
  3345. coroutine.wrap(function()
  3346. for i = 1,0,-0.1 do
  3347. wait()
  3348. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  3349. end
  3350. Trail:remove()
  3351. end)()
  3352. coroutine.wrap(function()
  3353. for i = 1,10 do
  3354. wait()
  3355. Trail.Transparency = Trail.Transparency +0.1
  3356. end end)()end end)()
  3357. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  3358. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  3359. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  3360. for i=0,1,0.08 do
  3361. swait()
  3362. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3363. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3364. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3365. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  3366. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  3367. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  3368. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  3369. end
  3370. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  3371. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  3372. for i=0,1,0.08 do
  3373. swait()
  3374. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3376. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3377. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  3378. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  3379. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  3380. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  3381. end
  3382. --dmgstop()
  3383. attack=false
  3384. con1:disconnect()
  3385. con2:disconnect()
  3386. if TrailDeb == true then
  3387. TrailDeb = false
  3388. end
  3389. end
  3390.  
  3391. function Hai()
  3392. attack=true
  3393. Humanoid.WalkSpeed=0
  3394. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  3395. for i=0,1,0.1 do
  3396. swait()
  3397. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3399. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3400. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  3401. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  3402. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3403. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3404. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  3405. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  3406. end
  3407. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  3408. for i=0,1,0.1 do
  3409. swait()
  3410. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3411. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3412. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3413. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  3414. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3415. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3416. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3417. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  3418. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  3419. end
  3420. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  3421. for i=0,1,0.1 do
  3422. swait()
  3423. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3424. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3425. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3426. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  3427. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  3428. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3429. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3430. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  3431. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  3432.  
  3433. end
  3434. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  3435. for i=0,1,0.1 do
  3436. swait()
  3437. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3438. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3439. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3440. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  3441. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3442. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3443. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3444. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  3445. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  3446. end
  3447. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  3448. for i=0,1,0.1 do
  3449. swait()
  3450. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3451. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3452. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3453. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  3454. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  3455. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3456. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  3457. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  3458. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  3459. end
  3460. --dmgstop()
  3461. Humanoid.WalkSpeed=12
  3462. attack=false
  3463. end
  3464.  
  3465. function Die()
  3466. attack=true
  3467. Footsteps:Stop()
  3468. Footsteps2:Stop()
  3469. local Fire = it("Sound",Character.Torso)
  3470. Fire.SoundId = "rbxassetid://192104941"
  3471. Fire.Looped = true
  3472. Fire.Pitch = 1
  3473. Fire.Volume = 1
  3474. local Fire2 = it("Sound",Handle2)
  3475. Fire2.SoundId = "rbxassetid://192104941"
  3476. Fire2.Looped = true
  3477. Fire2.Pitch = 1
  3478. Fire2.Volume = 1
  3479. local Fire3 = it("Sound",Handle)
  3480. Fire3.SoundId = "rbxassetid://192104941"
  3481. Fire3.Looped = true
  3482. Fire3.Pitch = 1
  3483. Fire3.Volume = 1
  3484. local Fire4 = it("Sound",handle)
  3485. Fire4.SoundId = "rbxassetid://192104941"
  3486. Fire4.Looped = true
  3487. Fire4.Pitch = 1
  3488. Fire4.Volume = 1
  3489. local fire = Instance.new("ParticleEmitter", Character.Torso)
  3490. fire.Lifetime = NumberRange.new(0.5)
  3491. fire.Speed = NumberRange.new(1, 3)
  3492. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  3493. fire.Rate = 0
  3494. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  3495. fire.LightEmission = 0.6
  3496. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  3497. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3498. local fire2 = Instance.new("ParticleEmitter", Handle)
  3499. fire2.Lifetime = NumberRange.new(0.5)
  3500. fire2.Speed = NumberRange.new(1, 3)
  3501. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  3502. fire2.Rate = 0
  3503. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  3504. fire2.LightEmission = 0.6
  3505. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  3506. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3507. local fire3 = Instance.new("ParticleEmitter", Handle2)
  3508. fire3.Lifetime = NumberRange.new(0.5)
  3509. fire3.Speed = NumberRange.new(1, 3)
  3510. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  3511. fire3.Rate = 0
  3512. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  3513. fire3.LightEmission = 0.6
  3514. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  3515. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3516. local fire4 = Instance.new("ParticleEmitter", handle)
  3517. fire4.Lifetime = NumberRange.new(0.5)
  3518. fire4.Speed = NumberRange.new(1, 3)
  3519. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  3520. fire4.Rate = 0
  3521. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  3522. fire4.LightEmission = 0.6
  3523. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  3524. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  3525. Humanoid.WalkSpeed = 0
  3526. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  3527. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  3528. for i=0,1,0.08 do
  3529. swait()
  3530. Torso.Velocity=RootPart.CFrame.lookVector*-30
  3531. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  3532. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  3533. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  3534. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  3535. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  3536. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  3537. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  3538. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  3539. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  3540. end
  3541. for i=0,1,0.005 do
  3542. swait()
  3543. moosick.Volume=1-2*i
  3544. light.Range=15-10*i
  3545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  3546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3547. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  3548. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  3549. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3550. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  3551. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  3552. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3553. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3554. end
  3555. light.Range=0
  3556. for i=0,1,0.01 do
  3557. swait()
  3558. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  3559. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3560. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  3561. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  3562. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3563. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  3564. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  3565. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3566. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3567. end
  3568. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  3569. fire.Rate = 1000
  3570. fire2.Rate = 1000
  3571. fire3.Rate = 1000
  3572. fire4.Rate = 1000
  3573. Fire:Play()
  3574. Fire2:Play()
  3575. Fire3:Play()
  3576. Fire4:Play()
  3577. for i=0,1,0.005 do
  3578. swait()
  3579. Character.Head.face.Transparency = 1
  3580. LeftArm.Transparency=0+1*i
  3581. RightArm.Transparency=0+1*i
  3582. LeftLeg.Transparency=0+1*i
  3583. RightLeg.Transparency=0+1*i
  3584. Head.Transparency=0+1*i
  3585. Torso.Transparency=0+1*i
  3586. for _,v in pairs(Character:children()) do
  3587. if v:IsA("Hat") then
  3588. v.Handle.Transparency = 0+1*i
  3589. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  3590. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  3591. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  3592. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  3593. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  3594. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  3595. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  3596. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3597. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3598. end
  3599. end
  3600. --dmgstop()
  3601. end
  3602. Humanoid.Health = 0
  3603. end
  3604.  
  3605. equipanim()
  3606.  
  3607. local sine = 0
  3608. local change = 1
  3609. local val = 0
  3610.  
  3611. local mananum=0
  3612. while true do
  3613. swait()
  3614. sine = sine + change
  3615. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  3616. local velderp=RootPart.Velocity.y
  3617. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  3618. if equipped==true or equipped==false then
  3619. if Anim=="Idle" and attack==false then
  3620. idle=idle+1
  3621. else
  3622. idle=0
  3623. end
  3624. if Humanoid.Health <=20 then
  3625. if attack == false then
  3626. Humanoid.Health = math.huge
  3627. Die()
  3628. end
  3629. end
  3630. if idle>=1000 then
  3631. if attack==false then
  3632. --Sheath()
  3633. end
  3634. end
  3635. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3636. Anim="Jump"
  3637. if attack==false then
  3638. Footsteps:Stop()
  3639. Footsteps2:Stop()
  3640. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3641. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3642. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  3643. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  3644. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3645. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  3646. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3647. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  3648. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  3649. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  3650. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  3651. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  3652. end
  3653. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3654. Anim="Fall"
  3655. if attack==false then
  3656. Footsteps:Stop()
  3657. Footsteps2:Stop()
  3658. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  3659. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3660. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  3661. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  3662. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3663. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  3664. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3665. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  3666. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  3667. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3668. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  3669. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  3670. end
  3671. elseif torvel<1 and hitfloor~=nil then
  3672. Anim="Idle"
  3673. change=0.5
  3674. if idle>=1000 then
  3675. if attack==false then
  3676. Footsteps:Stop()
  3677. Footsteps2:Stop()
  3678. Humanoid.WalkSpeed=12
  3679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  3680. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  3681. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  3682. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(40),math.rad(0),math.rad(-85)),.5)
  3683. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(120),math.rad(0),math.rad(85)),.5)
  3684. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3685. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3686. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  3687. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  3688. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  3689. end
  3690. else
  3691. if attack==false then
  3692. Footsteps:Stop()
  3693. Footsteps2:Stop()
  3694. Humanoid.WalkSpeed=12
  3695. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  3696. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  3697. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3698. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  3699. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  3700. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(16)),.3)
  3701. LH.C0=clerp(LH.C0,cf(-1,-1.1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(24)),.3)
  3702. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  3703. Handleweld.C0=clerp(Handleweld.C0,cf(0-1*math.cos(sine/30),0,0-1*math.cos(sine/30))*angles(math.rad(0+8*math.cos(sine/30)),math.rad(0),math.rad(0-8*math.cos(sine/30))),.2)
  3704. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+1*math.cos(sine/36),0,0+1*math.cos(sine/36))*angles(math.rad(0-12*math.cos(sine/36)),math.rad(0),math.rad(0-12*math.cos(sine/36))),.2)
  3705. end
  3706. end
  3707. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3708. Anim="Walk"
  3709. if attack==false then
  3710. change=0.8
  3711. --[[RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(35),math.rad(0),math.rad(15*math.cos(sine/10))),.3)
  3712. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  3713. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  3714. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(135*math.cos(sine/9)),math.rad(0),math.rad(0)),.3)
  3715. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  3716. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  3717. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3718. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3719. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  3720. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  3721. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  3722. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  3723. RH.C0=clerp(RH.C0,RHC0,.3)
  3724. LH.C0=clerp(LH.C0,LHC0,.3)
  3725. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3726. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3727. ]]--
  3728. Footsteps:Play()
  3729. Footsteps2:Stop()
  3730. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(10+1*math.cos(sine/2.5)),math.rad(0),math.rad(1-5*math.cos(sine/5))),.3)
  3731. Neck.C0=clerp(Neck.C0,necko*euler(0+0.075*math.cos(sine/2.5),0,0)*angles(math.rad(0),math.rad(0),math.rad(1+5*math.cos(sine/5))),.3)
  3732. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3733. RW.C0=clerp(RW.C0,cf(1.4+0.25*math.cos(sine/5),0.5+0.25*math.cos(sine/5),-0.2+0.5*math.cos(sine/5))*angles(math.rad(20-60*math.cos(sine/5)),math.rad(0),math.rad(-4+30*math.cos(sine/5))),.3)
  3734. LW.C0=clerp(LW.C0,cf(-1.4+0.25*math.cos(sine/5),0.5-0.25*math.cos(sine/5),-0.2-0.5*math.cos(sine/5))*angles(math.rad(20+60*math.cos(sine/5)),math.rad(0),math.rad(4+30*math.cos(sine/5))),.3)
  3735. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  3736. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0+50*math.cos(sine/5))),.3)
  3737. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3738. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-30),math.rad(0-1*math.cos(sine/30))),.2)
  3739. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(30),math.rad(0-3*math.cos(sine/36))),.2)
  3740. end
  3741. elseif torvel>=22 and hitfloor~=nil then
  3742. Anim="Run"
  3743. change=1
  3744. if attack==false then
  3745. Footsteps:Stop()
  3746. Footsteps2:Play()
  3747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+0.1*math.cos(sine/2.5))*angles(math.rad(20+1*math.cos(sine/2.5)),math.rad(0),math.rad(0)),.3)
  3748. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  3749. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3750. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  3751. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  3752. RH.C0=clerp(RH.C0,cf(1,-1-0.1*math.cos(sine/5),0-0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  3753. LH.C0=clerp(LH.C0,cf(-1,-1+0.1*math.cos(sine/5),0+0.5*math.cos(sine/5))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0+70*math.cos(sine/5))),.3)
  3754. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3755. Handleweld.C0=clerp(Handleweld.C0,cf(0-.5*math.cos(sine/30),0,0-.5*math.cos(sine/30))*angles(math.rad(0+1*math.cos(sine/30)),math.rad(-60),math.rad(0-1*math.cos(sine/30))),.2)
  3756. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.5*math.cos(sine/36),0,0+.5*math.cos(sine/36))*angles(math.rad(0-3*math.cos(sine/36)),math.rad(60),math.rad(0-3*math.cos(sine/36))),.2)
  3757. end
  3758. end
  3759. end
  3760. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  3761. fenbarmana4.Text="[Gaster] <{[ "..mana.." ]}> [V0.1]"
  3762. if mana>=100 then
  3763. mana=100
  3764. else
  3765. if mananum<=8 then
  3766. mananum=mananum+100
  3767. else
  3768. mananum=0
  3769. mana=mana+100
  3770. end
  3771. end
  3772. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement