Advertisement
Guest User

Untitled

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