Advertisement
Guest User

Untitled

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