Advertisement
refrop

Splat dragon *noclip*squid*

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