Advertisement
Guest User

Untitled

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