Advertisement
ZaGodlyNoob

Sin Dragon

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