Advertisement
MysteriousL

Big Sans

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