Advertisement
NoHackJustStevePlayz

sasdsadsad

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