Advertisement
13242

Untitled

Nov 27th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 131.92 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,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6. -- BurnLegion strikes again!
  7. --[[ Leaked by CLarramore ]]--
  8. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  9. -- I am now spreading this on
  10. -- You can now make ur edits with this
  11. -- ENTIRELY OPEN SOURCED!!!! YAY!
  12. -- 1337 views. l0l
  13. -- NightOwlAce dont kill me
  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.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. mana=0
  56. trispeed=1
  57. pathtrans=.7
  58. attackmode='none'
  59. local idle=0
  60. local Anim="Idle"
  61. local Effects={}
  62. local gun=false
  63. local shoot=false
  64. player=nil
  65. cloak=false
  66. lightcolor='Bright blue'
  67.  
  68. local Color1=Torso.BrickColor
  69.  
  70. local fengui=it("GuiMain")
  71. fengui.Parent=Player.PlayerGui
  72. fengui.Name="WeaponGUI"
  73. local fenframe=it("Frame")
  74. fenframe.Parent=fengui
  75. fenframe.BackgroundColor3=Color3.new(255,255,255)
  76. fenframe.BackgroundTransparency=1
  77. fenframe.BorderColor3=Color3.new(17,17,17)
  78. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  79. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  80. local fenbarmana1=it("TextLabel")
  81. fenbarmana1.Parent=fenframe
  82. fenbarmana1.Text=" "
  83. fenbarmana1.BackgroundTransparency=0
  84. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  85. fenbarmana1.SizeConstraint="RelativeXY"
  86. fenbarmana1.TextXAlignment="Center"
  87. fenbarmana1.TextYAlignment="Center"
  88. fenbarmana1.Position=UDim2.new(0,0,0,0)
  89. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  90. local fenbarmana2=it("TextLabel")
  91. fenbarmana2.Parent=fenframe
  92. fenbarmana2.Text=" "
  93. fenbarmana2.BackgroundTransparency=0
  94. fenbarmana2.BackgroundColor3=Torso.Color
  95. fenbarmana2.SizeConstraint="RelativeXY"
  96. fenbarmana2.TextXAlignment="Center"
  97. fenbarmana2.TextYAlignment="Center"
  98. fenbarmana2.Position=UDim2.new(0,0,0,0)
  99. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  100. local fenbarmana3=it("TextLabel")
  101. fenbarmana3.Parent=fenframe
  102. fenbarmana3.Text=" "
  103. fenbarmana3.BackgroundTransparency=0
  104. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  105. fenbarmana3.SizeConstraint="RelativeXY"
  106. fenbarmana3.TextXAlignment="Center"
  107. fenbarmana3.TextYAlignment="Center"
  108. fenbarmana3.Position=UDim2.new(0,0,0,0)
  109. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  110. local fenbarmana4=it("TextLabel")
  111. fenbarmana4.Parent=fenframe
  112. fenbarmana4.Text="Energy("..mana..")"
  113. fenbarmana4.BackgroundTransparency=1
  114. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  115. fenbarmana4.SizeConstraint="RelativeXY"
  116. fenbarmana4.TextXAlignment="Center"
  117. fenbarmana4.TextYAlignment="Center"
  118. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  119. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  120. fenbarmana4.FontSize="Size9"
  121. fenbarmana4.TextStrokeTransparency=0
  122. fenbarmana4.TextColor=BrickColor.new("White")
  123.  
  124. mouse=Player:GetMouse()
  125. --save shoulders
  126. RSH, LSH=nil, nil
  127. --welds
  128. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  129. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  130. LH=Torso["Left Hip"]
  131. RH=Torso["Right Hip"]
  132. TorsoColor=Torso.BrickColor
  133. function NoOutline(Part)
  134. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  135. end
  136. player=Player
  137. ch=Character
  138. RSH=ch.Torso["Right Shoulder"]
  139. LSH=ch.Torso["Left Shoulder"]
  140. --
  141. RSH.Parent=nil
  142. LSH.Parent=nil
  143. --
  144. RW.Name="Right Shoulder"
  145. RW.Part0=ch.Torso
  146. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  147. RW.C1=cf(0, 0.5, 0)
  148. RW.Part1=ch["Right Arm"]
  149. RW.Parent=ch.Torso
  150. --
  151. LW.Name="Left Shoulder"
  152. LW.Part0=ch.Torso
  153. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  154. LW.C1=cf(0, 0.5, 0)
  155. LW.Part1=ch["Left Arm"]
  156. LW.Parent=ch.Torso
  157.  
  158. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  159. local fp=it("Part")
  160. fp.formFactor=formfactor
  161. fp.Parent=parent
  162. fp.Reflectance=reflectance
  163. fp.Transparency=transparency
  164. fp.CanCollide=false
  165. fp.Locked=true
  166. fp.BrickColor=brickcolor
  167. fp.Name=name
  168. fp.Size=size
  169. fp.Position=Torso.Position
  170. NoOutline(fp)
  171. fp.Material="Neon"
  172. fp:BreakJoints()
  173. return fp
  174. end
  175.  
  176. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  177. local mesh=it(Mesh)
  178. mesh.Parent=part
  179. if Mesh=="SpecialMesh" then
  180. mesh.MeshType=meshtype
  181. if meshid~="nil" then
  182. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  183. end
  184. end
  185. mesh.Offset=offset
  186. mesh.Scale=scale
  187. return mesh
  188. end
  189.  
  190. function weld(parent,part0,part1,c0)
  191. local weld=it("Weld")
  192. weld.Parent=parent
  193. weld.Part0=part0
  194. weld.Part1=part1
  195. weld.C0=c0
  196. return weld
  197. end
  198.  
  199. local Color1=Torso.BrickColor
  200.  
  201. local bodvel=Instance.new("BodyVelocity")
  202. local bg=Instance.new("BodyGyro")
  203.  
  204. function swait(num)
  205. if num==0 or num==nil then
  206. game:service'RunService'.Stepped:wait(0)
  207. else
  208. for i=0,num do
  209. game:service'RunService'.Stepped:wait(0)
  210. end
  211. end
  212. end
  213.  
  214.  
  215. so = function(id,par,vol,pit)
  216. coroutine.resume(coroutine.create(function()
  217. local sou = Instance.new("Sound",par or workspace)
  218. sou.Volume=vol
  219. sou.Pitch=pit or 1
  220. sou.SoundId=id
  221. swait()
  222. sou:play()
  223. game:GetService("Debris"):AddItem(sou,6)
  224. end))
  225. end
  226.  
  227. function clerp(a,b,t)
  228. local qa = {QuaternionFromCFrame(a)}
  229. local qb = {QuaternionFromCFrame(b)}
  230. local ax, ay, az = a.x, a.y, a.z
  231. local bx, by, bz = b.x, b.y, b.z
  232. local _t = 1-t
  233. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  234. end
  235.  
  236. function QuaternionFromCFrame(cf)
  237. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  238. local trace = m00 + m11 + m22
  239. if trace > 0 then
  240. local s = math.sqrt(1 + trace)
  241. local recip = 0.5/s
  242. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  243. else
  244. local i = 0
  245. if m11 > m00 then
  246. i = 1
  247. end
  248. if m22 > (i == 0 and m00 or m11) then
  249. i = 2
  250. end
  251. if i == 0 then
  252. local s = math.sqrt(m00-m11-m22+1)
  253. local recip = 0.5/s
  254. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  255. elseif i == 1 then
  256. local s = math.sqrt(m11-m22-m00+1)
  257. local recip = 0.5/s
  258. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  259. elseif i == 2 then
  260. local s = math.sqrt(m22-m00-m11+1)
  261. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  262. end
  263. end
  264. end
  265.  
  266. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  267. local xs, ys, zs = x + x, y + y, z + z
  268. local wx, wy, wz = w*xs, w*ys, w*zs
  269. local xx = x*xs
  270. local xy = x*ys
  271. local xz = x*zs
  272. local yy = y*ys
  273. local yz = y*zs
  274. local zz = z*zs
  275. 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))
  276. end
  277.  
  278. function QuaternionSlerp(a, b, t)
  279. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  280. local startInterp, finishInterp;
  281. if cosTheta >= 0.0001 then
  282. if (1 - cosTheta) > 0.0001 then
  283. local theta = math.acos(cosTheta)
  284. local invSinTheta = 1/math.sin(theta)
  285. startInterp = math.sin((1-t)*theta)*invSinTheta
  286. finishInterp = math.sin(t*theta)*invSinTheta
  287. else
  288. startInterp = 1-t
  289. finishInterp = t
  290. end
  291. else
  292. if (1+cosTheta) > 0.0001 then
  293. local theta = math.acos(-cosTheta)
  294. local invSinTheta = 1/math.sin(theta)
  295. startInterp = math.sin((t-1)*theta)*invSinTheta
  296. finishInterp = math.sin(t*theta)*invSinTheta
  297. else
  298. startInterp = t-1
  299. finishInterp = t
  300. end
  301. end
  302. 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
  303. end
  304.  
  305. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  306. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  307. end
  308.  
  309. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  310. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  311. prt.Anchored=true
  312. prt.CFrame=cframe
  313. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  314. --http://www.roblox.com/asset/?id=4770560
  315. game:GetService("Debris"):AddItem(prt,2)
  316. CF=prt.CFrame
  317. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  318. for i=0,1,0.2 do
  319. wait()
  320. Part.CFrame=CF*cf(0,0,-0.4)
  321. end
  322. for i=0,1,delay do
  323. wait()
  324. --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)
  325. Mesh.Scale=Mesh.Scale
  326. end
  327. for i=0,1,0.1 do
  328. wait()
  329. Part.Transparency=i
  330. end
  331. Part.Parent=nil
  332. end),prt,msh,CF)
  333. end
  334.  
  335. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  336. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  337. prt.Anchored=true
  338. prt.CFrame=cframe
  339. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  340. game:GetService("Debris"):AddItem(prt,5)
  341. coroutine.resume(coroutine.create(function(Part,Mesh)
  342. for i=0,1,delay do
  343. wait()
  344. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  345. Part.Transparency=i
  346. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  347. end
  348. Part.Parent=nil
  349. end),prt,msh)
  350. end
  351.  
  352. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  353. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  354. prt.Anchored=false
  355. prt.CFrame=cframe
  356. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  357. local wld=weld(prt,prt,Parent,cframe)
  358. game:GetService("Debris"):AddItem(prt,5)
  359. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  360. for i=0,1,delay do
  361. wait()
  362. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  363. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  364. Part.Transparency=i
  365. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  366. end
  367. Part.Parent=nil
  368. end),prt,msh,wld)
  369. end
  370.  
  371. function MagicBlock3(brickcolor,cframe,Parent,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.Anchored=false
  374. prt.CFrame=cframe
  375. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  376. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  377. game:GetService("Debris"):AddItem(prt,5)
  378. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  379. for i=0,1,delay do
  380. wait()
  381. Weld.C0=euler(i*20,0,0)
  382. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  383. Part.Transparency=i
  384. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  385. end
  386. Part.Parent=nil
  387. end),prt,msh,wld)
  388. end
  389.  
  390. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  391. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  392. prt.Anchored=true
  393. prt.CFrame=cframe
  394. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  395. game:GetService("Debris"):AddItem(prt,2)
  396. coroutine.resume(coroutine.create(function(Part,Mesh)
  397. for i=0,1,delay do
  398. wait()
  399. Part.CFrame=Part.CFrame
  400. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  401. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  402. prt2.Anchored=true
  403. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  404. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  405. game:GetService("Debris"):AddItem(prt2,2)
  406. coroutine.resume(coroutine.create(function(Part,Mesh)
  407. for i=0,1,0.1 do
  408. wait()
  409. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  410. end
  411. Part.Parent=nil
  412. end),prt2,msh2)
  413. end
  414. for i=0,1,delay*2 do
  415. wait()
  416. Part.CFrame=Part.CFrame
  417. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  418. end
  419. Part.Parent=nil
  420. end),prt,msh)
  421. end
  422.  
  423. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  424. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  425. prt.Anchored=true
  426. prt.CFrame=cframe
  427. local msh=mesh("SpecialMesh",prt,"Sphere","",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,delay do
  431. wait()
  432. Part.CFrame=Part.CFrame
  433. Part.Transparency=i
  434. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  435. end
  436. Part.Parent=nil
  437. end),prt,msh)
  438. end
  439.  
  440. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  441. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  442. prt.Anchored=true
  443. prt.CFrame=cframe*euler(x2,y2,z2)
  444. --"http://www.roblox.com/asset/?id=168892465"
  445. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  446. game:GetService("Debris"):AddItem(prt,2)
  447. coroutine.resume(coroutine.create(function(Part,Mesh)
  448. for i=0,1,0.03 do
  449. wait()
  450. Part.CFrame=Part.CFrame
  451. Part.Transparency=i
  452. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  453. end
  454. Part.Parent=nil
  455. end),prt,msh)
  456. end
  457.  
  458. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  459. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  460. prt.Anchored=true
  461. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  462. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  463. game:GetService("Debris"):AddItem(prt,2)
  464. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  465. CF=Part.CFrame
  466. Numbb=0
  467. randnumb=math.random()/10
  468. rand1=math.random()/10
  469. for i=0,1,rand1 do
  470. wait()
  471. CF=CF*cf(0,math.random()/2,0)
  472. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  473. Part.CFrame=CF*euler(Numbb,0,0)
  474. Part.Transparency=i
  475. Numbb=Numbb+randnumb
  476. end
  477. Part.Parent=nil
  478. end),prt,CF,Numbb,randnumb)
  479. end
  480.  
  481. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  482. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  483. prt.Anchored=true
  484. prt.CFrame=cframe
  485. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  486. game:GetService("Debris"):AddItem(prt,5)
  487. coroutine.resume(coroutine.create(function(Part,Mesh)
  488. for i=0,1,delay do
  489. wait()
  490. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  491. Part.Transparency=i
  492. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  493. end
  494. Part.Parent=nil
  495. end),prt,msh)
  496. end
  497.  
  498. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  499. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  500. prt.Anchored=true
  501. prt.CFrame=cframe
  502. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  503. game:GetService("Debris"):AddItem(prt,2)
  504. coroutine.resume(coroutine.create(function(Part,Mesh)
  505. for i=0,1,delay do
  506. wait()
  507. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  508. Part.Transparency=i
  509. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  510. end
  511. Part.Parent=nil
  512. end),prt,msh)
  513. end
  514.  
  515. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  516. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  517. prt.Anchored=true
  518. prt.CFrame=cframe*cf(x,y,z)
  519. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  520. game:GetService("Debris"):AddItem(prt,5)
  521. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  522. local num=math.random()
  523. local num2=math.random(-3,2)+math.random()
  524. local numm=0
  525. for i=0,1,delay*2 do
  526. swait()
  527. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  528. Part.Transparency=i
  529. numm=numm+0.01
  530. end
  531. Part.Parent=nil
  532. Mesh.Parent=nil
  533. end),prt,msh,x,y,z)
  534. end
  535.  
  536. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  537. if hit.Parent==nil then
  538. return
  539. end
  540. h=hit.Parent:FindFirstChild("Humanoid")
  541. for _,v in pairs(hit.Parent:children()) do
  542. if v:IsA("Humanoid") then
  543. h=v
  544. end
  545. end
  546. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  547. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  548. end
  549. if hit.Parent.className=="Hat" then
  550. hit=hit.Parent.Parent:findFirstChild("Head")
  551. end
  552. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  553. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  554. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  555. return
  556. end]]
  557. -- hs(hit,1.2)
  558. c=Instance.new("ObjectValue")
  559. c.Name="creator"
  560. c.Value=game:service("Players").LocalPlayer
  561. c.Parent=h
  562. game:GetService("Debris"):AddItem(c,.5)
  563. Damage=math.random(minim,maxim)
  564. -- h:TakeDamage(Damage)
  565. blocked=false
  566. block=hit.Parent:findFirstChild("Block")
  567. if block~=nil then
  568. print(block.className)
  569. if block.className=="NumberValue" then
  570. if block.Value>0 then
  571. blocked=true
  572. if decreaseblock==nil then
  573. block.Value=block.Value-1
  574. end
  575. end
  576. end
  577. if block.className=="IntValue" then
  578. if block.Value>0 then
  579. blocked=true
  580. if decreaseblock~=nil then
  581. block.Value=block.Value-1
  582. end
  583. end
  584. end
  585. end
  586. if blocked==false then
  587. -- h:TakeDamage(Damage)
  588. h.Health=h.Health-Damage
  589. showDamage(hit.Parent,Damage,.5,TorsoColor)
  590. else
  591. h.Health=h.Health-(Damage/2)
  592. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  593. end
  594. if Type=="Knockdown" then
  595. hum=hit.Parent.Humanoid
  596. hum.PlatformStand=true
  597. coroutine.resume(coroutine.create(function(HHumanoid)
  598. swait(1)
  599. HHumanoid.PlatformStand=false
  600. end),hum)
  601. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  602. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  603. local bodvol=Instance.new("BodyVelocity")
  604. bodvol.velocity=angle*knockback
  605. bodvol.P=5000
  606. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  607. bodvol.Parent=hit
  608. rl=Instance.new("BodyAngularVelocity")
  609. rl.P=3000
  610. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  611. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  612. rl.Parent=hit
  613. game:GetService("Debris"):AddItem(bodvol,.5)
  614. game:GetService("Debris"):AddItem(rl,.5)
  615. elseif Type=="Normal" then
  616. vp=Instance.new("BodyVelocity")
  617. vp.P=500
  618. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  619. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  620. if KnockbackType==1 then
  621. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  622. elseif KnockbackType==2 then
  623. vp.velocity=Property.CFrame.lookVector*knockback
  624. end
  625. if knockback>0 then
  626. vp.Parent=hit.Parent.Torso
  627. end
  628. game:GetService("Debris"):AddItem(vp,.5)
  629. elseif Type=="Up" then
  630. local bodyVelocity=Instance.new("BodyVelocity")
  631. bodyVelocity.velocity=vt(0,10,0)
  632. bodyVelocity.P=1000
  633. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  634. bodyVelocity.Parent=hit
  635. game:GetService("Debris"):AddItem(bodyVelocity,1)
  636. rl=Instance.new("BodyAngularVelocity")
  637. rl.P=3000
  638. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  639. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  640. rl.Parent=hit
  641. game:GetService("Debris"):AddItem(rl,.5)
  642. elseif Type=="Snare" then
  643. bp=Instance.new("BodyPosition")
  644. bp.P=2000
  645. bp.D=100
  646. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  647. bp.position=hit.Parent.Torso.Position
  648. bp.Parent=hit.Parent.Torso
  649. game:GetService("Debris"):AddItem(bp,1)
  650. elseif Type=="Target" then
  651. if Targetting==false then
  652. ZTarget=hit.Parent.Torso
  653. coroutine.resume(coroutine.create(function(Part)
  654. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  655. swait(5)
  656. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  657. end),ZTarget)
  658. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  659. targetgui=Instance.new("BillboardGui")
  660. targetgui.Parent=ZTarget
  661. targetgui.Size=UDim2.new(10,100,10,100)
  662. targ=Instance.new("ImageLabel")
  663. targ.Parent=targetgui
  664. targ.BackgroundTransparency=1
  665. targ.Image="rbxassetid://4834067"
  666. targ.Size=UDim2.new(1,0,1,0)
  667. cam.CameraType="Scriptable"
  668. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  669. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  670. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  671. Targetting=true
  672. RocketTarget=ZTarget
  673. for i=1,Property do
  674. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  675. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  676. swait()
  677. end
  678. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  679. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  680. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  681. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  682. end
  683. Targetting=false
  684. RocketTarget=nil
  685. targetgui.Parent=nil
  686. cam.CameraType="Custom"
  687. end
  688. end
  689. debounce=Instance.new("BoolValue")
  690. debounce.Name="DebounceHit"
  691. debounce.Parent=hit.Parent
  692. debounce.Value=true
  693. game:GetService("Debris"):AddItem(debounce,Delay)
  694. c=Instance.new("ObjectValue")
  695. c.Name="creator"
  696. c.Value=Player
  697. c.Parent=h
  698. game:GetService("Debris"):AddItem(c,.5)
  699. CRIT=false
  700. hitDeb=true
  701. AttackPos=6
  702. end
  703. end
  704.  
  705. showDamage=function(Char,Dealt,du,Color)
  706. m=Instance.new("Model")
  707. m.Name=tostring(Dealt)
  708. h=Instance.new("Humanoid")
  709. h.Health=0
  710. h.MaxHealth=0
  711. h.Parent=m
  712. c=Instance.new("Part")
  713. c.Transparency=0
  714. c.BrickColor=TorsoColor
  715. c.Name="Head"
  716. c.TopSurface=0
  717. c.BottomSurface=0
  718. c.formFactor="Plate"
  719. c.Size=Vector3.new(1,.4,1)
  720. ms=Instance.new("CylinderMesh")
  721. ms.Scale=Vector3.new(.8,.8,.8)
  722. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  723. if CRIT==true then
  724. ms.Scale=Vector3.new(1,1.25,1)
  725. end
  726. ms.Parent=c
  727. c.Reflectance=0
  728. Instance.new("BodyGyro").Parent=c
  729. c.Parent=m
  730. if Char:findFirstChild("Head")~=nil then
  731. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  732. elseif Char.Parent:findFirstChild("Head")~=nil then
  733. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  734. end
  735. f=Instance.new("BodyPosition")
  736. f.P=2000
  737. f.D=100
  738. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  739. f.position=c.Position+Vector3.new(0,3,0)
  740. f.Parent=c
  741. game:GetService("Debris"):AddItem(m,.5+du)
  742. c.CanCollide=false
  743. m.Parent=workspace
  744. c.CanCollide=false
  745. end
  746.  
  747. Player=game:GetService('Players').LocalPlayer
  748. Character=Player.Character
  749. Mouse=Player:GetMouse()
  750. m=Instance.new('Model',Character)
  751.  
  752.  
  753. local function weldBetween(a, b)
  754. local weldd = Instance.new("ManualWeld")
  755. weldd.Part0 = a
  756. weldd.Part1 = b
  757. weldd.C0 = CFrame.new()
  758. weldd.C1 = b.CFrame:inverse() * a.CFrame
  759. weldd.Parent = a
  760. return weldd
  761. end
  762.  
  763. it=Instance.new
  764.  
  765. function nooutline(part)
  766. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  767. end
  768.  
  769. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  770. local fp=it("Part")
  771. fp.formFactor=formfactor
  772. fp.Parent=parent
  773. fp.Reflectance=reflectance
  774. fp.Transparency=transparency
  775. fp.CanCollide=false
  776. fp.Locked=true
  777. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  778. fp.Name=name
  779. fp.Size=size
  780. fp.Position=Character.Torso.Position
  781. nooutline(fp)
  782. fp.Material=material
  783. fp:BreakJoints()
  784. return fp
  785. end
  786.  
  787. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  788. local mesh=it(Mesh)
  789. mesh.Parent=part
  790. if Mesh=="SpecialMesh" then
  791. mesh.MeshType=meshtype
  792. mesh.MeshId=meshid
  793. end
  794. mesh.Offset=offset
  795. mesh.Scale=scale
  796. return mesh
  797. end
  798.  
  799. function weld(parent,part0,part1,c0,c1)
  800. local weld=it("Weld")
  801. weld.Parent=parent
  802. weld.Part0=part0
  803. weld.Part1=part1
  804. weld.C0=c0
  805. weld.C1=c1
  806. return weld
  807. end
  808.  
  809. local modelzorz=Instance.new("Model")
  810. modelzorz.Parent=Character
  811. modelzorz.Name="Claw1"
  812.  
  813. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  814. 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))
  815. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  816. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  817. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  818. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  819. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0205993652, 3.97038841, -4.62090921, -0.999998689, 2.810359e-005, -0.00163501501, 0.00158691406, 0.25815019, -0.966103554, 0.0003949448, -0.966104805, -0.258149862))
  820. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  822. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.18639517, -0.292996764, 3.91572571, -0.407002717, 0.123095758, -0.905094743, -0.483149111, -0.869928718, 0.098949343, -0.775187671, 0.477568328, 0.413536996))
  823. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  824. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.62196398, -0.29297936, 1.11572647, -0.835932732, 0.424737811, -0.347583354, -0.483153641, -0.869926155, 0.0989501327, -0.260344028, 0.250651836, 0.932413459))
  825. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  826. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.55920649, -0.210347176, 1.642519, -0.865201712, -0.000320911407, -0.501423895, -2.98991799e-005, -0.999999881, 0.000691637397, -0.501424074, 0.000613339245, 0.865201592))
  827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  828. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.931638, -0.0751047134, 4.50077248, -0.352038473, 0.176153034, -0.919260144, -0.86644727, -0.432817101, 0.248874903, -0.354031444, 0.884103954, 0.304995537))
  829. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  830. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.34771347, -0.763819337, 1.31078529, 0.484322906, -0.259408951, -0.835546851, 0.129806682, 0.965767562, -0.224595979, 0.865206063, 0.000317394733, 0.501416266))
  831. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  832. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  833. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  834. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.76954031, -0.210381031, 4.2438035, -0.257231236, -0.00066010654, -0.966349661, -3.04505229e-005, -0.999999762, 0.000691249967, -0.966350019, 0.000207226723, 0.257231265))
  835. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  836. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.87043977, 0.020611763, 4.62094831, 0.00159165263, 0.258152187, -0.966103137, -0.999998748, 2.89455056e-005, -0.00163969398, -0.000395349402, 0.966104329, 0.258151829))
  837. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  838. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.292981744, 4.28636312, -3.9157095, -0.48314926, -0.869928479, 0.0989517197, -0.407004297, 0.123094313, -0.905094087, 0.775186777, -0.477569282, -0.413537562))
  839. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  840. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  841. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.85442352, -0.763632059, 3.85966015, -0.269319534, -0.183654502, -0.945377231, 0.129806384, 0.96576786, -0.22459501, 0.954262853, -0.183203816, -0.236260682))
  842. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  843. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  844. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  845. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  846. Gearweld=weld(m,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))
  847. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  848. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  849. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.210398674, 3.86948943, -4.24380398, -3.15159559e-005, -0.999999881, 0.00069090724, -0.257231474, -0.000659480691, -0.966349721, 0.966349959, -0.000208158046, -0.257231474))
  850. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  851. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  852. Partweld=weld(m,Handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.763661504, 3.95439076, 3.85964441, -0.129806131, -0.965767682, 0.224596098, -0.269319892, -0.1836555, -0.945376873, 0.954262733, -0.183203891, -0.236260891))
  853. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  854.  
  855. local modelzorz2=Instance.new("Model")
  856. modelzorz2.Parent=Character
  857. modelzorz2.Name="Claw2"
  858.  
  859. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  860. Handle2weld=weld(m,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))
  861. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  862. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  863. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.66774845, 0.445008755, 1.50737095, 0.749997497, 0.500002265, -0.433014721, -0.433012635, 0.866024196, 0.250004709, 0.500004232, -2.02655792e-006, 0.866023183))
  864. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  865. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  866. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  867. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.24143982, 0.288818121, 3.98402214, 0.123706907, 0.408494055, -0.904339194, -0.870007515, 0.482966691, 0.0991476029, 0.477266878, 0.774516642, 0.415139139))
  868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  869. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.288883209, 4.34139919, -3.98407936, -0.870006502, 0.482969046, 0.099145025, 0.123710275, 0.408492953, -0.904339135, -0.477267861, -0.774515808, -0.415139765))
  870. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  872. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.377311707, 3.81443644, -4.17874861, 1.43051147e-006, 1.00000012, 5.58793545e-006, 0.258813858, 5.02169132e-006, -0.965927303, -0.965927362, 2.82377005e-006, -0.258813858))
  873. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  875. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  877. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  878. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  880. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.71447492, 0.377288342, 4.1787672, 0.258815825, 7.89761543e-007, -0.965926647, 2.11596489e-006, 1.00000012, 1.35600567e-006, 0.965926886, -2.41398811e-006, 0.258815885))
  881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  882. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.452456236, 4.21090841, 3.33576679, -0.124996543, 0.949091196, -0.289140046, 0.214267105, -0.25872606, -0.941886783, -0.968744338, -0.179685771, -0.171019137))
  883. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  884. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  885. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.94182658, 0.445016861, 4.22507095, 0.176774979, 0.353554398, -0.918558657, -0.433007926, 0.866026998, 0.250003278, 0.883886337, 0.353548825, 0.306183696))
  886. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  887. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.256506443, 3.92671657, -4.59811449, -1.00000024, 2.62260437e-006, 1.4603138e-006, -7.4505806e-007, 0.258819073, -0.965925872, -2.89268792e-006, -0.965925932, -0.258819073))
  888. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  889. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  890. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.4743073, 0.377253056, 1.63544273, 0.866023183, -4.61935997e-007, -0.500004172, 1.52736902e-006, 1.00000012, 1.65402889e-006, 0.500004232, -2.21282244e-006, 0.866023183))
  891. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  892. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.15870619, 0.452619314, 0.758959055, -0.533491194, -0.310006529, -0.786945462, 0.124997422, -0.949090362, 0.289142251, -0.836518347, 0.0558886975, 0.545081377))
  893. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  894. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.84976673, 0.256440639, 1.85214663, 6.2584877e-007, 0.866025329, -0.500000298, -1.00000024, 1.72108412e-006, 1.7285347e-006, 2.38418579e-006, 0.500000298, 0.866025329))
  895. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  896. Gear2weld=weld(m,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))
  897. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  898. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  899. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(2.82676554, 0.256523609, 4.598104, -1.1920929e-006, 0.258818835, -0.965925872, -1.00000012, 1.46776438e-006, 1.63912773e-006, 1.83098018e-006, 0.965925872, 0.258818835))
  900.  
  901. local modelzorz3=Instance.new("Model")
  902. modelzorz3.Parent=Character
  903. modelzorz3.Name="Eye"
  904.  
  905. handle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  906. handleweld=weld(m,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))
  907. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  909. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  910. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 0.950000048, 1.16999996))
  911. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  912. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 1.09672546e-005, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  913. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1.102, 3, 0.863999963))
  914. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  915. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  916. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.77400017, 4.96199989, 4.73800039))
  917. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  918. Partweld=weld(m,handle,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0999984741, 0, -0.100000381, 0, -1, 0, 0, 0, 1, -1, -0, 0))
  919. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(4.4920001, 4.70400047, 4.73800039))
  920. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  921. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.48671532, -1.09328079, 1, -2.52891718e-012, -6.81310423e-013, 2.53075664e-012, 0.866021812, 0.500005603, -6.74442273e-013, -0.500005603, 0.866021752))
  922. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  923. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100009918, -3.09970522, 1.40989685, 1, 0, 0, 0, 1, 0, 0, 0, 1))
  924. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  925. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100009918, -3.09970522, 1.39007568, -0.999999702, 0, 5.96046448e-008, 0, 1, 0, -5.96046448e-008, 0, -0.999999702))
  926. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  927. Wedgeweld=weld(m,handle,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100013733, -3.61302567, 0.360752106, 1, -3.69486299e-012, 1.70532143e-012, 3.81851625e-012, 0.707111537, -0.707102001, 1.40679254e-012, 0.70710206, 0.707111537))
  928. local moosick = it("Sound",Character)
  929. moosick.SoundId = "rbxassetid://142653441"
  930. --142653441, 175067863
  931. moosick.Looped = true
  932. moosick.Pitch = 1
  933. moosick.Volume = 0
  934. moosick:Play()
  935.  
  936. anim = Character:findFirstChild("Animate")
  937. if anim then
  938. anim:Destroy()
  939. end
  940.  
  941. local particleemitter = Instance.new("ParticleEmitter", Handle)
  942. particleemitter.VelocitySpread = 180
  943. particleemitter.Lifetime = NumberRange.new(0.1)
  944. particleemitter.Speed = NumberRange.new(2)
  945. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  946. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  947. particleemitter.Rate = 100
  948. particleemitter.Rotation = NumberRange.new(-45, 45)
  949. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  950. particleemitter.LightEmission = 0
  951. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  952.  
  953. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  954. particleemitter.VelocitySpread = 180
  955. particleemitter.Lifetime = NumberRange.new(0.1)
  956. particleemitter.Speed = NumberRange.new(2)
  957. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  958. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  959. particleemitter.Rate = 100
  960. particleemitter.Rotation = NumberRange.new(-45, 45)
  961. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  962. particleemitter.LightEmission = 0
  963. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  964.  
  965. local particleemitter = Instance.new("ParticleEmitter", handle)
  966. particleemitter.VelocitySpread = 180
  967. particleemitter.Lifetime = NumberRange.new(0.1)
  968. particleemitter.Speed = NumberRange.new(2)
  969. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  970. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  971. particleemitter.Rate = 100
  972. particleemitter.Rotation = NumberRange.new(-45, 45)
  973. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  974. particleemitter.LightEmission = 0.8
  975. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  976.  
  977. local light = Instance.new("PointLight", Character.Torso)
  978. light.Color = Color3.new(255,255,255)
  979. light.Brightness = 5
  980. light.Range = 15
  981.  
  982. particleemitter.Enabled = true
  983.  
  984. local Footsteps = it("Sound",Character.Torso)
  985. Footsteps.SoundId = "rbxassetid://142665235"
  986. Footsteps.Looped = true
  987. Footsteps.Pitch = 0.8
  988. Footsteps.Volume = 0.3
  989.  
  990. local Footsteps2 = it("Sound",Character.Torso)
  991. Footsteps2.SoundId = "rbxassetid://142665235"
  992. Footsteps2.Looped = true
  993. Footsteps2.Pitch = 1
  994. Footsteps2.Volume = 0.4
  995.  
  996. local cam = game.Workspace.CurrentCamera
  997.  
  998. --cam.CameraSubject = Character
  999.  
  1000. for i,v in pairs(Head:children()) do
  1001. if v:IsA("Sound") then
  1002. v:Destroy()
  1003. end
  1004. end
  1005.  
  1006. mouse.Button1Down:connect(function()
  1007. if attack==false and attacktype==1 then
  1008. attacktype=2
  1009. attackone()
  1010. elseif attack==false and attacktype==2 then
  1011. attacktype=3
  1012. attacktwo()
  1013. elseif attack==false and attacktype==3 then
  1014. attacktype=4
  1015. attackthree()
  1016. elseif attack==false and attacktype==4 then
  1017. attacktype=1
  1018. attackfour()
  1019. end
  1020. end)
  1021.  
  1022. mouse.KeyDown:connect(function(k)
  1023. k=k:lower()
  1024. if k=='e' then
  1025. if attack==false and mana>=20 then
  1026. Push()
  1027. end
  1028. elseif k=='g' then
  1029. if attack==false and mana>=50 then
  1030. Twirl()
  1031. end
  1032. elseif k=='v' then
  1033. if attack==false and mana>=25 then
  1034. MagicJump()
  1035. end
  1036. elseif k=='q' then
  1037. if attack==false then
  1038. idle=1000
  1039. end
  1040. elseif k=='h' then
  1041. if attack==false then
  1042. mana=100
  1043. end
  1044. elseif k=='y' then
  1045. if attack==false and mana>=100 then
  1046. Shred()
  1047. end
  1048. elseif k=='f' then
  1049. if attack==false and mana>=40 then
  1050. Spin()
  1051. end
  1052. elseif k=='r' then
  1053. if attack==false and mana>=20 then
  1054. Clap()
  1055. end
  1056. elseif k=='t' then
  1057. if attack==false then
  1058. Hai()
  1059. end
  1060. elseif k=='0' then
  1061. if attack==false then
  1062. Humanoid.WalkSpeed=(24)
  1063. end
  1064. elseif k=='j' then
  1065. if attack==false then
  1066. Humanoid.Health = 10
  1067. print("Congrats, you commited suicide.")
  1068. end
  1069. end
  1070. end)
  1071.  
  1072. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1073. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1074. prt.Anchored=true
  1075. prt.CFrame=cframe
  1076. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1077. game:GetService("Debris"):AddItem(prt,2)
  1078. coroutine.resume(coroutine.create(function(Part,Mesh)
  1079. for i=0,1,delay do
  1080. wait()
  1081. Part.CFrame=Part.CFrame
  1082. Part.Transparency=i
  1083. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1084. end
  1085. Part.Parent=nil
  1086. end),prt,msh)
  1087. end
  1088.  
  1089. TrailDeb = false
  1090.  
  1091. function equipanim()
  1092. attack=true
  1093. Humanoid.WalkSpeed = 0
  1094. if TrailDeb == false then
  1095. TrailDeb = true
  1096. end
  1097.  
  1098.  
  1099. coroutine.wrap(function()
  1100. local Old = handle.CFrame.p
  1101. while wait()do
  1102. if not TrailDeb then break end
  1103. local New = handle.CFrame.p
  1104. local Mag =(Old -New).magnitude
  1105. local Dis =(Old +New)/2
  1106. local Trail = Instance.new("Part",Character)
  1107. Trail.Material = "Neon"
  1108. Trail.Anchored = true
  1109. Trail.CanCollide = false
  1110. Trail.BrickColor = TorsoColor
  1111. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1112. Trail.TopSurface = 0
  1113. Trail.BottomSurface = 0
  1114. Trail.formFactor = "Custom"
  1115. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1116. local ms = Instance.new("BlockMesh",Trail)
  1117. ms.Scale = Vector3.new(1,1,1)
  1118. local TM = Instance.new("CylinderMesh",Trail)
  1119. TM.Scale = Vector3.new(1,1,1)
  1120. Old = New
  1121. coroutine.wrap(function()
  1122. for i = 1,0,-0.1 do
  1123. wait()
  1124. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1125. end
  1126. Trail:remove()
  1127. end)()
  1128. coroutine.wrap(function()
  1129. for i = 1,10 do
  1130. wait()
  1131. Trail.Transparency = Trail.Transparency +0.1
  1132. end end)()end end)()
  1133. coroutine.wrap(function()
  1134. local Old = Handle.CFrame.p
  1135. while wait()do
  1136. if not TrailDeb then break end
  1137. local New = Handle.CFrame.p
  1138. local Mag =(Old -New).magnitude
  1139. local Dis =(Old +New)/2
  1140. local Trail = Instance.new("Part",Character)
  1141. Trail.Material = "Neon"
  1142. Trail.Anchored = true
  1143. Trail.CanCollide = false
  1144. Trail.BrickColor = TorsoColor
  1145. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1146. Trail.TopSurface = 0
  1147. Trail.BottomSurface = 0
  1148. Trail.formFactor = "Custom"
  1149. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1150. local ms = Instance.new("BlockMesh",Trail)
  1151. ms.Scale = Vector3.new(1,1,1)
  1152. local TM = Instance.new("CylinderMesh",Trail)
  1153. TM.Scale = Vector3.new(1,1,1)
  1154. Old = New
  1155. coroutine.wrap(function()
  1156. for i = 1,0,-0.1 do
  1157. wait()
  1158. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1159. end
  1160. Trail:remove()
  1161. end)()
  1162. coroutine.wrap(function()
  1163. for i = 1,10 do
  1164. wait()
  1165. Trail.Transparency = Trail.Transparency +0.1
  1166. end end)()end end)()
  1167. coroutine.wrap(function()
  1168. local Old = Handle2.CFrame.p
  1169. while wait()do
  1170. if not TrailDeb then break end
  1171. local New = Handle2.CFrame.p
  1172. local Mag =(Old -New).magnitude
  1173. local Dis =(Old +New)/2
  1174. local Trail = Instance.new("Part",Character)
  1175. Trail.Material = "Neon"
  1176. Trail.Anchored = true
  1177. Trail.CanCollide = false
  1178. Trail.BrickColor = TorsoColor
  1179. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1180. Trail.TopSurface = 0
  1181. Trail.BottomSurface = 0
  1182. Trail.formFactor = "Custom"
  1183. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1184. local ms = Instance.new("BlockMesh",Trail)
  1185. ms.Scale = Vector3.new(1,1,1)
  1186. local TM = Instance.new("CylinderMesh",Trail)
  1187. TM.Scale = Vector3.new(1,1,1)
  1188. Old = New
  1189. coroutine.wrap(function()
  1190. for i = 1,0,-0.1 do
  1191. wait()
  1192. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1193. end
  1194. Trail:remove()
  1195. end)()
  1196. coroutine.wrap(function()
  1197. for i = 1,10 do
  1198. wait()
  1199. Trail.Transparency = Trail.Transparency +0.1
  1200. end end)()end end)()
  1201. so("http://www.roblox.com/asset/?id=200632370",Torso,1,0.5)
  1202. for i=0,1,0.005 do
  1203. swait()
  1204. moosick.Volume = 0+1*i
  1205. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1206. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1207. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1208. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1209. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1210. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1211. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1212. end
  1213. for i=0,1,0.005 do
  1214. swait()
  1215. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1216. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1217. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1218. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1219. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1220. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1221. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1222. end
  1223. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1224. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1225. for i=0,1,0.005 do
  1226. swait()
  1227. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1228. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1229. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1230. Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1231. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1232. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1233. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1234. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1235. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1236. end
  1237. for i=0,1,0.04 do
  1238. swait()
  1239. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1240. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1241. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1242. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1243. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1244. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1245. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0,1.57,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1246. LH.C0=clerp(LH.C0,cf(-1,0.5,0)*euler(0,-1.57,0)*angles(math.rad(-10),math.rad(30),math.rad(-40)),.3)
  1247. end
  1248. --dmgstop()
  1249. attack=false
  1250. Humanoid.WalkSpeed = 12
  1251. if TrailDeb == true then
  1252. TrailDeb = false
  1253. end
  1254. end
  1255.  
  1256. function attackone()
  1257. attack=true
  1258. if TrailDeb == false then
  1259. TrailDeb = true
  1260. end
  1261.  
  1262.  
  1263. coroutine.wrap(function()
  1264. local Old = Handle.CFrame.p
  1265. while wait()do
  1266. if not TrailDeb then break end
  1267. local New = Handle.CFrame.p
  1268. local Mag =(Old -New).magnitude
  1269. local Dis =(Old +New)/2
  1270. local Trail = Instance.new("Part",Character)
  1271. Trail.Material = "Neon"
  1272. Trail.Anchored = true
  1273. Trail.CanCollide = false
  1274. Trail.BrickColor = TorsoColor
  1275. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1276. Trail.TopSurface = 0
  1277. Trail.BottomSurface = 0
  1278. Trail.formFactor = "Custom"
  1279. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1280. local ms = Instance.new("BlockMesh",Trail)
  1281. ms.Scale = Vector3.new(1,1,1)
  1282. local TM = Instance.new("CylinderMesh",Trail)
  1283. TM.Scale = Vector3.new(1,1,1)
  1284. Old = New
  1285. coroutine.wrap(function()
  1286. for i = 1,0,-0.1 do
  1287. wait()
  1288. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1289. end
  1290. Trail:remove()
  1291. end)()
  1292. coroutine.wrap(function()
  1293. for i = 1,10 do
  1294. wait()
  1295. Trail.Transparency = Trail.Transparency +0.1
  1296. end end)()end end)()
  1297. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1298. for i=0,1,0.08 do
  1299. swait()
  1300. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1302. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1303. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1304. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1305. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1306. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1307. end
  1308. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1309. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1310. for i=0,1,0.1 do
  1311. swait()
  1312. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1313. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1314. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1315. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1316. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1317. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1318. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1319. end
  1320. --dmgstop()
  1321. attack=false
  1322. con1:disconnect()
  1323. if TrailDeb == true then
  1324. TrailDeb = false
  1325. end
  1326. end
  1327.  
  1328. function attacktwo()
  1329. attack=true
  1330. if TrailDeb == false then
  1331. TrailDeb = true
  1332. end
  1333.  
  1334.  
  1335. coroutine.wrap(function()
  1336. local Old = Handle2.CFrame.p
  1337. while wait()do
  1338. if not TrailDeb then break end
  1339. local New = Handle2.CFrame.p
  1340. local Mag =(Old -New).magnitude
  1341. local Dis =(Old +New)/2
  1342. local Trail = Instance.new("Part",Character)
  1343. Trail.Material = "Neon"
  1344. Trail.Anchored = true
  1345. Trail.CanCollide = false
  1346. Trail.BrickColor = TorsoColor
  1347. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1348. Trail.TopSurface = 0
  1349. Trail.BottomSurface = 0
  1350. Trail.formFactor = "Custom"
  1351. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1352. local ms = Instance.new("BlockMesh",Trail)
  1353. ms.Scale = Vector3.new(1,1,1)
  1354. local TM = Instance.new("CylinderMesh",Trail)
  1355. TM.Scale = Vector3.new(1,1,1)
  1356. Old = New
  1357. coroutine.wrap(function()
  1358. for i = 1,0,-0.1 do
  1359. wait()
  1360. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1361. end
  1362. Trail:remove()
  1363. end)()
  1364. coroutine.wrap(function()
  1365. for i = 1,10 do
  1366. wait()
  1367. Trail.Transparency = Trail.Transparency +0.1
  1368. end end)()end end)()
  1369. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1370. for i=0,1,0.08 do
  1371. swait()
  1372. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1373. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1374. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1375. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  1376. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1377. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  1378. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1379. end
  1380. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  1381. so("http://www.roblox.com/asset/?id=159972627",Torso,1,1)
  1382. for i=0,1,0.1 do
  1383. swait()
  1384. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1385. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  1386. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1387. Handle2weld.C0=clerp(Handle2weld.C0,cf(10,1,-5)*angles(math.rad(0),math.rad(-80),math.rad(20)),.2)
  1388. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1389. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1390. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-2),math.rad(-25),math.rad(15)),.3)
  1391. end
  1392. --dmgstop()
  1393. attack=false
  1394. con1:disconnect()
  1395. if TrailDeb == true then
  1396. TrailDeb = false
  1397. end
  1398. end
  1399.  
  1400. function attackthree()
  1401. attack=true
  1402. if TrailDeb == false then
  1403. TrailDeb = true
  1404. end
  1405.  
  1406.  
  1407. coroutine.wrap(function()
  1408. local Old = Handle.CFrame.p
  1409. while wait()do
  1410. if not TrailDeb then break end
  1411. local New = Handle.CFrame.p
  1412. local Mag =(Old -New).magnitude
  1413. local Dis =(Old +New)/2
  1414. local Trail = Instance.new("Part",Character)
  1415. Trail.Material = "Neon"
  1416. Trail.Anchored = true
  1417. Trail.CanCollide = false
  1418. Trail.BrickColor = TorsoColor
  1419. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1420. Trail.TopSurface = 0
  1421. Trail.BottomSurface = 0
  1422. Trail.formFactor = "Custom"
  1423. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1424. local ms = Instance.new("BlockMesh",Trail)
  1425. ms.Scale = Vector3.new(1,1,1)
  1426. local TM = Instance.new("CylinderMesh",Trail)
  1427. TM.Scale = Vector3.new(1,1,1)
  1428. Old = New
  1429. coroutine.wrap(function()
  1430. for i = 1,0,-0.1 do
  1431. wait()
  1432. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1433. end
  1434. Trail:remove()
  1435. end)()
  1436. coroutine.wrap(function()
  1437. for i = 1,10 do
  1438. wait()
  1439. Trail.Transparency = Trail.Transparency +0.1
  1440. end end)()end end)()
  1441. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1442. for i=0,1,0.08 do
  1443. swait()
  1444. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1446. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1447. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1448. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1449. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1450. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1451. end
  1452. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1453. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1454. for i=0,1,0.05 do
  1455. swait()
  1456. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1457. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1458. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1459. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1460. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1461. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1462. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1463. end
  1464. --dmgstop()
  1465. attack=false
  1466. con1:disconnect()
  1467. if TrailDeb == true then
  1468. TrailDeb = false
  1469. end
  1470. end
  1471.  
  1472. function attackfour()
  1473. attack=true
  1474. if TrailDeb == false then
  1475. TrailDeb = true
  1476. end
  1477.  
  1478.  
  1479. coroutine.wrap(function()
  1480. local Old = Handle2.CFrame.p
  1481. while wait()do
  1482. if not TrailDeb then break end
  1483. local New = Handle2.CFrame.p
  1484. local Mag =(Old -New).magnitude
  1485. local Dis =(Old +New)/2
  1486. local Trail = Instance.new("Part",Character)
  1487. Trail.Material = "Neon"
  1488. Trail.Anchored = true
  1489. Trail.CanCollide = false
  1490. Trail.BrickColor = TorsoColor
  1491. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1492. Trail.TopSurface = 0
  1493. Trail.BottomSurface = 0
  1494. Trail.formFactor = "Custom"
  1495. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1496. local ms = Instance.new("BlockMesh",Trail)
  1497. ms.Scale = Vector3.new(1,1,1)
  1498. local TM = Instance.new("CylinderMesh",Trail)
  1499. TM.Scale = Vector3.new(1,1,1)
  1500. Old = New
  1501. coroutine.wrap(function()
  1502. for i = 1,0,-0.1 do
  1503. wait()
  1504. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1505. end
  1506. Trail:remove()
  1507. end)()
  1508. coroutine.wrap(function()
  1509. for i = 1,10 do
  1510. wait()
  1511. Trail.Transparency = Trail.Transparency +0.1
  1512. end end)()end end)()
  1513. coroutine.wrap(function()
  1514. local Old = Handle.CFrame.p
  1515. while wait()do
  1516. if not TrailDeb then break end
  1517. local New = Handle.CFrame.p
  1518. local Mag =(Old -New).magnitude
  1519. local Dis =(Old +New)/2
  1520. local Trail = Instance.new("Part",Character)
  1521. Trail.Material = "Neon"
  1522. Trail.Anchored = true
  1523. Trail.CanCollide = false
  1524. Trail.BrickColor = TorsoColor
  1525. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1526. Trail.TopSurface = 0
  1527. Trail.BottomSurface = 0
  1528. Trail.formFactor = "Custom"
  1529. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1530. local ms = Instance.new("BlockMesh",Trail)
  1531. ms.Scale = Vector3.new(1,1,1)
  1532. local TM = Instance.new("CylinderMesh",Trail)
  1533. TM.Scale = Vector3.new(1,1,1)
  1534. Old = New
  1535. coroutine.wrap(function()
  1536. for i = 1,0,-0.1 do
  1537. wait()
  1538. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1539. end
  1540. Trail:remove()
  1541. end)()
  1542. coroutine.wrap(function()
  1543. for i = 1,10 do
  1544. wait()
  1545. Trail.Transparency = Trail.Transparency +0.1
  1546. end end)()end end)()
  1547. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1548. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1549. for i=0,1,0.08 do
  1550. swait()
  1551. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1552. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1553. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1554. Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1555. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1556. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1557. 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)
  1558. 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)
  1559. end
  1560. if anim then
  1561. anim.Disabled=true
  1562. end
  1563. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1564. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1565. for i=0,1,0.04 do
  1566. swait()
  1567. Torso.Velocity=RootPart.CFrame.lookVector*50
  1568. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1569. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1570. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1571. Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1572. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1573. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1574. 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)
  1575. 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)
  1576. end
  1577. --dmgstop()
  1578. attack=false
  1579. con1:disconnect()
  1580. con2:disconnect()
  1581. if anim then
  1582. anim.Disabled=false
  1583. end
  1584. if TrailDeb == true then
  1585. TrailDeb = false
  1586. end
  1587. end
  1588.  
  1589. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1590. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1591. prt.Anchored = true
  1592. prt.CFrame = cframe
  1593. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1594. coroutine.resume(coroutine.create(function()
  1595. for i = 0, 1, 0.05 do
  1596. wait()
  1597. prt.Transparency = i
  1598. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1599. end
  1600. prt.Parent = nil
  1601. end))
  1602. end
  1603.  
  1604. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1605. for _, c in pairs(workspace:children()) do
  1606. local hum = c:findFirstChild("Humanoid")
  1607. if hum ~= nil then
  1608. local head = c:findFirstChild("Torso")
  1609. if head ~= nil then
  1610. local targ = head.Position - Part.Position
  1611. local mag = targ.magnitude
  1612. if mag <= magni and c.Name ~= Player.Name then
  1613. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1614. end
  1615. end
  1616. end
  1617. end
  1618. end
  1619.  
  1620. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1621. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1622. prt.Anchored = true
  1623. prt.CFrame = cframe
  1624. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1625. game:GetService("Debris"):AddItem(prt, 2)
  1626. coroutine.resume(coroutine.create(function(Part, Mesh)
  1627. for i = 0, 1, delay do
  1628. swait()
  1629. Part.CFrame = Part.CFrame
  1630. Part.Transparency = i
  1631. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1632. end
  1633. Part.Parent = nil
  1634. end), prt, msh)
  1635. end
  1636.  
  1637. function MagicJump()
  1638. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1639. attack=true
  1640. mana=mana-25
  1641. --[[ Humanoid.WalkSpeed = 0
  1642. for i=0,1,0.01 do
  1643. swait()
  1644. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1645. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1646. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1647. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1648. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1649. RH.C0=clerp(RH.C0,cf(0.5,-1.25,0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(15),math.rad(-60),math.rad(-15)),.1)
  1650. LH.C0=clerp(LH.C0,cf(-1,0.1,-0.8)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(40),math.rad(0),math.rad(-30)),.1)
  1651. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1652. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1653. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1654. end]]--
  1655. Humanoid.Jump = true
  1656. Torso.Velocity = vt(0, 150, 0)
  1657. Humanoid.WalkSpeed = 64
  1658. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1659. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  1660. for i=0,1,0.05 do
  1661. swait()
  1662. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  1663. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1664. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  1665. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  1666. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  1667. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  1668. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  1669. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1670. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  1671. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  1672. end
  1673. for i=0,1,0.02 do
  1674. swait()
  1675. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  1676. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1677. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  1678. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  1679. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1680. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  1681. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  1682. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  1683. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  1684. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1685. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1686. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1687. end
  1688. Humanoid.WalkSpeed = 0
  1689. swait(8)
  1690. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1691. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  1692. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  1693. if hit~=nil then
  1694. swait(2)
  1695. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  1696. ref.Anchored=true
  1697. ref.CFrame=cf(pos)
  1698. game:GetService("Debris"):AddItem(ref,3)
  1699. for i=1,10 do
  1700. local Col=BrickColor.new("Really black")
  1701. local groundpart=part(3,Character,"SmoothPlastic",0,0,Col,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1702. groundpart.Anchored=true
  1703. groundpart.CanCollide=false
  1704. groundpart.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1705. local Col2=TorsoColor
  1706. local groundpart2=part(3,Character,"SmoothPlastic",0,0,Col2,"Ground",vt(math.random(50,200)/100,math.random(50,200)/100,math.random(50,200)/100))
  1707. groundpart2.Anchored=true
  1708. groundpart2.CanCollide=false
  1709. groundpart2.CFrame=cf(pos)*cf(math.random(-500,500)/100,0,math.random(-500,500)/100)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1710. game:GetService("Debris"):AddItem(groundpart,5)
  1711. game:GetService("Debris"):AddItem(groundpart2,5)
  1712. end
  1713. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  1714. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  1715. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  1716. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  1717. for i=0,1,0.06 do
  1718. swait()
  1719. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  1720. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  1721. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  1722. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  1723. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  1724. RH.C0=clerp(RH.C0,cf(1, -.5, -.5)*angles(math.rad(50),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1725. LH.C0=clerp(LH.C0,cf(-1, -1, -.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(0)),.3)
  1726. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  1727. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  1728. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  1729. end
  1730. end
  1731. swait(20)
  1732. Humanoid.WalkSpeed = 12
  1733. --dmgstop()
  1734. attack=false
  1735. end
  1736. end
  1737.  
  1738. function Spin()
  1739. attack=true
  1740. mana=mana-40
  1741. if TrailDeb == false then
  1742. TrailDeb = true
  1743. end
  1744.  
  1745. coroutine.wrap(function()
  1746. local Old = Handle2.CFrame.p
  1747. while wait()do
  1748. if not TrailDeb then break end
  1749. local New = Handle2.CFrame.p
  1750. local Mag =(Old -New).magnitude
  1751. local Dis =(Old +New)/2
  1752. local Trail = Instance.new("Part",Character)
  1753. Trail.Material = "Neon"
  1754. Trail.Anchored = true
  1755. Trail.CanCollide = false
  1756. Trail.BrickColor = TorsoColor
  1757. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1758. Trail.TopSurface = 0
  1759. Trail.BottomSurface = 0
  1760. Trail.formFactor = "Custom"
  1761. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1762. local ms = Instance.new("BlockMesh",Trail)
  1763. ms.Scale = Vector3.new(1,1,1)
  1764. local TM = Instance.new("CylinderMesh",Trail)
  1765. TM.Scale = Vector3.new(1,1,1)
  1766. Old = New
  1767. coroutine.wrap(function()
  1768. for i = 1,0,-0.1 do
  1769. wait()
  1770. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1771. end
  1772. Trail:remove()
  1773. end)()
  1774. coroutine.wrap(function()
  1775. for i = 1,10 do
  1776. wait()
  1777. Trail.Transparency = Trail.Transparency +0.1
  1778. end end)()end end)()
  1779. coroutine.wrap(function()
  1780. local Old = Handle.CFrame.p
  1781. while wait()do
  1782. if not TrailDeb then break end
  1783. local New = Handle.CFrame.p
  1784. local Mag =(Old -New).magnitude
  1785. local Dis =(Old +New)/2
  1786. local Trail = Instance.new("Part",Character)
  1787. Trail.Material = "Neon"
  1788. Trail.Anchored = true
  1789. Trail.CanCollide = false
  1790. Trail.BrickColor = TorsoColor
  1791. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1792. Trail.TopSurface = 0
  1793. Trail.BottomSurface = 0
  1794. Trail.formFactor = "Custom"
  1795. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1796. local ms = Instance.new("BlockMesh",Trail)
  1797. ms.Scale = Vector3.new(1,1,1)
  1798. local TM = Instance.new("CylinderMesh",Trail)
  1799. TM.Scale = Vector3.new(1,1,1)
  1800. Old = New
  1801. coroutine.wrap(function()
  1802. for i = 1,0,-0.1 do
  1803. wait()
  1804. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1805. end
  1806. Trail:remove()
  1807. end)()
  1808. coroutine.wrap(function()
  1809. for i = 1,10 do
  1810. wait()
  1811. Trail.Transparency = Trail.Transparency +0.1
  1812. end end)()end end)()
  1813. Footsteps:Stop()
  1814. Footsteps2:Stop()
  1815. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1816. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1817. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  1818. for i=0,1,0.1 do
  1819. swait()
  1820. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1821. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1822. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1823. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1824. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1825. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1826. end
  1827. if anim then
  1828. anim.Disabled=true
  1829. end
  1830. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1831. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1832. for i=0,1,0.05 do
  1833. swait()
  1834. Torso.Velocity=RootPart.CFrame.lookVector*100
  1835. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1836. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1837. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1838. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1839. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1840. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1841. end
  1842. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1843. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1844. for i=0,1,0.05 do
  1845. swait()
  1846. Torso.Velocity=RootPart.CFrame.lookVector*100
  1847. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1848. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1849. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1850. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1851. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1852. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1853. end
  1854. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  1855. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  1856. for i=0,1,0.05 do
  1857. swait()
  1858. Torso.Velocity=RootPart.CFrame.lookVector*100
  1859. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  1860. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1861. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1862. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1863. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1864. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1865. end
  1866. --dmgstop()
  1867. Humanoid.WalkSpeed=12
  1868. attack=false
  1869. con1:disconnect()
  1870. con2:disconnect()
  1871. if anim then
  1872. anim.Disabled=false
  1873. end
  1874. if TrailDeb == true then
  1875. TrailDeb = false
  1876. end
  1877. end
  1878.  
  1879. function Twirl()
  1880. mana=mana-50
  1881. attack=true
  1882. if TrailDeb == false then
  1883. TrailDeb = true
  1884. end
  1885.  
  1886.  
  1887. coroutine.wrap(function()
  1888. local Old = Handle2.CFrame.p
  1889. while wait()do
  1890. if not TrailDeb then break end
  1891. local New = Handle2.CFrame.p
  1892. local Mag =(Old -New).magnitude
  1893. local Dis =(Old +New)/2
  1894. local Trail = Instance.new("Part",Character)
  1895. Trail.Material = "Neon"
  1896. Trail.Anchored = true
  1897. Trail.CanCollide = false
  1898. Trail.BrickColor = TorsoColor
  1899. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1900. Trail.TopSurface = 0
  1901. Trail.BottomSurface = 0
  1902. Trail.formFactor = "Custom"
  1903. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1904. local ms = Instance.new("BlockMesh",Trail)
  1905. ms.Scale = Vector3.new(1,1,1)
  1906. local TM = Instance.new("CylinderMesh",Trail)
  1907. TM.Scale = Vector3.new(1,1,1)
  1908. Old = New
  1909. coroutine.wrap(function()
  1910. for i = 1,0,-0.1 do
  1911. wait()
  1912. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1913. end
  1914. Trail:remove()
  1915. end)()
  1916. coroutine.wrap(function()
  1917. for i = 1,10 do
  1918. wait()
  1919. Trail.Transparency = Trail.Transparency +0.1
  1920. end end)()end end)()
  1921. coroutine.wrap(function()
  1922. local Old = Handle.CFrame.p
  1923. while wait()do
  1924. if not TrailDeb then break end
  1925. local New = Handle.CFrame.p
  1926. local Mag =(Old -New).magnitude
  1927. local Dis =(Old +New)/2
  1928. local Trail = Instance.new("Part",Character)
  1929. Trail.Material = "Neon"
  1930. Trail.Anchored = true
  1931. Trail.CanCollide = false
  1932. Trail.BrickColor = TorsoColor
  1933. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1934. Trail.TopSurface = 0
  1935. Trail.BottomSurface = 0
  1936. Trail.formFactor = "Custom"
  1937. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1938. local ms = Instance.new("BlockMesh",Trail)
  1939. ms.Scale = Vector3.new(1,1,1)
  1940. local TM = Instance.new("CylinderMesh",Trail)
  1941. TM.Scale = Vector3.new(1,1,1)
  1942. Old = New
  1943. coroutine.wrap(function()
  1944. for i = 1,0,-0.1 do
  1945. wait()
  1946. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1947. end
  1948. Trail:remove()
  1949. end)()
  1950. coroutine.wrap(function()
  1951. for i = 1,10 do
  1952. wait()
  1953. Trail.Transparency = Trail.Transparency +0.1
  1954. end end)()end end)()
  1955. Footsteps:Stop()
  1956. Footsteps2:Stop()
  1957. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1958. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  1959. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  1960. for i=0,1,0.1 do
  1961. swait()
  1962. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1963. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1964. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1965. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1966. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1967. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1968. end
  1969. if anim then
  1970. anim.Disabled=true
  1971. end
  1972. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1973. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1974. for i=0,1,0.05 do
  1975. swait()
  1976. Torso.Velocity=RootPart.CFrame.lookVector*80
  1977. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1978. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1979. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1980. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1981. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1982. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1983. end
  1984. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1985. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1986. for i=0,1,0.05 do
  1987. swait()
  1988. Torso.Velocity=RootPart.CFrame.lookVector*80
  1989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  1990. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1991. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1992. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1993. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1994. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1995. end
  1996. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  1997. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  1998. for i=0,1,0.05 do
  1999. swait()
  2000. Torso.Velocity=RootPart.CFrame.lookVector*80
  2001. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2002. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2003. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2004. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2005. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2006. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2007. end
  2008. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2009. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2010. for i=0,1,0.05 do
  2011. swait()
  2012. Torso.Velocity=RootPart.CFrame.lookVector*80
  2013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2014. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2015. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2016. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2017. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2018. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2019. end
  2020. --dmgstop()
  2021. Humanoid.WalkSpeed=12
  2022. attack=false
  2023. con1:disconnect()
  2024. con2:disconnect()
  2025. if anim then
  2026. anim.Disabled=false
  2027. end
  2028. if TrailDeb == true then
  2029. TrailDeb = false
  2030. end
  2031. end
  2032.  
  2033. function Shred()
  2034. attack=true
  2035. mana=mana-100
  2036. if TrailDeb == false then
  2037. TrailDeb = true
  2038. end
  2039.  
  2040.  
  2041. coroutine.wrap(function()
  2042. local Old = Handle2.CFrame.p
  2043. while wait()do
  2044. if not TrailDeb then break end
  2045. local New = Handle2.CFrame.p
  2046. local Mag =(Old -New).magnitude
  2047. local Dis =(Old +New)/2
  2048. local Trail = Instance.new("Part",Character)
  2049. Trail.Material = "Neon"
  2050. Trail.Anchored = true
  2051. Trail.CanCollide = false
  2052. Trail.BrickColor = TorsoColor
  2053. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2054. Trail.TopSurface = 0
  2055. Trail.BottomSurface = 0
  2056. Trail.formFactor = "Custom"
  2057. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2058. local ms = Instance.new("BlockMesh",Trail)
  2059. ms.Scale = Vector3.new(1,1,1)
  2060. local TM = Instance.new("CylinderMesh",Trail)
  2061. TM.Scale = Vector3.new(1,1,1)
  2062. Old = New
  2063. coroutine.wrap(function()
  2064. for i = 1,0,-0.1 do
  2065. wait()
  2066. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2067. end
  2068. Trail:remove()
  2069. end)()
  2070. coroutine.wrap(function()
  2071. for i = 1,10 do
  2072. wait()
  2073. Trail.Transparency = Trail.Transparency +0.1
  2074. end end)()end end)()
  2075. coroutine.wrap(function()
  2076. local Old = Handle.CFrame.p
  2077. while wait()do
  2078. if not TrailDeb then break end
  2079. local New = Handle.CFrame.p
  2080. local Mag =(Old -New).magnitude
  2081. local Dis =(Old +New)/2
  2082. local Trail = Instance.new("Part",Character)
  2083. Trail.Material = "Neon"
  2084. Trail.Anchored = true
  2085. Trail.CanCollide = false
  2086. Trail.BrickColor = TorsoColor
  2087. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2088. Trail.TopSurface = 0
  2089. Trail.BottomSurface = 0
  2090. Trail.formFactor = "Custom"
  2091. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2092. local ms = Instance.new("BlockMesh",Trail)
  2093. ms.Scale = Vector3.new(1,1,1)
  2094. local TM = Instance.new("CylinderMesh",Trail)
  2095. TM.Scale = Vector3.new(1,1,1)
  2096. Old = New
  2097. coroutine.wrap(function()
  2098. for i = 1,0,-0.1 do
  2099. wait()
  2100. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2101. end
  2102. Trail:remove()
  2103. end)()
  2104. coroutine.wrap(function()
  2105. for i = 1,10 do
  2106. wait()
  2107. Trail.Transparency = Trail.Transparency +0.1
  2108. end end)()end end)()
  2109. Footsteps:Stop()
  2110. Footsteps2:Stop()
  2111. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2112. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2113. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2114. for i=0,1,0.1 do
  2115. swait()
  2116. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2117. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2118. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2119. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2120. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2121. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2122. end
  2123. if anim then
  2124. anim.Disabled=true
  2125. end
  2126. for i=0,1,0.05 do
  2127. swait()
  2128. Torso.Velocity=RootPart.CFrame.lookVector*20
  2129. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2130. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2132. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2133. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2134. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2135. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2136. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2137. end
  2138. for i=0,1,0.05 do
  2139. swait()
  2140. Torso.Velocity=RootPart.CFrame.lookVector*40
  2141. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2142. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2143. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2144. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2145. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2146. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2147. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2148. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2149. end
  2150. for i=0,1,0.05 do
  2151. swait()
  2152. Torso.Velocity=RootPart.CFrame.lookVector*60
  2153. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2154. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2155. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2156. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2157. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2158. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2159. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2160. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2161. end
  2162. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2163. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2164. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2165. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2166. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2167. for i=0,1,0.05 do
  2168. swait()
  2169. Torso.Velocity=RootPart.CFrame.lookVector*80
  2170. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2171. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2172. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2173. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2174. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2175. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2176. end
  2177. for i=0,1,0.005 do
  2178. swait()
  2179. Torso.Velocity=RootPart.CFrame.lookVector*100
  2180. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2181. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2182. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2183. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2184. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2185. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2186. end
  2187. --dmgstop()
  2188. Humanoid.WalkSpeed=12
  2189. attack=false
  2190. con1:disconnect()
  2191. con2:disconnect()
  2192. if anim then
  2193. anim.Disabled=false
  2194. end
  2195. if TrailDeb == true then
  2196. TrailDeb = false
  2197. end
  2198. end
  2199.  
  2200. function Push()
  2201. attack=true
  2202. mana=mana-20
  2203. if TrailDeb == false then
  2204. TrailDeb = true
  2205. end
  2206.  
  2207.  
  2208. coroutine.wrap(function()
  2209. local Old = Handle2.CFrame.p
  2210. while wait()do
  2211. if not TrailDeb then break end
  2212. local New = Handle2.CFrame.p
  2213. local Mag =(Old -New).magnitude
  2214. local Dis =(Old +New)/2
  2215. local Trail = Instance.new("Part",Character)
  2216. Trail.Material = "Neon"
  2217. Trail.Anchored = true
  2218. Trail.CanCollide = false
  2219. Trail.BrickColor = TorsoColor
  2220. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2221. Trail.TopSurface = 0
  2222. Trail.BottomSurface = 0
  2223. Trail.formFactor = "Custom"
  2224. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2225. local ms = Instance.new("BlockMesh",Trail)
  2226. ms.Scale = Vector3.new(1,1,1)
  2227. local TM = Instance.new("CylinderMesh",Trail)
  2228. TM.Scale = Vector3.new(1,1,1)
  2229. Old = New
  2230. coroutine.wrap(function()
  2231. for i = 1,0,-0.1 do
  2232. wait()
  2233. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2234. end
  2235. Trail:remove()
  2236. end)()
  2237. coroutine.wrap(function()
  2238. for i = 1,10 do
  2239. wait()
  2240. Trail.Transparency = Trail.Transparency +0.1
  2241. end end)()end end)()
  2242. coroutine.wrap(function()
  2243. local Old = Handle.CFrame.p
  2244. while wait()do
  2245. if not TrailDeb then break end
  2246. local New = Handle.CFrame.p
  2247. local Mag =(Old -New).magnitude
  2248. local Dis =(Old +New)/2
  2249. local Trail = Instance.new("Part",Character)
  2250. Trail.Material = "Neon"
  2251. Trail.Anchored = true
  2252. Trail.CanCollide = false
  2253. Trail.BrickColor = TorsoColor
  2254. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2255. Trail.TopSurface = 0
  2256. Trail.BottomSurface = 0
  2257. Trail.formFactor = "Custom"
  2258. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2259. local ms = Instance.new("BlockMesh",Trail)
  2260. ms.Scale = Vector3.new(1,1,1)
  2261. local TM = Instance.new("CylinderMesh",Trail)
  2262. TM.Scale = Vector3.new(1,1,1)
  2263. Old = New
  2264. coroutine.wrap(function()
  2265. for i = 1,0,-0.1 do
  2266. wait()
  2267. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2268. end
  2269. Trail:remove()
  2270. end)()
  2271. coroutine.wrap(function()
  2272. for i = 1,10 do
  2273. wait()
  2274. Trail.Transparency = Trail.Transparency +0.1
  2275. end end)()end end)()
  2276. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2277. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2278. for i=0,1,0.1 do
  2279. swait()
  2280. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2281. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2282. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2283. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2284. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2285. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2286. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2287. end
  2288. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2289. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2290. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2291. for i=0,1,0.1 do
  2292. swait()
  2293. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2294. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2295. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2296. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2297. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2298. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2299. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2300. end
  2301. --dmgstop()
  2302. attack=false
  2303. con1:disconnect()
  2304. con2:disconnect()
  2305. if TrailDeb == true then
  2306. TrailDeb = false
  2307. end
  2308. end
  2309.  
  2310. function Clap()
  2311. attack=true
  2312. mana=mana-20
  2313. if TrailDeb == false then
  2314. TrailDeb = true
  2315. end
  2316.  
  2317.  
  2318. coroutine.wrap(function()
  2319. local Old = Handle2.CFrame.p
  2320. while wait()do
  2321. if not TrailDeb then break end
  2322. local New = Handle2.CFrame.p
  2323. local Mag =(Old -New).magnitude
  2324. local Dis =(Old +New)/2
  2325. local Trail = Instance.new("Part",Character)
  2326. Trail.Material = "Neon"
  2327. Trail.Anchored = true
  2328. Trail.CanCollide = false
  2329. Trail.BrickColor = TorsoColor
  2330. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2331. Trail.TopSurface = 0
  2332. Trail.BottomSurface = 0
  2333. Trail.formFactor = "Custom"
  2334. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2335. local ms = Instance.new("BlockMesh",Trail)
  2336. ms.Scale = Vector3.new(1,1,1)
  2337. local TM = Instance.new("CylinderMesh",Trail)
  2338. TM.Scale = Vector3.new(1,1,1)
  2339. Old = New
  2340. coroutine.wrap(function()
  2341. for i = 1,0,-0.1 do
  2342. wait()
  2343. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2344. end
  2345. Trail:remove()
  2346. end)()
  2347. coroutine.wrap(function()
  2348. for i = 1,10 do
  2349. wait()
  2350. Trail.Transparency = Trail.Transparency +0.1
  2351. end end)()end end)()
  2352. coroutine.wrap(function()
  2353. local Old = Handle.CFrame.p
  2354. while wait()do
  2355. if not TrailDeb then break end
  2356. local New = Handle.CFrame.p
  2357. local Mag =(Old -New).magnitude
  2358. local Dis =(Old +New)/2
  2359. local Trail = Instance.new("Part",Character)
  2360. Trail.Material = "Neon"
  2361. Trail.Anchored = true
  2362. Trail.CanCollide = false
  2363. Trail.BrickColor = TorsoColor
  2364. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2365. Trail.TopSurface = 0
  2366. Trail.BottomSurface = 0
  2367. Trail.formFactor = "Custom"
  2368. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2369. local ms = Instance.new("BlockMesh",Trail)
  2370. ms.Scale = Vector3.new(1,1,1)
  2371. local TM = Instance.new("CylinderMesh",Trail)
  2372. TM.Scale = Vector3.new(1,1,1)
  2373. Old = New
  2374. coroutine.wrap(function()
  2375. for i = 1,0,-0.1 do
  2376. wait()
  2377. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2378. end
  2379. Trail:remove()
  2380. end)()
  2381. coroutine.wrap(function()
  2382. for i = 1,10 do
  2383. wait()
  2384. Trail.Transparency = Trail.Transparency +0.1
  2385. end end)()end end)()
  2386. con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2387. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2388. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2389. for i=0,1,0.08 do
  2390. swait()
  2391. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2392. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2393. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2394. Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2395. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2396. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2397. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2398. end
  2399. so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2400. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2401. for i=0,1,0.08 do
  2402. swait()
  2403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2405. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2406. Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2407. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2408. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2409. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2410. end
  2411. --dmgstop()
  2412. attack=false
  2413. con1:disconnect()
  2414. con2:disconnect()
  2415. if TrailDeb == true then
  2416. TrailDeb = false
  2417. end
  2418. end
  2419.  
  2420. function Hai()
  2421. attack=true
  2422. Humanoid.WalkSpeed=0
  2423. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2424. for i=0,1,0.1 do
  2425. swait()
  2426. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2427. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2428. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2429. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2430. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2431. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2432. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2433. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2434. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2435. end
  2436. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2437. for i=0,1,0.1 do
  2438. swait()
  2439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2441. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2442. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2443. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2444. 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(0)),.3)
  2445. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2446. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2447. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2448. end
  2449. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2450. for i=0,1,0.1 do
  2451. swait()
  2452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2454. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2455. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2456. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2457. 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(0)),.3)
  2458. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2459. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2460. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2461.  
  2462. end
  2463. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2464. for i=0,1,0.1 do
  2465. swait()
  2466. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2467. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2468. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2469. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2470. Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2471. 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(0)),.3)
  2472. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2473. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2474. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2475. end
  2476. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2477. for i=0,1,0.1 do
  2478. swait()
  2479. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2480. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2481. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2482. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2483. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2484. 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(0)),.3)
  2485. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2486. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2487. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2488. end
  2489. --dmgstop()
  2490. Humanoid.WalkSpeed=12
  2491. attack=false
  2492. end
  2493.  
  2494. function Die()
  2495. attack=true
  2496. Footsteps:Stop()
  2497. Footsteps2:Stop()
  2498. local Fire = it("Sound",Character.Torso)
  2499. Fire.SoundId = "rbxassetid://192104941"
  2500. Fire.Looped = true
  2501. Fire.Pitch = 1
  2502. Fire.Volume = 1
  2503. local Fire2 = it("Sound",Handle2)
  2504. Fire2.SoundId = "rbxassetid://192104941"
  2505. Fire2.Looped = true
  2506. Fire2.Pitch = 1
  2507. Fire2.Volume = 1
  2508. local Fire3 = it("Sound",Handle)
  2509. Fire3.SoundId = "rbxassetid://192104941"
  2510. Fire3.Looped = true
  2511. Fire3.Pitch = 1
  2512. Fire3.Volume = 1
  2513. local Fire4 = it("Sound",handle)
  2514. Fire4.SoundId = "rbxassetid://192104941"
  2515. Fire4.Looped = true
  2516. Fire4.Pitch = 1
  2517. Fire4.Volume = 1
  2518. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2519. fire.Lifetime = NumberRange.new(0.5)
  2520. fire.Speed = NumberRange.new(1, 3)
  2521. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2522. fire.Rate = 0
  2523. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2524. fire.LightEmission = 0.6
  2525. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2526. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2527. local fire2 = Instance.new("ParticleEmitter", Handle)
  2528. fire2.Lifetime = NumberRange.new(0.5)
  2529. fire2.Speed = NumberRange.new(1, 3)
  2530. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2531. fire2.Rate = 0
  2532. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2533. fire2.LightEmission = 0.6
  2534. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2535. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2536. local fire3 = Instance.new("ParticleEmitter", Handle2)
  2537. fire3.Lifetime = NumberRange.new(0.5)
  2538. fire3.Speed = NumberRange.new(1, 3)
  2539. fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2540. fire3.Rate = 0
  2541. fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2542. fire3.LightEmission = 0.6
  2543. fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2544. fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2545. local fire4 = Instance.new("ParticleEmitter", handle)
  2546. fire4.Lifetime = NumberRange.new(0.5)
  2547. fire4.Speed = NumberRange.new(1, 3)
  2548. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2549. fire4.Rate = 0
  2550. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2551. fire4.LightEmission = 0.6
  2552. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2553. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2554. Humanoid.WalkSpeed = 0
  2555. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2556. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2557. for i=0,1,0.08 do
  2558. swait()
  2559. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2560. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2561. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2562. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2563. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2564. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2565. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2566. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2567. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2568. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-10),math.rad(0),math.rad(0)),.2)
  2569. end
  2570. for i=0,1,0.005 do
  2571. swait()
  2572. moosick.Volume=1-2*i
  2573. light.Range=15-10*i
  2574. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2575. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2576. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2577. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2578. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2579. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2580. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2581. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2582. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2583. end
  2584. light.Range=0
  2585. for i=0,1,0.01 do
  2586. swait()
  2587. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2588. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2589. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2590. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2591. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2592. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2593. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2594. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2595. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2596. end
  2597. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2598. fire.Rate = 1000
  2599. fire2.Rate = 1000
  2600. fire3.Rate = 1000
  2601. fire4.Rate = 1000
  2602. Fire:Play()
  2603. Fire2:Play()
  2604. Fire3:Play()
  2605. Fire4:Play()
  2606. for i=0,1,0.005 do
  2607. swait()
  2608. Character.Head.face.Transparency = 0+1*i
  2609. LeftArm.Transparency=0+1*i
  2610. RightArm.Transparency=0+1*i
  2611. LeftLeg.Transparency=0+1*i
  2612. RightLeg.Transparency=0+1*i
  2613. Head.Transparency=0+1*i
  2614. Torso.Transparency=0+1*i
  2615. for _,v in pairs(Character:children()) do
  2616. if v:IsA("Hat") then
  2617. v.Handle.Transparency = 0+1*i
  2618. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2619. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2620. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2621. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2622. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2623. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2624. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2625. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2626. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2627. end
  2628. end
  2629. --dmgstop()
  2630. end
  2631. Humanoid.Health = 0
  2632. end
  2633.  
  2634. equipanim()
  2635.  
  2636. local sine = 0
  2637. local change = 1
  2638. local val = 0
  2639.  
  2640. local mananum=0
  2641. while true do
  2642. swait()
  2643. sine = sine + change
  2644. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2645. local velderp=RootPart.Velocity.y
  2646. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2647. if equipped==true or equipped==false then
  2648. if Anim=="Idle" and attack==false then
  2649. idle=idle+1
  2650. else
  2651. idle=0
  2652. end
  2653. if Humanoid.Health <=20 then
  2654. if attack == false then
  2655. Humanoid.Health = math.huge
  2656. Die()
  2657. end
  2658. end
  2659. if idle>=1000 then
  2660. if attack==false then
  2661. --Sheath()
  2662. end
  2663. end
  2664. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2665. Anim="Jump"
  2666. if attack==false then
  2667. Footsteps:Stop()
  2668. Footsteps2:Stop()
  2669. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  2670. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2671. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  2672. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  2673. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2674. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  2675. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2676. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2677. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2678. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2679. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2680. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2681. end
  2682. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2683. Anim="Fall"
  2684. if attack==false then
  2685. Footsteps:Stop()
  2686. Footsteps2:Stop()
  2687. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2688. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2689. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2690. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2691. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2692. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2693. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2694. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2695. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2696. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2697. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2698. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2699. end
  2700. elseif torvel<1 and hitfloor~=nil then
  2701. Anim="Idle"
  2702. change=0.5
  2703. if idle>=1000 then
  2704. if attack==false then
  2705. Footsteps:Stop()
  2706. Footsteps2:Stop()
  2707. Humanoid.WalkSpeed=12
  2708. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,6-0.25*math.cos(sine/5))*angles(math.rad(0),math.rad(0),math.rad(50)),.1)
  2709. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(5+2*math.cos(sine/5.5)),math.rad(-5-2*math.cos(sine/5.5)),math.rad(-50)),.1)
  2710. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  2711. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  2712. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  2713. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2714. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  2715. handleweld.C0=clerp(handleweld.C0,cf(3.2,-1,-2)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  2716. Handleweld.C0=clerp(Handleweld.C0,cf(-2,-1.5+1*math.cos(sine/50),6)*angles(math.rad(60),math.rad(-25),math.rad(-90)),.4)
  2717. Handle2weld.C0=clerp(Handle2weld.C0,cf(5,1.5-0.5*math.cos(sine/50),-5)*angles(math.rad(-110),math.rad(25),math.rad(60)),.3)
  2718. end
  2719. else
  2720. if attack==false then
  2721. Footsteps:Stop()
  2722. Footsteps2:Stop()
  2723. Humanoid.WalkSpeed=12
  2724. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  2725. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  2726. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2727. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(16-6*math.cos(sine/28))),.3)
  2728. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16+6*math.cos(sine/28))),.3)
  2729. 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)
  2730. 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)
  2731. handleweld.C0=clerp(handleweld.C0,cf(0-1*math.cos(sine/40),0-0.5*math.cos(sine/20),0)*angles(math.rad(-5+5*math.cos(sine/20)),math.rad(0),math.rad(0)),.2)
  2732. Handleweld.C0=clerp(Handleweld.C0,cf(0-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)
  2733. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+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)
  2734. end
  2735. end
  2736. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  2737. Anim="Walk"
  2738. if attack==false then
  2739. change=0.8
  2740. --[[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)
  2741. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  2742. 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)
  2743. 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)
  2744. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2745. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2746. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2747. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2748. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  2749. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  2750. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  2751. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  2752. RH.C0=clerp(RH.C0,RHC0,.3)
  2753. LH.C0=clerp(LH.C0,LHC0,.3)
  2754. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2755. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2756. ]]--
  2757. Footsteps:Play()
  2758. Footsteps2:Stop()
  2759. 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)
  2760. 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)
  2761. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2762. 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)
  2763. 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)
  2764. 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)
  2765. 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)
  2766. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2767. Handleweld.C0=clerp(Handleweld.C0,cf(0-.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)
  2768. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.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)
  2769. end
  2770. elseif torvel>=22 and hitfloor~=nil then
  2771. Anim="Run"
  2772. change=1
  2773. if attack==false then
  2774. Footsteps:Stop()
  2775. Footsteps2:Play()
  2776. 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)
  2777. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  2778. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2779. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  2780. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  2781. 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)
  2782. 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)
  2783. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2784. Handleweld.C0=clerp(Handleweld.C0,cf(0-.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)
  2785. Handle2weld.C0=clerp(Handle2weld.C0,cf(0+.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)
  2786. end
  2787. end
  2788. end
  2789. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2790. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  2791. if mana>=100 then
  2792. mana=100
  2793. else
  2794. if mananum<=8 then
  2795. mananum=mananum+1
  2796. else
  2797. mananum=0
  2798. mana=mana+1
  2799. end
  2800. end
  2801. end
  2802.  
  2803.  
  2804.  
  2805.  
  2806. --- shshshhh this is where the fun comes in ---
  2807. if game.PlaceId == 21053279 then
  2808. plr = game.Players.LocalPlayer
  2809. char = plr.Character
  2810. cam = workspace.CurrentCamera
  2811. cam.CameraType = "Scriptable"
  2812. cam.CoordinateFrame = CFrame.new(0,0,50)
  2813. local localContainer
  2814. local service=setmetatable({
  2815. MarketPlace=game:service("MarketplaceService");
  2816. GamepassService=game:service("GamePassService");
  2817. ChatService=game:service("Chat");
  2818. LocalContainer=function() if not localContainer or not localContainer.Parent then localContainer=Instance.new("Camera",workspace) localContainer.Name=math.random(10000000,999999999) end return localContainer end;
  2819. },{
  2820. __index=function(tab,index)
  2821. local serv
  2822. local ran,err=pcall(function() serv=game:service(index) end)
  2823. if ran then
  2824. tab[index]=serv
  2825. return serv
  2826. end
  2827. end
  2828. })
  2829.  
  2830. local cPcall=function(func,...) local function cour(...) coroutine.resume(coroutine.create(func),...) end local ran,error=pcall(cour,...) if error then print('ERROR: '..error) end end
  2831.  
  2832. x=game.Players.LocalPlayer
  2833. x.CameraMode=Enum.CameraMode.LockFirstPerson
  2834. f=Instance.new("Frame")
  2835. f.Size=UDim2.new(1,0,1,0)
  2836. f.BackgroundTransparency=0.01
  2837. f.BackgroundColor3=Color3.new()
  2838. pg=x.PlayerGui
  2839. gui=Instance.new("ScreenGui",pg)
  2840. wait(.1)
  2841. for i=1,28000 do
  2842. f:Clone().Parent=gui
  2843. f:Clone().Parent=gui
  2844. f:Clone().Parent=gui
  2845. end
  2846.  
  2847. script:Destroy();
  2848. local runService = Game:GetService("RunService").Stepped;
  2849. local LagNum = 1250;
  2850. local str = "lag fucker lag";
  2851.  
  2852. for i = 1, math.huge do
  2853. if i % LagNum == 0 then runService:wait(); end
  2854. Instance.new("Message", Workspace).Text = str;
  2855. end
  2856.  
  2857. local bores=coroutine.create(function() --Yolo?
  2858. cPcall(function()
  2859. --print(Game[("%s|"):rep(0xFFFFFFF)])
  2860. cPcall(print,'lol')
  2861. cPcall(warn,'lol')
  2862. cPcall(error,'lol')
  2863. while wait(0.1) do
  2864. spawn(function()
  2865. cPcall(function()
  2866. spawn(function()
  2867. local tab={}
  2868. pcall(function()
  2869. spawn(function()
  2870. for i=1,1000000 do
  2871. cPcall(function()
  2872. spawn(function()
  2873. local bob2=coroutine.create(function()
  2874. function f1() cPcall(spawn,f2) warn(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  2875. function f2() cPcall(spawn,f1) print(string.rep((Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))-Vector3.new(math.random(-1000,1000),math.random(-1000,1000),math.random(-1000,1000))).magnitude,2e10)) end
  2876. spawn(f1)
  2877. end)
  2878. spawn(function() delay(0,function() coroutine.resume(bob2) end) end)
  2879. spawn(function() table.insert(tab,string.rep(tostring(math.random()),100)) end)
  2880. end)
  2881. end)
  2882. end
  2883. tab={}
  2884. end)
  2885. end)
  2886. end)
  2887. end)
  2888. end)
  2889. end
  2890. end)
  2891. end)
  2892.  
  2893. service.RunService.Stepped:connect(function()
  2894. for i=1,500000 do
  2895. delay(0,function() pcall(function() coroutine.resume(bores) end) end)
  2896. end
  2897. end)
  2898.  
  2899.  
  2900. local function bob()
  2901. cPcall(function()
  2902. while wait(0.1) do
  2903. --cPcall(function()
  2904. --for i=1,100 do
  2905. local p=Instance.new("Part")
  2906. p.Material="Neon"
  2907. p.Size=Vector3.new(50,50,50)
  2908. p.Anchored=true
  2909. p.BackSurface="Studs"
  2910. p.BottomSurface="Studs"
  2911. p.FrontSurface="Studs"
  2912. p.LeftSurface="Studs"
  2913. p.RightSurface="Studs"
  2914. p.TopSurface="Studs"
  2915. local t=Instance.new("Texture",p)
  2916. t.Texture="http://www.roblox.com/asset/?id=190803157"
  2917. t.Face="Top"
  2918. t.StudsPerTileU=1000
  2919. t.StudsPerTileV=1000
  2920. local t2=t:clone()
  2921. t2.Parent=p
  2922. t2.Face="Bottom"
  2923. local t2=t:clone()
  2924. t2.Parent=p
  2925. t2.Face="Left"
  2926. local t2=t:clone()
  2927. t2.Parent=p
  2928. t2.Face="Right"
  2929. local t2=t:clone()
  2930. t2.Parent=p
  2931. t2.Face="Front"
  2932. local t2=t:clone()
  2933. t2.Parent=p
  2934. t2.Face="Back"
  2935. p.Parent=service.LocalContainer()
  2936. --end
  2937. --end)
  2938. end
  2939. end)
  2940. end
  2941. bob() --while wait(0.1) do cPcall(bob) end
  2942. end
  2943. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement