vibrantsinger423

rc3_notes

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