Time4Scripts

Untitled

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