Advertisement
Guest User

-=[Madness combat tricky demon form]=-

a guest
Jun 2nd, 2018
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------------
  2. --some sin thing--
  3. --------------------------------------------------------------
  4. --By CKbackup (Sugarie Saffron), credits to original creator--
  5. --------------------------------------------------------------
  6.  
  7. Player=game:GetService("Players").LocalPlayer
  8. PlayerGui=Player.PlayerGui
  9. Backpack=Player.Backpack
  10. Humanoid=Workspace.TrystinGB:FindFirstChildOfClass("Humanoid")
  11. m=Instance.new('Model',Character)
  12. LeftArm=Workspace.TrystinGB["Left Arm"]
  13. LeftLeg=Workspace.TrystinGB["Left Leg"]
  14. RightArm=Workspace.TrystinGB["Right Arm"]
  15. RightLeg=Workspace.TrystinGB["Right Leg"]
  16. LS=Torso["Left Shoulder"]
  17. LH=Torso["Left Hip"]
  18. RS=Torso["Right Shoulder"]
  19. RH=Torso["Right Hip"]
  20. Face = Head.face
  21. Face:Destroy()
  22. Neck=Torso.Neck
  23. it=Instance.new
  24. attacktype=1
  25. vt=Vector3.new
  26. cf=CFrame.new
  27. euler=CFrame.fromEulerAnglesXYZ
  28. angles=CFrame.Angles
  29. cloaked=false
  30. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  31. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  32. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  33. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  34. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  35. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  36. RootPart=Character.HumanoidRootPart
  37. RootJoint=RootPart.RootJoint
  38. RootCF=euler(-1.57,0,3.14)
  39. attack = false
  40. attackdebounce = false
  41. deb=false
  42. equipped=true
  43. hand=false
  44. MMouse=nil
  45. combo=0
  46. trispeed=1
  47. pathtrans=.7
  48. attackmode='none'
  49. local idle=0
  50. local Anim="Idle"
  51. local Effects={}
  52. local gun=false
  53. local shoot=false
  54. player=nil
  55. cloak=false
  56. lightcolor='Institutional Wwhite'
  57.  
  58. local Color1='Really red'
  59.  
  60. mouse=Player:GetMouse()
  61. --save shoulders
  62. RSH, LSH=nil, nil
  63. --welds
  64. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  65. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  66. LH=Torso["Left Hip"]
  67. RH=Torso["Right Hip"]
  68. TorsoColor=BrickColor.new("Really red")
  69. function NoOutline(Part)
  70. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  71. end
  72. player=Player
  73. ch=Character
  74. RSH=ch.Torso["Right Shoulder"]
  75. LSH=ch.Torso["Left Shoulder"]
  76. --
  77. RSH.Parent=nil
  78. LSH.Parent=nil
  79. --
  80. RW.Name="Right Shoulder"
  81. RW.Part0=ch.Torso
  82. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  83. RW.C1=cf(0, 0.5, 0)
  84. RW.Part1=ch["Right Arm"]
  85. RW.Parent=ch.Torso
  86. --
  87. LW.Name="Left Shoulder"
  88. LW.Part0=ch.Torso
  89. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  90. LW.C1=cf(0, 0.5, 0)
  91. LW.Part1=ch["Left Arm"]
  92. LW.Parent=ch.Torso
  93.  
  94. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  95. local fp=it("Part")
  96. fp.formFactor=formfactor
  97. fp.Parent=parent
  98. fp.Reflectance=reflectance
  99. fp.Transparency=transparency
  100. fp.CanCollide=false
  101. fp.Locked=true
  102. fp.BrickColor=brickcolor
  103. fp.Name=name
  104. fp.Size=size
  105. fp.Position=Torso.Position
  106. NoOutline(fp)
  107. fp.Material="Neon"
  108. fp:BreakJoints()
  109. return fp
  110. end
  111.  
  112. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  113. local mesh=it(Mesh)
  114. mesh.Parent=part
  115. if Mesh=="SpecialMesh" then
  116. mesh.MeshType=meshtype
  117. if meshid~="nil" then
  118. mesh.MeshId="rbxassetid://"..meshid
  119. end
  120. end
  121. mesh.Offset=offset
  122. mesh.Scale=scale
  123. return mesh
  124. end
  125.  
  126. function weld(parent,part0,part1,c0)
  127. local weld=it("Weld")
  128. weld.Parent=parent
  129. weld.Part0=part0
  130. weld.Part1=part1
  131. weld.C0=c0
  132. return weld
  133. end
  134.  
  135. local Color1=Torso.BrickColor
  136.  
  137. local bodvel=Instance.new("BodyVelocity")
  138. local bg=Instance.new("BodyGyro")
  139.  
  140. ArtificialHB = Instance.new("BindableEvent", script)
  141. ArtificialHB.Name = "Heartbeat"
  142. script:WaitForChild("Heartbeat")
  143. frame = 0.015
  144. tf = 0
  145. allowframeloss = false
  146. tossremainder = false
  147. lastframe = tick()
  148. script.Heartbeat:Fire()
  149. game:GetService("RunService").Heartbeat:connect(function(s, p)
  150. tf = tf + s
  151. if tf >= frame then
  152. if allowframeloss then
  153. script.Heartbeat:Fire()
  154. lastframe = tick()
  155. else
  156. for i = 1, math.floor(tf / frame) do
  157. script.Heartbeat:Fire()
  158. end
  159. lastframe = tick()
  160. end
  161. if tossremainder then
  162. tf = 0
  163. else
  164. tf = tf - frame * math.floor(tf / frame)
  165. end
  166. end
  167. end)
  168. function swait(num)
  169. if num == 0 or num == nil then
  170. ArtificialHB.Event:wait(0)
  171. else
  172. for i = 0, num do
  173. ArtificialHB.Event:wait(0)
  174. end
  175. end
  176. end
  177.  
  178.  
  179. function so(id,par,pit,vol)
  180. local sou = Instance.new("Sound", par or workspace)
  181. if par == Character then
  182. sou.Parent = Torso
  183. end
  184. sou.Volume = vol
  185. sou.Pitch = pit or 1
  186. sou.SoundId = "rbxassetid://" .. id
  187. sou.PlayOnRemove = true
  188. sou:Destroy()
  189. end
  190.  
  191. function clerp(a,b,t)
  192. local qa = {QuaternionFromCFrame(a)}
  193. local qb = {QuaternionFromCFrame(b)}
  194. local ax, ay, az = a.x, a.y, a.z
  195. local bx, by, bz = b.x, b.y, b.z
  196. local _t = 1-t
  197. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  198. end
  199.  
  200. function QuaternionFromCFrame(cf)
  201. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  202. local trace = m00 + m11 + m22
  203. if trace > 0 then
  204. local s = math.sqrt(1 + trace)
  205. local recip = 0.5/s
  206. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  207. else
  208. local i = 0
  209. if m11 > m00 then
  210. i = 1
  211. end
  212. if m22 > (i == 0 and m00 or m11) then
  213. i = 2
  214. end
  215. if i == 0 then
  216. local s = math.sqrt(m00-m11-m22+1)
  217. local recip = 0.5/s
  218. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  219. elseif i == 1 then
  220. local s = math.sqrt(m11-m22-m00+1)
  221. local recip = 0.5/s
  222. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  223. elseif i == 2 then
  224. local s = math.sqrt(m22-m00-m11+1)
  225. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  226. end
  227. end
  228. end
  229.  
  230. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  231. local xs, ys, zs = x + x, y + y, z + z
  232. local wx, wy, wz = w*xs, w*ys, w*zs
  233. local xx = x*xs
  234. local xy = x*ys
  235. local xz = x*zs
  236. local yy = y*ys
  237. local yz = y*zs
  238. local zz = z*zs
  239. 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))
  240. end
  241.  
  242. function QuaternionSlerp(a, b, t)
  243. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  244. local startInterp, finishInterp;
  245. if cosTheta >= 0.0001 then
  246. if (1 - cosTheta) > 0.0001 then
  247. local theta = math.acos(cosTheta)
  248. local invSinTheta = 1/math.sin(theta)
  249. startInterp = math.sin((1-t)*theta)*invSinTheta
  250. finishInterp = math.sin(t*theta)*invSinTheta
  251. else
  252. startInterp = 1-t
  253. finishInterp = t
  254. end
  255. else
  256. if (1+cosTheta) > 0.0001 then
  257. local theta = math.acos(-cosTheta)
  258. local invSinTheta = 1/math.sin(theta)
  259. startInterp = math.sin((t-1)*theta)*invSinTheta
  260. finishInterp = math.sin(t*theta)*invSinTheta
  261. else
  262. startInterp = t-1
  263. finishInterp = t
  264. end
  265. end
  266. 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
  267. end
  268.  
  269. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  270. return workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  271. end
  272.  
  273. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  274. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  275. prt.Anchored=true
  276. prt.CFrame=cframe
  277. local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://4770583",vt(0,0,0),vt(x1,y1,z1))
  278. --rbxassetid://4770560
  279. game:GetService("Debris"):AddItem(prt,2)
  280. CF=prt.CFrame
  281. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  282. for i=0,1,0.2 do
  283. swait()
  284. Part.CFrame=CF*cf(0,0,-0.4)
  285. end
  286. for i=0,1,delay do
  287. swait()
  288. --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)
  289. Mesh.Scale=Mesh.Scale
  290. end
  291. for i=0,1,0.1 do
  292. swait()
  293. Part.Transparency=i
  294. end
  295. Part:Destroy()
  296. end),prt,msh,CF)
  297. end
  298.  
  299. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  300. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  301. prt.Anchored=true
  302. prt.CFrame=cframe
  303. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  304. game:GetService("Debris"):AddItem(prt,5)
  305. coroutine.resume(coroutine.create(function(Part,Mesh)
  306. for i=0,1,delay do
  307. swait()
  308. Part.CFrame=Part.CFrame*euler(math.random(0,360),math.random(0,360),math.random(0,360))
  309. Part.Transparency=i
  310. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  311. end
  312. Part:Destroy()
  313. end),prt,msh)
  314. end
  315.  
  316. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  317. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  318. prt.Anchored=false
  319. prt.CFrame=cframe
  320. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  321. local wld=weld(prt,prt,Parent,cframe)
  322. game:GetService("Debris"):AddItem(prt,5)
  323. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  324. for i=0,1,delay do
  325. swait()
  326. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  327. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  328. Part.Transparency=i
  329. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  330. end
  331. Part:Destroy()
  332. end),prt,msh,wld)
  333. end
  334.  
  335. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  336. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  337. prt.Material = "Neon"
  338. prt.Anchored=false
  339. prt.CFrame=cframe
  340. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  341. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  342. game:GetService("Debris"):AddItem(prt,5)
  343. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  344. for i=0,1,delay do
  345. swait()
  346. Weld.C0=euler(i*20,0,0)
  347. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  348. Part.Transparency=i
  349. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  350. end
  351. Part:Destroy()
  352. end),prt,msh,wld)
  353. end
  354.  
  355. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  356. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  357. prt.Material = "Neon"
  358. prt.Anchored=true
  359. prt.CFrame=cframe
  360. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  361. game:GetService("Debris"):AddItem(prt,2)
  362. coroutine.resume(coroutine.create(function(Part,Mesh)
  363. for i=0,1,delay do
  364. swait()
  365. Part.CFrame=Part.CFrame
  366. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  367. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  368. prt2.Anchored=true
  369. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  370. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  371. game:GetService("Debris"):AddItem(prt2,2)
  372. coroutine.resume(coroutine.create(function(Part,Mesh)
  373. for i=0,1,0.1 do
  374. swait()
  375. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  376. end
  377. Part:Destroy()
  378. end),prt2,msh2)
  379. end
  380. for i=0,1,delay*2 do
  381. swait()
  382. Part.CFrame=Part.CFrame
  383. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  384. end
  385. Part:Destroy()
  386. end),prt,msh)
  387. end
  388.  
  389. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  390. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  391. prt.Anchored=true
  392. prt.CFrame=cframe
  393. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  394. game:GetService("Debris"):AddItem(prt,2)
  395. coroutine.resume(coroutine.create(function(Part,Mesh)
  396. for i=0,1,delay do
  397. swait()
  398. Part.CFrame=Part.CFrame
  399. Part.Transparency=i
  400. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  401. end
  402. Part:Destroy()
  403. end),prt,msh)
  404. end
  405.  
  406. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  407. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  408. prt.Anchored=true
  409. prt.CFrame=cframe*euler(x2,y2,z2)
  410. --"rbxassetid://168892465"
  411. local msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://3270017",vt(0,0,0),vt(x1,y1,z1))
  412. game:GetService("Debris"):AddItem(prt,2)
  413. coroutine.resume(coroutine.create(function(Part,Mesh)
  414. for i=0,1,0.03 do
  415. swait()
  416. Part.CFrame=Part.CFrame
  417. Part.Transparency=i
  418. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  419. end
  420. Part:Destroy()
  421. end),prt,msh)
  422. end
  423.  
  424. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  425. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  426. prt.Anchored=true
  427. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  428. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  429. game:GetService("Debris"):AddItem(prt,2)
  430. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  431. CF=Part.CFrame
  432. Numbb=0
  433. randnumb=math.random()/10
  434. rand1=math.random()/10
  435. for i=0,1,rand1 do
  436. swait()
  437. CF=CF*cf(0,math.random()/2,0)
  438. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  439. Part.CFrame=CF*euler(Numbb,0,0)
  440. Part.Transparency=i
  441. Numbb=Numbb+randnumb
  442. end
  443. Part:Destroy()
  444. end),prt,CF,Numbb,randnumb)
  445. end
  446.  
  447. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  448. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  449. prt.Anchored=true
  450. prt.CFrame=cframe
  451. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://1051557",vt(0,0,0),vt(x1,y1,z1))
  452. game:GetService("Debris"):AddItem(prt,5)
  453. coroutine.resume(coroutine.create(function(Part,Mesh)
  454. for i=0,1,delay do
  455. swait()
  456. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  457. Part.Transparency=i
  458. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  459. end
  460. Part:Destroy()
  461. end),prt,msh)
  462. end
  463.  
  464. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  465. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  466. prt.Anchored=true
  467. prt.CFrame=cframe
  468. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://20329976",vt(0,0,0),vt(x1,y1,z1))
  469. game:GetService("Debris"):AddItem(prt,2)
  470. coroutine.resume(coroutine.create(function(Part,Mesh)
  471. for i=0,1,delay do
  472. swait()
  473. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  474. Part.Transparency=i
  475. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  476. end
  477. Part:Destroy()
  478. end),prt,msh)
  479. end
  480.  
  481. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  482. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  483. prt.Anchored=true
  484. prt.CFrame=cframe*cf(x,y,z)
  485. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  486. game:GetService("Debris"):AddItem(prt,5)
  487. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  488. local num=math.random()
  489. local num2=math.random(-3,2)+math.random()
  490. local numm=0
  491. for i=0,1,delay*2 do
  492. swait()
  493. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  494. Part.Transparency=i
  495. numm=numm+0.01
  496. end
  497. Part:Destroy()
  498. Mesh:Destroy()
  499. end),prt,msh,x,y,z)
  500. end
  501.  
  502. function puncheff(par)
  503. so(386946017,par,math.random(80,120)/100,1)
  504. MagicCircle(BrickColor.new("Alder"), par.CFrame, 1, 1, 1, 1, 1, 1, 0.05)
  505. end
  506.  
  507. Damagefunc=function(hit,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  508. if hit.Parent==nil then
  509. return
  510. end
  511. local torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  512. h=hit.Parent:FindFirstChildOfClass("Humanoid")
  513. for _,v in pairs(hit.Parent:children()) do
  514. if v:IsA("Humanoid") then
  515. h=v
  516. end
  517. end
  518. if hit.Parent.Parent:FindFirstChild("Head")~=nil then
  519. h=hit.Parent.Parent:FindFirstChildOfClass("Humanoid")
  520. end
  521. if hit.Parent.className=="Hat" then
  522. hit=hit.Parent.Parent:findFirstChild("Head")
  523. end
  524. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Head")~=nil then
  525. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  526. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  527. return
  528. end]]
  529. -- hs(hit,1.2)
  530. c=Instance.new("ObjectValue")
  531. c.Name="creator"
  532. c.Value=game:service("Players").LocalPlayer
  533. c.Parent=h
  534. game:GetService("Debris"):AddItem(c,.5)
  535. Damage=math.random(minim,maxim)
  536. -- h:TakeDamage(Damage)
  537. blocked=false
  538. block=hit.Parent:findFirstChild("Block")
  539. if block~=nil then
  540. print(block.className)
  541. if block.className=="NumberValue" then
  542. if block.Value>0 then
  543. blocked=true
  544. if decreaseblock==nil then
  545. block.Value=block.Value-1
  546. end
  547. end
  548. end
  549. if block.className=="IntValue" then
  550. if block.Value>0 then
  551. blocked=true
  552. if decreaseblock~=nil then
  553. block.Value=block.Value-1
  554. end
  555. end
  556. end
  557. end
  558. if efft == "Blunt" then
  559. puncheff(hit)
  560. end
  561. h.MaxHealth = 100
  562. h.Health=h.Health-Damage
  563. showDamage(hit.Parent,Damage,.5,TorsoColor)
  564. if Type=="Knockdown" then
  565. local hum=hit.Parent:FindFirstChildOfClass("Humanoid")
  566. hum.PlatformStand=true
  567. coroutine.resume(coroutine.create(function(HHumanoid)
  568. swait(30)
  569. HHumanoid.PlatformStand=false
  570. end),hum)
  571. local bodvol=Instance.new("BodyVelocity")
  572. bodvol.velocity=RootPart.CFrame.lookVector*knockback
  573. bodvol.P=50000
  574. bodvol.maxForce=Vector3.new(5000, 0, 5000) * 5000000000
  575. bodvol.Parent=torsy
  576. torsy.CFrame = CFrame.new(torsy.Position)*CFrame.Angles(math.rad(90),0,0)
  577. game:GetService("Debris"):AddItem(bodvol,.5)
  578. elseif Type=="Normal" then
  579. vp=Instance.new("BodyVelocity")
  580. vp.P=500
  581. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  582. vp.velocity=Character.Torso.CFrame.lookVector*knockback
  583. -- if KnockbackType==1 then
  584. -- vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  585. -- elseif KnockbackType==2 then
  586. -- vp.velocity=Property.CFrame.lookVector*knockback
  587. -- end
  588. if knockback>0 then
  589. vp.Parent=torsy
  590. end
  591. game:GetService("Debris"):AddItem(vp,.5)
  592. elseif Type=="Up" then
  593. local bodyVelocity=Instance.new("BodyVelocity")
  594. bodyVelocity.velocity=vt(0,10,0)
  595. bodyVelocity.P=1000
  596. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  597. bodyVelocity.Parent=hit
  598. game:GetService("Debris"):AddItem(bodyVelocity,1)
  599. rl=Instance.new("BodyAngularVelocity")
  600. rl.P=3000
  601. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  602. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  603. rl.Parent=hit
  604. game:GetService("Debris"):AddItem(rl,.5)
  605. elseif Type=="Snare" then
  606. bp=Instance.new("BodyPosition")
  607. bp.P=2000
  608. bp.D=100
  609. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  610. bp.position=torsy.Position
  611. bp.Parent=torsy
  612. game:GetService("Debris"):AddItem(bp,1)
  613. elseif Type=="Target" then
  614. if Targetting==false then
  615. ZTarget=torsy
  616. coroutine.resume(coroutine.create(function(Part)
  617. so("15666462",Part,1,1.5)
  618. swait(5)
  619. so("15666462",Part,1,1.5)
  620. end),ZTarget)
  621. TargHum=ZTarget.Parent:FindFirstChildOfClass("Humanoid")
  622. targetgui=Instance.new("BillboardGui")
  623. targetgui.Parent=ZTarget
  624. targetgui.Size=UDim2.new(10,100,10,100)
  625. targ=Instance.new("ImageLabel")
  626. targ.Parent=targetgui
  627. targ.BackgroundTransparency=1
  628. targ.Image="rbxassetid://4834067"
  629. targ.Size=UDim2.new(1,0,1,0)
  630. cam.CameraType="Scriptable"
  631. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  632. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  633. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  634. Targetting=true
  635. RocketTarget=ZTarget
  636. for i=1,Property do
  637. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  638. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  639. swait()
  640. end
  641. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  642. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  643. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  644. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  645. end
  646. Targetting=false
  647. RocketTarget=nil
  648. targetgui:Destroy()
  649. cam.CameraType="Custom"
  650. end
  651. end
  652. debounce=Instance.new("BoolValue")
  653. debounce.Name="DebounceHit"
  654. debounce.Parent=hit.Parent
  655. debounce.Value=true
  656. game:GetService("Debris"):AddItem(debounce,Delay)
  657. c=Instance.new("ObjectValue")
  658. c.Name="creator"
  659. c.Value=Player
  660. c.Parent=h
  661. game:GetService("Debris"):AddItem(c,.5)
  662. CRIT=false
  663. hitDeb=true
  664. AttackPos=6
  665. end
  666. end
  667.  
  668. function showDamage(Dude, Text, Time, Color)
  669. coroutine.resume(coroutine.create(function()
  670. local naeeym2 = Instance.new("BillboardGui",Dude)
  671. naeeym2.Size = UDim2.new(0,100,0,40)
  672. naeeym2.StudsOffset = Vector3.new(0,3,0)
  673. naeeym2.Adornee = Dude.Head
  674. naeeym2.Name = "TalkingBillBoard"
  675. local tecks2 = Instance.new("TextLabel",naeeym2)
  676. tecks2.BackgroundTransparency = 1
  677. tecks2.BorderSizePixel = 0
  678. tecks2.Text = Text
  679. tecks2.Font = "Fantasy"
  680. tecks2.TextSize = 24
  681. tecks2.TextStrokeTransparency = 0
  682. tecks2.TextColor3 = Color3.new(255,0,0)
  683. tecks2.TextStrokeColor3 = Color3.new(100,0,0)
  684. tecks2.Size = UDim2.new(1,0,0.5,0)
  685. swait(10)
  686. for i = 0,1,.05 do
  687. swait()
  688. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  689. tecks2.TextStrokeTransparency = i
  690. tecks2.TextTransparency = i
  691. end
  692. naeeym2:Destroy()
  693. end))
  694. end
  695.  
  696. Player=game:GetService('Players').LocalPlayer
  697. Character=Player.Character
  698. Mouse=Player:GetMouse()
  699. m=Instance.new('Model',Character)
  700.  
  701.  
  702. local function weldBetween(a, b)
  703. local weldd = Instance.new("ManualWeld")
  704. weldd.Part0 = a
  705. weldd.Part1 = b
  706. weldd.C0 = CFrame.new()
  707. weldd.C1 = b.CFrame:inverse() * a.CFrame
  708. weldd.Parent = a
  709. return weldd
  710. end
  711.  
  712. it=Instance.new
  713.  
  714. function nooutline(part)
  715. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  716. end
  717.  
  718. function parta(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  719. local fp=it("Part")
  720. fp.formFactor=formfactor
  721. fp.Parent=parent
  722. fp.Reflectance=reflectance
  723. fp.Transparency=transparency
  724. fp.CanCollide=false
  725. fp.Locked=true
  726. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  727. fp.Name=name
  728. fp.Size=size
  729. fp.Position=Character.Torso.Position
  730. nooutline(fp)
  731. fp.Material=material
  732. fp:BreakJoints()
  733. return fp
  734. end
  735.  
  736. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  737. local mesh=it(Mesh)
  738. mesh.Parent=part
  739. if Mesh=="SpecialMesh" then
  740. mesh.MeshType=meshtype
  741. mesh.MeshId=meshid
  742. end
  743. mesh.Offset=offset
  744. mesh.Scale=scale
  745. return mesh
  746. end
  747.  
  748. function weld(parent,part0,part1,c0,c1)
  749. local weld=it("Weld")
  750. weld.Parent=parent
  751. weld.Part0=part0
  752. weld.Part1=part1
  753. weld.C0=c0
  754. weld.C1=c1
  755. return weld
  756. end
  757.  
  758. local modelzorz=Instance.new("Model")
  759. modelzorz.Parent=Character
  760. modelzorz.Name="Claw1"
  761.  
  762. Handle=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1))
  763. 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))
  764. Gear=parta(Enum.FormFactor.Custom,modelzorz,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  765. Gearweld=weld(modelzorz,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))
  766.  
  767. local modelzorz2=Instance.new("Model")
  768. modelzorz2.Parent=Character
  769. modelzorz2.Name="Claw2"
  770.  
  771. Handle2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.Neon,0,1,TorsoColor,"Handle",Vector3.new(4,4,1))
  772. Handle2weld=weld(modelzorz2,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))
  773. Gear2=parta(Enum.FormFactor.Custom,modelzorz2,Enum.Material.SmoothPlastic,0,1,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  774. Gear2weld=weld(modelzorz2,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))
  775.  
  776. local modelzorz3=Instance.new("Model")
  777. modelzorz3.Parent=Character
  778. modelzorz3.Name="Eye"
  779.  
  780. handle=parta(Enum.FormFactor.Custom,modelzorz3,Enum.Material.SmoothPlastic,0,1,TorsoColor,"Handle",Vector3.new(1,6,6))
  781. handleweld=weld(modelzorz3,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))
  782.  
  783. New = function(Object, Parent, Name, Data)
  784. local Object = Instance.new(Object)
  785. for Index, Value in pairs(Data or {}) do
  786. Object[Index] = Value
  787. end
  788. Object.Parent = Parent
  789. Object.Name = Name
  790. return Object
  791. end
  792.  
  793. Gear2 = New("Part",modelzorz2,"Gear2",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(68.5, 2.5, -42.5, 0, 0, -1, -1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  794. Mesh = New("SpecialMesh",Gear2,"Mesh",{Offset = Vector3.new(0, 0, -1),Scale = Vector3.new(25, 25, 25),MeshId = "rbxassetid://92052865",MeshType = Enum.MeshType.FileMesh,})
  795. Weld = New("ManualWeld",Gear2,"Weld",{Part0 = Gear2,Part1 = Handle2,C0 = CFrame.new(0, 0, 0, 0, -1, 0, 0, 0, 1, -1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),})
  796. Gear = New("Part",modelzorz,"Gear",{BrickColor = BrickColor.new("Really black"),Size = Vector3.new(5, 7, 5),CFrame = CFrame.new(78.5, 2.5, -42.5, 0, 0, 1, 1, 0, 0, 0, 1, 0),CanCollide = false,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  797. Mesh = New("SpecialMesh",Gear,"Mesh",{Offset = Vector3.new(0, 0, -1),Scale = Vector3.new(25, 25, 25),MeshId = "rbxassetid://92053026",MeshType = Enum.MeshType.FileMesh,})
  798. Weld = New("ManualWeld",Gear,"Weld",{Part0 = Gear,Part1 = Handle,C0 = CFrame.new(0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0),C1 = CFrame.new(0, 3.57627869e-06, 2.99999237, 0.999991357, -6.94066244e-08, 4.63798642e-07, 6.63525327e-07, -0.999994934, -2.62497252e-07, 2.04890966e-08, 2.84217094e-13, -0.999997139),})
  799. DragonHead = New("Part",modelzorz3,"DragonHead",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(72.5999985, 5.5999999, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  800. Mesh = New("SpecialMesh",DragonHead,"Mesh",{Scale = Vector3.new(5, 5, 5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.FileMesh,})
  801. Weld = New("ManualWeld",DragonHead,"Weld",{Part0 = DragonHead,Part1 = handle,C1 = CFrame.new(-4, 0, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  802. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),})
  803. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  804. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  805. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Royal purple"),Material = Enum.Material.Neon,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -63.5999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.384314, 0.145098, 0.819608),})
  806. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(1, 1, 2),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  807. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  808. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(70.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  809. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  810. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, 2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  811. EyePart = New("Part",modelzorz3,"EyePart",{BrickColor = BrickColor.new("Really black"),Material = Enum.Material.SmoothPlastic,Size = Vector3.new(1, 1, 1),CFrame = CFrame.new(75.0999985, 8.60000038, -64.0999985, 1, 0, 0, 0, 1, 0, 0, 0, 1),CanCollide = false,BackSurface = Enum.SurfaceType.SmoothNoOutlines,BottomSurface = Enum.SurfaceType.SmoothNoOutlines,FrontSurface = Enum.SurfaceType.SmoothNoOutlines,LeftSurface = Enum.SurfaceType.SmoothNoOutlines,RightSurface = Enum.SurfaceType.SmoothNoOutlines,TopSurface = Enum.SurfaceType.SmoothNoOutlines,Color = Color3.new(0.0666667, 0.0666667, 0.0666667),})
  812. Mesh = New("SpecialMesh",EyePart,"Mesh",{Scale = Vector3.new(0.899999976, 0.899999976, 0.5),MeshId = "rbxassetid://420164161",MeshType = Enum.MeshType.Sphere,})
  813. Weld = New("ManualWeld",EyePart,"Weld",{Part0 = EyePart,Part1 = handle,C1 = CFrame.new(-4.5, 3.00000048, -2.5, 0, 0, 1, 0, 1, 0, -1, -0, -0),})
  814.  
  815.  
  816. local moosick = it("Sound",Character)
  817. moosick.SoundId = "rbxassetid://1242541615"
  818. --142653441, 175067863
  819. moosick.Name = "moosick"
  820. moosick.Looped = true
  821. moosick.Volume = 1
  822.  
  823. anim = Character:findFirstChild("Animate")
  824. if anim then
  825. anim:Destroy()
  826. end
  827.  
  828. local pemit = Instance.new("ParticleEmitter")
  829. pemit.Color = ColorSequence.new(Color3.new(.5,0,1))
  830. pemit.Lifetime = NumberRange.new(1)
  831. pemit.Acceleration = Vector3.new(0,20,0)
  832. pemit.EmissionDirection = "Front"
  833. pemit.Size = NumberSequence.new(1,0)
  834. pemit.Speed = NumberRange.new(10)
  835. pemit.LightEmission = 1
  836. pemit.Rate = 500
  837. pemit.Rotation = NumberRange.new(0,360)
  838. pemit.RotSpeed = NumberRange.new(150)
  839. pemit.Texture = "rbxasset://textures/particles/smoke_main.dds"
  840. pemit.Enabled = false
  841.  
  842. local pe1 = pemit:Clone()
  843. pe1.Parent = Handle
  844. local pe2 = pemit:Clone()
  845. pe2.Parent = Handle2
  846. local pe3 = pemit:Clone()
  847. pe3.Parent = handle
  848. pe3.EmissionDirection = "Right"
  849. pe3.Rate = 1000
  850.  
  851. local light = Instance.new("PointLight", Character.Torso)
  852. light.Color = TorsoColor.Color
  853. light.Brightness = 5
  854. light.Range = 15
  855. light.Enabled = false
  856.  
  857. local Footsteps = it("Sound",Character.Torso)
  858. Footsteps.SoundId = "rbxassetid://142665235"
  859. Footsteps.Looped = true
  860. Footsteps.Pitch = 0.8
  861. Footsteps.Volume = 0.3
  862.  
  863. local Footsteps2 = it("Sound",Character.Torso)
  864. Footsteps2.SoundId = "rbxassetid://142665235"
  865. Footsteps2.Looped = true
  866. Footsteps2.Pitch = 1
  867. Footsteps2.Volume = 0.4
  868.  
  869. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  870. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  871. prt.Material = Enum.Material.Neon
  872. prt.Anchored=true
  873. prt.CFrame=cframe
  874. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  875. game:GetService("Debris"):AddItem(prt,2)
  876. coroutine.resume(coroutine.create(function(Part,Mesh)
  877. for i=0,1,delay do
  878. swait()
  879. Part.CFrame=Part.CFrame
  880. Part.Transparency=i
  881. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  882. end
  883. Part:Destroy()
  884. end),prt,msh)
  885. end
  886.  
  887. TrailDeb = false
  888.  
  889. function equipanim()
  890. attack=true
  891. Gear.Transparency = 1
  892. Gear2.Transparency = 1
  893. for i,v in pairs(modelzorz3:children()) do
  894. if v:IsA("BasePart") then v.Transparency = 1 end
  895. end
  896. Humanoid.WalkSpeed = 0
  897. moosick:Play()
  898. for i=0,1,0.05 do
  899. swait()
  900. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  901. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  902. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  903. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  904. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  905. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  906. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  907. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  908. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  909. end
  910. swait(60)
  911. for i=0,1,0.05 do
  912. swait()
  913. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  914. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  915. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  916. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  917. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  918. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  919. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  920. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  921. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  922. end
  923. so(136007472,Torso,1,1)
  924. swait(30)
  925. for i=0,30 do
  926. swait(1)
  927. MagicRing(BrickColor.new("Alder"), Gear.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
  928. MagicRing(BrickColor.new("Alder"), Gear2.CFrame*CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
  929. MagicRing(BrickColor.new("Alder"), DragonHead.CFrame*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50))), 60, 60, 6, 1, 1, 1, -3, -3, 0)
  930. end
  931. swait(180)
  932. so(233096557,Torso,1,5)
  933. so(233091205,Torso,1,5)
  934. so(150829983,DragonHead,.9,5)
  935. MagicCircle(BrickColor.new("Alder"), Gear.CFrame, 10, 10, 10, 1, 1, 1, 0.01)
  936. MagicCircle(BrickColor.new("Alder"), Gear2.CFrame, 10, 10, 10, 1, 1, 1, 0.01)
  937. MagicCircle(BrickColor.new("Alder"), DragonHead.CFrame, 20, 20, 20, 1, 1, 1, 0.01)
  938. Gear.Transparency = 0
  939. Gear2.Transparency = 0
  940. for i,v in pairs(modelzorz3:children()) do
  941. if v:IsA("BasePart") and v ~= handle then v.Transparency = 0 end
  942. end
  943. pe1.Enabled = true
  944. pe2.Enabled = true
  945. pe3.Enabled = true
  946. light.Enabled = true
  947. for a=1,300 do
  948. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
  949. swait()
  950. end
  951. attack = false
  952. end
  953.  
  954. function attackone()
  955. attack=true
  956. if TrailDeb == false then
  957. TrailDeb = true
  958. end
  959. coroutine.wrap(function()
  960. local Old = Handle.CFrame.p
  961. while true do swait()
  962. if not TrailDeb then break end
  963. local New = Handle.CFrame.p
  964. local Mag =(Old -New).magnitude
  965. local Dis =(Old +New)/2
  966. local Trail = Instance.new("Part",Character)
  967. Trail.Material = "Neon"
  968. Trail.Anchored = true
  969. Trail.CanCollide = false
  970. Trail.BrickColor = TorsoColor
  971. Trail.Size = Vector3.new(0.2,Mag,0.2)
  972. Trail.TopSurface = 0
  973. Trail.BottomSurface = 0
  974. Trail.formFactor = "Custom"
  975. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  976. local ms = Instance.new("BlockMesh",Trail)
  977. ms.Scale = Vector3.new(1,1,1)
  978. local TM = Instance.new("CylinderMesh",Trail)
  979. TM.Scale = Vector3.new(20,1,20)
  980. Old = New
  981. coroutine.wrap(function()
  982. for i = 1,0,-0.1 do
  983. swait()
  984. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  985. end
  986. Trail:remove()
  987. end)()
  988. coroutine.wrap(function()
  989. for i = 1,10 do
  990. swait()
  991. Trail.Transparency = Trail.Transparency +0.1
  992. end end)()end end)()
  993. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end)
  994. for i=0,1,0.08 do
  995. swait()
  996. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  997. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  998. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  999. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1000. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1001. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1002. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1003. end
  1004. so("231917758",Handle,1,.9)
  1005. so("159972643",Torso,1,1)
  1006. for i=0,1,0.1 do
  1007. swait()
  1008. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1009. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1010. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1011. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1012. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1013. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1014. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1015. end
  1016. --dmgstop()
  1017. attack=false
  1018. con1:disconnect()
  1019. if TrailDeb == true then
  1020. TrailDeb = false
  1021. end
  1022. end
  1023.  
  1024. function attacktwo()
  1025. attack=true
  1026. if TrailDeb == false then
  1027. TrailDeb = true
  1028. end
  1029. coroutine.wrap(function()
  1030. local Old = Handle2.CFrame.p
  1031. while true do swait()
  1032. if not TrailDeb then break end
  1033. local New = Handle2.CFrame.p
  1034. local Mag =(Old -New).magnitude
  1035. local Dis =(Old +New)/2
  1036. local Trail = Instance.new("Part",Character)
  1037. Trail.Material = "Neon"
  1038. Trail.Anchored = true
  1039. Trail.CanCollide = false
  1040. Trail.BrickColor = TorsoColor
  1041. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1042. Trail.TopSurface = 0
  1043. Trail.BottomSurface = 0
  1044. Trail.formFactor = "Custom"
  1045. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1046. local ms = Instance.new("BlockMesh",Trail)
  1047. ms.Scale = Vector3.new(1,1,1)
  1048. local TM = Instance.new("CylinderMesh",Trail)
  1049. TM.Scale = Vector3.new(20,1,20)
  1050. Old = New
  1051. coroutine.wrap(function()
  1052. for i = 1,0,-0.1 do
  1053. swait()
  1054. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1055. end
  1056. Trail:remove()
  1057. end)()
  1058. coroutine.wrap(function()
  1059. for i = 1,10 do
  1060. swait()
  1061. Trail.Transparency = Trail.Transparency +0.1
  1062. end end)()end end)()
  1063. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,20,"Normal",RootPart,.2,1) end)
  1064. for i=0,1,0.08 do
  1065. swait()
  1066. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1067. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1068. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1069. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1070. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1071. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1072. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1073. end
  1074. so("231917758",Handle2,1,.8)
  1075. so("159972627",Torso,1,1)
  1076. for i=0,1,0.1 do
  1077. swait()
  1078. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1079. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1080. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1081. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1082. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1083. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1084. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1085. end
  1086. --dmgstop()
  1087. attack=false
  1088. con1:disconnect()
  1089. if TrailDeb == true then
  1090. TrailDeb = false
  1091. end
  1092. end
  1093.  
  1094. function attackthree()
  1095. attack=true
  1096. if TrailDeb == false then
  1097. TrailDeb = true
  1098. end
  1099. coroutine.wrap(function()
  1100. local Old = Handle.CFrame.p
  1101. while true do swait()
  1102. if not TrailDeb then break end
  1103. local New = Handle.CFrame.p
  1104. local Mag =(Old -New).magnitude
  1105. local Dis =(Old +New)/2
  1106. local Trail = Instance.new("Part",Character)
  1107. Trail.Material = "Neon"
  1108. Trail.Anchored = true
  1109. Trail.CanCollide = false
  1110. Trail.BrickColor = TorsoColor
  1111. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1112. Trail.TopSurface = 0
  1113. Trail.BottomSurface = 0
  1114. Trail.formFactor = "Custom"
  1115. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1116. local ms = Instance.new("BlockMesh",Trail)
  1117. ms.Scale = Vector3.new(1,1,1)
  1118. local TM = Instance.new("CylinderMesh",Trail)
  1119. TM.Scale = Vector3.new(20,1,20)
  1120. Old = New
  1121. coroutine.wrap(function()
  1122. for i = 1,0,-0.1 do
  1123. swait()
  1124. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1125. end
  1126. Trail:remove()
  1127. end)()
  1128. coroutine.wrap(function()
  1129. for i = 1,10 do
  1130. swait()
  1131. Trail.Transparency = Trail.Transparency +0.1
  1132. end end)()end end)()
  1133. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",20,25,30,"Up",RootPart,.2,1) end)
  1134. for i=0,1,0.08 do
  1135. swait()
  1136. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1137. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1138. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1139. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1140. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1141. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1142. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1143. end
  1144. so("231917758",Handle,1,1)
  1145. so("159882477",Torso,1,1)
  1146. for i=0,1,0.05 do
  1147. swait()
  1148. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1149. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1150. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1151. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1152. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1153. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1154. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1155. end
  1156. --dmgstop()
  1157. attack=false
  1158. con1:disconnect()
  1159. if TrailDeb == true then
  1160. TrailDeb = false
  1161. end
  1162. end
  1163.  
  1164. function attackfour()
  1165. attack=true
  1166. if TrailDeb == false then
  1167. TrailDeb = true
  1168. end
  1169. coroutine.wrap(function()
  1170. local Old = Handle2.CFrame.p
  1171. while true do swait()
  1172. if not TrailDeb then break end
  1173. local New = Handle2.CFrame.p
  1174. local Mag =(Old -New).magnitude
  1175. local Dis =(Old +New)/2
  1176. local Trail = Instance.new("Part",Character)
  1177. Trail.Material = "Neon"
  1178. Trail.Anchored = true
  1179. Trail.CanCollide = false
  1180. Trail.BrickColor = TorsoColor
  1181. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1182. Trail.TopSurface = 0
  1183. Trail.BottomSurface = 0
  1184. Trail.formFactor = "Custom"
  1185. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1186. local ms = Instance.new("BlockMesh",Trail)
  1187. ms.Scale = Vector3.new(1,1,1)
  1188. local TM = Instance.new("CylinderMesh",Trail)
  1189. TM.Scale = Vector3.new(20,1,20)
  1190. Old = New
  1191. coroutine.wrap(function()
  1192. for i = 1,0,-0.1 do
  1193. swait()
  1194. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1195. end
  1196. Trail:remove()
  1197. end)()
  1198. coroutine.wrap(function()
  1199. for i = 1,10 do
  1200. swait()
  1201. Trail.Transparency = Trail.Transparency +0.1
  1202. end end)()end end)()
  1203. coroutine.wrap(function()
  1204. local Old = Handle.CFrame.p
  1205. while true do swait()
  1206. if not TrailDeb then break end
  1207. local New = Handle.CFrame.p
  1208. local Mag =(Old -New).magnitude
  1209. local Dis =(Old +New)/2
  1210. local Trail = Instance.new("Part",Character)
  1211. Trail.Material = "Neon"
  1212. Trail.Anchored = true
  1213. Trail.CanCollide = false
  1214. Trail.BrickColor = TorsoColor
  1215. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1216. Trail.TopSurface = 0
  1217. Trail.BottomSurface = 0
  1218. Trail.formFactor = "Custom"
  1219. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1220. local ms = Instance.new("BlockMesh",Trail)
  1221. ms.Scale = Vector3.new(1,1,1)
  1222. local TM = Instance.new("CylinderMesh",Trail)
  1223. TM.Scale = Vector3.new(20,1,20)
  1224. Old = New
  1225. coroutine.wrap(function()
  1226. for i = 1,0,-0.1 do
  1227. swait()
  1228. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1229. end
  1230. Trail:remove()
  1231. end)()
  1232. coroutine.wrap(function()
  1233. for i = 1,10 do
  1234. swait()
  1235. Trail.Transparency = Trail.Transparency +0.1
  1236. end end)()end end)()
  1237. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1238. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1239. for i=0,1,0.08 do
  1240. swait()
  1241. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1242. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1243. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1244. 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)
  1245. 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)
  1246. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1247. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1248. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1249. end
  1250. if anim then
  1251. anim.Disabled=true
  1252. end
  1253. so("231917758",Torso,1,0.7)
  1254. so("159882584",Torso,1,1)
  1255. for i=0,1,0.04 do
  1256. swait()
  1257. Torso.Velocity=RootPart.CFrame.lookVector*50
  1258. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1259. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1260. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1261. 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)
  1262. 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)
  1263. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1264. Handleweld.C0=clerp(Handleweld.C0,cf(3,4,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  1265. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,4,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1266. end
  1267. --dmgstop()
  1268. attack=false
  1269. con1:disconnect()
  1270. con2:disconnect()
  1271. if anim then
  1272. anim.Disabled=false
  1273. end
  1274. if TrailDeb == true then
  1275. TrailDeb = false
  1276. end
  1277. end
  1278.  
  1279. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1280. local prt = parta(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1281. prt.Anchored = true
  1282. prt.CFrame = cframe
  1283. local msh = mesh("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1284. coroutine.resume(coroutine.create(function()
  1285. for i = 0, 1, 0.05 do
  1286. swait()
  1287. prt.Transparency = i
  1288. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1289. end
  1290. prt.Parent = nil
  1291. end))
  1292. end
  1293.  
  1294. function MagniDamage(par,efft,magni,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1295. for _, c in pairs(workspace:GetDescendants()) do
  1296. local hum = c:FindFirstChildOfClass("Humanoid")
  1297. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  1298. local head = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  1299. if head ~= nil then
  1300. local targ = head.Position - par.Position
  1301. local mag = targ.magnitude
  1302. if magni >= mag and c.Name ~= Player.Name then
  1303. Damagefunc(head,efft,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1304. end
  1305. end
  1306. end
  1307. end
  1308. end
  1309.  
  1310. function MagicCircle4(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1311. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1312. prt.Anchored = true
  1313. prt.CFrame = cframe
  1314. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1315. game:GetService("Debris"):AddItem(prt, 2)
  1316. coroutine.resume(coroutine.create(function(Part, Mesh)
  1317. for i = 0, 1, delay do
  1318. swait()
  1319. Part.CFrame = Part.CFrame
  1320. Part.Transparency = i
  1321. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1322. end
  1323. Part.Parent = nil
  1324. end), prt, msh)
  1325. end
  1326.  
  1327. function smashdown()
  1328. attack=true
  1329.  
  1330. if TrailDeb == false then
  1331. TrailDeb = true
  1332. end
  1333. coroutine.wrap(function()
  1334. local Old = Handle2.CFrame.p
  1335. while true do swait()
  1336. if not TrailDeb then break end
  1337. local New = Handle2.CFrame.p
  1338. local Mag =(Old -New).magnitude
  1339. local Dis =(Old +New)/2
  1340. local Trail = Instance.new("Part",Character)
  1341. Trail.Material = "Neon"
  1342. Trail.Anchored = true
  1343. Trail.CanCollide = false
  1344. Trail.BrickColor = TorsoColor
  1345. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1346. Trail.TopSurface = 0
  1347. Trail.BottomSurface = 0
  1348. Trail.formFactor = "Custom"
  1349. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1350. local ms = Instance.new("BlockMesh",Trail)
  1351. ms.Scale = Vector3.new(1,1,1)
  1352. local TM = Instance.new("CylinderMesh",Trail)
  1353. TM.Scale = Vector3.new(20,1,20)
  1354. Old = New
  1355. coroutine.wrap(function()
  1356. for i = 1,0,-0.1 do
  1357. swait()
  1358. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1359. end
  1360. Trail:remove()
  1361. end)()
  1362. coroutine.wrap(function()
  1363. for i = 1,10 do
  1364. swait()
  1365. Trail.Transparency = Trail.Transparency +0.1
  1366. end end)()end end)()
  1367. coroutine.wrap(function()
  1368. local Old = Handle.CFrame.p
  1369. while true do swait()
  1370. if not TrailDeb then break end
  1371. local New = Handle.CFrame.p
  1372. local Mag =(Old -New).magnitude
  1373. local Dis =(Old +New)/2
  1374. local Trail = Instance.new("Part",Character)
  1375. Trail.Material = "Neon"
  1376. Trail.Anchored = true
  1377. Trail.CanCollide = false
  1378. Trail.BrickColor = TorsoColor
  1379. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1380. Trail.TopSurface = 0
  1381. Trail.BottomSurface = 0
  1382. Trail.formFactor = "Custom"
  1383. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1384. local ms = Instance.new("BlockMesh",Trail)
  1385. ms.Scale = Vector3.new(1,1,1)
  1386. local TM = Instance.new("CylinderMesh",Trail)
  1387. TM.Scale = Vector3.new(20,1,20)
  1388. Old = New
  1389. coroutine.wrap(function()
  1390. for i = 1,0,-0.1 do
  1391. swait()
  1392. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1393. end
  1394. Trail:remove()
  1395. end)()
  1396. coroutine.wrap(function()
  1397. for i = 1,10 do
  1398. swait()
  1399. Trail.Transparency = Trail.Transparency +0.1
  1400. end end)()end end)()
  1401. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end)
  1402. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,100,"Normal",RootPart,.2,1) end)
  1403. for i=0,1,0.08 do
  1404. swait()
  1405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1406. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1407. LW.C0=clerp(LW.C0,cf(-1.5,1,0)*euler(math.rad(180),0,0),.3)
  1408. RW.C0=clerp(RW.C0,cf(1.5,1,0)*euler(math.rad(180),0,0),.3)
  1409. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1410. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1411. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  1412. Handleweld.C0=clerp(Handleweld.C0,cf(4,30,10)*angles(math.rad(35),math.rad(0),math.rad(-90)),.2)
  1413. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,30,10)*angles(math.rad(35),math.rad(0),math.rad(90)),.2)
  1414. end
  1415. Humanoid.WalkSpeed = 0
  1416. so("231917758",Torso,1,0.7)
  1417. so("159882584",Torso,1,1)
  1418. for i=0,1,0.08 do
  1419. swait()
  1420. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1421. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1422. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(math.rad(90),0,0),.3)
  1423. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(math.rad(90),0,0),.3)
  1424. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1425. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1426. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  1427. Handleweld.C0=clerp(Handleweld.C0,cf(4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(-90)),.2)
  1428. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,6,-10)*angles(math.rad(-35),math.rad(0),math.rad(90)),.2)
  1429. end
  1430. con1:disconnect()
  1431. con2:disconnect()
  1432. attack=false
  1433. if anim then
  1434. anim.Disabled=false
  1435. end
  1436. if TrailDeb == true then
  1437. TrailDeb = false
  1438. end
  1439. local ref = it("Part",Character)
  1440. ref.Size = Vector3.new(0,0,0)
  1441. ref.Anchored = true
  1442. ref.CanCollide = false
  1443. ref.Transparency = 1
  1444. local looky = RootPart.CFrame
  1445. for i=1,10 do
  1446. ref.CFrame = looky*CFrame.new(0,-2.5,-10*i)
  1447. BlastEffect(BrickColor.new("White"),ref.CFrame,1,.2,1,1,0,1)
  1448. BlastEffect(BrickColor.new("White"),ref.CFrame,5,1,.5,.1,2,.1)
  1449. MagniDamage(ref,"",10,30,35,50,"Knockdown",RootPart,.2,1)
  1450. so(178452221,ref,.6,1)
  1451. so(192410084,ref,1,1)
  1452. swait(5)
  1453. end
  1454. ref:Destroy()
  1455. swait(60)
  1456. --dmgstop()
  1457. end
  1458.  
  1459. function mudads()
  1460. attack=true
  1461. so("624164065",Torso,1,3)
  1462. print("SUNLIGHT YELLO OVRDREV")
  1463.  
  1464.  
  1465. if TrailDeb == false then
  1466. TrailDeb = true
  1467. end
  1468. coroutine.wrap(function()
  1469. local Old = Handle2.CFrame.p
  1470. while true do swait()
  1471. if not TrailDeb then break end
  1472. local New = Handle2.CFrame.p
  1473. local Mag =(Old -New).magnitude
  1474. local Dis =(Old +New)/2
  1475. local Trail = Instance.new("Part",Character)
  1476. Trail.Material = "Neon"
  1477. Trail.Anchored = true
  1478. Trail.CanCollide = false
  1479. Trail.BrickColor = TorsoColor
  1480. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1481. Trail.TopSurface = 0
  1482. Trail.BottomSurface = 0
  1483. Trail.formFactor = "Custom"
  1484. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1485. local ms = Instance.new("BlockMesh",Trail)
  1486. ms.Scale = Vector3.new(1,1,1)
  1487. local TM = Instance.new("CylinderMesh",Trail)
  1488. TM.Scale = Vector3.new(20,1,20)
  1489. Old = New
  1490. coroutine.wrap(function()
  1491. for i = 1,0,-0.1 do
  1492. swait()
  1493. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1494. end
  1495. Trail:remove()
  1496. end)()
  1497. coroutine.wrap(function()
  1498. for i = 1,10 do
  1499. swait()
  1500. Trail.Transparency = Trail.Transparency +0.1
  1501. end end)()end end)()
  1502. coroutine.wrap(function()
  1503. local Old = Handle.CFrame.p
  1504. while true do swait()
  1505. if not TrailDeb then break end
  1506. local New = Handle.CFrame.p
  1507. local Mag =(Old -New).magnitude
  1508. local Dis =(Old +New)/2
  1509. local Trail = Instance.new("Part",Character)
  1510. Trail.Material = "Neon"
  1511. Trail.Anchored = true
  1512. Trail.CanCollide = false
  1513. Trail.BrickColor = TorsoColor
  1514. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1515. Trail.TopSurface = 0
  1516. Trail.BottomSurface = 0
  1517. Trail.formFactor = "Custom"
  1518. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1519. local ms = Instance.new("BlockMesh",Trail)
  1520. ms.Scale = Vector3.new(1,1,1)
  1521. local TM = Instance.new("CylinderMesh",Trail)
  1522. TM.Scale = Vector3.new(20,1,20)
  1523. Old = New
  1524. coroutine.wrap(function()
  1525. for i = 1,0,-0.1 do
  1526. swait()
  1527. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1528. end
  1529. Trail:remove()
  1530. end)()
  1531. coroutine.wrap(function()
  1532. for i = 1,10 do
  1533. swait()
  1534. Trail.Transparency = Trail.Transparency +0.1
  1535. end end)()end end)()
  1536. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end)
  1537. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,"Blunt",10,15,10,"Normal",RootPart,.05,1) end)
  1538. Humanoid.WalkSpeed = 16
  1539. so("159882584",Torso,1,1)
  1540. for i=0,1,0.08 do
  1541. swait()
  1542. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1543. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1544. LW.C0=clerp(LW.C0,cf(-1.2,1,0)*euler(math.rad(90),math.rad(-90),0),.3)
  1545. RW.C0=clerp(RW.C0,cf(1.2,1,0)*euler(math.rad(90),math.rad(90),0),.3)
  1546. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1547. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1548. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1549. Handleweld.C0=clerp(Handleweld.C0,cf(4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1550. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,2,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1551. end
  1552. for a = 1,20 do
  1553. so("231917758",Torso,math.random(6,10)/10,1)
  1554. for i=0,1,0.2 do
  1555. swait()
  1556. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1557. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1558. LW.C0=clerp(LW.C0,cf(-1.2,1,-2)*euler(math.rad(90),math.rad(-90),0),.3)
  1559. RW.C0=clerp(RW.C0,cf(1.2,1,2)*euler(math.rad(90),math.rad(90),0),.3)
  1560. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1561. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1562. handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1563. Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1564. Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1565. end
  1566. so("231917758",Torso,math.random(6,10)/10,1)
  1567. for i=0,1,0.2 do
  1568. swait()
  1569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1570. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1571. LW.C0=clerp(LW.C0,cf(-1.2,1,2)*euler(math.rad(90),math.rad(-90),0),.3)
  1572. RW.C0=clerp(RW.C0,cf(1.2,1,-2)*euler(math.rad(90),math.rad(90),0),.3)
  1573. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1574. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1575. handleweld.C0=clerp(handleweld.C0,cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1576. Handleweld.C0=clerp(Handleweld.C0,cf(math.random(-10,10),math.random(0,4),20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1577. Handle2weld.C0=clerp(Handle2weld.C0,cf(math.random(-10,10),math.random(0,4),-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1578. end
  1579. end
  1580. con1:disconnect()
  1581. con2:disconnect()
  1582. --dmgstop()
  1583. attack=false
  1584. if anim then
  1585. anim.Disabled=false
  1586. end
  1587. if TrailDeb == true then
  1588. TrailDeb = false
  1589. end
  1590. end
  1591.  
  1592. function laser()
  1593. attack = true
  1594. Humanoid.WalkSpeed = 16
  1595. for i=0,1,0.05 do
  1596. swait()
  1597. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1598. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1599. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  1600. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  1601. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1602. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1603. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  1604. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  1605. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  1606. end
  1607. local blmod = Instance.new("Model",Character)
  1608. for a = 1, 5 do
  1609. local blast2 = it("Part",blmod)
  1610. blast2.Size = vt(1,1,1)
  1611. blast2.BrickColor = TorsoColor
  1612. blast2.Material = "Neon"
  1613. blast2.Anchored = false
  1614. blast2.CanCollide = false
  1615. local blwe = Instance.new("Weld",blast2)
  1616. blwe.Part0 = DragonHead
  1617. blwe.Part1 = blast2
  1618. blwe.C0 = CFrame.new(0, 0, -5)
  1619. blwe.C1 = CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1620. local m = Instance.new("BlockMesh", blast2)
  1621. m.Scale = Vector3.new(6,6,6)
  1622. coroutine.resume(coroutine.create(function()
  1623. for i = 0,1,.1 do
  1624. blast2.Transparency = 1.2-i
  1625. swait()
  1626. blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1627. end
  1628. while blast2 do
  1629. swait()
  1630. blwe.C1 = blwe.C1 * CFrame.fromEulerAnglesXYZ(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1631. end
  1632. end))
  1633. end
  1634. so(864314263,DragonHead,1,5)
  1635. for i=1,150 do
  1636. MagicRing(BrickColor.new("Alder"), DragonHead.CFrame * CFrame.new(0,0,-5) * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360))), 20, 20, 2, 1, 1, 1, -1, -1, 0)
  1637. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
  1638. swait()
  1639. end
  1640. for i=0,1,0.05 do
  1641. swait()
  1642. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1643. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  1644. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  1645. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  1646. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1647. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1648. handleweld.C0=clerp(handleweld.C0,cf(math.random(-1,1),math.random(5,7),math.random(6,8))*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1649. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  1650. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  1651. end
  1652. so(162246701,DragonHead,1,5)
  1653. local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5)
  1654. local sannd = Instance.new("Sound",Torso)
  1655. sannd.SoundId = "rbxassetid://162246683"
  1656. sannd.Looped = true
  1657. sannd.Volume = 1
  1658. sannd:Play()
  1659. local hitcf = mouse.Hit
  1660. local ref = it("Part",Character)
  1661. ref.Size = Vector3.new(0,0,0)
  1662. ref.Anchored = true
  1663. ref.CanCollide = false
  1664. ref.Transparency = 1
  1665. local blast = it("Part",blmod)
  1666. blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude)
  1667. blast.BrickColor = TorsoColor
  1668. blast.Material = "Neon"
  1669. blast.Anchored = true
  1670. blast.CanCollide = false
  1671. blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p)
  1672. local m = Instance.new("BlockMesh", blast)
  1673. m.Scale = Vector3.new(5,5,1)
  1674. for a = 1, 200 do
  1675. local frontcf = DragonHead.CFrame * CFrame.new(0,0,-5)
  1676. local hitcf = mouse.Hit
  1677. ref.CFrame = hitcf
  1678. blast.Size = vt(1,1,(frontcf.p - hitcf.p).magnitude)
  1679. blast.CFrame = CFrame.new((frontcf.p + hitcf.p)/2,frontcf.p)
  1680. MagicBlock(TorsoColor, hitcf, 1, 1, 1, 6, 6, 6, 0.1)
  1681. MagniDamage(ref,"",10,5,7,0,"Knockdown",RootPart,.05,1)
  1682. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-5),math.rad(0),math.rad(0))
  1683. --handleweld.C0 = cf(math.random(-2,2),math.random(4,8),math.random(5,9))*angles(math.rad(-5),math.rad(0),math.rad(0))
  1684. swait(1)
  1685. end
  1686. for a = 0,1,.05 do
  1687. sannd.Volume = a
  1688. for _, b in pairs(blmod:GetChildren()) do
  1689. b.Transparency = a
  1690. end
  1691. swait()
  1692. end
  1693. sannd:Destroy()
  1694. blmod:Destroy()
  1695. attack = false
  1696. end
  1697.  
  1698. function yummy()
  1699. attack=true
  1700. if TrailDeb == false then
  1701. TrailDeb = true
  1702. end
  1703. coroutine.wrap(function()
  1704. local Old = Handle.CFrame.p
  1705. while true do swait()
  1706. if not TrailDeb then break end
  1707. local New = Handle.CFrame.p
  1708. local Mag =(Old -New).magnitude
  1709. local Dis =(Old +New)/2
  1710. local Trail = Instance.new("Part",Character)
  1711. Trail.Material = "Neon"
  1712. Trail.Anchored = true
  1713. Trail.CanCollide = false
  1714. Trail.BrickColor = TorsoColor
  1715. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1716. Trail.TopSurface = 0
  1717. Trail.BottomSurface = 0
  1718. Trail.formFactor = "Custom"
  1719. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1720. local ms = Instance.new("BlockMesh",Trail)
  1721. ms.Scale = Vector3.new(1,1,1)
  1722. local TM = Instance.new("CylinderMesh",Trail)
  1723. TM.Scale = Vector3.new(20,1,20)
  1724. Old = New
  1725. coroutine.wrap(function()
  1726. for i = 1,0,-0.1 do
  1727. swait()
  1728. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1729. end
  1730. Trail:remove()
  1731. end)()
  1732. coroutine.wrap(function()
  1733. for i = 1,10 do
  1734. swait()
  1735. Trail.Transparency = Trail.Transparency +0.1
  1736. end end)()end end)()
  1737. local grab
  1738. local torsy
  1739. local ghum
  1740. local soaa
  1741. for i=0,1,0.05 do
  1742. swait()
  1743. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1745. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1746. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1747. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1748. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1749. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1750. end
  1751. con1=Gear.Touched:connect(function(hit)
  1752. if grab == nil and hit.Parent ~= Character then
  1753. torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  1754. ghum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1755. if ghum ~= nil and torsy ~= nil then
  1756. grab=hit.Parent
  1757. so(386946017,hit,1,1)
  1758. local soaa = it("Sound",grab.Head)
  1759. soaa.Volume = 1
  1760. local cho = math.random(1,5)
  1761. if cho == 1 then
  1762. soaa.SoundId = "rbxassetid://111896685"
  1763. elseif cho == 2 then
  1764. soaa.SoundId = "rbxassetid://535528169"
  1765. elseif cho == 3 then
  1766. soaa.SoundId = "rbxassetid://1080363252"
  1767. elseif cho == 4 then
  1768. soaa.SoundId = "rbxassetid://147758746"
  1769. elseif cho == 5 then
  1770. soaa.SoundId = "rbxassetid://626777433"
  1771. soaa.Volume = .2
  1772. soaa.TimePosition = 1
  1773. end
  1774. soaa:Play()
  1775. end
  1776. end
  1777. end)
  1778. so("231917758",Handle,1,.9)
  1779. so("159972643",Torso,1,1)
  1780. for i=0,3,0.1 do
  1781. swait()
  1782. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1783. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1784. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1785. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1786. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1787. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1788. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1789. if torsy~=nil then
  1790. ghum.PlatformStand = true
  1791. torsy.CFrame = Gear.CFrame
  1792. end
  1793. end
  1794. if grab ~= nil then
  1795. Humanoid.WalkSpeed = 0
  1796. con1:disconnect()
  1797. for i=0,3,0.05 do
  1798. swait()
  1799. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1800. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1801. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  1802. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  1803. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1804. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1805. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1806. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1807. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1808. if torsy~=nil then
  1809. ghum.PlatformStand = true
  1810. torsy.CFrame = Gear.CFrame
  1811. end
  1812. end
  1813. for i=0,1,0.1 do
  1814. swait()
  1815. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1816. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1817. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  1818. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  1819. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1820. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1821. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1822. Handleweld.C0=clerp(Handleweld.C0,cf(0,16,5)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1823. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1824. if torsy~=nil then
  1825. ghum.PlatformStand = true
  1826. torsy.CFrame = Gear.CFrame
  1827. end
  1828. end
  1829. grab:BreakJoints()
  1830. for i,v in pairs(grab:children()) do
  1831. if v:IsA("BasePart") then
  1832. game:service'Debris':AddItem(v,.01)
  1833. end
  1834. end
  1835. local ref = it("Part",Character)
  1836. ref.Size = Vector3.new(0,0,0)
  1837. ref.Anchored = true
  1838. ref.CanCollide = false
  1839. ref.Transparency = 1
  1840. ref.CFrame = Gear.CFrame
  1841. so(206082327,Gear,1,3)
  1842. local partasdeff = Instance.new("ParticleEmitter",ref)
  1843. partasdeff.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  1844. partasdeff.LightEmission = .1
  1845. partasdeff.Size = NumberSequence.new(0.2)
  1846. partasdeff.Texture = "rbxassetid://771221224"
  1847. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1848. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1849. partasdeff.Transparency = bbb
  1850. partasdeff.Size = aaa
  1851. partasdeff.ZOffset = .9
  1852. partasdeff.Acceleration = Vector3.new(0, -5, 0)
  1853. partasdeff.LockedToPart = false
  1854. partasdeff.EmissionDirection = "Back"
  1855. partasdeff.Lifetime = NumberRange.new(1, 2)
  1856. partasdeff.Rate = 1000
  1857. partasdeff.Rotation = NumberRange.new(-100, 100)
  1858. partasdeff.RotSpeed = NumberRange.new(-100, 100)
  1859. partasdeff.Speed = NumberRange.new(6)
  1860. partasdeff.VelocitySpread = 10000
  1861. partasdeff.Enabled=false
  1862. partasdeff:Emit(70)
  1863. game:service'Debris':AddItem(ref,5)
  1864. swait(90)
  1865. so(2767085,DragonHead,1,1)
  1866. swait(150)
  1867. for i=0,1,0.1 do
  1868. swait()
  1869. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1870. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1871. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  1872. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  1873. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1874. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  1875. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1876. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  1877. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1878. end
  1879. so(133966572,DragonHead,.8,2)
  1880. for i=1,15 do
  1881. for a=1,5 do
  1882. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0))
  1883. swait()
  1884. end
  1885. local bo = it("Part",Character)
  1886. bo.Size = vt(.2,.6,1)
  1887. bo.BrickColor = BrickColor.new("Persimmon")
  1888. bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1889. bo.Velocity = RootPart.CFrame.lookVector*40
  1890. local m = it("SpecialMesh",bo)
  1891. m.MeshId = "rbxassetid://305829157"
  1892. m.Scale = vt(math.random(9,13)/10,math.random(9,13)/10,math.random(9,13)/10)
  1893. coroutine.wrap(function()
  1894. swait(300)
  1895. for a=0,1,.05 do
  1896. swait()
  1897. bo.Transparency = a
  1898. end
  1899. bo:Destroy()
  1900. end)()
  1901. end
  1902. for a=1,5 do
  1903. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(-20),math.rad(0),math.rad(0))
  1904. swait()
  1905. end
  1906. local bo = it("Part",Character)
  1907. bo.Size = vt(1,1,1)
  1908. bo.BrickColor = BrickColor.new("Persimmon")
  1909. bo.CFrame = DragonHead.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1910. bo.Velocity = RootPart.CFrame.lookVector*40
  1911. local m = it("SpecialMesh",bo)
  1912. m.MeshId = "rbxassetid://4770583"
  1913. m.Scale = vt(3,3,3)
  1914. coroutine.wrap(function()
  1915. swait(300)
  1916. for a=0,1,.05 do
  1917. swait()
  1918. bo.Transparency = a
  1919. end
  1920. bo:Destroy()
  1921. end)()
  1922. swait(60)
  1923. end
  1924. --dmgstop()
  1925. attack=false
  1926. con1:disconnect()
  1927. if TrailDeb == true then
  1928. TrailDeb = false
  1929. end
  1930. end
  1931.  
  1932. function smek()
  1933. attack=true
  1934. if TrailDeb == false then
  1935. TrailDeb = true
  1936. end
  1937. coroutine.wrap(function()
  1938. local Old = Handle.CFrame.p
  1939. while true do swait()
  1940. if not TrailDeb then break end
  1941. local New = Handle.CFrame.p
  1942. local Mag =(Old -New).magnitude
  1943. local Dis =(Old +New)/2
  1944. local Trail = Instance.new("Part",Character)
  1945. Trail.Material = "Neon"
  1946. Trail.Anchored = true
  1947. Trail.CanCollide = false
  1948. Trail.BrickColor = TorsoColor
  1949. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1950. Trail.TopSurface = 0
  1951. Trail.BottomSurface = 0
  1952. Trail.formFactor = "Custom"
  1953. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1954. local ms = Instance.new("BlockMesh",Trail)
  1955. ms.Scale = Vector3.new(1,1,1)
  1956. local TM = Instance.new("CylinderMesh",Trail)
  1957. TM.Scale = Vector3.new(20,1,20)
  1958. Old = New
  1959. coroutine.wrap(function()
  1960. for i = 1,0,-0.1 do
  1961. swait()
  1962. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1963. end
  1964. Trail:remove()
  1965. end)()
  1966. coroutine.wrap(function()
  1967. for i = 1,10 do
  1968. swait()
  1969. Trail.Transparency = Trail.Transparency +0.1
  1970. end end)()end end)()
  1971. local grab
  1972. local torsy
  1973. local ghum
  1974. local soaa
  1975. for i=0,1,0.05 do
  1976. swait()
  1977. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1978. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1979. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1980. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1981. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  1982. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1983. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1984. end
  1985. con1=Gear.Touched:connect(function(hit)
  1986. if grab == nil and hit.Parent ~= Character then
  1987. torsy = (hit.Parent:findFirstChild("Torso") or hit.Parent:findFirstChild("UpperTorso"))
  1988. ghum = hit.Parent:FindFirstChildOfClass("Humanoid")
  1989. if ghum ~= nil and torsy ~= nil then
  1990. grab=hit.Parent
  1991. so(386946017,hit,1,1)
  1992. soaa = it("Sound",grab.Head)
  1993. soaa.Volume = 1
  1994. local cho = math.random(1,5)
  1995. if cho == 1 then
  1996. soaa.SoundId = "rbxassetid://111896685"
  1997. elseif cho == 2 then
  1998. soaa.SoundId = "rbxassetid://535528169"
  1999. elseif cho == 3 then
  2000. soaa.SoundId = "rbxassetid://1080363252"
  2001. elseif cho == 4 then
  2002. soaa.SoundId = "rbxassetid://147758746"
  2003. elseif cho == 5 then
  2004. soaa.SoundId = "rbxassetid://626777433"
  2005. soaa.Volume = .2
  2006. soaa.TimePosition = 1
  2007. end
  2008. game:service'Debris':AddItem(soaa,8)
  2009. soaa:Play()
  2010. end
  2011. end
  2012. end)
  2013. so("231917758",Handle,1,.9)
  2014. so("159972643",Torso,1,1)
  2015. for i=0,3,0.1 do
  2016. swait()
  2017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  2018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  2019. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  2020. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  2021. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  2022. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-10)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  2023. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2024. if torsy~=nil then
  2025. ghum.PlatformStand = true
  2026. torsy.CFrame = Gear.CFrame
  2027. end
  2028. end
  2029. if grab ~= nil then
  2030. Humanoid.WalkSpeed = 0
  2031. con1:disconnect()
  2032. for i=0,3,0.05 do
  2033. swait()
  2034. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2035. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2036. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2037. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2038. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2039. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2040. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2041. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2042. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2043. if torsy~=nil then
  2044. ghum.PlatformStand = true
  2045. torsy.CFrame = Gear.CFrame
  2046. end
  2047. end
  2048. for a=1,5 do
  2049. for i=0,1,0.1 do
  2050. swait()
  2051. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2052. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2053. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2054. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2055. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2056. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2057. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2058. Handleweld.C0=clerp(Handleweld.C0,cf(2,-5,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2059. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2060. if torsy~=nil then
  2061. ghum.PlatformStand = true
  2062. torsy.CFrame = Gear.CFrame
  2063. end
  2064. end
  2065. so(386946017,torsy,1,1)
  2066. BlastEffect(BrickColor.new("White"),CFrame.new(torsy.Position),.5,.5,.5,.5,.2,.5)
  2067. if ghum.Health > 10 then
  2068. Damagefunc(torsy,"",8,10,0,"Normal",RootPart,0,1)
  2069. end
  2070. for i=0,1,0.1 do
  2071. swait()
  2072. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2073. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2074. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2075. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2076. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2077. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2078. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2079. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-8)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2080. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2081. if torsy~=nil then
  2082. ghum.PlatformStand = true
  2083. torsy.CFrame = Gear.CFrame
  2084. end
  2085. end
  2086. end
  2087. for i=1,30 do
  2088. swait()
  2089. if torsy~=nil then
  2090. ghum.PlatformStand = true
  2091. torsy.CFrame = Gear.CFrame
  2092. end
  2093. end
  2094. for i=0,5,0.1 do
  2095. swait()
  2096. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2097. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2098. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2099. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2100. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2101. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2102. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2103. Handleweld.C0=clerp(Handleweld.C0,cf(2,15,10)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2104. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2105. if torsy~=nil then
  2106. ghum.PlatformStand = true
  2107. torsy.CFrame = Gear.CFrame
  2108. end
  2109. end
  2110. for i=0,1,0.1 do
  2111. swait()
  2112. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2113. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2114. RW.C0=clerp(RW.C0,cf(1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(-4)),.3)
  2115. LW.C0=clerp(LW.C0,cf(-1.4,0.5,-0.2)*angles(math.rad(20),math.rad(0),math.rad(4)),.3)
  2116. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2117. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2118. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2119. Handleweld.C0=clerp(Handleweld.C0,cf(2,20,-20)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2120. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2121. if torsy~=nil then
  2122. ghum.PlatformStand = true
  2123. torsy.CFrame = Gear.CFrame
  2124. end
  2125. end
  2126. torsy.Velocity = RootPart.CFrame.lookVector*100
  2127. coroutine.wrap(function()
  2128. local par,pos
  2129. repeat swait() par,pos = rayCast(torsy.Position,Vector3.new(0,-1,0),2,grab) until par
  2130. Damagefunc(torsy,"",15,20,0,"Normal",RootPart,0,1)
  2131. BlastEffect(BrickColor.new("White"),CFrame.new(pos),0,0,0,.5,.2,.5)
  2132. so(260430079,torsy,1,5)
  2133. swait(60)
  2134. ghum.PlatformStand = false
  2135. end)()
  2136. swait(60)
  2137. end
  2138. --dmgstop()
  2139. attack=false
  2140. con1:disconnect()
  2141. if TrailDeb == true then
  2142. TrailDeb = false
  2143. end
  2144. end
  2145.  
  2146. function rawr()
  2147. attack=true
  2148. Humanoid.WalkSpeed = 0
  2149. for i=0,1,0.05 do
  2150. swait()
  2151. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2152. Neck.C0=clerp(Neck.C0,necko*euler(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2153. LW.C0=clerp(LW.C0,cf(-1.2,0.5,.5)*euler(-30,0,-20),.3)
  2154. RW.C0=clerp(RW.C0,cf(1.2,0.5,.5)*euler(-30,0,20),.3)
  2155. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2156. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.3)
  2157. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(50),math.rad(0),math.rad(0)),.2)
  2158. Handleweld.C0=clerp(Handleweld.C0,cf(4,0,0)*angles(math.rad(0),math.rad(-30),math.rad(0)),.2)
  2159. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,0,0)*angles(math.rad(0),math.rad(30),math.rad(0)),.2)
  2160. end
  2161. so(150829983,DragonHead,.9,5)
  2162. for a=1,300 do
  2163. handleweld.C0 = cf(math.random(-5,5)/10,math.random(55,65)/10,math.random(65,75)/10)*angles(math.rad(50),math.rad(0),math.rad(0))
  2164. BlastEffect(BrickColor.new("White"),RootPart.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(0,math.random(-50,50),0),1,.2,1,2,0,2)
  2165. MagniDamage(Torso,"",30,1,1,5,"Knockdown",RootPart,.05,1)
  2166. swait()
  2167. end
  2168. attack = false
  2169. end
  2170.  
  2171. equipanim()
  2172.  
  2173. mouse.Button1Down:connect(function()
  2174. if attack==false and attacktype==1 then
  2175. attacktype=2
  2176. attackone()
  2177. elseif attack==false and attacktype==2 then
  2178. attacktype=3
  2179. attacktwo()
  2180. elseif attack==false and attacktype==3 then
  2181. attacktype=1
  2182. attackthree()
  2183. end
  2184. end)
  2185.  
  2186. mouse.KeyDown:connect(function(k)
  2187. k = k:lower()
  2188. if k=='m' then
  2189. if Character:FindFirstChild("moosick")~=nil then
  2190. if moosick.IsPlaying == true then
  2191. moosick:Stop()
  2192. elseif moosick.IsPaused == true then
  2193. moosick:Play()
  2194. end
  2195. elseif Character:FindFirstChild("moosick")==nil then
  2196. local moosick = Instance.new("Sound",Character)
  2197. moosick.Name = "moosick"
  2198. moosick.SoundId = "rbxassetid://608726256"
  2199. moosick.Looped = true
  2200. moosick.Volume = 1
  2201. moosick:Play()
  2202. end
  2203. end
  2204. if attack == false then
  2205. if k=='z' then
  2206. mudads()
  2207. elseif k=='x' then
  2208. smashdown()
  2209. elseif k=='c' then
  2210. laser()
  2211. elseif k=='v' then
  2212. smek()
  2213. elseif k=='b' then
  2214. yummy()
  2215. elseif k=='g' then
  2216. rawr()
  2217. end
  2218. end
  2219. end)
  2220.  
  2221. local sine = 0
  2222. local change = 1
  2223. local val = 0
  2224.  
  2225. local mananum=0
  2226. while true do
  2227. swait()
  2228. sine = sine + change
  2229. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2230. local velderp=RootPart.Velocity.y
  2231. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2232. if equipped==true or equipped==false then
  2233. --if Anim=="Idle" and attack==false then
  2234. --idle=idle+1
  2235. --else
  2236. --idle=0
  2237. --end
  2238. if idle>=1000 then
  2239. if attack==false then
  2240. --Sheath()
  2241. end
  2242. end
  2243. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2244. Anim="Jump"
  2245. if attack==false then
  2246. Footsteps:Stop()
  2247. Footsteps2:Stop()
  2248. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2249. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2250. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2251. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2252. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2253. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2254. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2255. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2256. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2257. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2258. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2259. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2260. end
  2261. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2262. Anim="Fall"
  2263. if attack==false then
  2264. Footsteps:Stop()
  2265. Footsteps2:Stop()
  2266. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2267. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2268. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2269. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2270. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2271. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2272. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2273. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2274. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2275. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2276. Handleweld.C0=clerp(Handleweld.C0,cf(4,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2277. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2278. end
  2279. elseif torvel<1 and hitfloor~=nil then
  2280. Anim="Idle"
  2281. change=0.5
  2282. if attack==false then
  2283. Footsteps:Stop()
  2284. Footsteps2:Stop()
  2285. Humanoid.WalkSpeed=12
  2286. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2287. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2288. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2289. 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)
  2290. 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)
  2291. 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)
  2292. 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)
  2293. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2294. Handleweld.C0=clerp(Handleweld.C0,cf(4-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)
  2295. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+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)
  2296. end
  2297. elseif torvel>2 and hitfloor~=nil then
  2298. Anim="Walk"
  2299. if attack==false then
  2300. change=1
  2301. --[[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)
  2302. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2303. 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)
  2304. 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)
  2305. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2306. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2307. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2308. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2309. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2310. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2311. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2312. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2313. RH.C0=clerp(RH.C0,RHC0,.3)
  2314. LH.C0=clerp(LH.C0,LHC0,.3)
  2315. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2316. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2317. ]]--
  2318. Humanoid.WalkSpeed=50
  2319. --Footsteps:Play()
  2320. --Footsteps2:Stop()
  2321. --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)
  2322. --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)
  2323. --Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2324. --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)
  2325. --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)
  2326. --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)
  2327. --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)
  2328. --handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),6-0.5*math.cos(sine/20),7)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2329. --Handleweld.C0=clerp(Handleweld.C0,cf(4-.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)
  2330. --Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.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)
  2331. --end
  2332. --elseif torvel>=22 and hitfloor~=nil then
  2333. --Anim="Run"
  2334. change=1
  2335. --if attack==false then
  2336. Footsteps:Stop()
  2337. Footsteps2:Play()
  2338. 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)
  2339. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2340. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2341. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2342. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2343. 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)
  2344. 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)
  2345. handleweld.C0=clerp(handleweld.C0,cf(0,6,7)*angles(math.rad(-5),math.rad(0),math.rad(0)),.2)
  2346. Handleweld.C0=clerp(Handleweld.C0,cf(4-.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)
  2347. Handle2weld.C0=clerp(Handle2weld.C0,cf(-4+.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)
  2348. end
  2349. end
  2350. end
  2351. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement