vibrantsinger423

clawxd3

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