Advertisement
ShadowTheSonicMetal1

Untitled

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