vibrantsinger423

claw3d

May 26th, 2019
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 174.18 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,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  6.  
  7.  
  8. --https://github.com/Mokiros/roblox-FE-compatibility
  9. --[[ Leaked by CLarramore ]]--
  10. -- Ever since 3/10/2016 this script started to get popular in oxcool1's SB
  11. -- I am now spreading this on
  12. -- You can now make ur edits with this
  13. -- ENTIRELY OPEN SOURCED!!!! YAY!
  14. -- 1337 views. l0l
  15. -- NightOwlAce dont kill me
  16. Player= game:GetService("Players").LocalPlayer
  17. Character=Player.Character
  18. PlayerGui=Player.PlayerGui
  19. Backpack=Player.Backpack
  20. Torso=Character.Torso
  21. Head=Character.Head
  22. Humanoid=Character.Humanoid
  23. mouse=Player:GetMouse()
  24. m=Instance.new('Model',Character)
  25. m2=Instance.new('Model',Character)
  26. LeftArm=Character["Left Arm"]
  27. LeftLeg=Character["Left Leg"]
  28. RightArm=Character["Right Arm"]
  29. RightLeg=Character["Right Leg"]
  30. LS=Torso["Left Shoulder"]
  31. LH=Torso["Left Hip"]
  32. RS=Torso["Right Shoulder"]
  33. RH=Torso["Right Hip"]
  34. Face = Head.face
  35. Neck=Torso.Neck
  36. it=Instance.new
  37. attacktype=1
  38. vt=Vector3.new
  39. cf=CFrame.new
  40. euler=CFrame.fromEulerAnglesXYZ
  41. angles=CFrame.Angles
  42. cloaked=false
  43. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  44. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  45. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  46. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  47. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  48. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  49. RootPart=Character.HumanoidRootPart
  50. RootJoint=RootPart.RootJoint
  51. RootCF=euler(-1.57,0,3.14)
  52. attack = false
  53. attackdebounce = false
  54. deb=false
  55. equipped=true
  56. hand=false
  57. MMouse=nil
  58. combo=0
  59. mana=0
  60. trispeed=1
  61. pathtrans=.7
  62. attackmode='none'
  63. local idle=0
  64. local Anim="Idle"
  65. local Effects={}
  66. local gun=false
  67. local shoot=false
  68. player=nil
  69. cloak=false
  70. lightcolor='Bright blue'
  71.  
  72. local char = game.Players.LocalPlayer.Character
  73.  
  74. local harambe = Instance.new('SpecialMesh', char.Torso)
  75. harambe.MeshType = 'FileMesh'
  76. harambe.MeshId = 'http://www.roblox.com/asset/?id=430330296'
  77. harambe.TextureId = 'http://www.roblox.com/asset/?id=430330316'
  78. harambe.Scale = Vector3.new(0.01, 0.01, 0.01)
  79.  
  80. char.Head.Transparency = 1
  81. char['Left Arm'].Transparency = 1
  82. char['Right Arm'].Transparency = 1
  83. char['Left Leg'].Transparency = 1
  84. char['Right Leg'].Transparency = 1
  85.  
  86. local Color1=Torso.BrickColor
  87.  
  88. local fengui=it("GuiMain")
  89. fengui.Parent=Player.PlayerGui
  90. fengui.Name="WeaponGUI"
  91. local fenframe=it("Frame")
  92. fenframe.Parent=fengui
  93. fenframe.BackgroundColor3=Color3.new(255,255,255)
  94. fenframe.BackgroundTransparency=1
  95. fenframe.BorderColor3=Color3.new(17,17,17)
  96. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  97. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  98. local fenbarmana1=it("TextLabel")
  99. fenbarmana1.Parent=fenframe
  100. fenbarmana1.Text=" "
  101. fenbarmana1.BackgroundTransparency=0
  102. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  103. fenbarmana1.SizeConstraint="RelativeXY"
  104. fenbarmana1.TextXAlignment="Center"
  105. fenbarmana1.TextYAlignment="Center"
  106. fenbarmana1.Position=UDim2.new(0,0,0,0)
  107. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  108. local fenbarmana2=it("TextLabel")
  109. fenbarmana2.Parent=fenframe
  110. fenbarmana2.Text=" "
  111. fenbarmana2.BackgroundTransparency=0
  112. fenbarmana2.BackgroundColor3=Torso.Color
  113. fenbarmana2.SizeConstraint="RelativeXY"
  114. fenbarmana2.TextXAlignment="Center"
  115. fenbarmana2.TextYAlignment="Center"
  116. fenbarmana2.Position=UDim2.new(0,0,0,0)
  117. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  118. local fenbarmana3=it("TextLabel")
  119. fenbarmana3.Parent=fenframe
  120. fenbarmana3.Text=" "
  121. fenbarmana3.BackgroundTransparency=0
  122. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  123. fenbarmana3.SizeConstraint="RelativeXY"
  124. fenbarmana3.TextXAlignment="Center"
  125. fenbarmana3.TextYAlignment="Center"
  126. fenbarmana3.Position=UDim2.new(0,0,0,0)
  127. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  128. local fenbarmana4=it("TextLabel")
  129. fenbarmana4.Parent=fenframe
  130. fenbarmana4.Text="Energy("..mana..")"
  131. fenbarmana4.BackgroundTransparency=1
  132. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  133. fenbarmana4.SizeConstraint="RelativeXY"
  134. fenbarmana4.TextXAlignment="Center"
  135. fenbarmana4.TextYAlignment="Center"
  136. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  137. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  138. fenbarmana4.FontSize="Size9"
  139. fenbarmana4.TextStrokeTransparency=0
  140. fenbarmana4.TextColor=BrickColor.new("Really blue")
  141.  
  142. --save shoulders
  143. RSH, LSH=nil, nil
  144. --welds
  145. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  146. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  147. LH=Torso["Left Hip"]
  148. RH=Torso["Right Hip"]
  149. TorsoColor=Torso.BrickColor
  150. function NoOutline(Part)
  151. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  152. end
  153. player=Player
  154. ch=Character
  155. RSH=ch.Torso["Right Shoulder"]
  156. LSH=ch.Torso["Left Shoulder"]
  157. --
  158. RSH.Parent=nil
  159. LSH.Parent=nil
  160. --
  161. RW.Name="Right Shoulder"
  162. RW.Part0=ch.Torso
  163. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  164. RW.C1=cf(0, 0.5, 0)
  165. RW.Part1=ch["Right Arm"]
  166. RW.Parent=ch.Torso
  167. --
  168. LW.Name="Left Shoulder"
  169. LW.Part0=ch.Torso
  170. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  171. LW.C1=cf(0, 0.5, 0)
  172. LW.Part1=ch["Left Arm"]
  173. LW.Parent=ch.Torso
  174.  
  175. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  176. local fp=it("Part")
  177. fp.formFactor=formfactor
  178. fp.Parent=parent
  179. fp.Reflectance=reflectance
  180. fp.Transparency=transparency
  181. fp.CanCollide=false
  182. fp.Locked=true
  183. fp.BrickColor=brickcolor
  184. fp.Name=name
  185. fp.Size=size
  186. fp.Position=Torso.Position
  187. NoOutline(fp)
  188. fp.Material="Neon"
  189. fp:BreakJoints()
  190. return fp
  191. end
  192.  
  193. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  194. local mesh=it(Mesh)
  195. mesh.Parent=part
  196. if Mesh=="SpecialMesh" then
  197. mesh.MeshType=meshtype
  198. if meshid~="nil" then
  199. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  200. end
  201. end
  202. mesh.Offset=offset
  203. mesh.Scale=scale
  204. return mesh
  205. end
  206.  
  207. function weld(parent,part0,part1,c0)
  208. local weld=it("Weld")
  209. weld.Parent=parent
  210. weld.Part0=part0
  211. weld.Part1=part1
  212. weld.C0=c0
  213. return weld
  214. end
  215.  
  216. local Color1=Torso.BrickColor
  217.  
  218. local bodvel=Instance.new("BodyVelocity")
  219. local bg=Instance.new("BodyGyro")
  220.  
  221. function swait(num)
  222. if num==0 or num==nil then
  223. game:service'RunService'.Stepped:wait(0)
  224. else
  225. for i=0,num do
  226. game:service'RunService'.Stepped:wait(0)
  227. end
  228. end
  229. end
  230.  
  231.  
  232. so = function(id,par,vol,pit)
  233. coroutine.resume(coroutine.create(function()
  234. local sou = Instance.new("Sound",par or workspace)
  235. sou.Volume=vol
  236. sou.Pitch=pit or 1
  237. sou.SoundId=id
  238. swait()
  239. sou:play()
  240. game:GetService("Debris"):AddItem(sou,6)
  241. end))
  242. end
  243.  
  244. function clerp(a,b,t)
  245. local qa = {QuaternionFromCFrame(a)}
  246. local qb = {QuaternionFromCFrame(b)}
  247. local ax, ay, az = a.x, a.y, a.z
  248. local bx, by, bz = b.x, b.y, b.z
  249. local _t = 1-t
  250. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  251. end
  252.  
  253. function QuaternionFromCFrame(cf)
  254. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  255. local trace = m00 + m11 + m22
  256. if trace > 0 then
  257. local s = math.sqrt(1 + trace)
  258. local recip = 0.5/s
  259. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  260. else
  261. local i = 0
  262. if m11 > m00 then
  263. i = 1
  264. end
  265. if m22 > (i == 0 and m00 or m11) then
  266. i = 2
  267. end
  268. if i == 0 then
  269. local s = math.sqrt(m00-m11-m22+1)
  270. local recip = 0.5/s
  271. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  272. elseif i == 1 then
  273. local s = math.sqrt(m11-m22-m00+1)
  274. local recip = 0.5/s
  275. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  276. elseif i == 2 then
  277. local s = math.sqrt(m22-m00-m11+1)
  278. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  279. end
  280. end
  281. end
  282.  
  283. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  284. local xs, ys, zs = x + x, y + y, z + z
  285. local wx, wy, wz = w*xs, w*ys, w*zs
  286. local xx = x*xs
  287. local xy = x*ys
  288. local xz = x*zs
  289. local yy = y*ys
  290. local yz = y*zs
  291. local zz = z*zs
  292. 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))
  293. end
  294.  
  295. function QuaternionSlerp(a, b, t)
  296. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  297. local startInterp, finishInterp;
  298. if cosTheta >= 0.0001 then
  299. if (1 - cosTheta) > 0.0001 then
  300. local theta = math.acos(cosTheta)
  301. local invSinTheta = 1/math.sin(theta)
  302. startInterp = math.sin((1-t)*theta)*invSinTheta
  303. finishInterp = math.sin(t*theta)*invSinTheta
  304. else
  305. startInterp = 1-t
  306. finishInterp = t
  307. end
  308. else
  309. if (1+cosTheta) > 0.0001 then
  310. local theta = math.acos(-cosTheta)
  311. local invSinTheta = 1/math.sin(theta)
  312. startInterp = math.sin((t-1)*theta)*invSinTheta
  313. finishInterp = math.sin(t*theta)*invSinTheta
  314. else
  315. startInterp = t-1
  316. finishInterp = t
  317. end
  318. end
  319. 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
  320. end
  321.  
  322. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  323. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  324. end
  325.  
  326. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  327. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  328. prt.Anchored=true
  329. prt.CFrame=cframe
  330. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  331. --http://www.roblox.com/asset/?id=4770560
  332. game:GetService("Debris"):AddItem(prt,2)
  333. CF=prt.CFrame
  334. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  335. for i=0,1,0.2 do
  336. wait()
  337. Part.CFrame=CF*cf(0,0,-0.4)
  338. end
  339. for i=0,1,delay do
  340. wait()
  341. --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)
  342. Mesh.Scale=Mesh.Scale
  343. end
  344. for i=0,1,0.1 do
  345. wait()
  346. Part.Transparency=i
  347. end
  348. Part.Parent=nil
  349. end),prt,msh,CF)
  350. end
  351.  
  352. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  353. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  354. prt.Anchored=true
  355. prt.CFrame=cframe
  356. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  357. game:GetService("Debris"):AddItem(prt,5)
  358. coroutine.resume(coroutine.create(function(Part,Mesh)
  359. for i=0,1,delay do
  360. wait()
  361. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  362. Part.Transparency=i
  363. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  364. end
  365. Part.Parent=nil
  366. end),prt,msh)
  367. end
  368.  
  369. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  370. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  371. prt.Anchored=false
  372. prt.CFrame=cframe
  373. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  374. local wld=weld(prt,prt,Parent,cframe)
  375. game:GetService("Debris"):AddItem(prt,5)
  376. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  377. for i=0,1,delay do
  378. wait()
  379. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  380. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  381. Part.Transparency=i
  382. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  383. end
  384. Part.Parent=nil
  385. end),prt,msh,wld)
  386. end
  387.  
  388. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  389. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  390. prt.Anchored=false
  391. prt.CFrame=cframe
  392. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  393. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  394. game:GetService("Debris"):AddItem(prt,5)
  395. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  396. for i=0,1,delay do
  397. wait()
  398. Weld.C0=euler(i*20,0,0)
  399. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  400. Part.Transparency=i
  401. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  402. end
  403. Part.Parent=nil
  404. end),prt,msh,wld)
  405. end
  406.  
  407. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  408. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  409. prt.Anchored=true
  410. prt.CFrame=cframe
  411. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  412. game:GetService("Debris"):AddItem(prt,2)
  413. coroutine.resume(coroutine.create(function(Part,Mesh)
  414. for i=0,1,delay do
  415. wait()
  416. Part.CFrame=Part.CFrame
  417. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  418. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  419. prt2.Anchored=true
  420. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  421. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  422. game:GetService("Debris"):AddItem(prt2,2)
  423. coroutine.resume(coroutine.create(function(Part,Mesh)
  424. for i=0,1,0.1 do
  425. wait()
  426. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  427. end
  428. Part.Parent=nil
  429. end),prt2,msh2)
  430. end
  431. for i=0,1,delay*2 do
  432. wait()
  433. Part.CFrame=Part.CFrame
  434. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  435. end
  436. Part.Parent=nil
  437. end),prt,msh)
  438. end
  439.  
  440. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  441. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  442. prt.Anchored=true
  443. prt.CFrame=cframe
  444. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  445. game:GetService("Debris"):AddItem(prt,2)
  446. coroutine.resume(coroutine.create(function(Part,Mesh)
  447. for i=0,1,delay do
  448. wait()
  449. Part.CFrame=Part.CFrame
  450. Part.Transparency=i
  451. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  452. end
  453. Part.Parent=nil
  454. end),prt,msh)
  455. end
  456.  
  457. function MagicRing(brickcolor,cframe,x1,y1,z1,x2,y2,z2,x3,y3,z3)
  458. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  459. prt.Anchored=true
  460. prt.CFrame=cframe*euler(x2,y2,z2)
  461. --"http://www.roblox.com/asset/?id=168892465"
  462. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  463. game:GetService("Debris"):AddItem(prt,2)
  464. coroutine.resume(coroutine.create(function(Part,Mesh)
  465. for i=0,1,0.03 do
  466. wait()
  467. Part.CFrame=Part.CFrame
  468. Part.Transparency=i
  469. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  470. end
  471. Part.Parent=nil
  472. end),prt,msh)
  473. end
  474.  
  475. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  476. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  477. prt.Anchored=true
  478. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  479. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  480. game:GetService("Debris"):AddItem(prt,2)
  481. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  482. CF=Part.CFrame
  483. Numbb=0
  484. randnumb=math.random()/10
  485. rand1=math.random()/10
  486. for i=0,1,rand1 do
  487. wait()
  488. CF=CF*cf(0,math.random()/2,0)
  489. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  490. Part.CFrame=CF*euler(Numbb,0,0)
  491. Part.Transparency=i
  492. Numbb=Numbb+randnumb
  493. end
  494. Part.Parent=nil
  495. end),prt,CF,Numbb,randnumb)
  496. end
  497.  
  498. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  499. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  500. prt.Anchored=true
  501. prt.CFrame=cframe
  502. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  503. game:GetService("Debris"):AddItem(prt,5)
  504. coroutine.resume(coroutine.create(function(Part,Mesh)
  505. for i=0,1,delay do
  506. wait()
  507. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  508. Part.Transparency=i
  509. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  510. end
  511. Part.Parent=nil
  512. end),prt,msh)
  513. end
  514.  
  515. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  516. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  517. prt.Anchored=true
  518. prt.CFrame=cframe
  519. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  520. game:GetService("Debris"):AddItem(prt,2)
  521. coroutine.resume(coroutine.create(function(Part,Mesh)
  522. for i=0,1,delay do
  523. wait()
  524. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  525. Part.Transparency=i
  526. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  527. end
  528. Part.Parent=nil
  529. end),prt,msh)
  530. end
  531.  
  532. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  533. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  534. prt.Anchored=true
  535. prt.CFrame=cframe*cf(x,y,z)
  536. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  537. game:GetService("Debris"):AddItem(prt,5)
  538. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  539. local num=math.random()
  540. local num2=math.random(-3,2)+math.random()
  541. local numm=0
  542. for i=0,1,delay*2 do
  543. swait()
  544. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  545. Part.Transparency=i
  546. numm=numm+0.01
  547. end
  548. Part.Parent=nil
  549. Mesh.Parent=nil
  550. end),prt,msh,x,y,z)
  551. end
  552.  
  553. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  554. if hit.Parent==nil then
  555. return
  556. end
  557. h=hit.Parent:FindFirstChild("Humanoid")
  558. for _,v in pairs(hit.Parent:children()) do
  559. if v:IsA("Humanoid") then
  560. h=v
  561. end
  562. end
  563. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  564. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  565. end
  566. if hit.Parent.className=="Hat" then
  567. hit=hit.Parent.Parent:findFirstChild("Head")
  568. end
  569. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  570. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  571. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  572. return
  573. end]]
  574. -- hs(hit,1.2)
  575. c=Instance.new("ObjectValue")
  576. c.Name="creator"
  577. c.Value=game:GetService("Players").LocalPlayer
  578. c.Parent=h
  579. game:GetService("Debris"):AddItem(c,.5)
  580. Damage=math.random(minim,maxim)
  581. -- h:TakeDamage(Damage)
  582. blocked=false
  583. block=hit.Parent:findFirstChild("Block")
  584. if block~=nil then
  585. print(block.className)
  586. if block.className=="NumberValue" then
  587. if block.Value>0 then
  588. blocked=true
  589. if decreaseblock==nil then
  590. block.Value=block.Value-1
  591. end
  592. end
  593. end
  594. if block.className=="IntValue" then
  595. if block.Value>0 then
  596. blocked=true
  597. if decreaseblock~=nil then
  598. block.Value=block.Value-1
  599. end
  600. end
  601. end
  602. end
  603. if blocked==false then
  604. -- h:TakeDamage(Damage)
  605. h.Health=h.Health-Damage
  606. showDamage(hit.Parent,Damage,.5,TorsoColor)
  607. else
  608. h.Health=h.Health-(Damage/2)
  609. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  610. end
  611. if Type=="Knockdown" then
  612. hum=hit.Parent.Humanoid
  613. hum.PlatformStand=true
  614. coroutine.resume(coroutine.create(function(HHumanoid)
  615. swait(1)
  616. HHumanoid.PlatformStand=false
  617. end),hum)
  618. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  619. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  620. local bodvol=Instance.new("BodyVelocity")
  621. bodvol.velocity=angle*knockback
  622. bodvol.P=5000
  623. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  624. bodvol.Parent=hit
  625. rl=Instance.new("BodyAngularVelocity")
  626. rl.P=3000
  627. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  628. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  629. rl.Parent=hit
  630. game:GetService("Debris"):AddItem(bodvol,.5)
  631. game:GetService("Debris"):AddItem(rl,.5)
  632. elseif Type=="Normal" then
  633. vp=Instance.new("BodyVelocity")
  634. vp.P=500
  635. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  636. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  637. if KnockbackType==1 then
  638. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  639. elseif KnockbackType==2 then
  640. vp.velocity=Property.CFrame.lookVector*knockback
  641. end
  642. if knockback>0 then
  643. vp.Parent=hit.Parent.Torso
  644. end
  645. game:GetService("Debris"):AddItem(vp,.5)
  646. elseif Type=="Up" then
  647. local bodyVelocity=Instance.new("BodyVelocity")
  648. bodyVelocity.velocity=vt(0,10,0)
  649. bodyVelocity.P=1000
  650. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  651. bodyVelocity.Parent=hit
  652. game:GetService("Debris"):AddItem(bodyVelocity,1)
  653. rl=Instance.new("BodyAngularVelocity")
  654. rl.P=3000
  655. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  656. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  657. rl.Parent=hit
  658. game:GetService("Debris"):AddItem(rl,.5)
  659. elseif Type=="Snare" then
  660. bp=Instance.new("BodyPosition")
  661. bp.P=2000
  662. bp.D=100
  663. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  664. bp.position=hit.Parent.Torso.Position
  665. bp.Parent=hit.Parent.Torso
  666. game:GetService("Debris"):AddItem(bp,1)
  667. elseif Type=="Target" then
  668. if Targetting==false then
  669. ZTarget=hit.Parent.Torso
  670. coroutine.resume(coroutine.create(function(Part)
  671. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  672. swait(5)
  673. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  674. end),ZTarget)
  675. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  676. targetgui=Instance.new("BillboardGui")
  677. targetgui.Parent=ZTarget
  678. targetgui.Size=UDim2.new(10,100,10,100)
  679. targ=Instance.new("ImageLabel")
  680. targ.Parent=targetgui
  681. targ.BackgroundTransparency=1
  682. targ.Image="rbxassetid://4834067"
  683. targ.Size=UDim2.new(1,0,1,0)
  684. cam.CameraType="Scriptable"
  685. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  686. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  687. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  688. Targetting=true
  689. RocketTarget=ZTarget
  690. for i=1,Property do
  691. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  692. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  693. swait()
  694. end
  695. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  696. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  697. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  698. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  699. end
  700. Targetting=false
  701. RocketTarget=nil
  702. targetgui.Parent=nil
  703. cam.CameraType="Custom"
  704. end
  705. end
  706. debounce=Instance.new("BoolValue")
  707. debounce.Name="DebounceHit"
  708. debounce.Parent=hit.Parent
  709. debounce.Value=true
  710. game:GetService("Debris"):AddItem(debounce,Delay)
  711. c=Instance.new("ObjectValue")
  712. c.Name="creator"
  713. c.Value=Player
  714. c.Parent=h
  715. game:GetService("Debris"):AddItem(c,.5)
  716. CRIT=false
  717. hitDeb=true
  718. AttackPos=6
  719. end
  720. end
  721.  
  722. showDamage=function(Char,Dealt,du,Color)
  723. m=Instance.new("Model")
  724. m.Name=tostring(Dealt)
  725. h=Instance.new("Humanoid")
  726. h.Health=0
  727. h.MaxHealth=0
  728. h.Parent=m
  729. c=Instance.new("Part")
  730. c.Transparency=0
  731. c.BrickColor=TorsoColor
  732. c.Name="Head"
  733. c.TopSurface=0
  734. c.BottomSurface=0
  735. c.formFactor="Plate"
  736. c.Size=Vector3.new(1,.4,1)
  737. ms=Instance.new("CylinderMesh")
  738. ms.Scale=Vector3.new(.8,.8,.8)
  739. so("http://www.roblox.com/asset/?id=199149269",c,1,1)
  740. if CRIT==true then
  741. ms.Scale=Vector3.new(1,1.25,1)
  742. end
  743. ms.Parent=c
  744. c.Reflectance=0
  745. Instance.new("BodyGyro").Parent=c
  746. c.Parent=m
  747. if Char:findFirstChild("Head")~=nil then
  748. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  749. elseif Char.Parent:findFirstChild("Head")~=nil then
  750. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  751. end
  752. f=Instance.new("BodyPosition")
  753. f.P=2000
  754. f.D=100
  755. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  756. f.position=c.Position+Vector3.new(0,3,0)
  757. f.Parent=c
  758. game:GetService("Debris"):AddItem(m,.5+du)
  759. c.CanCollide=false
  760. m.Parent=workspace
  761. c.CanCollide=false
  762. end
  763.  
  764. Player=game:GetService("Players").LocalPlayer
  765. Character=Player.Character
  766. m=Instance.new('Model',Character)
  767.  
  768.  
  769. local function weldBetween(a, b)
  770. local weldd = Instance.new("ManualWeld")
  771. weldd.Part0 = a
  772. weldd.Part1 = b
  773. weldd.C0 = CFrame.new()
  774. weldd.C1 = b.CFrame:inverse() * a.CFrame
  775. weldd.Parent = a
  776. return weldd
  777. end
  778.  
  779. it=Instance.new
  780.  
  781. function nooutline(part)
  782. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  783. end
  784.  
  785. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  786. local fp=it("Part")
  787. fp.formFactor=formfactor
  788. fp.Parent=parent
  789. fp.Reflectance=reflectance
  790. fp.Transparency=transparency
  791. fp.CanCollide=false
  792. fp.Locked=true
  793. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  794. fp.Name=name
  795. fp.Size=size
  796. fp.Position=Character.Torso.Position
  797. nooutline(fp)
  798. fp.Material=material
  799. fp:BreakJoints()
  800. return fp
  801. end
  802.  
  803. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  804. local mesh=it(Mesh)
  805. mesh.Parent=part
  806. if Mesh=="SpecialMesh" then
  807. mesh.MeshType=meshtype
  808. mesh.MeshId=meshid
  809. end
  810. mesh.Offset=offset
  811. mesh.Scale=scale
  812. return mesh
  813. end
  814.  
  815. function weld(parent,part0,part1,c0,c1)
  816. local weld=it("Weld")
  817. weld.Parent=parent
  818. weld.Part0=part0
  819. weld.Part1=part1
  820. weld.C0=c0
  821. weld.C1=c1
  822. return weld
  823. end
  824.  
  825. local modelzorz=Instance.new("Model")
  826. modelzorz.Parent=Character
  827. modelzorz.Name="Claw1"
  828.  
  829. Handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  830. 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))
  831. mesh("SpecialMesh",Handle,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  832. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","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.89693689, 0.0205960274, 1.83752108, 0.00084605813, 0.865680099, -0.500597, -0.999998748, 2.925843e-005, -0.00163948536, -0.00140464306, 0.500597715, 0.865678906))
  834. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  835. 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))
  836. 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))
  837. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  838. 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))
  839. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  840. 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))
  841. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  842. 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))
  843. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"White","Part",Vector3.new(2.20000005, 1, 1))
  844. 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))
  845. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  846. 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))
  847. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","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(3.85524988, -0.0749192238, 1.7092638, -0.499263257, 0.749717236, -0.434350491, -0.866449237, -0.432811975, 0.248876765, -0.00140497088, 0.500597596, 0.865678906))
  849. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  850. 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))
  851. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  852. 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))
  853. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  854. 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))
  855. 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))
  856. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  857. 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))
  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.0751276016, 4.03159618, -4.50067854, -0.866445661, -0.432817698, 0.248879611, -0.352042913, 0.176151246, -0.919258773, 0.354030937, -0.884103894, -0.304995805))
  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. Gear=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  862. 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))
  863. mesh("SpecialMesh",Gear,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  864. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  865. 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))
  866. 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))
  867. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  868. 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))
  869. 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))
  870.  
  871. --[[
  872. local modelzorz2=Instance.new("Model")
  873. modelzorz2.Parent=Character
  874. modelzorz2.Name="Claw2"
  875.  
  876. Handle2=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1))
  877. 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))
  878. mesh("SpecialMesh",Handle2,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  880. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(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))
  881. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","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.70916891, 0.288796425, 1.12511444, 0.424947768, 0.836517453, -0.34591651, -0.870010257, 0.482961774, 0.0991482884, 0.250003695, 0.25881803, 0.933012009))
  883. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  884. 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))
  885. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  886. 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))
  887. 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))
  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.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))
  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,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  892. Partweld=weld(m,Handle2,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(3.11095357, 0.452475548, 3.33581829, 0.214266971, -0.258726388, -0.941886604, 0.124996454, -0.949091196, 0.289140463, -0.968744338, -0.179685742, -0.171018958))
  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.445028067, 4.04179811, -4.22505188, -0.433007121, 0.86602807, 0.250001073, 0.176776409, 0.353552371, -0.918559194, -0.883886516, -0.353548348, -0.306183964))
  895. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  896. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  897. Partweld=weld(m,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))
  898. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  899. 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))
  900. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 2.92400002, 1.18400002))
  901. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  902. Partweld=weld(m,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))
  903. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,TorsoColor,"Part",Vector3.new(1, 0.400000006, 1))
  904. 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))
  905. 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))
  906. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  907. Partweld=weld(m,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))
  908. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  909. Partweld=weld(m,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))
  910. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  911. Partweld=weld(m,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))
  912. Gear2=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(4.29999971, 4.30000019, 1))
  913. 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))
  914. mesh("SpecialMesh",Gear2,Enum.MeshType.FileMesh,"http://www.roblox.com/asset?id=156292343",Vector3.new(0, 0, 0),Vector3.new(5, 5, 15))
  915. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(2.20000005, 1, 1))
  916. Partweld=weld(m,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))
  917. ]]--
  918.  
  919. -- GUN PART ---------------------------
  920.  
  921.  
  922. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","HandleB",Vector3.new(1, 1, 0.800000072))
  923. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-5.34057617e-005, 0.000112533569, -8.82148743e-006, -5.13637077e-010, -9.34523126e-010, 0.999993324, 0.999993324, -1.55961271e-008, 5.12500209e-010, 1.54810991e-008, 0.999992251, 9.32938282e-010))
  924. Barrel4A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Barrel4A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  925. Barrel4Aweld=weld(m,HandleB,Barrel4A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700273514, -1.89999568, -0.200382233, 7.9176798e-006, 0.999986649, 1.00922007e-005, 5.66249946e-006, 1.00922507e-005, -1, -0.999986649, 7.91774073e-006, -5.66249219e-006))
  926. Barrel5A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Barrel5A",Vector3.new(0.400000006, 0.200000003, 0.400000006))
  927. Barrel5Aweld=weld(m,HandleB,Barrel5A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700338364, -1.89999771, 0.0996551514, 7.91767525e-006, 0.999986649, 1.00922598e-005, 5.662278e-006, 1.00923098e-005, -1, -0.999986649, 7.91773527e-006, -5.66227072e-006))
  928. Barrel6A=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really red","Barrel6A",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  929. Barrel6Aweld=weld(m,HandleB,Barrel6A,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.700332642, -1.89999914, 0.399604797, 7.91767798e-006, 0.999986649, 1.00922207e-005, 5.66242488e-006, 1.00922707e-005, -1, -0.999986649, 7.917738e-006, -5.66241761e-006))
  930. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  931. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.39950943, -2.3000021, -0.700250626, 0.999986649, 2.24909646e-010, 4.70967154e-010, -4.74188411e-010, -5.56574378e-008, 1, 2.27183439e-010, -0.999986649, -5.54278046e-008))
  932. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  933. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  934. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200298309, 1.70499992, -0.70026207, 0.999986649, 3.25459687e-010, 6.09574891e-010, -6.1279426e-010, -5.37770717e-008, 1, 3.27733451e-010, -0.999986649, -5.35474207e-008))
  935. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  936. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.210000008, 0.800000012))
  937. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996704102, 1.70499897, -0.700256348, 0.999986649, 3.25459326e-010, 6.09557238e-010, -6.12776663e-010, -5.28618074e-008, 1, 3.27733063e-010, -0.999986649, -5.26321386e-008))
  938. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  939. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  940. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.70000124, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  941. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  942. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  943. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 0.699999332, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  944. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  945. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  946. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000354766846, 0.699999332, 0.404693604, 0.999986649, 1.1949472e-010, 2.8891356e-010, -2.92137314e-010, -5.02095787e-008, 1, 1.21768429e-010, -0.999986649, -4.9979878e-008))
  947. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  948. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.89999723, -0.700302124, 0.999986649, 1.81069548e-010, 4.05318112e-010, -4.08540202e-010, -5.60037847e-008, 1, 1.83343313e-010, -0.999986649, -5.57741586e-008))
  949. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  950. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  951. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.00016784668, -0.700058937, 0.404985428, 0.999986649, 5.06481115e-007, -8.88550039e-006, 8.88538398e-006, -1.53480414e-005, 1, 5.06347078e-007, -0.999986649, -1.53480123e-005))
  952. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  953. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.410140991, -0.700058937, -2.86102295e-005, 0.999986649, 5.06480035e-007, -8.88562045e-006, 8.88550676e-006, -1.53479523e-005, 1, 5.06345941e-007, -0.999986649, -1.53479305e-005))
  954. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  955. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409835815, -0.700058699, -2.47955322e-005, 0.999986649, 5.06473384e-007, -8.88574777e-006, 8.88563409e-006, -1.53484561e-005, 1, 5.0633929e-007, -0.999986649, -1.53484343e-005))
  956. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  957. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200374603, 1.69999969, -0.700273514, 0.999986649, 1.95510885e-010, 4.26103208e-010, -4.29325075e-010, -5.68092915e-008, 1, 1.9778465e-010, -0.999986649, -5.65796761e-008))
  958. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  959. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.39999986, 0.400000036))
  960. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995597839, 0.899998665, -0.700296402, 0.999986649, 1.82185933e-010, 4.06940814e-010, -4.10131984e-010, -5.61190348e-008, 1, 1.84459698e-010, -0.999986649, -5.58892772e-008))
  961. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  962. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 0.80000025))
  963. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400348663, 0.700309753, -1.39999938, 0.999986649, 4.33706404e-011, 9.50293177e-011, -4.56443772e-011, 0.999986649, 2.17802665e-010, -9.82245951e-011, -4.48304505e-010, 1))
  964. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.599999964))
  965. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700330734, -0.600002289, -0.199569702, 1.87184696e-006, -0.999986649, 1.0768357e-006, -3.12246243e-007, -1.0765915e-006, -1, 0.999986649, 1.87184435e-006, -3.12255651e-007))
  966. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  967. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  968. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399551392, 0.900000334, -0.700281143, 0.999986649, 2.12532297e-010, 4.46642945e-010, -4.4986459e-010, -5.53439889e-008, 1, 2.14806062e-010, -0.999986649, -5.51143557e-008))
  969. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  971. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.49999881, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  972. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  973. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  974. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, -1.10000229, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  975. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 0.559999943))
  976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.19999969, 0.400000006))
  977. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200496674, -1.60000134, -0.700332642, 0.999986649, 1.74215392e-010, 3.95577848e-010, -3.98800049e-010, -5.57730289e-008, 1, 1.76489184e-010, -0.999986649, -5.55433957e-008))
  978. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.39999986, 0.400000036))
  980. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200405121, 0.900000334, -0.700304031, 0.999986649, 2.04794931e-010, 4.35489422e-010, -4.38711178e-010, -5.59133824e-008, 1, 2.07068696e-010, -0.999986649, -5.56837598e-008))
  981. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  982. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.399999976))
  983. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700307846, -0.600000143, 0.299545288, 1.0860814e-006, -0.999986649, 1.22885763e-006, 2.51865401e-007, 1.22861104e-006, 1, -0.999986649, -1.08607878e-006, 2.51873274e-007))
  984. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  985. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 0.400000066))
  986. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0996398926, 0.70029068, -2.14576721e-006, 0.999986649, 3.7787995e-011, 9.27144472e-011, -4.00617317e-011, 0.999986649, 1.00676356e-009, -9.59097246e-011, -1.23725208e-009, 1))
  987. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  988. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.200492859, -2.30000019, -0.700273514, 0.999986649, 2.13633666e-010, 4.54880855e-010, -4.58102278e-010, -5.5424934e-008, 1, 2.15907459e-010, -0.999986649, -5.51953008e-008))
  989. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  990. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 1.99999988, 0.400000036))
  991. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399505615, -1.20000219, -0.700250626, 0.999986649, 2.20402863e-010, 4.64567773e-010, -4.67789085e-010, -5.56560096e-008, 1, 2.22676655e-010, -0.999986649, -5.54263728e-008))
  992. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  993. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  994. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399719238, 1.70499969, -0.700256348, 0.999986649, 3.29966443e-010, 6.15962115e-010, -6.19181484e-010, -5.33209956e-008, 1, 3.3224018e-010, -0.999986649, -5.3091334e-008))
  995. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.74000001, 1, 1))
  996. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.400000006, 0.400000006, 0.200000003))
  997. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0994110107, -0.700311661, 1.09999871, -0.999993324, -5.12500209e-010, -9.32938282e-010, 5.13637077e-010, -0.999993324, -1.54810991e-008, -9.34530342e-010, -1.55962478e-008, 1))
  998. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/asset/?id=3270017",Vector3.new(0, 0, 0),Vector3.new(0.399999976, 0.399999946, 3.8599999))
  999. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.400000006, 1.80000019))
  1000. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.400318146, 0.700298309, -0.100000381, 0.999986649, 2.87218582e-011, 7.42863548e-011, -3.0995595e-011, 0.999986649, 3.27936789e-010, -7.74819098e-011, -5.58436852e-010, 1))
  1001. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 0.400000006, 0.800000072))
  1002. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.100364685, 0.700286865, -0.600000858, 0.999986649, 2.75119372e-011, 7.16121606e-011, -2.97856739e-011, 0.999986649, 4.25513846e-010, -7.48077711e-011, -6.56010357e-010, 1))
  1003. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1004. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.700284958, -0.900002718, 0.400382996, 2.85113333e-006, -0.999986649, 1.24790631e-006, -2.03824266e-006, -1.24766507e-006, -1, 0.999986649, 2.85112856e-006, -2.03827699e-006))
  1005. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1006. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1007. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.409973145, 0.700000763, 8.39233398e-005, 0.999986649, 3.77252896e-010, 6.4611394e-010, -6.49305831e-010, -4.78722271e-008, 1, 3.79512477e-010, -0.999986649, -4.76382809e-008))
  1008. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1009. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000339508057, 0.699999332, -0.405292511, 0.999986649, 1.17249405e-010, 2.85726331e-010, -2.88950197e-010, -5.04469853e-008, 1, 1.19523141e-010, -0.999986649, -5.0217281e-008))
  1010. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.200000003, 0.600000024))
  1011. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.409610748, 0.699999332, -0.000310897827, 0.999986649, 1.17249349e-010, 2.85726443e-010, -2.88950308e-010, -5.04469853e-008, 1, 1.19523086e-010, -0.999986649, -5.0217281e-008))
  1012. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.01999998, 0.200000003, 0.210000008))
  1013. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000164031982, -0.700058937, -0.405000687, 0.999986649, 5.06467813e-007, -8.88587419e-006, 8.88576051e-006, -1.53488418e-005, 1, 5.0633372e-007, -0.999986649, -1.53488199e-005))
  1014. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 1.59999967, 0.400000036))
  1015. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0994300842, -1.00000286, -0.700296402, 0.999986649, 1.7766863e-010, 4.00603883e-010, -4.03795108e-010, -5.63463871e-008, 1, 1.79942367e-010, -0.999986649, -5.61166367e-008))
  1016. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1017. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.800000012, 0.200000003))
  1018. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.70032692, -2.19999671, 0.400455475, -1.13279009e-006, 0.999986649, -1.23916982e-006, 3.2159258e-007, 1.23892323e-006, 1, 0.999986649, 1.13278747e-006, -3.21601505e-007))
  1019. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1020. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.400000006, 0.200000003, 0.400000036))
  1021. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0995979309, 1.69999874, -0.700267792, 0.999986649, 1.93360383e-010, 4.22906765e-010, -4.26128688e-010, -5.61221967e-008, 1, 1.9563412e-010, -0.999986649, -5.58925741e-008))
  1022. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1023. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","Part",Vector3.new(0.200000003, 0.200000003, 0.400000036))
  1024. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.399623871, 1.69999945, -0.70026207, 0.999986649, 1.97764305e-010, 4.29296765e-010, -4.32518632e-010, -5.65812428e-008, 1, 2.00038042e-010, -0.999986649, -5.63516203e-008))
  1025. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1026.  
  1027.  
  1028. -- GUN PART ---------------------------
  1029.  
  1030. -- barrel -------
  1031.  
  1032. GunHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleA",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1033. GunHandleAweld=weld(m,GunConnectorA,GunHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000495910645, -0.00170707703, -0.00163197517, 0.999986649, 4.22736013e-011, 1.67127983e-008, -4.45420784e-011, 0.999986649, 6.05984596e-009, -1.67201968e-008, -6.30252028e-009, 1))
  1034. mesh("CylinderMesh",GunHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1035. GunHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1036. GunHandleBweld=weld(m,GunConnectorB,GunHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.19616699e-005, -7.62939453e-006, -1.66893005e-006, 0.999986649, 1.24759092e-011, 7.23904825e-011, -1.47443169e-011, 0.999986649, 2.54799559e-009, -8.00138289e-011, -2.79077916e-009, 1))
  1037. mesh("CylinderMesh",GunHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1038.  
  1039. BackHandle=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BackHandle",Vector3.new(0.800000012, 0.600000024, 1.20000005))
  1040. BackHandleweld=weld(m,Character["Torso"],BackHandle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.000143051147, 0.799930573, 0.20047307, 0.999993324, -1.62740506e-008, 2.05381559e-010, 2.06515763e-010, 6.19668095e-010, -0.999993324, 1.61529243e-008, 0.999992371, 6.15865525e-010))
  1041.  
  1042. JointConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorA",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1043. JointConnectorAweld=weld(m,BackHandle,JointConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.86645508e-005, -0.797990799, -0.199465752, -1.34834088e-011, -0.999986649, -8.9196428e-012, 0.999986649, -1.12150289e-011, -9.5399777e-010, 7.12287118e-010, -1.33471012e-012, 0.999969482))
  1044. mesh("CylinderMesh",JointConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1045. JointConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Really black","JointConnectorB",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1046. JointConnectorBweld=weld(m,BackHandle,JointConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, 0.80194664, -0.199468851, -1.46291035e-011, -0.999986649, -5.74146286e-012, 0.999986649, -1.23607374e-011, -5.9252514e-010, 3.50306451e-010, 1.86239912e-012, 0.999984741))
  1047. mesh("CylinderMesh",JointConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1048.  
  1049. JointHandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleA",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1050. JointHandleAweld=weld(m,JointConnectorA,JointHandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.95910645e-005, -5.91278076e-005, -9.53674316e-007, 0.999986649, 1.01844921e-011, 6.03297412e-011, -1.24528582e-011, 0.999986649, 2.30521913e-009, -6.79519219e-011, -2.54792187e-009, 1))
  1051. mesh("CylinderMesh",JointHandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1052. GunConnectorA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorA",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1053. GunConnectorAweld=weld(m,JointHandleA,GunConnectorA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(9.53674316e-005, -1.10033035, -0.600126028, 0.999986649, -5.74137266e-011, -4.820222e-011, 5.51453327e-011, 0.999986649, -2.96968938e-009, 4.05803169e-011, 2.72697953e-009, 1))
  1054. mesh("CylinderMesh",GunConnectorA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1055. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1056. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000270843506, 0.701763153, 0.601624489, 0.999986649, 2.62356498e-010, 1.72325603e-008, 2.64626931e-010, -0.999986649, -1.20365556e-007, 1.72399481e-008, 1.20606614e-007, -1))
  1057. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1058. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1059. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000247955322, 0.501737595, 0.601624966, 0.999986649, 2.5675484e-010, 1.72236128e-008, 2.5902322e-010, -0.999986649, -3.20770077e-010, 1.72309988e-008, 5.63439961e-010, -1))
  1060. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1061. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1062. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.000305175781, -0.901706696, -0.601625204, 0.999986649, -3.76128156e-011, 1.66311658e-008, 3.53444635e-011, 0.999986649, -4.45636417e-010, -1.66385625e-008, 2.02958539e-010, 1))
  1063. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1064. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993))
  1065. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301893234, 1.90734863e-005, -0.200528145, -3.0438152e-011, 0.999986649, 1.30145672e-010, -0.999986649, -2.81697998e-011, -3.97587518e-012, -1.15972232e-011, -3.72825326e-010, 1))
  1066. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1067. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, 0.49947238, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1))
  1068. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1069. Partweld=weld(m,JointHandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.301876068, 1.52587891e-005, -0.900527954, -3.15723281e-011, 0.999986649, 2.5146818e-010, -0.999986649, -2.9303962e-011, -2.42461606e-012, -1.00464637e-011, -4.9414961e-010, 1))
  1070.  
  1071. JointHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","JointHandleB",Vector3.new(0.600000024, 0.400000066, 0.800000012))
  1072. JointHandleBweld=weld(m,JointConnectorB,JointHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(6.10351563e-005, -2.86102295e-005, -9.53674316e-007, 0.999986649, 7.93920485e-012, 4.95208874e-011, -1.02075709e-011, 0.999986649, 2.06251638e-009, -5.71430681e-011, -2.3052209e-009, 1))
  1073. mesh("CylinderMesh",JointHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1074. GunConnectorB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"Mid gray","GunConnectorB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1075. GunConnectorBweld=weld(m,JointHandleB,GunConnectorB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.2479248e-005, 1.09965706, -0.600126028, 0.999986649, -6.42187553e-011, -7.10619341e-011, 6.19503615e-011, 0.999986649, -3.69769282e-009, 6.34394759e-011, 3.4549652e-009, 1))
  1076. mesh("CylinderMesh",GunConnectorB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1077. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1078. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.90734863e-005, 0.699949265, -0.600000381, 0.999986649, -5.30060024e-011, -6.93863855e-011, 5.07376224e-011, 0.999986649, -3.23638005e-009, 6.17638718e-011, 2.99365954e-009, 1))
  1079. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1080. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000063, 0.800000012))
  1081. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(7.62939453e-006, 0.899938583, -0.600000381, 0.999986649, -5.2982993e-011, -6.49554854e-011, 5.07146408e-011, 0.999986649, -3.23178284e-009, 5.73329162e-011, 2.98905789e-009, 1))
  1082. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1083. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1084. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(5.7220459e-005, 0.49993515, -0.600000381, 0.999986649, -3.48823748e-011, -1.28634325e-011, 3.26140087e-011, 0.999986649, -1.29975941e-009, 5.24147392e-012, 1.05705666e-009, 1))
  1085. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1086. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.600000024, 1.19999993))
  1087. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298002243, 2.28881836e-005, -0.200527906, -2.9303962e-011, 0.999986649, 8.83737528e-012, -0.999986649, -2.7035596e-011, -1.70308212e-013, -7.79232234e-012, -2.51525911e-010, 1))
  1088. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Dark blue","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1089. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298007965, 2.28881836e-005, 0.499472857, -3.15723281e-011, 0.999986649, 8.81961171e-012, -0.999986649, -2.9303962e-011, 5.19134735e-012, -2.4307778e-012, -2.51514365e-010, 1))
  1090. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.200000003, 0.600000024, 0.200000003))
  1091. Partweld=weld(m,JointHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298036575, 1.90734863e-005, -0.900527716, -2.47674659e-011, 0.999986649, 2.51393573e-010, -0.999986649, -2.24990998e-011, -2.43050025e-012, -1.00525144e-011, -4.94083885e-010, 1))
  1092.  
  1093. -- barrel part ---------
  1094.  
  1095. ------ BACK GUN ---------------
  1096.  
  1097. GunHandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Mid gray","GunHandleB",Vector3.new(0.600000024, 0.200000003, 0.800000012))
  1098. GunHandleBweld=weld(m,GunConnectorB,GunHandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(4.19616699e-005, -7.62939453e-006, -1.66893005e-006, 0.999986649, 1.24759092e-011, 7.23904825e-011, -1.47443169e-011, 0.999986649, 2.54799559e-009, -8.00138289e-011, -2.79077916e-009, 1))
  1099. mesh("CylinderMesh",GunHandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1100. Barrel3B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel3B",Vector3.new(0.200000003, 0.200000003, 0.200000003))
  1101. Barrel3Bweld=weld(m,GunHandleB,Barrel3B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298568726, -6.3110342, 0.109573364, 7.04887543e-006, 0.999986649, 8.64993217e-006, -5.60172384e-006, -8.65001311e-006, 1, 0.999986649, -7.04892591e-006, 5.60173248e-006))
  1102. Barrel4B=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,1,"White","Barrel4B",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1103. Barrel4Bweld=weld(m,GunHandleB,Barrel4B,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.298635483, -6.31103134, -0.10042572, 7.04887498e-006, 0.999986649, 8.64966933e-006, -5.60180706e-006, -8.64975755e-006, 1, 0.999986649, -7.04892545e-006, 5.60181343e-006))
  1104. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000006))
  1105. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300489426, -2.59933567, -0.699710846, 2.66085681e-010, -0.999993324, -1.69247603e-008, -3.04048804e-008, -1.70460215e-008, 1, -0.999993324, -2.64950978e-010, -3.04012708e-008))
  1106. mesh("SpecialMesh",Part,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9944765",Vector3.new(0, 0, 0),Vector3.new(0.439999998, 0.440000027, 1))
  1107. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.200000003, 0.210000008, 0.800000012))
  1108. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100124359, -6.10440683, -0.300443649, 0.999986649, 1.39920048e-010, 3.49109297e-010, -3.54513918e-010, -5.19872998e-008, 1, 1.42181072e-010, -0.999986649, -5.17518686e-008))
  1109. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1110. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000072, 0.400000095, 0.800000012))
  1111. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300243378, -1.39940548, -0.300363541, 0.999986649, 1.51865548e-010, 3.62255059e-010, -3.67659569e-010, -4.92494365e-008, 1, 1.54126545e-010, -0.999986649, -4.90139769e-008))
  1112. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1113. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.5999999, 0.400000036))
  1114. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699794769, -1.299366, -0.300420761, 0.999986649, 1.22327856e-010, 3.10851983e-010, -3.16283805e-010, -4.91525753e-008, 1, 1.24598942e-010, -0.999986649, -4.89167107e-008))
  1115. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1116. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000006, 0.200000003, 0.200000033))
  1117. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998840332, -6.09941149, -0.300338745, 0.999986649, 1.75362419e-010, -3.21161819e-010, 3.15980297e-010, -5.09166682e-008, 1, 1.77860865e-010, -0.999986649, -5.06810736e-008))
  1118. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1119. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1120. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300373077, -0.000152587891, 3.79894924, 5.94459806e-008, 0.999993324, -3.15209547e-007, 0.999993324, -5.94470819e-008, 1.05053815e-007, 1.05056905e-007, -3.15086055e-007, -1))
  1121. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1122. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 4, 0.200000033))
  1123. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998573303, -3.99940681, -0.300294876, 0.999986649, 1.62245842e-010, 4.01816996e-010, -4.09433931e-010, -5.10763698e-008, 1, 1.64514263e-010, -0.999986649, -5.08343021e-008))
  1124. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1125. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.400000036, 0.399999857, 0.400000036))
  1126. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.699703217, -2.5993371, -0.300477982, 0.999986649, 1.59587107e-010, 3.70679432e-010, -3.7608372e-010, -5.124447e-008, 1, 1.61855473e-010, -0.999986649, -5.10089535e-008))
  1127. mesh("SpecialMesh",Part,Enum.MeshType.Sphere,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1128. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.600000024, 0.599999964))
  1129. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300346375, 7.62939453e-005, 1.30104756, -1.25599331e-006, 0.999986649, -1.08324866e-006, -0.999986649, -1.25599138e-006, -2.53723101e-007, -2.53726483e-007, 1.08299741e-006, 1))
  1130. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1131. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039))
  1132. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897331238, -4.09940767, -0.300321579, 0.999986649, 1.75541956e-010, 4.23136887e-010, -4.28540536e-010, -4.99766983e-008, 1, 1.77802967e-010, -0.999986649, -4.97412458e-008))
  1133. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1134. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.200000003))
  1135. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300380707, -0.399925232, 2.69894695, 2.54958943e-010, -0.999986649, -5.11322526e-007, -0.999986649, -2.52948495e-010, 5.04145078e-007, -5.0413297e-007, 5.11551889e-007, -1))
  1136. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1137. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.420000017, 0.200000003, 0.240000039))
  1138. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0896949768, -5.09941053, -0.300304413, 0.999986649, 2.16437007e-010, 5.04708164e-010, -5.10111731e-010, -4.76247095e-008, 1, 2.18473767e-010, -0.999986649, -4.74842494e-008))
  1139. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1140. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006))
  1141. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.499893188, -1.29933453, -0.30043602, 0.999986649, 1.24942667e-010, 3.0064895e-010, -3.06080966e-010, -4.97747621e-008, 1, 1.2721374e-010, -0.999986649, -4.95389116e-008))
  1142. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017))
  1143. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105361938, -5.09940863, -0.300439835, 0.999986649, 2.19144619e-010, 4.92763108e-010, -4.98166786e-010, -4.75694506e-008, 1, 2.21181351e-010, -0.999986649, -4.74289905e-008))
  1144. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1145. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000036, 0.599999964))
  1146. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300424576, -0.499774933, 0.301050901, -1.16660328e-006, 0.999986649, -1.08499785e-006, -0.999986649, -1.16660124e-006, -2.5373717e-007, -2.53740467e-007, 1.08474649e-006, 1))
  1147. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1148. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012))
  1149. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.30022049, -1.09940672, -0.300344467, 0.999986649, 1.32488548e-010, 3.23731736e-010, -3.29136274e-010, -4.74834252e-008, 1, 1.34745423e-010, -0.999986649, -4.72433328e-008))
  1150. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1151. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.410000026, 0.200000003, 0.420000017))
  1152. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105297089, -4.09940767, -0.30047226, 0.999993324, 1.69849676e-010, 3.96380623e-010, -4.0018916e-010, -4.98077881e-008, 1, 1.70983894e-010, -0.999993324, -4.96867543e-008))
  1153. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1154. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.800000012, 0.400000006, 2))
  1155. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100025177, 0.300323486, 0.000544548035, 0.999986649, 1.76003934e-011, 4.28246882e-011, -1.9868801e-011, 0.999986649, 1.89625915e-009, -5.04464248e-011, -2.13898055e-009, 1))
  1156. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.420000017, 0.399999857, 0.240000039))
  1157. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0897445679, -5.79940653, -0.300327301, 0.999986649, 1.55701896e-010, 3.90041111e-010, -3.97658184e-010, -5.18663867e-008, 1, 1.5797029e-010, -0.999986649, -5.16243261e-008))
  1158. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1159. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.399999976))
  1160. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300367355, -0.199840546, 3.79894853, 1.59872254e-010, -0.999986649, -7.96914179e-008, -0.999986649, -1.57611257e-010, -3.62458841e-010, 3.67863295e-010, 7.99264726e-008, -1))
  1161. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1162. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 2.60000014, 0.400000006))
  1163. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998916626, -2.29933071, -0.300395966, 0.999986649, 1.41108e-010, 3.18053445e-010, -3.23485155e-010, -5.00977677e-008, 1, 1.43379086e-010, -0.999986649, -4.98619173e-008))
  1164. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.400000095))
  1165. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300045013, 0.300441742, -1.99945283, 0.999986649, 1.41472348e-010, 3.41166845e-010, -1.43733345e-010, 0.999986649, 1.990154e-008, -3.46571577e-010, -2.0137394e-008, 1))
  1166. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Light stone grey","Part",Vector3.new(0.400000036, 0.200000003, 0.800000012))
  1167. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.100158691, -6.09941149, -0.300437927, 0.999986649, 1.56263169e-010, -7.46887552e-011, 6.95088431e-011, -5.0951229e-008, 1, 1.58761615e-010, -0.999986649, -5.07156344e-008))
  1168. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1169. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.410000026, 0.400000006, 0.420000017))
  1170. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.105251312, -5.79940557, -0.300508499, 0.999986649, 1.52321961e-010, 3.68549413e-010, -3.76166764e-010, -5.18612779e-008, 1, 1.54590341e-010, -0.999986649, -5.16192173e-008))
  1171. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1172. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.200000003, 0.599999964))
  1173. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300346375, -0.400138855, 1.30104756, 1.31146123e-006, -0.999986529, 1.0877593e-006, 0.999986172, 1.35616187e-006, 2.03296949e-007, -2.03299621e-007, 1.08741017e-006, 0.999999702))
  1174. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1175. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000036, 4, 0.400000036))
  1176. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.10011673, -3.99940634, -0.300430298, 0.999986649, 1.33827005e-010, 3.36718153e-010, -3.44335921e-010, -5.2595162e-008, 1, 1.36095413e-010, -0.999986649, -5.23531156e-008))
  1177. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1178. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,"Bright orange","Part",Vector3.new(0.800000072, 0.200000003, 0.800000012))
  1179. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.300197601, -1.69940472, -0.300382614, 0.999986649, 1.56137825e-010, 3.67033265e-010, -3.72437692e-010, -5.02825515e-008, 1, 1.58399002e-010, -0.999986649, -4.98551174e-008))
  1180. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1181. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.400000006, 0.599999964))
  1182. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.300363541, -0.300140381, 2.49895048, 5.94261316e-008, 0.999986649, -3.15601568e-007, 0.999986649, -5.9428352e-008, 1.05065951e-007, 1.05069944e-007, -3.15336081e-007, -1))
  1183. mesh("SpecialMesh",Part,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  1184. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.400000006, 0.210000008, 0.200000033))
  1185. Partweld=weld(m,GunHandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.0998954773, -6.10440683, -0.300350189, 0.999986649, 1.26621949e-010, 3.31786959e-010, -3.39404865e-010, -5.15411713e-008, 1, 1.28890357e-010, -0.999986649, -5.12991107e-008))
  1186. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.620000005))
  1187.  
  1188. ------ BACK GUN----------------
  1189.  
  1190.  
  1191. local modelzorz3=Instance.new("Model")
  1192. modelzorz3.Parent=Character
  1193. modelzorz3.Name="Eye"
  1194.  
  1195. handle=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Handle",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1196. 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))
  1197. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"http://www.roblox.com/Asset/?id=9756362",Vector3.new(0, 0, 0),Vector3.new(1, 3, 1))
  1198. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1199. 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))
  1200. 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))
  1201. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(1.20000005, 1.20000005, 1.20000005))
  1202. 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))
  1203. 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))
  1204. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(3.79999995, 4, 1.39999998))
  1205. 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))
  1206. 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))
  1207. Part=part(Enum.FormFactor.Custom,m,Enum.Material.Neon,0,0,TorsoColor,"Part",Vector3.new(3.79999995, 4, 1.39999998))
  1208. 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))
  1209. 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))
  1210. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1211. 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))
  1212. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1213. 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))
  1214. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1215. 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))
  1216. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.600000024, 2.5999999, 0.599999964))
  1217. 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))
  1218.  
  1219. local tr1 = Instance.new("Trail",Handle)
  1220. tr1.Color = ColorSequence.new(Part.BrickColor.Color)
  1221. tr1.Transparency = NumberSequence.new(0,1)
  1222. tr1.Lifetime = .5
  1223. --tr1.Enabled = false
  1224. tr1.LightEmission = 1
  1225.  
  1226. anim = Character:findFirstChild("Animate")
  1227. if anim then
  1228. anim:Destroy()
  1229. end
  1230.  
  1231. local particleemitter = Instance.new("ParticleEmitter", Handle)
  1232. particleemitter.VelocitySpread = 180
  1233. particleemitter.Lifetime = NumberRange.new(0.1)
  1234. particleemitter.Speed = NumberRange.new(2)
  1235. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1236. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1237. particleemitter.Rate = 100
  1238. particleemitter.Rotation = NumberRange.new(-45, 45)
  1239. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1240. particleemitter.LightEmission = 0
  1241. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1242.  
  1243. --[[
  1244. local particleemitter = Instance.new("ParticleEmitter", Handle2)
  1245. particleemitter.VelocitySpread = 180
  1246. particleemitter.Lifetime = NumberRange.new(0.1)
  1247. particleemitter.Speed = NumberRange.new(2)
  1248. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 5.563)})
  1249. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1250. particleemitter.Rate = 100
  1251. particleemitter.Rotation = NumberRange.new(-45, 45)
  1252. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1253. particleemitter.LightEmission = 0
  1254. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1255. ]]--
  1256.  
  1257. local particleemitter = Instance.new("ParticleEmitter", handle)
  1258. particleemitter.VelocitySpread = 180
  1259. particleemitter.Lifetime = NumberRange.new(0.1)
  1260. particleemitter.Speed = NumberRange.new(2)
  1261. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(1, 7.563)})
  1262. particleemitter.RotSpeed = NumberRange.new(-45, 45)
  1263. particleemitter.Rate = 100
  1264. particleemitter.Rotation = NumberRange.new(-45, 45)
  1265. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.701, 0), NumberSequenceKeypoint.new(1, 1)})
  1266. particleemitter.LightEmission = 0.8
  1267. particleemitter.Color = ColorSequence.new(Color3.new(0, 0, 0), Color3.new(0, 0, 0))
  1268.  
  1269. local light = Instance.new("PointLight", Character.Torso)
  1270. light.Color = Color3.new(255,255,255)
  1271. light.Brightness = 5
  1272. light.Range = 15
  1273.  
  1274. particleemitter.Enabled = true
  1275.  
  1276. local Footsteps = it("Sound",Character.Torso)
  1277. Footsteps.SoundId = "rbxassetid://142665235"
  1278. Footsteps.Looped = true
  1279. Footsteps.Pitch = 0.8
  1280. Footsteps.Volume = 0.3
  1281.  
  1282. local Footsteps2 = it("Sound",Character.Torso)
  1283. Footsteps2.SoundId = "rbxassetid://142665235"
  1284. Footsteps2.Looped = true
  1285. Footsteps2.Pitch = 1
  1286. Footsteps2.Volume = 0.4
  1287.  
  1288. local cam = game.Workspace.CurrentCamera
  1289.  
  1290. --cam.CameraSubject = Character
  1291.  
  1292. for i,v in pairs(Head:children()) do
  1293. if v:IsA("Sound") then
  1294. v:Destroy()
  1295. end
  1296. end
  1297.  
  1298. mouse.Button1Down:connect(function()
  1299. if attack==false and attacktype==1 then
  1300. attacktype=2
  1301. attackone()
  1302. elseif attack==false and attacktype==2 then
  1303. attacktype=3
  1304. attacktwo()
  1305. elseif attack==false and attacktype==3 then
  1306. attacktype=4
  1307. attackthree()
  1308. elseif attack==false and attacktype==4 then
  1309. attacktype=1
  1310. attackfour()
  1311. end
  1312. end)
  1313.  
  1314. mouse.KeyDown:connect(function(k)
  1315. k=k:lower()
  1316. if k=='e' then
  1317. if attack==false and mana>=20 then
  1318. Push()
  1319. end
  1320. elseif k=='g' then
  1321. if attack==false and mana>=50 then
  1322. Twirl()
  1323. end
  1324. elseif k=='v' then
  1325. if attack==false and mana>=25 then
  1326. MagicJump()
  1327. end
  1328. elseif k=='q' then
  1329. if attack==false then
  1330. idle=1000
  1331. end
  1332. elseif k=='h' then
  1333. if attack==false then
  1334. mana=100
  1335. end
  1336. elseif k=='y' then
  1337. if attack==false and mana>=100 then
  1338. Shred()
  1339. end
  1340. elseif k=='f' then
  1341. if attack==false and mana>=40 then
  1342. Spin()
  1343. end
  1344. elseif k=='r' then
  1345. if attack==false and mana>=20 then
  1346. Clap()
  1347. end
  1348. elseif k=='t' then
  1349. if attack==false then
  1350. Hai()
  1351. end
  1352. elseif k=='0' then
  1353. if attack==false then
  1354. Humanoid.WalkSpeed=(24)
  1355. end
  1356. elseif k=='j' then
  1357. if attack==false then
  1358. Humanoid.Health = 10
  1359. print("Congrats, you commited suicide.")
  1360. end
  1361. end
  1362. end)
  1363.  
  1364. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1365. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1366. prt.Anchored=true
  1367. prt.CFrame=cframe
  1368. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1369. game:GetService("Debris"):AddItem(prt,2)
  1370. coroutine.resume(coroutine.create(function(Part,Mesh)
  1371. for i=0,1,delay do
  1372. wait()
  1373. Part.CFrame=Part.CFrame
  1374. Part.Transparency=i
  1375. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1376. end
  1377. Part.Parent=nil
  1378. end),prt,msh)
  1379. end
  1380.  
  1381. TrailDeb = false
  1382. function equipanim()
  1383. attack=true
  1384. Humanoid.WalkSpeed = 0
  1385. if TrailDeb == false then
  1386. TrailDeb = true
  1387. end
  1388.  
  1389.  
  1390. coroutine.wrap(function()
  1391. local Old = handle.CFrame.p
  1392. while wait()do
  1393. if not TrailDeb then break end
  1394. local New = handle.CFrame.p
  1395. local Mag =(Old -New).magnitude
  1396. local Dis =(Old +New)/2
  1397. local Trail = Instance.new("Part",Character)
  1398. Trail.Material = "Neon"
  1399. Trail.Anchored = true
  1400. Trail.CanCollide = false
  1401. Trail.BrickColor = TorsoColor
  1402. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1403. Trail.TopSurface = 0
  1404. Trail.BottomSurface = 0
  1405. Trail.formFactor = "Custom"
  1406. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1407. local ms = Instance.new("BlockMesh",Trail)
  1408. ms.Scale = Vector3.new(1,1,1)
  1409. local TM = Instance.new("CylinderMesh",Trail)
  1410. TM.Scale = Vector3.new(1,1,1)
  1411. Old = New
  1412. coroutine.wrap(function()
  1413. for i = 1,0,-0.1 do
  1414. wait()
  1415. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1416. end
  1417. Trail:remove()
  1418. end)()
  1419. coroutine.wrap(function()
  1420. for i = 1,10 do
  1421. wait()
  1422. Trail.Transparency = Trail.Transparency +0.1
  1423. end end)()end end)()
  1424. coroutine.wrap(function()
  1425. local Old = Handle.CFrame.p
  1426. while wait()do
  1427. if not TrailDeb then break end
  1428. local New = Handle.CFrame.p
  1429. local Mag =(Old -New).magnitude
  1430. local Dis =(Old +New)/2
  1431. local Trail = Instance.new("Part",Character)
  1432. Trail.Material = "Neon"
  1433. Trail.Anchored = true
  1434. Trail.CanCollide = false
  1435. Trail.BrickColor = TorsoColor
  1436. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1437. Trail.TopSurface = 0
  1438. Trail.BottomSurface = 0
  1439. Trail.formFactor = "Custom"
  1440. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1441. local ms = Instance.new("BlockMesh",Trail)
  1442. ms.Scale = Vector3.new(1,1,1)
  1443. local TM = Instance.new("CylinderMesh",Trail)
  1444. TM.Scale = Vector3.new(1,1,1)
  1445. Old = New
  1446. coroutine.wrap(function()
  1447. for i = 1,0,-0.1 do
  1448. wait()
  1449. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1450. end
  1451. Trail:remove()
  1452. end)()
  1453. coroutine.wrap(function()
  1454. for i = 1,10 do
  1455. wait()
  1456. Trail.Transparency = Trail.Transparency +0.1
  1457. end end)()end end)()
  1458. coroutine.wrap(function()
  1459. --local Old = Handle2.CFrame.p
  1460. while wait()do
  1461. if not TrailDeb then break end
  1462. --local New = Handle2.CFrame.p
  1463. --local Mag =(Old -New).magnitude
  1464. --local Dis =(Old +New)/2
  1465. local Trail = Instance.new("Part",Character)
  1466. Trail.Material = "Neon"
  1467. Trail.Anchored = true
  1468. Trail.CanCollide = false
  1469. Trail.BrickColor = TorsoColor
  1470. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  1471. Trail.TopSurface = 0
  1472. Trail.BottomSurface = 0
  1473. Trail.formFactor = "Custom"
  1474. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1475. local ms = Instance.new("BlockMesh",Trail)
  1476. ms.Scale = Vector3.new(1,1,1)
  1477. local TM = Instance.new("CylinderMesh",Trail)
  1478. TM.Scale = Vector3.new(1,1,1)
  1479. --Old = New
  1480. coroutine.wrap(function()
  1481. for i = 1,0,-0.1 do
  1482. wait()
  1483. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1484. end
  1485. Trail:remove()
  1486. end)()
  1487. coroutine.wrap(function()
  1488. for i = 1,10 do
  1489. wait()
  1490. Trail.Transparency = Trail.Transparency +0.1
  1491. end end)()end end)()
  1492. so("http://www.roblox.com/asset/?id=200632370",Torso,0.5,0.5)
  1493. for i=0,1,0.005 do
  1494. swait()
  1495. -- moosick.Volume = 0+1*i
  1496. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,100-100*i)*euler(0,0,0+90*i),.2)
  1497. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1498. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1499. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1500. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1501. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1502. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1503. end
  1504. for i=0,1,0.005 do
  1505. swait()
  1506. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,2.5)*euler(0,0,0+90*i),.2)
  1507. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0.1,0,0),.2)
  1508. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1509. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1510. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.05)
  1511. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(40)),.2)
  1512. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-40)),.2)
  1513. end
  1514. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1515. so("http://www.roblox.com/asset/?id=150829983",Character,1,0.9)
  1516. for i=0,1,0.005 do
  1517. swait()
  1518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,5+1*i)*angles(math.rad(-15),math.rad(0),math.rad(0)),0.1)
  1519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25),math.rad(0),math.rad(0)),0.1)
  1520. handleweld.C0=clerp(handleweld.C0,cf(0,0+1*i,0)*angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  1521. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0-1*i,0,0)*angles(math.rad(90),math.rad(15),math.rad(0)),0.1)
  1522. Handleweld.C0=clerp(Handleweld.C0,cf(0+1*i,0,0)*angles(math.rad(90),math.rad(-15),math.rad(0)),0.1)
  1523. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30)),0.1)
  1524. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30)),0.1)
  1525. 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)
  1526. 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)
  1527. end
  1528. for i=0,1,0.04 do
  1529. swait()
  1530. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1531. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1532. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1533. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1534. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1535. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1536. 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)
  1537. 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)
  1538. end
  1539. local moosick2 = it("Sound",Character.Torso)
  1540. moosick2.SoundId = "rbxassetid://142653441"
  1541. --142653441, 175067863 , 660787538
  1542. moosick2.Looped = true
  1543. moosick2.Pitch = 1
  1544. moosick2.Volume = 1
  1545. moosick2:Play()
  1546. --dmgstop()
  1547. attack=false
  1548. Humanoid.WalkSpeed = 12
  1549. if TrailDeb == true then
  1550. TrailDeb = false
  1551. end
  1552. end
  1553.  
  1554. function attackone()
  1555. attack=true
  1556. if TrailDeb == false then
  1557. TrailDeb = true
  1558. end
  1559.  
  1560.  
  1561. coroutine.wrap(function()
  1562. local Old = Handle.CFrame.p
  1563. while wait()do
  1564. if not TrailDeb then break end
  1565. local New = Handle.CFrame.p
  1566. local Mag =(Old -New).magnitude
  1567. local Dis =(Old +New)/2
  1568. local Trail = Instance.new("Part",Character)
  1569. Trail.Material = "Neon"
  1570. Trail.Anchored = true
  1571. Trail.CanCollide = false
  1572. Trail.BrickColor = TorsoColor
  1573. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1574. Trail.TopSurface = 0
  1575. Trail.BottomSurface = 0
  1576. Trail.formFactor = "Custom"
  1577. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1578. local ms = Instance.new("BlockMesh",Trail)
  1579. ms.Scale = Vector3.new(1,1,1)
  1580. local TM = Instance.new("CylinderMesh",Trail)
  1581. TM.Scale = Vector3.new(1,1,1)
  1582. Old = New
  1583. coroutine.wrap(function()
  1584. for i = 1,0,-0.1 do
  1585. wait()
  1586. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1587. end
  1588. Trail:remove()
  1589. end)()
  1590. coroutine.wrap(function()
  1591. for i = 1,10 do
  1592. wait()
  1593. Trail.Transparency = Trail.Transparency +0.1
  1594. end end)()end end)()
  1595. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1596. for i=0,1,0.08 do
  1597. swait()
  1598. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(-10)),.3)
  1599. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(10)),.3)
  1600. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1601. Handleweld.C0=clerp(Handleweld.C0,cf(-3,1,2)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  1602. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1603. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(.5,1.8,1.5),.3)
  1604. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1605. end
  1606. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.9)
  1607. so("http://www.roblox.com/asset/?id=159972643",Torso,1,1)
  1608. for i=0,1,0.1 do
  1609. swait()
  1610. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(20)),.3)
  1611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(-20)),.3)
  1612. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1613. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-8)*angles(math.rad(-85),math.rad(0),math.rad(0)),.2)
  1614. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1615. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(80,1.8,1.5),.3)
  1616. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1617. end
  1618. --dmgstop()
  1619. attack=false
  1620. con1:disconnect()
  1621. if TrailDeb == true then
  1622. TrailDeb = false
  1623. end
  1624. end
  1625.  
  1626. function attacktwo()
  1627. attack = true
  1628. for i = 0,1,0.1 do
  1629. swait()
  1630. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1631. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1632. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1633. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-50)), 0.3)
  1634. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1635. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1636. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1637. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1638. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1639. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1640. end
  1641. so("http://roblox.com/asset/?id=268192025",Barrel5A,1,1)
  1642. so("http://roblox.com/asset/?id=268191996",Barrel5A,1,1)
  1643. so("http://roblox.com/asset/?id=268191976",Barrel5A,1,1)
  1644. ShootCannon(Barrel5A)
  1645. ShootCannon(Barrel4A)
  1646. ShootCannon(Barrel6A)
  1647. for i = 0,1,0.1 do
  1648. swait()
  1649. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),.3)
  1650. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(50)),.3)
  1651. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-30), math.rad(0), math.rad(20)), 0.3)
  1652. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-60), math.rad(-50)), 0.3)
  1653. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(130),math.rad(0)),.3)
  1654. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1655. JointHandleAweld.C0=clerp(JointHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1656. JointHandleBweld.C0=clerp(JointHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(50),math.rad(0)),.3)
  1657. GunHandleAweld.C0=clerp(GunHandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1658. GunHandleBweld.C0=clerp(GunHandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1659. end
  1660. attack = false
  1661. end
  1662.  
  1663. local Effects={}
  1664. function MagicBlockx(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1665. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt())
  1666. prt.Anchored=true
  1667. prt.CFrame=cframe
  1668. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1669. game:GetService("Debris"):AddItem(prt,5)
  1670. table.insert(Effects,{prt,"Block1",delay,x3,y3,z3}) --part, type, delay
  1671. end
  1672.  
  1673. function MagicCylinderx(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1674. local prt=part(3,Character,"Neon",0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1675. prt.Anchored=true
  1676. prt.CFrame=cframe
  1677. msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1678. game:GetService("Debris"):AddItem(prt,5)
  1679. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1680. Effects[#Effects+1]={prt,"Cylinder",delay,x3,y3,z3} --part, type, delay
  1681. coroutine.resume(coroutine.create(function(Part,Mesh)
  1682. for i=0,1,delay do
  1683. wait()
  1684. Part.CFrame=Part.CFrame
  1685. Part.Transparency=i
  1686. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1687. end
  1688. Part.Parent=nil
  1689. end),prt,msh)
  1690. end
  1691.  
  1692. RocketTarget = RootPart
  1693. function ShootCannon(asd)
  1694. so("rbxassetid://834546352",asd,.5,1)
  1695. so("rbxassetid://263610152",asd,.5,1)
  1696. so("rbxassetid://263623139",asd,.5,1)
  1697. local MainPos=asd.Position
  1698. local MainPos2=mouse.Hit.p
  1699. local MouseLook=cf((MainPos+MainPos2)/2,MainPos2)
  1700. --[[local mag=(MainPos-pos).magnitude
  1701. MagicCylinderx(BrickColor.new("Neon"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,0.5,0,0.5,0.05)]]
  1702. num=30
  1703. coroutine.resume(coroutine.create(function()
  1704. repeat
  1705. wait()
  1706. local hit,pos = rayCast(MainPos,MouseLook.lookVector,10,RocketTarget.Parent)
  1707. local mag=(MainPos-pos).magnitude
  1708. MagicCylinderx(BrickColor.new("Dark blue"),CFrame.new((MainPos+pos)/2,pos)*angles(1.57,0,0),3,mag*5,3,1.5,0,1.5,0.1)
  1709. MainPos=MainPos+(MouseLook.lookVector*10)
  1710. num=num-1
  1711. if hit~=nil then
  1712. num=0
  1713. local ref=part(3,workspace,"Neon",0,1,BrickColor.new("Dark blue"),"Reference",vt())
  1714. ref.Anchored=true
  1715. ref.CFrame=cf(pos)
  1716. MagniDamage(ref,hit,1,30,50,1,"Normal")
  1717. so("rbxassetid://263610039",ref,1,1)
  1718. so("rbxassetid://263610111",ref,1,1)
  1719. MagicBlockx(BrickColor.new("Dark blue"),cf(pos),20,20,20,5,5,5,0.05)
  1720. game:GetService("Debris"):AddItem(ref,1)
  1721. MagniDamage(ref,ref,15,10,20,10,"Normal")
  1722. end
  1723. until num<=0
  1724. end))
  1725. end
  1726.  
  1727. function MagicRingx(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1728. local prt=part(3,workspace,"Neon",0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1729. prt.Anchored=true
  1730. prt.CFrame=cframe
  1731. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1732. game:GetService("Debris"):AddItem(prt,2)
  1733. coroutine.resume(coroutine.create(function(Part,Mesh,num)
  1734. for i=0,1,delay do
  1735. swait()
  1736. Part.Transparency=i
  1737. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1738. end
  1739. Part.Parent=nil
  1740. end),prt,msh,(math.random(0,1)+math.random())/5)
  1741. end
  1742.  
  1743. function attackthree()
  1744. attack=true
  1745. if TrailDeb == false then
  1746. TrailDeb = true
  1747. end
  1748.  
  1749.  
  1750. coroutine.wrap(function()
  1751. local Old = Handle.CFrame.p
  1752. while wait()do
  1753. if not TrailDeb then break end
  1754. local New = Handle.CFrame.p
  1755. local Mag =(Old -New).magnitude
  1756. local Dis =(Old +New)/2
  1757. local Trail = Instance.new("Part",Character)
  1758. Trail.Material = "Neon"
  1759. Trail.Anchored = true
  1760. Trail.CanCollide = false
  1761. Trail.BrickColor = TorsoColor
  1762. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1763. Trail.TopSurface = 0
  1764. Trail.BottomSurface = 0
  1765. Trail.formFactor = "Custom"
  1766. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1767. local ms = Instance.new("BlockMesh",Trail)
  1768. ms.Scale = Vector3.new(1,1,1)
  1769. local TM = Instance.new("CylinderMesh",Trail)
  1770. TM.Scale = Vector3.new(1,1,1)
  1771. Old = New
  1772. coroutine.wrap(function()
  1773. for i = 1,0,-0.1 do
  1774. wait()
  1775. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1776. end
  1777. Trail:remove()
  1778. end)()
  1779. coroutine.wrap(function()
  1780. for i = 1,10 do
  1781. wait()
  1782. Trail.Transparency = Trail.Transparency +0.1
  1783. end end)()end end)()
  1784. con1=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Up",RootPart,.2,1) end)
  1785. for i=0,1,0.08 do
  1786. swait()
  1787. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  1788. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  1789. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1790. Handleweld.C0=clerp(Handleweld.C0,cf(3,7,-1)*angles(math.rad(20),math.rad(0),math.rad(-120)),.2)
  1791. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1792. RW.C0=clerp(RW.C0,cf(1,0.5,-0.5)*euler(0.5,-1.3,-0.1),.3)
  1793. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1794. end
  1795. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  1796. so("http://www.roblox.com/asset/?id=159882477",Torso,1,1)
  1797. for i=0,1,0.05 do
  1798. swait()
  1799. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  1801. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1802. Handleweld.C0=clerp(Handleweld.C0,cf(2,4,-3)*angles(math.rad(120),math.rad(0),math.rad(-120)),.2)
  1803. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1804. RW.C0=clerp(RW.C0,cf(1.5,0.5,-0.5)*euler(2,-1.3,0.1),.3)
  1805. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(2),math.rad(25),math.rad(-15)),.3)
  1806. end
  1807. --dmgstop()
  1808. attack=false
  1809. con1:disconnect()
  1810. if TrailDeb == true then
  1811. TrailDeb = false
  1812. end
  1813. end
  1814.  
  1815. function attackfour()
  1816. attack=true
  1817. if TrailDeb == false then
  1818. TrailDeb = true
  1819. end
  1820.  
  1821.  
  1822. coroutine.wrap(function()
  1823. --local Old = Handle2.CFrame.p
  1824. while wait()do
  1825. if not TrailDeb then break end
  1826. --local New = Handle2.CFrame.p
  1827. --local Mag =(Old -New).magnitude
  1828. --local Dis =(Old +New)/2
  1829. local Trail = Instance.new("Part",Character)
  1830. Trail.Material = "Neon"
  1831. Trail.Anchored = true
  1832. Trail.CanCollide = false
  1833. Trail.BrickColor = TorsoColor
  1834. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  1835. Trail.TopSurface = 0
  1836. Trail.BottomSurface = 0
  1837. Trail.formFactor = "Custom"
  1838. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1839. local ms = Instance.new("BlockMesh",Trail)
  1840. ms.Scale = Vector3.new(1,1,1)
  1841. local TM = Instance.new("CylinderMesh",Trail)
  1842. TM.Scale = Vector3.new(1,1,1)
  1843. --Old = New
  1844. coroutine.wrap(function()
  1845. for i = 1,0,-0.1 do
  1846. wait()
  1847. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1848. end
  1849. Trail:remove()
  1850. end)()
  1851. coroutine.wrap(function()
  1852. for i = 1,10 do
  1853. wait()
  1854. Trail.Transparency = Trail.Transparency +0.1
  1855. end end)()end end)()
  1856. coroutine.wrap(function()
  1857. local Old = Handle.CFrame.p
  1858. while wait()do
  1859. if not TrailDeb then break end
  1860. local New = Handle.CFrame.p
  1861. local Mag =(Old -New).magnitude
  1862. local Dis =(Old +New)/2
  1863. local Trail = Instance.new("Part",Character)
  1864. Trail.Material = "Neon"
  1865. Trail.Anchored = true
  1866. Trail.CanCollide = false
  1867. Trail.BrickColor = TorsoColor
  1868. Trail.Size = Vector3.new(0.2,Mag,0.2)
  1869. Trail.TopSurface = 0
  1870. Trail.BottomSurface = 0
  1871. Trail.formFactor = "Custom"
  1872. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  1873. local ms = Instance.new("BlockMesh",Trail)
  1874. ms.Scale = Vector3.new(1,1,1)
  1875. local TM = Instance.new("CylinderMesh",Trail)
  1876. TM.Scale = Vector3.new(1,1,1)
  1877. Old = New
  1878. coroutine.wrap(function()
  1879. for i = 1,0,-0.1 do
  1880. wait()
  1881. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  1882. end
  1883. Trail:remove()
  1884. end)()
  1885. coroutine.wrap(function()
  1886. for i = 1,10 do
  1887. wait()
  1888. Trail.Transparency = Trail.Transparency +0.1
  1889. end end)()end end)()
  1890. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1891. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  1892. for i=0,1,0.08 do
  1893. swait()
  1894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1)*angles(math.rad(40),math.rad(0),math.rad(-40)),.3)
  1895. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1896. Handleweld.C0=clerp(Handleweld.C0,cf(1.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1897. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-1.5,3,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1898. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(40)),.3)
  1899. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(70),math.rad(0),math.rad(-45)),.3)
  1900. 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)
  1901. 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)
  1902. end
  1903. if anim then
  1904. anim.Disabled=true
  1905. end
  1906. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.7)
  1907. so("http://www.roblox.com/asset/?id=159882584",Torso,1,1)
  1908. for i=0,1,0.04 do
  1909. swait()
  1910. Torso.Velocity=RootPart.CFrame.lookVector*50
  1911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(-5),math.rad(0),math.rad(0+360*i)),.3)
  1912. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1913. Handleweld.C0=clerp(Handleweld.C0,cf(3,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  1914. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-3,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  1915. RW.C0=clerp(RW.C0,cf(1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  1916. LW.C0=clerp(LW.C0,cf(-1.2,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  1917. 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)
  1918. 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)
  1919. end
  1920. --dmgstop()
  1921. attack=false
  1922. con1:disconnect()
  1923. con2:disconnect()
  1924. if anim then
  1925. anim.Disabled=false
  1926. end
  1927. if TrailDeb == true then
  1928. TrailDeb = false
  1929. end
  1930. end
  1931.  
  1932. function BlastEffect(brickcolor, cframe, x1, y1, z1, x2, y2, z2)
  1933. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1934. prt.Anchored = true
  1935. prt.CFrame = cframe
  1936. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1937. coroutine.resume(coroutine.create(function()
  1938. for i = 0, 1, 0.05 do
  1939. wait()
  1940. prt.Transparency = i
  1941. msh.Scale = msh.Scale + vt(x2, y2, z2)
  1942. end
  1943. prt.Parent = nil
  1944. end))
  1945. end
  1946.  
  1947. function MagniDamage(Hit, Part, magni, mindam, maxdam, knock, Type)
  1948. for _, c in pairs(workspace:children()) do
  1949. local hum = c:findFirstChild("Humanoid")
  1950. if hum ~= nil then
  1951. local head = c:findFirstChild("Torso")
  1952. if head ~= nil then
  1953. local targ = head.Position - Part.Position
  1954. local mag = targ.magnitude
  1955. if mag <= magni and c.Name ~= Player.Name then
  1956. Damagefunc(Hit, head, mindam, maxdam, knock, Type, RootPart, .2, 1, 3)
  1957. end
  1958. end
  1959. end
  1960. end
  1961. end
  1962.  
  1963. function MagicCircle(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1964. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1965. prt.Anchored = true
  1966. prt.CFrame = cframe
  1967. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1968. game:GetService("Debris"):AddItem(prt, 2)
  1969. coroutine.resume(coroutine.create(function(Part, Mesh)
  1970. for i = 0, 1, delay do
  1971. swait()
  1972. Part.CFrame = Part.CFrame
  1973. Part.Transparency = i
  1974. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1975. end
  1976. Part.Parent = nil
  1977. end), prt, msh)
  1978. end
  1979.  
  1980. function MagicJump()
  1981. if Anim == "Idle" or Anim == "Walk" or Anim == "Run" then
  1982. attack=true
  1983. mana=mana-25
  1984. --[[ Humanoid.WalkSpeed = 0
  1985. for i=0,1,0.01 do
  1986. swait()
  1987. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.2)*angles(math.rad(45),math.rad(0),math.rad(45)),.1)
  1988. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-15),math.rad(15),math.rad(-45)),.1)
  1989. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  1990. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(0),math.rad(45)),.1)
  1991. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-15),math.rad(15),math.rad(-30)),.1)
  1992. 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)
  1993. 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)
  1994. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(45)),.1)
  1995. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,-6)*angles(math.rad(-15),math.rad(-60),math.rad(45)),.1)
  1996. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(60),math.rad(45)),.1)
  1997. end]]--
  1998. Humanoid.Jump = true
  1999. Torso.Velocity = vt(0, 150, 0)
  2000. Humanoid.WalkSpeed = 64
  2001. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  2002. so("http://www.roblox.com/asset/?id=199145497",Torso,1,0.8)
  2003. for i=0,1,0.05 do
  2004. swait()
  2005. Neck.C0=clerp(Neck.C0,necko*euler(0.5,0,0),.3)
  2006. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2007. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0+8*i,0,0),.3)
  2008. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2009. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2010. RH.C0=clerp(RH.C0,cf(1,0,-1)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  2011. LH.C0=clerp(LH.C0,cf(-1,0,-1)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  2012. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  2013. Handleweld.C0=clerp(Handleweld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(60),math.rad(0)),.2)
  2014. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-5,0)*angles(math.rad(60),math.rad(-60),math.rad(0)),.2)
  2015. end
  2016. for i=0,1,0.02 do
  2017. swait()
  2018. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  2019. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2020. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  2021. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  2022. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2023. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  2024. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  2025. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  2026. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  2027. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2028. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2029. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2030. end
  2031. Humanoid.WalkSpeed = 0
  2032. swait(8)
  2033. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  2034. so("http://www.roblox.com/asset/?id=199145477",Torso,1,1)
  2035. local hit,pos=rayCast(Torso.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,100,Character)
  2036. if hit~=nil then
  2037. swait(2)
  2038. local ref=part(3,workspace,"SmoothPlastic",0,1,BrickColor.new("Really black"),"Effect",vt())
  2039. ref.Anchored=true
  2040. ref.CFrame=cf(pos)
  2041. game:GetService("Debris"):AddItem(ref,3)
  2042. for i=1,10 do
  2043. local Col=BrickColor.new("Really black")
  2044. 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))
  2045. groundpart.Anchored=true
  2046. groundpart.CanCollide=false
  2047. 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))
  2048. local Col2=TorsoColor
  2049. 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))
  2050. groundpart2.Anchored=true
  2051. groundpart2.CanCollide=false
  2052. 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))
  2053. game:GetService("Debris"):AddItem(groundpart,5)
  2054. game:GetService("Debris"):AddItem(groundpart2,5)
  2055. end
  2056. BlastEffect(TorsoColor,cf(pos),1,1,1,1.4,1.4,1.4)
  2057. BlastEffect(BrickColor.new("Really black"),cf(pos),.9,.9,.9,1.2,1.2,1.2)
  2058. MagicCircle(BrickColor.new("Really black"),cf(pos),5,5,5,5,5,5,0.05)
  2059. MagicCircle(TorsoColor,cf(pos),6,6,6,6,6,6,0.05)
  2060. for i=0,1,0.06 do
  2061. swait()
  2062. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.3)
  2063. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  2064. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5)*angles(math.rad(50),math.rad(0),math.rad(0)),.3)
  2065. RW.C0=clerp(RW.C0,cf(1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(-30)),.3)
  2066. LW.C0=clerp(LW.C0,cf(-1, 0.3, -.7)*angles(math.rad(50),math.rad(0),math.rad(30)),.3)
  2067. 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)
  2068. 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)
  2069. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  2070. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  2071. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  2072. end
  2073. end
  2074. swait(20)
  2075. Humanoid.WalkSpeed = 12
  2076. --dmgstop()
  2077. attack=false
  2078. end
  2079. end
  2080.  
  2081. function Spin()
  2082. attack=true
  2083. mana=mana-40
  2084. if TrailDeb == false then
  2085. TrailDeb = true
  2086. end
  2087.  
  2088. coroutine.wrap(function()
  2089. --local Old = Handle2.CFrame.p
  2090. while wait()do
  2091. if not TrailDeb then break end
  2092. --local New = Handle2.CFrame.p
  2093. --local Mag =(Old -New).magnitude
  2094. --local Dis =(Old +New)/2
  2095. local Trail = Instance.new("Part",Character)
  2096. Trail.Material = "Neon"
  2097. Trail.Anchored = true
  2098. Trail.CanCollide = false
  2099. Trail.BrickColor = TorsoColor
  2100. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2101. Trail.TopSurface = 0
  2102. Trail.BottomSurface = 0
  2103. Trail.formFactor = "Custom"
  2104. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2105. local ms = Instance.new("BlockMesh",Trail)
  2106. ms.Scale = Vector3.new(1,1,1)
  2107. local TM = Instance.new("CylinderMesh",Trail)
  2108. TM.Scale = Vector3.new(1,1,1)
  2109. --Old = New
  2110. coroutine.wrap(function()
  2111. for i = 1,0,-0.1 do
  2112. wait()
  2113. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2114. end
  2115. Trail:remove()
  2116. end)()
  2117. coroutine.wrap(function()
  2118. for i = 1,10 do
  2119. wait()
  2120. Trail.Transparency = Trail.Transparency +0.1
  2121. end end)()end end)()
  2122. coroutine.wrap(function()
  2123. local Old = Handle.CFrame.p
  2124. while wait()do
  2125. if not TrailDeb then break end
  2126. local New = Handle.CFrame.p
  2127. local Mag =(Old -New).magnitude
  2128. local Dis =(Old +New)/2
  2129. local Trail = Instance.new("Part",Character)
  2130. Trail.Material = "Neon"
  2131. Trail.Anchored = true
  2132. Trail.CanCollide = false
  2133. Trail.BrickColor = TorsoColor
  2134. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2135. Trail.TopSurface = 0
  2136. Trail.BottomSurface = 0
  2137. Trail.formFactor = "Custom"
  2138. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2139. local ms = Instance.new("BlockMesh",Trail)
  2140. ms.Scale = Vector3.new(1,1,1)
  2141. local TM = Instance.new("CylinderMesh",Trail)
  2142. TM.Scale = Vector3.new(1,1,1)
  2143. Old = New
  2144. coroutine.wrap(function()
  2145. for i = 1,0,-0.1 do
  2146. wait()
  2147. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2148. end
  2149. Trail:remove()
  2150. end)()
  2151. coroutine.wrap(function()
  2152. for i = 1,10 do
  2153. wait()
  2154. Trail.Transparency = Trail.Transparency +0.1
  2155. end end)()end end)()
  2156. Footsteps:Stop()
  2157. Footsteps2:Stop()
  2158. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2159. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2160. so("http://www.roblox.com/asset/?id=159882497",Torso,1,1)
  2161. for i=0,1,0.1 do
  2162. swait()
  2163. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2164. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2165. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2166. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2167. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2168. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2169. end
  2170. if anim then
  2171. anim.Disabled=true
  2172. end
  2173. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2174. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2175. for i=0,1,0.05 do
  2176. swait()
  2177. Torso.Velocity=RootPart.CFrame.lookVector*100
  2178. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2179. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2180. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2181. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2182. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2183. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2184. end
  2185. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2186. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2187. for i=0,1,0.05 do
  2188. swait()
  2189. Torso.Velocity=RootPart.CFrame.lookVector*100
  2190. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2191. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2192. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2193. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2194. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2195. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2196. end
  2197. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1.2)
  2198. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,1)
  2199. for i=0,1,0.05 do
  2200. swait()
  2201. Torso.Velocity=RootPart.CFrame.lookVector*100
  2202. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(90),math.rad(0+360*i)),.3)
  2203. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2204. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2205. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2206. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2207. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2208. end
  2209. --dmgstop()
  2210. Humanoid.WalkSpeed=12
  2211. attack=false
  2212. con1:disconnect()
  2213. con2:disconnect()
  2214. if anim then
  2215. anim.Disabled=false
  2216. end
  2217. if TrailDeb == true then
  2218. TrailDeb = false
  2219. end
  2220. end
  2221.  
  2222. function Twirl()
  2223. mana=mana-50
  2224. attack=true
  2225. if TrailDeb == false then
  2226. TrailDeb = true
  2227. end
  2228.  
  2229.  
  2230. coroutine.wrap(function()
  2231. --local Old = Handle2.CFrame.p
  2232. while wait()do
  2233. if not TrailDeb then break end
  2234. --local New = Handle2.CFrame.p
  2235. --local Mag =(Old -New).magnitude
  2236. --local Dis =(Old +New)/2
  2237. local Trail = Instance.new("Part",Character)
  2238. Trail.Material = "Neon"
  2239. Trail.Anchored = true
  2240. Trail.CanCollide = false
  2241. Trail.BrickColor = TorsoColor
  2242. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2243. Trail.TopSurface = 0
  2244. Trail.BottomSurface = 0
  2245. Trail.formFactor = "Custom"
  2246. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2247. local ms = Instance.new("BlockMesh",Trail)
  2248. ms.Scale = Vector3.new(1,1,1)
  2249. local TM = Instance.new("CylinderMesh",Trail)
  2250. TM.Scale = Vector3.new(1,1,1)
  2251. --Old = New
  2252. coroutine.wrap(function()
  2253. for i = 1,0,-0.1 do
  2254. wait()
  2255. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2256. end
  2257. Trail:remove()
  2258. end)()
  2259. coroutine.wrap(function()
  2260. for i = 1,10 do
  2261. wait()
  2262. Trail.Transparency = Trail.Transparency +0.1
  2263. end end)()end end)()
  2264. coroutine.wrap(function()
  2265. local Old = Handle.CFrame.p
  2266. while wait()do
  2267. if not TrailDeb then break end
  2268. local New = Handle.CFrame.p
  2269. local Mag =(Old -New).magnitude
  2270. local Dis =(Old +New)/2
  2271. local Trail = Instance.new("Part",Character)
  2272. Trail.Material = "Neon"
  2273. Trail.Anchored = true
  2274. Trail.CanCollide = false
  2275. Trail.BrickColor = TorsoColor
  2276. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2277. Trail.TopSurface = 0
  2278. Trail.BottomSurface = 0
  2279. Trail.formFactor = "Custom"
  2280. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2281. local ms = Instance.new("BlockMesh",Trail)
  2282. ms.Scale = Vector3.new(1,1,1)
  2283. local TM = Instance.new("CylinderMesh",Trail)
  2284. TM.Scale = Vector3.new(1,1,1)
  2285. Old = New
  2286. coroutine.wrap(function()
  2287. for i = 1,0,-0.1 do
  2288. wait()
  2289. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2290. end
  2291. Trail:remove()
  2292. end)()
  2293. coroutine.wrap(function()
  2294. for i = 1,10 do
  2295. wait()
  2296. Trail.Transparency = Trail.Transparency +0.1
  2297. end end)()end end)()
  2298. Footsteps:Stop()
  2299. Footsteps2:Stop()
  2300. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2301. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2302. so("http://www.roblox.com/asset/?id=159882598",Torso,1,1)
  2303. for i=0,1,0.1 do
  2304. swait()
  2305. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2306. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2307. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2308. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2309. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2310. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2311. end
  2312. if anim then
  2313. anim.Disabled=true
  2314. end
  2315. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2316. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2317. for i=0,1,0.05 do
  2318. swait()
  2319. Torso.Velocity=RootPart.CFrame.lookVector*80
  2320. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2321. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2322. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2323. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2324. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2325. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2326. end
  2327. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2328. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2329. for i=0,1,0.05 do
  2330. swait()
  2331. Torso.Velocity=RootPart.CFrame.lookVector*80
  2332. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2333. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2334. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2335. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2336. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2337. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2338. end
  2339. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2340. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2341. for i=0,1,0.05 do
  2342. swait()
  2343. Torso.Velocity=RootPart.CFrame.lookVector*80
  2344. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2345. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2346. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2347. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2348. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2349. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2350. end
  2351. so("http://www.roblox.com/asset/?id=231917758",LeftArm,1,1)
  2352. so("http://www.roblox.com/asset/?id=231917758",RightArm,1,0.8)
  2353. for i=0,1,0.05 do
  2354. swait()
  2355. Torso.Velocity=RootPart.CFrame.lookVector*80
  2356. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,10)*angles(math.rad(90),math.rad(0),math.rad(0+360*i)),.3)
  2357. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2358. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2359. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2360. RW.C0=clerp(RW.C0,cf(1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2361. LW.C0=clerp(LW.C0,cf(-1,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2362. end
  2363. --dmgstop()
  2364. Humanoid.WalkSpeed=12
  2365. attack=false
  2366. con1:disconnect()
  2367. con2:disconnect()
  2368. if anim then
  2369. anim.Disabled=false
  2370. end
  2371. if TrailDeb == true then
  2372. TrailDeb = false
  2373. end
  2374. end
  2375.  
  2376. function Shred()
  2377. attack=true
  2378. mana=mana-100
  2379. if TrailDeb == false then
  2380. TrailDeb = true
  2381. end
  2382.  
  2383.  
  2384. coroutine.wrap(function()
  2385. --local Old = Handle2.CFrame.p
  2386. while wait()do
  2387. if not TrailDeb then break end
  2388. --local New = Handle2.CFrame.p
  2389. --local Mag =(Old -New).magnitude
  2390. --local Dis =(Old +New)/2
  2391. local Trail = Instance.new("Part",Character)
  2392. Trail.Material = "Neon"
  2393. Trail.Anchored = true
  2394. Trail.CanCollide = false
  2395. Trail.BrickColor = TorsoColor
  2396. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2397. Trail.TopSurface = 0
  2398. Trail.BottomSurface = 0
  2399. Trail.formFactor = "Custom"
  2400. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2401. local ms = Instance.new("BlockMesh",Trail)
  2402. ms.Scale = Vector3.new(1,1,1)
  2403. local TM = Instance.new("CylinderMesh",Trail)
  2404. TM.Scale = Vector3.new(1,1,1)
  2405. --Old = New
  2406. coroutine.wrap(function()
  2407. for i = 1,0,-0.1 do
  2408. wait()
  2409. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2410. end
  2411. Trail:remove()
  2412. end)()
  2413. coroutine.wrap(function()
  2414. for i = 1,10 do
  2415. wait()
  2416. Trail.Transparency = Trail.Transparency +0.1
  2417. end end)()end end)()
  2418. coroutine.wrap(function()
  2419. local Old = Handle.CFrame.p
  2420. while wait()do
  2421. if not TrailDeb then break end
  2422. local New = Handle.CFrame.p
  2423. local Mag =(Old -New).magnitude
  2424. local Dis =(Old +New)/2
  2425. local Trail = Instance.new("Part",Character)
  2426. Trail.Material = "Neon"
  2427. Trail.Anchored = true
  2428. Trail.CanCollide = false
  2429. Trail.BrickColor = TorsoColor
  2430. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2431. Trail.TopSurface = 0
  2432. Trail.BottomSurface = 0
  2433. Trail.formFactor = "Custom"
  2434. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2435. local ms = Instance.new("BlockMesh",Trail)
  2436. ms.Scale = Vector3.new(1,1,1)
  2437. local TM = Instance.new("CylinderMesh",Trail)
  2438. TM.Scale = Vector3.new(1,1,1)
  2439. Old = New
  2440. coroutine.wrap(function()
  2441. for i = 1,0,-0.1 do
  2442. wait()
  2443. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2444. end
  2445. Trail:remove()
  2446. end)()
  2447. coroutine.wrap(function()
  2448. for i = 1,10 do
  2449. wait()
  2450. Trail.Transparency = Trail.Transparency +0.1
  2451. end end)()end end)()
  2452. Footsteps:Stop()
  2453. Footsteps2:Stop()
  2454. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,30,40,math.random(20,40),"Normal",RootPart,.2,1) end)
  2455. so("http://www.roblox.com/asset/?id=159882578",Torso,1,1)
  2456. for i=0,1,0.1 do
  2457. swait()
  2458. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2459. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2460. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2461. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2462. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2463. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2464. end
  2465. if anim then
  2466. anim.Disabled=true
  2467. end
  2468. for i=0,1,0.05 do
  2469. swait()
  2470. Torso.Velocity=RootPart.CFrame.lookVector*20
  2471. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2472. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2473. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(0+40*i)),.5)
  2474. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2475. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2476. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2477. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2478. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2479. end
  2480. for i=0,1,0.05 do
  2481. swait()
  2482. Torso.Velocity=RootPart.CFrame.lookVector*40
  2483. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2484. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2485. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(41+80*i)),.5)
  2486. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2487. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2488. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2489. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2490. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2491. end
  2492. for i=0,1,0.05 do
  2493. swait()
  2494. Torso.Velocity=RootPart.CFrame.lookVector*60
  2495. so("http://www.roblox.com/asset/?id=231917758",LeftArm,0.2,1.2)
  2496. so("http://www.roblox.com/asset/?id=231917758",RightArm,0.2,1)
  2497. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(82+120*i)),.5)
  2498. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2499. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2500. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2501. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2502. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2503. end
  2504. so("http://www.roblox.com/asset/?id=159882625",Torso,1,1)
  2505. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2506. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2507. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2508. so("http://www.roblox.com/asset/?id=231917758",Torso,1,0.1)
  2509. for i=0,1,0.05 do
  2510. swait()
  2511. Torso.Velocity=RootPart.CFrame.lookVector*80
  2512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(124+160*i)),.5)
  2513. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2514. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2515. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2516. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2517. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2518. end
  2519. for i=0,1,0.005 do
  2520. swait()
  2521. Torso.Velocity=RootPart.CFrame.lookVector*100
  2522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,3)*angles(math.rad(0),math.rad(0),math.rad(168+4200*i)),.5)
  2523. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2524. Handleweld.C0=clerp(Handleweld.C0,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2525. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,0,0)*angles(math.rad(0),math.rad(180),math.rad(180)),.2)
  2526. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  2527. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-90)),.3)
  2528. end
  2529. --dmgstop()
  2530. Humanoid.WalkSpeed=12
  2531. attack=false
  2532. con1:disconnect()
  2533. con2:disconnect()
  2534. if anim then
  2535. anim.Disabled=false
  2536. end
  2537. if TrailDeb == true then
  2538. TrailDeb = false
  2539. end
  2540. end
  2541.  
  2542. function Push()
  2543. attack=true
  2544. mana=mana-20
  2545. if TrailDeb == false then
  2546. TrailDeb = true
  2547. end
  2548.  
  2549.  
  2550. coroutine.wrap(function()
  2551. --local Old = Handle2.CFrame.p
  2552. while wait()do
  2553. if not TrailDeb then break end
  2554. --local New = Handle2.CFrame.p
  2555. --local Mag =(Old -New).magnitude
  2556. --local Dis =(Old +New)/2
  2557. local Trail = Instance.new("Part",Character)
  2558. Trail.Material = "Neon"
  2559. Trail.Anchored = true
  2560. Trail.CanCollide = false
  2561. Trail.BrickColor = TorsoColor
  2562. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2563. Trail.TopSurface = 0
  2564. Trail.BottomSurface = 0
  2565. Trail.formFactor = "Custom"
  2566. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2567. local ms = Instance.new("BlockMesh",Trail)
  2568. ms.Scale = Vector3.new(1,1,1)
  2569. local TM = Instance.new("CylinderMesh",Trail)
  2570. TM.Scale = Vector3.new(1,1,1)
  2571. --Old = New
  2572. coroutine.wrap(function()
  2573. for i = 1,0,-0.1 do
  2574. wait()
  2575. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2576. end
  2577. Trail:remove()
  2578. end)()
  2579. coroutine.wrap(function()
  2580. for i = 1,10 do
  2581. wait()
  2582. Trail.Transparency = Trail.Transparency +0.1
  2583. end end)()end end)()
  2584. coroutine.wrap(function()
  2585. local Old = Handle.CFrame.p
  2586. while wait()do
  2587. if not TrailDeb then break end
  2588. local New = Handle.CFrame.p
  2589. local Mag =(Old -New).magnitude
  2590. local Dis =(Old +New)/2
  2591. local Trail = Instance.new("Part",Character)
  2592. Trail.Material = "Neon"
  2593. Trail.Anchored = true
  2594. Trail.CanCollide = false
  2595. Trail.BrickColor = TorsoColor
  2596. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2597. Trail.TopSurface = 0
  2598. Trail.BottomSurface = 0
  2599. Trail.formFactor = "Custom"
  2600. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2601. local ms = Instance.new("BlockMesh",Trail)
  2602. ms.Scale = Vector3.new(1,1,1)
  2603. local TM = Instance.new("CylinderMesh",Trail)
  2604. TM.Scale = Vector3.new(1,1,1)
  2605. Old = New
  2606. coroutine.wrap(function()
  2607. for i = 1,0,-0.1 do
  2608. wait()
  2609. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2610. end
  2611. Trail:remove()
  2612. end)()
  2613. coroutine.wrap(function()
  2614. for i = 1,10 do
  2615. wait()
  2616. Trail.Transparency = Trail.Transparency +0.1
  2617. end end)()end end)()
  2618. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2619. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,10,20,math.random(20,40),"Normal",RootPart,.2,1) end)
  2620. for i=0,1,0.1 do
  2621. swait()
  2622. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2623. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2624. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2625. Handleweld.C0=clerp(Handleweld.C0,cf(-5,0,-10)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2626. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(5,0,-10)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2627. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2628. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2629. end
  2630. -- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2631. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2632. so("http://www.roblox.com/asset/?id=159882481",Torso,1,1)
  2633. for i=0,1,0.1 do
  2634. swait()
  2635. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2636. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2637. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2638. Handleweld.C0=clerp(Handleweld.C0,cf(-4,0,-20)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  2639. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(4,0,-20)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  2640. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(-20)),.3)
  2641. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*angles(math.rad(90),math.rad(0),math.rad(20)),.3)
  2642. end
  2643. --dmgstop()
  2644. attack=false
  2645. con1:disconnect()
  2646. con2:disconnect()
  2647. if TrailDeb == true then
  2648. TrailDeb = false
  2649. end
  2650. end
  2651.  
  2652. function Clap()
  2653. attack=true
  2654. mana=mana-20
  2655. if TrailDeb == false then
  2656. TrailDeb = true
  2657. end
  2658.  
  2659.  
  2660. coroutine.wrap(function()
  2661. --local Old = Handle2.CFrame.p
  2662. while wait()do
  2663. if not TrailDeb then break end
  2664. --local New = Handle2.CFrame.p
  2665. --local Mag =(Old -New).magnitude
  2666. --local Dis =(Old +New)/2
  2667. local Trail = Instance.new("Part",Character)
  2668. Trail.Material = "Neon"
  2669. Trail.Anchored = true
  2670. Trail.CanCollide = false
  2671. Trail.BrickColor = TorsoColor
  2672. --Trail.Size = Vector3.new(0.2,Mag,0.2)
  2673. Trail.TopSurface = 0
  2674. Trail.BottomSurface = 0
  2675. Trail.formFactor = "Custom"
  2676. --Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2677. local ms = Instance.new("BlockMesh",Trail)
  2678. ms.Scale = Vector3.new(1,1,1)
  2679. local TM = Instance.new("CylinderMesh",Trail)
  2680. TM.Scale = Vector3.new(1,1,1)
  2681. --Old = New
  2682. coroutine.wrap(function()
  2683. for i = 1,0,-0.1 do
  2684. wait()
  2685. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2686. end
  2687. Trail:remove()
  2688. end)()
  2689. coroutine.wrap(function()
  2690. for i = 1,10 do
  2691. wait()
  2692. Trail.Transparency = Trail.Transparency +0.1
  2693. end end)()end end)()
  2694. coroutine.wrap(function()
  2695. local Old = Handle.CFrame.p
  2696. while wait()do
  2697. if not TrailDeb then break end
  2698. local New = Handle.CFrame.p
  2699. local Mag =(Old -New).magnitude
  2700. local Dis =(Old +New)/2
  2701. local Trail = Instance.new("Part",Character)
  2702. Trail.Material = "Neon"
  2703. Trail.Anchored = true
  2704. Trail.CanCollide = false
  2705. Trail.BrickColor = TorsoColor
  2706. Trail.Size = Vector3.new(0.2,Mag,0.2)
  2707. Trail.TopSurface = 0
  2708. Trail.BottomSurface = 0
  2709. Trail.formFactor = "Custom"
  2710. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  2711. local ms = Instance.new("BlockMesh",Trail)
  2712. ms.Scale = Vector3.new(1,1,1)
  2713. local TM = Instance.new("CylinderMesh",Trail)
  2714. TM.Scale = Vector3.new(1,1,1)
  2715. Old = New
  2716. coroutine.wrap(function()
  2717. for i = 1,0,-0.1 do
  2718. wait()
  2719. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  2720. end
  2721. Trail:remove()
  2722. end)()
  2723. coroutine.wrap(function()
  2724. for i = 1,10 do
  2725. wait()
  2726. Trail.Transparency = Trail.Transparency +0.1
  2727. end end)()end end)()
  2728. -- con1=Gear2.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2729. con2=Gear.Touched:connect(function(hit) Damagefunc(hit,20,30,math.random(20,40),"Normal",RootPart,.2,1) end)
  2730. so("http://www.roblox.com/asset/?id=159882584",Torso,1,0.9)
  2731. for i=0,1,0.08 do
  2732. swait()
  2733. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2735. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2736. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(-5,1,-5)*angles(math.rad(0),math.rad(-40),math.rad(20)),.2)
  2737. Handleweld.C0=clerp(Handleweld.C0,cf(5,1,-5)*angles(math.rad(0),math.rad(40),math.rad(-20)),.2)
  2738. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-30,0,-20),.3)
  2739. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-30,0,20),.3)
  2740. end
  2741. -- so("http://www.roblox.com/asset/?id=231917758",Handle2,1,.8)
  2742. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2743. for i=0,1,0.08 do
  2744. swait()
  2745. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2746. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2747. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2748. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(4,1,-5)*angles(math.rad(0),math.rad(-43),math.rad(20)),.2)
  2749. Handleweld.C0=clerp(Handleweld.C0,cf(-4,1,-5)*angles(math.rad(0),math.rad(43),math.rad(-20)),.2)
  2750. LW.C0=clerp(LW.C0,cf(-1,0.5,-1)*euler(-30,0,20),.3)
  2751. RW.C0=clerp(RW.C0,cf(1,0.5,-1)*euler(-30,0,-20),.3)
  2752. end
  2753. --dmgstop()
  2754. attack=false
  2755. con1:disconnect()
  2756. con2:disconnect()
  2757. if TrailDeb == true then
  2758. TrailDeb = false
  2759. end
  2760. end
  2761.  
  2762. function Hai()
  2763. attack=true
  2764. Humanoid.WalkSpeed=0
  2765. so("http://www.roblox.com/asset/?id=159882567",Torso,1,1)
  2766. for i=0,1,0.1 do
  2767. swait()
  2768. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2769. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2770. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2771. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2772. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2773. 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)
  2774. 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)
  2775. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2776. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2777. end
  2778. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2779. for i=0,1,0.1 do
  2780. swait()
  2781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2783. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2784. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2785. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2786. 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)
  2787. 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)
  2788. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.5)
  2789. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2790. end
  2791. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2792. for i=0,1,0.1 do
  2793. swait()
  2794. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2795. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2796. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2797. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2798. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2799. 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)
  2800. 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)
  2801. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2802. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2803.  
  2804. end
  2805. so("http://www.roblox.com/asset/?id=231917758",Handle,1,.8)
  2806. for i=0,1,0.1 do
  2807. swait()
  2808. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2809. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2810. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2811. Handleweld.C0=clerp(Handleweld.C0,cf(3,8,0)*angles(math.rad(0),math.rad(-20),math.rad(-30)),.2)
  2812. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0.5,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2813. 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)
  2814. 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)
  2815. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(50)),.3)
  2816. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2817. end
  2818. so("http://www.roblox.com/asset/?id=231917758",Handle,1,1)
  2819. for i=0,1,0.1 do
  2820. swait()
  2821. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2822. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  2823. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  2824. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,3)*angles(math.rad(20),math.rad(-20),math.rad(20)),.2)
  2825. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.2)
  2826. 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)
  2827. 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)
  2828. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.3)
  2829. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-16)),.3)
  2830. end
  2831. --dmgstop()
  2832. Humanoid.WalkSpeed=12
  2833. attack=false
  2834. end
  2835.  
  2836. function Die()
  2837. attack=true
  2838. Footsteps:Stop()
  2839. Footsteps2:Stop()
  2840. local Fire = it("Sound",Character.Torso)
  2841. Fire.SoundId = "rbxassetid://192104941"
  2842. Fire.Looped = true
  2843. Fire.Pitch = 1
  2844. Fire.Volume = 1
  2845. --local Fire2 = it("Sound",Handle2)
  2846. --Fire2.SoundId = "rbxassetid://192104941"
  2847. --Fire2.Looped = true
  2848. --Fire2.Pitch = 1
  2849. --Fire2.Volume = 1
  2850. local Fire3 = it("Sound",Handle)
  2851. Fire3.SoundId = "rbxassetid://192104941"
  2852. Fire3.Looped = true
  2853. Fire3.Pitch = 1
  2854. Fire3.Volume = 1
  2855. local Fire4 = it("Sound",handle)
  2856. Fire4.SoundId = "rbxassetid://192104941"
  2857. Fire4.Looped = true
  2858. Fire4.Pitch = 1
  2859. Fire4.Volume = 1
  2860. local fire = Instance.new("ParticleEmitter", Character.Torso)
  2861. fire.Lifetime = NumberRange.new(0.5)
  2862. fire.Speed = NumberRange.new(1, 3)
  2863. fire.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2864. fire.Rate = 0
  2865. fire.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2866. fire.LightEmission = 0.6
  2867. fire.Texture = "http://www.roblox.com/asset/?id=242911609"
  2868. fire.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2869. local fire2 = Instance.new("ParticleEmitter", Handle)
  2870. fire2.Lifetime = NumberRange.new(0.5)
  2871. fire2.Speed = NumberRange.new(1, 3)
  2872. fire2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2873. fire2.Rate = 0
  2874. fire2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2875. fire2.LightEmission = 0.6
  2876. fire2.Texture = "http://www.roblox.com/asset/?id=242911609"
  2877. fire2.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2878. --local fire3 = Instance.new("ParticleEmitter", Handle2)
  2879. --fire3.Lifetime = NumberRange.new(0.5)
  2880. --fire3.Speed = NumberRange.new(1, 3)
  2881. --fire3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 6.564, 5.521), NumberSequenceKeypoint.new(1, 6.534, 5.521)})
  2882. --fire3.Rate = 0
  2883. --fire3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2884. --fire3.LightEmission = 0.6
  2885. --fire3.Texture = "http://www.roblox.com/asset/?id=242911609"
  2886. --fire3.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2887. local fire4 = Instance.new("ParticleEmitter", handle)
  2888. fire4.Lifetime = NumberRange.new(0.5)
  2889. fire4.Speed = NumberRange.new(1, 3)
  2890. fire4.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3.564, 2.521), NumberSequenceKeypoint.new(1, 3.534, 2.521)})
  2891. fire4.Rate = 0
  2892. fire4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(0.627, 0.587), NumberSequenceKeypoint.new(1, 1)})
  2893. fire4.LightEmission = 0.6
  2894. fire4.Texture = "http://www.roblox.com/asset/?id=242911609"
  2895. fire4.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(1, 0.666667, 0))
  2896. Humanoid.WalkSpeed = 0
  2897. so("http://www.roblox.com/asset/?id=199149297",Head,1,1)
  2898. so("http://www.roblox.com/asset/?id=209527203",Head,1,1)
  2899. for i=0,1,0.08 do
  2900. swait()
  2901. Torso.Velocity=RootPart.CFrame.lookVector*-30
  2902. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,0)*angles(math.rad(-45),math.rad(0),math.rad(90)),.2)
  2903. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(45)),.2)
  2904. handleweld.C0=clerp(handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2905. Handleweld.C0=clerp(Handleweld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2906. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,5,0)*angles(math.rad(45),math.rad(0),math.rad(0)),.2)
  2907. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(45)),.2)
  2908. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-45)),.2)
  2909. 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)
  2910. 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)
  2911. end
  2912. for i=0,1,0.005 do
  2913. swait()
  2914. moosick.Volume=1-2*i
  2915. light.Range=15-10*i
  2916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2918. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2919. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2920. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2921. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2922. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2923. 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)
  2924. 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)
  2925. end
  2926. light.Range=0
  2927. for i=0,1,0.01 do
  2928. swait()
  2929. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2930. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2931. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2932. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2933. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2934. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2935. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2936. 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)
  2937. 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)
  2938. end
  2939. so("http://www.roblox.com/asset/?id=209527175",Head,1,0.9)
  2940. fire.Rate = 1000
  2941. fire2.Rate = 1000
  2942. -- fire3.Rate = 1000
  2943. fire4.Rate = 1000
  2944. Fire:Play()
  2945. -- Fire2:Play()
  2946. Fire3:Play()
  2947. Fire4:Play()
  2948. for i=0,1,0.005 do
  2949. swait()
  2950. Character.Head.face.Transparency = 0+1*i
  2951. LeftArm.Transparency=0+1*i
  2952. RightArm.Transparency=0+1*i
  2953. LeftLeg.Transparency=0+1*i
  2954. RightLeg.Transparency=0+1*i
  2955. Head.Transparency=0+1*i
  2956. Torso.Transparency=0+1*i
  2957. for _,v in pairs(Character:children()) do
  2958. if v:IsA("Hat") then
  2959. v.Handle.Transparency = 0+1*i
  2960. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,1,-2.5)*angles(math.rad(-90),math.rad(0),math.rad(180)),.2)
  2961. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(90)),.4)
  2962. handleweld.C0=clerp(handleweld.C0,cf(0,10,-5)*angles(math.rad(60),math.rad(30),math.rad(30)),.2)
  2963. Handleweld.C0=clerp(Handleweld.C0,cf(0,20,-5)*angles(math.rad(150),math.rad(0),math.rad(0)),.2)
  2964. -- Handle2weld.C0=clerp(Handle2weld.C0,cf(0,20,-5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  2965. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(0),math.rad(90)),.2)
  2966. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  2967. 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)
  2968. 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)
  2969. end
  2970. end
  2971. --dmgstop()
  2972. end
  2973. Humanoid.Health = 0
  2974. end
  2975.  
  2976. equipanim()
  2977.  
  2978. local sine = 0
  2979. local change = 1
  2980. local val = 0
  2981.  
  2982. local mananum=0
  2983. while true do
  2984. swait()
  2985. sine = sine + change
  2986. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2987. local velderp=RootPart.Velocity.y
  2988. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2989. if equipped==true or equipped==false then
  2990. if Anim=="Idle" and attack==false then
  2991. idle=idle+1
  2992. else
  2993. idle=0
  2994. end
  2995. if Humanoid.Health <=20 then
  2996. if attack == false then
  2997. Humanoid.Health = math.huge
  2998. Die()
  2999. end
  3000. end
  3001. if idle>=1000 then
  3002. if attack==false then
  3003. --Sheath()
  3004. end
  3005. end
  3006. if RootPart.Velocity.y > 1 and hitfloor==nil then
  3007. Anim="Jump"
  3008. if attack==false then
  3009. Footsteps:Stop()
  3010. Footsteps2:Stop()
  3011. Neck.C0=clerp(Neck.C0,necko*euler(-0.2,0,0),.3)
  3012. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3013. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0),.3)
  3014. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-.25,0,0.5),.3)
  3015. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3016. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(-.25,0,-0.5),.3)
  3017. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3018. RH.C0=clerp(RH.C0,cf(1,0,-.75)*euler(-0.5,1.57,0)*euler(0,0,0),.2)
  3019. LH.C0=clerp(LH.C0,cf(-1,-1,-.3)*euler(-0.5,-1.57,0)*euler(0,0,0),.2)
  3020. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  3021. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(20),math.rad(0)),.2)
  3022. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(20),math.rad(-20),math.rad(0)),.2)
  3023. end
  3024. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  3025. Anim="Fall"
  3026. if attack==false then
  3027. Footsteps:Stop()
  3028. Footsteps2:Stop()
  3029. Neck.C0=clerp(Neck.C0,necko*euler(0.3,0,0),.3)
  3030. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3031. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(0,0,0),.3)
  3032. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(0.1,0,1),.3)
  3033. RW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3034. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*euler(0.1,0,-1),.3)
  3035. LW.C1=clerp(LW.C1,cf(0,0.5,0)*euler(0,0,0),.3)
  3036. RH.C0=clerp(RH.C0,cf(1,-1,0)*euler(0.6,1.57,0)*euler(0,0,0),.2)
  3037. LH.C0=clerp(LH.C0,cf(-1,-1,0)*euler(-0.8,-1.57,0)*euler(0,0,0),.2)
  3038. handleweld.C0=clerp(handleweld.C0,cf(0,0,-1)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3039. Handleweld.C0=clerp(Handleweld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(-10),math.rad(0)),.2)
  3040. --Handle2weld.C0=clerp(Handle2weld.C0,cf(0,-1,0)*angles(math.rad(-20),math.rad(10),math.rad(0)),.2)
  3041. end
  3042. elseif torvel<1 and hitfloor~=nil then
  3043. Anim="Idle"
  3044. change=0.5
  3045. if idle>=1000 then
  3046. if attack==false then
  3047. Footsteps:Stop()
  3048. Footsteps2:Stop()
  3049. Humanoid.WalkSpeed=12
  3050. 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(10)),.1)
  3051. 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)
  3052. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.1)
  3053. RW.C0=clerp(RW.C0,cf(0.8,0.3,-0.5)*angles(math.rad(70),math.rad(0),math.rad(-85)),.5)
  3054. LW.C0=clerp(LW.C0,cf(-0.6,0.5,-0.7)*angles(math.rad(70),math.rad(0),math.rad(85)),.5)
  3055. 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)
  3056. 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)
  3057. --handleweld.C0=clerp(handleweld.C0,cf(0,1.5+2.5*math.cos(sine/62*2),0)*angles(math.rad(90),math.rad(0),math.rad(60-180*math.cos(sine/50))),.3)
  3058. Handleweld.C0=clerp(Handleweld.C0,cf(0,-0.5-0.85*math.cos(sine/62*2),0)*angles(math.rad(0),math.rad(-0-180*2.5*math.cos(sine/62*2)),math.rad(0)),.4)
  3059. end
  3060. else
  3061. if attack==false then
  3062. Footsteps:Stop()
  3063. Footsteps2:Stop()
  3064. Humanoid.WalkSpeed=12
  3065. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(6),math.rad(0),math.rad(0)),.3)
  3066. Neck.C0=clerp(Neck.C0,necko*angles(math.rad(3+3*math.cos(sine/36)),math.rad(0),math.rad(0)),.3)
  3067. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3068. 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)
  3069. 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)
  3070. 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)
  3071. 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)
  3072. 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)
  3073. 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)
  3074. --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)
  3075. end
  3076. end
  3077. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  3078. Anim="Walk"
  3079. if attack==false then
  3080. change=0.8
  3081. --[[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)
  3082. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.3)
  3083. 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)
  3084. 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)
  3085. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  3086. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  3087. --Handleweld.C0=clerp(--Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  3088. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*euler(0,0,0),.2)
  3089. RootJoint.C0=clerp(RootJoint.C0,RootCF*euler(0.1,0,0),.2)
  3090. --RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*euler(-0.1,0,0.2),.2)
  3091. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-5),math.rad(-25),math.rad(20)),.3)
  3092. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(5),math.rad(25),math.rad(-20)),.3)
  3093. RH.C0=clerp(RH.C0,RHC0,.3)
  3094. LH.C0=clerp(LH.C0,LHC0,.3)
  3095. Handleweld.C0=clerp(Handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3096. Handle2weld.C0=clerp(Handle2weld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3097. ]]--
  3098. Footsteps:Play()
  3099. Footsteps2:Stop()
  3100. 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)
  3101. 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)
  3102. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3103. 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)
  3104. 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)
  3105. 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)
  3106. 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)
  3107. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3108. 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)
  3109. --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)
  3110. end
  3111. elseif torvel>=22 and hitfloor~=nil then
  3112. Anim="Run"
  3113. change=1
  3114. if attack==false then
  3115. Footsteps:Stop()
  3116. Footsteps2:Play()
  3117. 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)
  3118. Neck.C0=clerp(Neck.C0,necko*euler(-0.2+0.075*math.cos(sine/2.5),0,0),.3)
  3119. Neck.C1=clerp(Neck.C1,necko2*euler(0,0,0),.3)
  3120. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(24)),.3)
  3121. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-40),math.rad(0),math.rad(-24)),.3)
  3122. 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)
  3123. 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)
  3124. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  3125. 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)
  3126. --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)
  3127. end
  3128. end
  3129. end
  3130. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  3131. fenbarmana4.Text="[Energy] <{[ "..mana.." ]}> [Energy]"
  3132. if mana>=100 then
  3133. mana=100
  3134. else
  3135. if mananum<=8 then
  3136. mananum=mananum+1
  3137. else
  3138. mananum=0
  3139. mana=mana+1
  3140. end
  3141. end
  3142. end
  3143. -- ~CLarramore
Advertisement
Add Comment
Please, Sign In to add comment