Advertisement
memberhero

Fixed Sin Dragon Screw You Creator

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