SyntaxIsHere

Untitled

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