Advertisement
SansTheHackerYT

FE Sin Dragon Head.. (Laggy)

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