UltimateGate

BLACK MAGIC - Hitman [OLD]

May 8th, 2018
291
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 106.42 KB | None | 0 0
  1. Ply = game.Players.LocalPlayer
  2. --FIXED WITH TRIGECTORY's CheatSheet--
  3. cheatsheetplr = game.Players.LocalPlayer
  4. i = Instance.new("NumberValue", cheatsheetplr )
  5. i.Name = "FPSCH"
  6. Bin = Instance.new("HopperBin", cheatsheetplr .Backpack)
  7. script.Parent = Bin
  8. local cf = CFrame.new
  9. local RbxUtility = LoadLibrary("RbxUtility")
  10. local Create = RbxUtility.Create
  11. RW = Create("Weld")({Name = "Right Shoulder", Part0 = Tor, C0 = CFrame.new(1.5, 0.5, 0), C1 = CFrame.new(0, 0.5,
  12.  
  13. 0), Part1 = RA, Parent = Tor})
  14. LW = Create("Weld")({Name = "Left Shoulder", Part0 = Tor, C0 = CFrame.new(-1.5, 0.5, 0), C1 = CFrame.new(0, 0.5,
  15.  
  16. 0), Part1 = LA, Parent = Tor})
  17. Player=game:GetService("Players").LocalPlayer
  18. Character=Player.Character
  19. PlayerGui=Player.PlayerGui
  20. Backpack=Player.Backpack
  21. Torso=Character.Torso
  22. Head=Character.Head
  23. Humanoid=Character.Humanoid
  24. m=Instance.new('Model',Character)
  25. LeftArm=Character["Left Arm"]
  26. LeftLeg=Character["Left Leg"]
  27. RightArm=Character["Right Arm"]
  28. RightLeg=Character["Right Leg"]
  29. LS=Torso["Left Shoulder"]
  30. LH=Torso["Left Hip"]
  31. RS=Torso["Right Shoulder"]
  32. RH=Torso["Right Hip"]
  33. Face = Head.face
  34. Neck=Torso.Neck
  35. it=Instance.new
  36. attacktype=1
  37. vt=Vector3.new
  38. cf=CFrame.new
  39. euler=CFrame.fromEulerAnglesXYZ
  40. angles=CFrame.Angles
  41. cloaked=false
  42. local mananum=0
  43. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  44. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  45. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  46. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  47. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  48. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  49. RootPart=Character.HumanoidRootPart
  50. RailgunTarget=RootPart
  51. RootJoint=RootPart.RootJoint
  52. RootCF=euler(-1.57,0,3.14)
  53. attack = false
  54. attackdebounce = false
  55. deb=false
  56. equipped=false
  57. hand=false
  58. MMouse=nil
  59. combo=0
  60. mana=100
  61. trispeed=.2
  62. attackmode='none'
  63. local idle=0
  64. local Anim="Idle"
  65. local Effects={}
  66. local gun=false
  67. local shoot=false
  68. player=nil
  69. mana=0
  70.  
  71. mouse=Player:GetMouse()
  72. --save shoulders
  73. RSH, LSH=nil, nil
  74. --welds
  75. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  76. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  77. LH=Torso["Left Hip"]
  78. RH=Torso["Right Hip"]
  79. TorsoColor=Torso.BrickColor
  80.  
  81. local Tool=nil
  82. if (script.Parent.className~="HopperBin") then
  83. Tool=Instance.new("HopperBin")
  84. Tool.Parent=Backpack
  85. Tool.Name="Binary Sword"
  86. script.Parent=Tool
  87. end
  88. Bin=script.Parent
  89. --Bin=Tool
  90.  
  91.  
  92.  
  93. local fengui=it("GuiMain")
  94. fengui.Parent=Player.PlayerGui
  95. fengui.Name="WeaponGUI"
  96. local fenframe=it("Frame")
  97. fenframe.Parent=fengui
  98. fenframe.BackgroundColor3=Color3.new(255,255,255)
  99. fenframe.BackgroundTransparency=1
  100. fenframe.BorderColor3=Color3.new(17,17,17)
  101. fenframe.Size=UDim2.new(0.0500000007, 0, 0.100000001, 0)
  102. fenframe.Position=UDim2.new(0.4,0,0.1,0)
  103. local fenbarmana1=it("TextLabel")
  104. fenbarmana1.Parent=fenframe
  105. fenbarmana1.Text=" "
  106. fenbarmana1.BackgroundTransparency=0
  107. fenbarmana1.BackgroundColor3=Color3.new(0,0,0)
  108. fenbarmana1.SizeConstraint="RelativeXY"
  109. fenbarmana1.TextXAlignment="Center"
  110. fenbarmana1.TextYAlignment="Center"
  111. fenbarmana1.Position=UDim2.new(0,0,0,0)
  112. fenbarmana1.Size=UDim2.new(4,0,0.2,0)
  113. local fenbarmana2=it("TextLabel")
  114. fenbarmana2.Parent=fenframe
  115. fenbarmana2.Text=" "
  116. fenbarmana2.BackgroundTransparency=0
  117. fenbarmana2.BackgroundColor3=Torso.Color
  118. fenbarmana2.SizeConstraint="RelativeXY"
  119. fenbarmana2.TextXAlignment="Center"
  120. fenbarmana2.TextYAlignment="Center"
  121. fenbarmana2.Position=UDim2.new(0,0,0,0)
  122. fenbarmana2.Size=UDim2.new(4*mana/100,0,0.2,0)
  123. local fenbarmana3=it("TextLabel")
  124. fenbarmana3.Parent=fenframe
  125. fenbarmana3.Text=" "
  126. fenbarmana3.BackgroundTransparency=0
  127. fenbarmana3.BackgroundColor3=Color3.new(Col1,Col2,Col3)
  128. fenbarmana3.SizeConstraint="RelativeXY"
  129. fenbarmana3.TextXAlignment="Center"
  130. fenbarmana3.TextYAlignment="Center"
  131. fenbarmana3.Position=UDim2.new(0,0,0,0)
  132. fenbarmana3.Size=UDim2.new(0,0,0.2,0)
  133. local fenbarmana4=it("TextLabel")
  134. fenbarmana4.Parent=fenframe
  135. fenbarmana4.Text="Energy("..mana..")"
  136. fenbarmana4.BackgroundTransparency=1
  137. fenbarmana4.BackgroundColor3=Color3.new(0,0,0)
  138. fenbarmana4.SizeConstraint="RelativeXY"
  139. fenbarmana4.TextXAlignment="Center"
  140. fenbarmana4.TextYAlignment="Center"
  141. fenbarmana4.Position=UDim2.new(0,0,-0.3,0)
  142. fenbarmana4.Size=UDim2.new(4,0,0.2,0)
  143. fenbarmana4.FontSize="Size9"
  144. fenbarmana4.TextStrokeTransparency=0
  145. fenbarmana4.TextColor=BrickColor.new("White")
  146.  
  147.  
  148.  
  149. function NoOutline(Part)
  150. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  151. end
  152. player=Player
  153. ch=Character
  154. RSH=ch.Torso["Right Shoulder"]
  155. LSH=ch.Torso["Left Shoulder"]
  156. --
  157. RSH.Parent=nil
  158. LSH.Parent=nil
  159. --
  160. RW.Name="Right Shoulder"
  161. RW.Part0=ch.Torso
  162. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  163. RW.C1=cf(0, 0.5, 0)
  164. RW.Part1=ch["Right Arm"]
  165. RW.Parent=ch.Torso
  166. --
  167. LW.Name="Left Shoulder"
  168. LW.Part0=ch.Torso
  169. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  170. LW.C1=cf(0, 0.5, 0)
  171. LW.Part1=ch["Left Arm"]
  172. LW.Parent=ch.Torso
  173.  
  174. Player=game:GetService('Players').LocalPlayer
  175. Character=Player.Character
  176. Mouse=Player:GetMouse()
  177. m=Instance.new('Model',Character)
  178.  
  179.  
  180. local function weldBetween(a, b)
  181. local weldd = Instance.new("ManualWeld")
  182. weldd.Part0 = a
  183. weldd.Part1 = b
  184. weldd.C0 = CFrame.new()
  185. weldd.C1 = b.CFrame:inverse() * a.CFrame
  186. weldd.Parent = a
  187. return weldd
  188. end
  189.  
  190.  
  191. ArtificialHB = Instance.new("BindableEvent", script)
  192. ArtificialHB.Name = "Heartbeat"
  193.  
  194. script:WaitForChild("Heartbeat")
  195.  
  196. frame = 1 / 30
  197. if Player.FPSCH.Value==true then
  198. frame = 1/60
  199. else
  200. frame=1/30
  201. end
  202. tf = 0
  203. allowframeloss = false
  204. tossremainder = false
  205. lastframe = tick()
  206. script.Heartbeat:Fire()
  207.  
  208. game:GetService("RunService").Heartbeat:connect(function(s, p)
  209. tf = tf + s
  210. if tf >= frame then
  211. if allowframeloss then
  212. script.Heartbeat:Fire()
  213. lastframe = tick()
  214. else
  215. for i = 1, math.floor(tf / frame) do
  216. script.Heartbeat:Fire()
  217. end
  218. lastframe = tick()
  219. end
  220. if tossremainder then
  221. tf = 0
  222. else
  223. tf = tf - frame * math.floor(tf / frame)
  224. end
  225. end
  226. end)
  227.  
  228. function swait(num)
  229. if num == 0 or num == nil then
  230. ArtificialHB.Event:wait()
  231. else
  232. for i = 0, num do
  233. ArtificialHB.Event:wait()
  234. end
  235. end
  236. end
  237.  
  238. function nooutline(part)
  239. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  240. end
  241.  
  242. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  243. local fp=it("Part")
  244. fp.formFactor=formfactor
  245. fp.Parent=parent
  246. fp.Reflectance=reflectance
  247. fp.Transparency=transparency
  248. fp.CanCollide=false
  249. fp.Locked=true
  250. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  251. fp.Name=name
  252. fp.Size=size
  253. fp.Position=Character.Torso.Position
  254. nooutline(fp)
  255. fp.Material=material
  256. fp:BreakJoints()
  257. return fp
  258. end
  259.  
  260. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  261. local mesh=it(Mesh)
  262. mesh.Parent=part
  263. if Mesh=="SpecialMesh" then
  264. mesh.MeshType=meshtype
  265. mesh.MeshId=meshid
  266. end
  267. mesh.Offset=offset
  268. mesh.Scale=scale
  269. return mesh
  270. end
  271.  
  272. function weld(parent,part0,part1,c0,c1)
  273. local weld=it("Weld")
  274. weld.Parent=parent
  275. weld.Part0=part0
  276. weld.Part1=part1
  277. weld.C0=c0
  278. weld.C1=c1
  279. return weld
  280. end
  281.  
  282.  
  283. local function CFrameFromTopBack(at, top, back)
  284. local right = top:Cross(back)
  285. return CFrame.new(at.x, at.y, at.z,
  286. right.x, top.x, back.x,
  287. right.y, top.y, back.y,
  288. right.z, top.z, back.z)
  289. end
  290.  
  291. function Triangle(a, b, c)
  292. local edg1 = (c-a):Dot((b-a).unit)
  293. local edg2 = (a-b):Dot((c-b).unit)
  294. local edg3 = (b-c):Dot((a-c).unit)
  295. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  296. a, b, c = a, b, c
  297. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  298. a, b, c = b, c, a
  299. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  300. a, b, c = c, a, b
  301. else
  302. assert(false, "unreachable")
  303. end
  304.  
  305. local len1 = (c-a):Dot((b-a).unit)
  306. local len2 = (b-a).magnitude - len1
  307. local width = (a + (b-a).unit*len1 - c).magnitude
  308.  
  309. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  310.  
  311. local list = {}
  312.  
  313. local Color = BrickColor.new("Dark grey")
  314.  
  315. if len1 > 0.01 then
  316. local w1 = Instance.new('WedgePart', m)
  317. game:GetService("Debris"):AddItem(w1,5)
  318. w1.Material = "SmoothPlastic"
  319. w1.FormFactor = 'Custom'
  320. w1.BrickColor = BrickColor.new(Color)
  321. w1.Transparency = 0
  322. w1.Reflectance = 0
  323. w1.Material = "SmoothPlastic"
  324. w1.CanCollide = false
  325. NoOutline(w1)
  326. local sz = Vector3.new(0.2, width, len1)
  327. w1.Size = sz
  328. local sp = Instance.new("SpecialMesh",w1)
  329. sp.MeshType = "Wedge"
  330. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  331. w1:BreakJoints()
  332. w1.Anchored = true
  333. w1.Parent = workspace
  334. w1.Transparency = 0.7
  335. table.insert(Effects,{w1,"Disappear",.01})
  336. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  337. table.insert(list,w1)
  338. end
  339.  
  340. if len2 > 0.01 then
  341. local w2 = Instance.new('WedgePart', m)
  342. game:GetService("Debris"):AddItem(w2,5)
  343. w2.Material = "SmoothPlastic"
  344. w2.FormFactor = 'Custom'
  345. w2.BrickColor = BrickColor.new(Color)
  346. w2.Transparency = 0
  347. w2.Reflectance = 0
  348. w2.Material = "SmoothPlastic"
  349. w2.CanCollide = false
  350. NoOutline(w2)
  351. local sz = Vector3.new(0.2, width, len2)
  352. w2.Size = sz
  353. local sp = Instance.new("SpecialMesh",w2)
  354. sp.MeshType = "Wedge"
  355. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  356. w2:BreakJoints()
  357. w2.Anchored = true
  358. w2.Parent = workspace
  359. w2.Transparency = 0.7
  360. table.insert(Effects,{w2,"Disappear",.01})
  361. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  362. table.insert(list,w2)
  363. end
  364. return unpack(list)
  365. end
  366.  
  367.  
  368. so = function(id,par,vol,pit)
  369. coroutine.resume(coroutine.create(function()
  370. local sou = Instance.new("Sound",par or workspace)
  371. sou.Volume=vol
  372. sou.Pitch=pit or 1
  373. sou.SoundId=id
  374. swait()
  375. sou:play()
  376. game:GetService("Debris"):AddItem(sou,6)
  377. end))
  378. end
  379.  
  380. function clerp(a,b,t)
  381. local qa = {QuaternionFromCFrame(a)}
  382. local qb = {QuaternionFromCFrame(b)}
  383. local ax, ay, az = a.x, a.y, a.z
  384. local bx, by, bz = b.x, b.y, b.z
  385. local _t = 1-t
  386. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  387. end
  388.  
  389. function QuaternionFromCFrame(cf)
  390. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  391. local trace = m00 + m11 + m22
  392. if trace > 0 then
  393. local s = math.sqrt(1 + trace)
  394. local recip = 0.5/s
  395. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  396. else
  397. local i = 0
  398. if m11 > m00 then
  399. i = 1
  400. end
  401. if m22 > (i == 0 and m00 or m11) then
  402. i = 2
  403. end
  404. if i == 0 then
  405. local s = math.sqrt(m00-m11-m22+1)
  406. local recip = 0.5/s
  407. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  408. elseif i == 1 then
  409. local s = math.sqrt(m11-m22-m00+1)
  410. local recip = 0.5/s
  411. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  412. elseif i == 2 then
  413. local s = math.sqrt(m22-m00-m11+1)
  414. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  415. end
  416. end
  417. end
  418.  
  419. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  420. local xs, ys, zs = x + x, y + y, z + z
  421. local wx, wy, wz = w*xs, w*ys, w*zs
  422. local xx = x*xs
  423. local xy = x*ys
  424. local xz = x*zs
  425. local yy = y*ys
  426. local yz = y*zs
  427. local zz = z*zs
  428. 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))
  429. end
  430.  
  431. function QuaternionSlerp(a, b, t)
  432. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  433. local startInterp, finishInterp;
  434. if cosTheta >= 0.0001 then
  435. if (1 - cosTheta) > 0.0001 then
  436. local theta = math.acos(cosTheta)
  437. local invSinTheta = 1/math.sin(theta)
  438. startInterp = math.sin((1-t)*theta)*invSinTheta
  439. finishInterp = math.sin(t*theta)*invSinTheta
  440. else
  441. startInterp = 1-t
  442. finishInterp = t
  443. end
  444. else
  445. if (1+cosTheta) > 0.0001 then
  446. local theta = math.acos(-cosTheta)
  447. local invSinTheta = 1/math.sin(theta)
  448. startInterp = math.sin((t-1)*theta)*invSinTheta
  449. finishInterp = math.sin(t*theta)*invSinTheta
  450. else
  451. startInterp = t-1
  452. finishInterp = t
  453. end
  454. end
  455. 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
  456. end
  457.  
  458. --Example: Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  459.  
  460.  
  461. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  462. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  463. end
  464.  
  465.  
  466.  
  467. function MMMAGIC(part,x1,y1,z1,x2,y2,z2,color)
  468. local msh1 = Instance.new("BlockMesh")
  469. msh1.Scale = Vector3.new(0.5,0.5,0.5)
  470. S=Instance.new("Part")
  471. S.Name="Effect"
  472. S.formFactor=0
  473. S.Size=Vector3.new(x1,y1,z1)
  474. S.BrickColor=color
  475. S.Reflectance = 0
  476. S.TopSurface=0
  477. S.BottomSurface=0
  478. S.Transparency=0
  479. S.Anchored=true
  480. S.CanCollide=false
  481. S.CFrame=part.CFrame*CFrame.new(x2,y2,z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  482. S.Parent=Character
  483. msh1.Parent = S
  484. coroutine.resume(coroutine.create(function(Part,CF)
  485. for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1)
  486. Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  487. Part.Transparency=i*.1 swait() end Part.Parent=nil end),S,S.CFrame)
  488. end
  489.  
  490. Damagefunc1=function(hit,Damage,Knockback)
  491. if hit.Parent==nil then
  492. return
  493. end
  494. CPlayer=Bin
  495. h=hit.Parent:FindFirstChild("Humanoid")
  496. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  497. if attackdebounce == false then
  498. attackdebounce = true
  499. coroutine.resume(coroutine.create(function()
  500. wait(0.2)
  501. attackdebounce = false
  502. end))
  503. Damage=Damage
  504. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  505. return
  506. end]]
  507. -- hs(hit,1.2)
  508. c=Instance.new("ObjectValue")
  509. c.Name="creator"
  510. c.Value=game.Players.LocalPlayer
  511. c.Parent=h
  512. game:GetService("Debris"):AddItem(c,.5)
  513. Damage=math.floor(Damage+math.random(-2,2)) * .7
  514. -- h:TakeDamage(Damage)
  515. blocked=false
  516. block=hit.Parent:findFirstChild("Block")
  517. if block~=nil then
  518. print("herp")
  519. if block.Value>0 then
  520. blocked=true
  521. block.Value=block.Value-1
  522. print(block.Value)
  523. end
  524. end
  525. if blocked==false then
  526. -- h:TakeDamage(Damage)
  527. HitHealth=h.Health
  528. h.Health=h.Health-Damage
  529. if HitHealth~=h.Health and HitHealth~=0 and h.Health<=0 and h.Parent.Name~="Hologram" then
  530. print("gained spree")
  531. Player:FindFirstChild("leaderstats").Spree.Value=Player.leaderstats.Spree.Value+1
  532. end
  533. showDamage(hit.Parent,Damage,.5)
  534. else
  535. Damage=Damage/2
  536. h.Health=h.Health-Damage/2
  537. showDamage(hit.Parent,Damage,.5)
  538. end
  539. vp=Instance.new("BodyVelocity")
  540. vp.P=500
  541. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  542. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  543. vp.velocity=RootPart.CFrame.lookVector*Knockback+RootPart.Velocity/1.05
  544. if Knockback>0 then
  545. vp.Parent=hit.Parent.Torso
  546. end
  547. game:GetService("Debris"):AddItem(vp,.25)
  548. game:GetService("Debris"):AddItem(r,.5)
  549. c=Instance.new("ObjectValue")
  550. c.Name="creator"
  551. c.Value=Player
  552. c.Parent=h
  553. game:GetService("Debris"):AddItem(c,.5)
  554. CRIT=false
  555. hitDeb=true
  556. AttackPos=6
  557. end
  558. end
  559. end
  560.  
  561. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  562. if hit.Parent==nil then
  563. return
  564. end
  565. h=hit.Parent:FindFirstChild("Humanoid")
  566. for _,v in pairs(hit.Parent:children()) do
  567. if v:IsA("Humanoid") then
  568. h=v
  569. end
  570. end
  571. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  572. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  573. end
  574. if hit.Parent.className=="Hat" then
  575. hit=hit.Parent.Parent:findFirstChild("Head")
  576. end
  577. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  578. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  579. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  580. return
  581. end]]
  582. -- hs(hit,1.2)
  583. c=Instance.new("ObjectValue")
  584. c.Name="creator"
  585. c.Value=game:service("Players").LocalPlayer
  586. c.Parent=h
  587. game:GetService("Debris"):AddItem(c,.5)
  588. Damage=math.random(minim,maxim)
  589. -- h:TakeDamage(Damage)
  590. blocked=false
  591. block=hit.Parent:findFirstChild("Block")
  592. if block~=nil then
  593. print(block.className)
  594. if block.className=="NumberValue" then
  595. if block.Value>0 then
  596. blocked=true
  597. if decreaseblock==nil then
  598. block.Value=block.Value-1
  599. end
  600. end
  601. end
  602. if block.className=="IntValue" then
  603. if block.Value>0 then
  604. blocked=true
  605. if decreaseblock~=nil then
  606. block.Value=block.Value-1
  607. end
  608. end
  609. end
  610. end
  611. if blocked==false then
  612. -- h:TakeDamage(Damage)
  613. h.Health=h.Health-Damage
  614. showDamage(hit.Parent,Damage,.5,BrickColor.new("New Yeller"))
  615. else
  616. h.Health=h.Health-(Damage/2)
  617. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  618. end
  619. if Type=="Knockdown" then
  620. hum=hit.Parent.Humanoid
  621. hum.PlatformStand=true
  622. coroutine.resume(coroutine.create(function(HHumanoid)
  623. swait(1)
  624. HHumanoid.PlatformStand=false
  625. end),hum)
  626. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  627. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  628. local bodvol=Instance.new("BodyVelocity")
  629. bodvol.velocity=angle*knockback
  630. bodvol.P=5000
  631. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  632. bodvol.Parent=hit
  633. rl=Instance.new("BodyAngularVelocity")
  634. rl.P=3000
  635. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  636. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  637. rl.Parent=hit
  638. game:GetService("Debris"):AddItem(bodvol,.5)
  639. game:GetService("Debris"):AddItem(rl,.5)
  640. elseif Type=="Normal" then
  641. vp=Instance.new("BodyVelocity")
  642. vp.P=500
  643. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  644. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  645. if KnockbackType==1 then
  646. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  647. elseif KnockbackType==2 then
  648. vp.velocity=Property.CFrame.lookVector*knockback
  649. end
  650. if knockback>0 then
  651. vp.Parent=hit.Parent.Torso
  652. end
  653. game:GetService("Debris"):AddItem(vp,.5)
  654. elseif Type=="Up" then
  655. local bodyVelocity=Instance.new("BodyVelocity")
  656. bodyVelocity.velocity=vt(0,60,0)
  657. bodyVelocity.P=5000
  658. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  659. bodyVelocity.Parent=hit
  660. game:GetService("Debris"):AddItem(bodyVelocity,1)
  661. rl=Instance.new("BodyAngularVelocity")
  662. rl.P=3000
  663. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  664. rl.angularvelocity=Vector3.new(math.random(-30,30),math.random(-30,30),math.random(-30,30))
  665. rl.Parent=hit
  666. game:GetService("Debris"):AddItem(rl,.5)
  667. elseif Type=="Snare" then
  668. bp=Instance.new("BodyPosition")
  669. bp.P=2000
  670. bp.D=100
  671. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  672. bp.position=hit.Parent.Torso.Position
  673. bp.Parent=hit.Parent.Torso
  674. game:GetService("Debris"):AddItem(bp,1)
  675. elseif Type=="Target" then
  676. if Targetting==false then
  677. ZTarget=hit.Parent.Torso
  678. coroutine.resume(coroutine.create(function(Part)
  679. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  680. swait(5)
  681. so("http://www.roblox.com/asset/?id=15666462",Part,1,1.5)
  682. end),ZTarget)
  683. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  684. targetgui=Instance.new("BillboardGui")
  685. targetgui.Parent=ZTarget
  686. targetgui.Size=UDim2.new(10,100,10,100)
  687. targ=Instance.new("ImageLabel")
  688. targ.Parent=targetgui
  689. targ.BackgroundTransparency=1
  690. targ.Image="rbxassetid://4834067"
  691. targ.Size=UDim2.new(1,0,1,0)
  692. cam.CameraType="Scriptable"
  693. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  694. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  695. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  696. Targetting=true
  697. RocketTarget=ZTarget
  698. for i=1,Property do
  699. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  700. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  701. swait()
  702. end
  703. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  704. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  705. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  706. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  707. end
  708. Targetting=false
  709. RocketTarget=nil
  710. targetgui.Parent=nil
  711. cam.CameraType="Custom"
  712. end
  713. end
  714. debounce=Instance.new("BoolValue")
  715. debounce.Name="DebounceHit"
  716. debounce.Parent=hit.Parent
  717. debounce.Value=true
  718. game:GetService("Debris"):AddItem(debounce,Delay)
  719. c=Instance.new("ObjectValue")
  720. c.Name="creator"
  721. c.Value=Player
  722. c.Parent=h
  723. game:GetService("Debris"):AddItem(c,.5)
  724. CRIT=false
  725. hitDeb=true
  726. AttackPos=6
  727. end
  728. end
  729.  
  730. showDamage=function(Char,Dealt,du,Color)
  731. m=Instance.new("Model")
  732. m.Name=tostring(Dealt)
  733. h=Instance.new("Humanoid")
  734. h.Health=0
  735. h.MaxHealth=0
  736. h.Parent=m
  737. c=Instance.new("Part")
  738. c.Transparency=0
  739. c.BrickColor=Color
  740. c.Name="Head"
  741. c.TopSurface=0
  742. c.BottomSurface=0
  743. c.formFactor="Plate"
  744. c.Size=Vector3.new(1,.4,1)
  745. ms=Instance.new("CylinderMesh")
  746. ms.Scale=Vector3.new(.8,.8,.8)
  747. if CRIT==true then
  748. ms.Scale=Vector3.new(1,1.25,1)
  749. end
  750. ms.Parent=c
  751. c.Reflectance=0
  752. Instance.new("BodyGyro").Parent=c
  753. c.Parent=m
  754. if Char:findFirstChild("Head")~=nil then
  755. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  756. elseif Char.Parent:findFirstChild("Head")~=nil then
  757. c.CFrame=CFrame.new(Char.Parent["Head"].CFrame.p+Vector3.new(0,1.5,0))
  758. end
  759. f=Instance.new("BodyPosition")
  760. f.P=2000
  761. f.D=100
  762. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  763. f.position=c.Position+Vector3.new(0,3,0)
  764. f.Parent=c
  765. game:GetService("Debris"):AddItem(m,.5+du)
  766. c.CanCollide=false
  767. m.Parent=workspace
  768. c.CanCollide=false
  769. end
  770.  
  771. HandleA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleA",Vector3.new(0.6209023, 0.354801297, 0.263675183))
  772. HandleAweld=weld(m,Character["Right Arm"],HandleA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.712272644, -0.658613205, -0.0450134277, 0, -0.499999821, -0.86602509, 0, -0.866024971, 0.499999881, -1, 0, 0))
  773. BarrelA=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BarrelA",Vector3.new(0.266101122, 0.263675213, 0.354801387))
  774. BarrelAweld=weld(m,HandleA,BarrelA,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.65196991, -3.61154366, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  775. mesh("CylinderMesh",BarrelA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  776. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303008, 0.532201946, 0.709602773))
  777. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.47013092, -1.24765587, -4.57763672e-005, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  778. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  779. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.443501562, 0.263675213, 0.6209023))
  780. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115322113, 0, 0.316355348, 0.866025031, -0.499999583, -0, -0, 0, 1, -0.499999583, -0.866025031, 0))
  781. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 1))
  782. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.354801446, 0.270536005, 0.354801387))
  783. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.651966095, -3.5117569, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  784. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  785. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  786. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.647537231, 0.228363037, -0.582419634, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  787. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  788. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44350177, 1.86270726, 0.532202065))
  789. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.647533417, -2.71123719, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  790. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  791. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.798303008))
  792. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, 0.223937988, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  793. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.353219956, 1))
  794. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303008, 0.263675213, 0.798303008))
  795. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, 0.221725464, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  796. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  797. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  798. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, 0.228363037, -0.405021667, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  799. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  800. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  801. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, 0.228363037, -0.759824157, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  802. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  803. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.798303008))
  804. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, 0.223937988, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  805. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.353219956, 1))
  806. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  807. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.292743683, 0.228363037, -0.582422733, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  808. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  809. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303008, 0.263675213, 0.798303008))
  810. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, -0.22177124, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  811. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  812. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  813. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, -0.228408813, -0.405021667, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  814. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  815. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  816. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.647537231, -0.228408813, -0.582419634, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  817. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  818. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  819. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.292743683, -0.228408813, -0.582422733, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  820. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  821. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.798303008))
  822. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, -0.223960876, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  823. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.353219956, 1))
  824. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  825. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, -0.228408813, -0.759824157, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  826. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  827. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.263675183))
  828. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00384521484, 0.00221633911, 0, 0.999999344, 0, -0, 0, 0.999999344, 0, -0, 0, 1))
  829. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 0.70644027))
  830. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.266100973, 0.263675183))
  831. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.957988739, -0.493718386, -0.133056641, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  832. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672799945, 1, 0.336399972))
  833. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.6209023, 0.263675213, 0.354801387))
  834. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.470127106, -0.094623208, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  835. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 1))
  836. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.798303008, 0.354801387))
  837. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.824935913, -0.582421541, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  838. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 1))
  839. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.798303068, 0.263675183))
  840. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.913650513, -0.582422614, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  841. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800243))
  842. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.266100973, 0.263675183))
  843. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.957988739, -0.493718386, 0.133049011, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  844. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672799945, 1, 0.336399972))
  845. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.354801267, 0.263675213, 0.354801387))
  846. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.306606293, 0, -0.00222206116, 0.999999583, 1.1920929e-007, -0, -0, 0, 1, 1.1920929e-007, -0.999999583, 0))
  847. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 1))
  848. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.354801267, 0.266100973, 0.363671392))
  849. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.514480591, -0.138983727, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  850. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 1.86270726, 0.263675183))
  851. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.869281769, -2.71124148, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  852. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672800481, 1, 0.672800243))
  853. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.354801297, 0.263675213, 0.263675183))
  854. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.306606293, 0, -0.00222206116, 0.999999583, 1.1920929e-007, -0, -0, 0, 1, 1.1920929e-007, -0.999999583, 0))
  855. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.706439912, 0.672800243))
  856. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 1.86270726, 0.263675183))
  857. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.425792694, -2.71124005, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  858. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672800481, 1, 0.672800243))
  859. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.354801446, 0.443501711, 0.263675183))
  860. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.159671783, -3.33218336, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  861. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672800243))
  862. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.266101062, 0.263675183))
  863. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00234604, -3.33218288, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  864. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800243))
  865. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.354801446, 1.33050513, 0.263675183))
  866. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.337085724, -2.44513679, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  867. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672800243))
  868. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303068, 0.263675213, 0.354801387))
  869. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.47013092, -1.55811501, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  870. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  871. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.532201946, 0.354801387))
  872. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.824932098, -1.24765778, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  873. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 1))
  874. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.6209023, 0.798303008, 0.354801387))
  875. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.470127106, -0.582418799, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  876. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.798303068, 0.263675183))
  877. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.913650513, -1.38070595, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  878. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800243))
  879. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.532202065, 0.263675213, 0.354801387))
  880. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.603176117, -1.69116795, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  881. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672800183, 1))
  882. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.443501592, 0.354801387))
  883. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115318298, -1.29201102, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  884. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 1))
  885. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.354801297, 0.263675183))
  886. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115318298, 0, 0.9815588, 0.866024911, -0.499999762, -0, -0, 0, 1, -0.499999762, -0.866024911, 0))
  887. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800183))
  888. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.354801297, 0.263675183))
  889. Partweld=weld(m,HandleA,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0709648132, 0, 0.981558442, 0.866024911, -0.499999762, -0, -0, 0, 1, -0.499999762, -0.866024911, 0))
  890. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672799706, 1, 0.672800183))
  891. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.263675213, 0.263675183))
  892. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.824932098, -0.0946245193, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  893. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 0.672799885))
  894. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.363671362, 0.263675213, 0.263675183))
  895. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.425788879, 0.0384018421, 5.16191072e-008, -2.98023082e-008, -0.999999702, -0.866024613, 0.499999583, -5.96046448e-008, 0.499999762, 0.866024911, 0))
  896. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.672800004, 0.336399972))
  897. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.363671362, 0.263675213, 0.263675183))
  898. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.603176117, 0.0384008884, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  899. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.672800004, 0.336399972))
  900. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.354801297, 0.263675183))
  901. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.337089539, 0.0383994579, 3.87143366e-008, -2.23517329e-008, -0.999999583, -0.866024613, 0.499999613, -4.47034836e-008, 0.499999762, 0.866024911, 0))
  902. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.336399972))
  903. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.354801297, 0.354801297))
  904. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.306602478, 0.17517662, 0, 0, -1, 0.999999583, 1.1920929e-007, -0, 1.1920929e-007, -0.999999583, 0))
  905. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672799945, 1, 1))
  906. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.354801297, 0.263675183))
  907. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.159656525, -3.0217073, 4.16935109e-007, 5.17906784e-008, -0.999999404, -0.866022944, 0.500002921, -3.35181227e-007, 0.500002861, 0.866022885, 1.04308128e-007))
  908. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 1, 0.672799945))
  909. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  910. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.00234604, 3.55395985, -7.45057704e-009, -1.29047768e-008, -0.999999762, 0.866024911, -0.499999762, -0, -0.499999613, -0.866024792, 1.49011612e-008))
  911. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 0.336399972, 0.672799885))
  912. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  913. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.00234604, -3.11040449, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  914. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 0.336399972, 0.672799885))
  915. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  916. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.869285583, -0.0946269035, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  917. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 0.672799945, 0.672799885))
  918. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  919. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.133049011, -0.957988739, -0.272016048, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  920. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.672799945, 0.672799885))
  921. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  922. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.133056641, -0.957988739, -0.272016048, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  923. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.672799945, 0.672799885))
  924. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.266100973, 0.263675183))
  925. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.204036713, 1.69116926, 7.38661754e-009, -1.06415222e-007, 0.999999702, -0.866022885, 0.500002861, 5.96046448e-008, -0.50000298, -0.866023242, -8.84652422e-008))
  926. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672799945))
  927. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.266100973, 0.263675183))
  928. Wedgeweld=weld(m,HandleA,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.647533417, 0.038402319, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  929. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.336399972))
  930. mesh("BlockMesh",HandleA,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672800243))
  931.  
  932. HandleB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","HandleB",Vector3.new(0.6209023, 0.354801297, 0.263675183))
  933. HandleBweld=weld(m,Character["Left Arm"],HandleB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.712272644, -0.658613205, 0.044960022, 0, -0.499999821, -0.86602509, 0, -0.866024971, 0.499999881, -1, 0, 0))
  934. BarrelB=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","BarrelB",Vector3.new(0.266101122, 0.263675213, 0.354801387))
  935. BarrelBweld=weld(m,HandleB,BarrelB,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.65196991, -3.61154366, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  936. mesh("CylinderMesh",BarrelB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  937. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303008, 0.532201946, 0.709602773))
  938. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.47013092, -1.24765587, -4.57763672e-005, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  939. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  940. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.443501562, 0.263675213, 0.6209023))
  941. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115322113, 0, 0.316355348, 0.866025031, -0.499999583, -0, -0, 0, 1, -0.499999583, -0.866025031, 0))
  942. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 1))
  943. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Medium stone grey","Part",Vector3.new(0.354801446, 0.270536005, 0.354801387))
  944. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.651966095, -3.5117569, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  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.263675183, 0.263675213, 0.798303008))
  947. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.647537231, 0.228363037, -0.582419634, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  948. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  949. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.44350177, 1.86270726, 0.532202065))
  950. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.647533417, -2.71123719, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  951. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 1))
  952. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.798303008))
  953. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, 0.223937988, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  954. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.353219956, 1))
  955. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303008, 0.263675213, 0.798303008))
  956. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, 0.221725464, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  957. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  958. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  959. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, 0.228363037, -0.405021667, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  960. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  961. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  962. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, 0.228363037, -0.759824157, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  963. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  964. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.798303008))
  965. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, 0.223937988, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  966. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.353219956, 1))
  967. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  968. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.292743683, 0.228363037, -0.582422733, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  969. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  970. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303008, 0.263675213, 0.798303008))
  971. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, -0.22177124, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  972. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  973. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  974. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, -0.228408813, -0.405021667, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  975. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  976. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  977. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.647537231, -0.228408813, -0.582419634, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  978. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  979. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  980. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.292743683, -0.228408813, -0.582422733, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  981. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  982. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.798303008))
  983. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.47013092, -0.223960876, -0.582418919, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  984. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.353219956, 1))
  985. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.263675213, 0.798303008))
  986. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.470134735, -0.228408813, -0.759824157, -0.866024315, 0.499999404, 0, -0, 0, 0.999999642, 0.499999553, 0.866024554, 0))
  987. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.353219956, 1))
  988. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.6209023, 0.263675213, 0.263675183))
  989. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.00384521484, 0.00221633911, 0, 0.999999344, 0, -0, 0, 0.999999344, 0, -0, 0, 1))
  990. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 0.70644027))
  991. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.266100973, 0.263675183))
  992. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.957988739, -0.493718386, -0.133056641, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  993. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672799945, 1, 0.336399972))
  994. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.6209023, 0.263675213, 0.354801387))
  995. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.470127106, -0.094623208, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  996. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 1))
  997. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.798303008, 0.354801387))
  998. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.824935913, -0.582421541, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  999. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 1))
  1000. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.798303068, 0.263675183))
  1001. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.913650513, -0.582422614, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1002. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800243))
  1003. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.266100973, 0.263675183))
  1004. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.957988739, -0.493718386, 0.133049011, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1005. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672799945, 1, 0.336399972))
  1006. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.354801267, 0.263675213, 0.354801387))
  1007. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.306606293, 0, -0.00222206116, 0.999999583, 1.1920929e-007, -0, -0, 0, 1, 1.1920929e-007, -0.999999583, 0))
  1008. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672799945, 1))
  1009. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.354801267, 0.266100973, 0.363671392))
  1010. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.514480591, -0.138983727, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1011. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 1.86270726, 0.263675183))
  1012. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.869281769, -2.71124148, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1013. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672800481, 1, 0.672800243))
  1014. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Part",Vector3.new(0.354801297, 0.263675213, 0.263675183))
  1015. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.306606293, 0, -0.00222206116, 0.999999583, 1.1920929e-007, -0, -0, 0, 1, 1.1920929e-007, -0.999999583, 0))
  1016. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.706439912, 0.672800243))
  1017. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 1.86270726, 0.263675183))
  1018. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.425792694, -2.71124005, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1019. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672800481, 1, 0.672800243))
  1020. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.354801446, 0.443501711, 0.263675183))
  1021. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.159671783, -3.33218336, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1022. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672800243))
  1023. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.266101062, 0.263675183))
  1024. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-1.00234604, -3.33218288, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1025. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800243))
  1026. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.354801446, 1.33050513, 0.263675183))
  1027. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.337085724, -2.44513679, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1028. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672800243))
  1029. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.798303068, 0.263675213, 0.354801387))
  1030. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.47013092, -1.55811501, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1031. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 1))
  1032. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.532201946, 0.354801387))
  1033. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.824932098, -1.24765778, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1034. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 1))
  1035. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.6209023, 0.798303008, 0.354801387))
  1036. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.470127106, -0.582418799, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1037. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.798303068, 0.263675183))
  1038. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.913650513, -1.38070595, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1039. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800243))
  1040. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.532202065, 0.263675213, 0.354801387))
  1041. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.603176117, -1.69116795, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1042. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(1, 0.672800183, 1))
  1043. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.443501592, 0.354801387))
  1044. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115318298, -1.29201102, 0, 0.866024852, -0.499999672, -0, 0.499999672, 0.866024852, 0, -0, 0, 1))
  1045. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 1))
  1046. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.354801297, 0.263675183))
  1047. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.115318298, 0, 0.9815588, 0.866024911, -0.499999762, -0, -0, 0, 1, -0.499999762, -0.866024911, 0))
  1048. mesh("BlockMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 1, 0.672800183))
  1049. Part=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Part",Vector3.new(0.263675183, 0.354801297, 0.263675183))
  1050. Partweld=weld(m,HandleB,Part,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.0709648132, 0, 0.981558442, 0.866024911, -0.499999762, -0, -0, 0, 1, -0.499999762, -0.866024911, 0))
  1051. mesh("CylinderMesh",Part,"","",Vector3.new(0, 0, 0),Vector3.new(0.672799706, 1, 0.672800183))
  1052. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.263675213, 0.263675183))
  1053. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.824932098, -0.0946245193, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1054. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.336399972, 0.672799885))
  1055. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.363671362, 0.263675213, 0.263675183))
  1056. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.425788879, 0.0384018421, 5.16191072e-008, -2.98023082e-008, -0.999999702, -0.866024613, 0.499999583, -5.96046448e-008, 0.499999762, 0.866024911, 0))
  1057. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.672800004, 0.336399972))
  1058. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really red","Wedge",Vector3.new(0.363671362, 0.263675213, 0.263675183))
  1059. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.603176117, 0.0384008884, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1060. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 0.672800004, 0.336399972))
  1061. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.354801297, 0.263675183))
  1062. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.337089539, 0.0383994579, 3.87143366e-008, -2.23517329e-008, -0.999999583, -0.866024613, 0.499999613, -4.47034836e-008, 0.499999762, 0.866024911, 0))
  1063. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.336399972))
  1064. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.354801297, 0.354801297))
  1065. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.306602478, 0.17517662, 0, 0, -1, 0.999999583, 1.1920929e-007, -0, 1.1920929e-007, -0.999999583, 0))
  1066. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672799945, 1, 1))
  1067. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.354801297, 0.263675183))
  1068. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.159656525, -3.0217073, 4.16935109e-007, 5.17906784e-008, -0.999999404, -0.866022944, 0.500002921, -3.35181227e-007, 0.500002861, 0.866022885, 1.04308128e-007))
  1069. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 1, 0.672799945))
  1070. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  1071. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.00234604, 3.55395985, -7.45057704e-009, -1.29047768e-008, -0.999999762, 0.866024911, -0.499999762, -0, -0.499999613, -0.866024792, 1.49011612e-008))
  1072. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 0.336399972, 0.672799885))
  1073. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  1074. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -1.00234604, -3.11040449, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1075. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 0.336399972, 0.672799885))
  1076. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  1077. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.869285583, -0.0946269035, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1078. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.672800004, 0.672799945, 0.672799885))
  1079. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  1080. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0.133049011, -0.957988739, -0.272016048, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1081. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.672799945, 0.672799885))
  1082. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.263675183, 0.263675213, 0.263675183))
  1083. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(-0.133056641, -0.957988739, -0.272016048, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1084. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(0.336399972, 0.672799945, 0.672799885))
  1085. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.266100973, 0.263675183))
  1086. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, 0.204036713, 1.69116938, 7.38661754e-009, -1.06415222e-007, 0.999999702, -0.866022885, 0.500002861, 5.96046448e-008, -0.50000298, -0.866023242, -8.84652422e-008))
  1087. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672799945))
  1088. Wedge=part(Enum.FormFactor.Custom,m,Enum.Material.SmoothPlastic,0,0,"Really black","Wedge",Vector3.new(0.354801327, 0.266100973, 0.263675183))
  1089. Wedgeweld=weld(m,HandleB,Wedge,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(0, -0.647533417, 0.038402319, -0, 0, 1, 0.866024911, -0.499999762, -0, 0.499999762, 0.866024911, 0))
  1090. mesh("SpecialMesh",Wedge,Enum.MeshType.Wedge,"",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.336399972))
  1091. mesh("BlockMesh",HandleB,"","",Vector3.new(0, 0, 0),Vector3.new(1, 1, 0.672800243))
  1092. function part2(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1093. local fp=it("Part")
  1094. fp.formFactor=formfactor
  1095. fp.Parent=parent
  1096. fp.Reflectance=reflectance
  1097. fp.Transparency=transparency
  1098. fp.CanCollide=false
  1099. fp.Locked=true
  1100. fp.BrickColor=brickcolor
  1101. fp.Name=name
  1102. fp.Size=size
  1103. fp.Position=Torso.Position
  1104. NoOutline(fp)
  1105. fp.Material="SmoothPlastic"
  1106. fp:BreakJoints()
  1107. return fp
  1108. end
  1109. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1110. local fp = it("Part")
  1111. fp.formFactor = formfactor
  1112. fp.Parent = parent
  1113. fp.Reflectance = reflectance
  1114. fp.Transparency = transparency
  1115. fp.CanCollide = false
  1116. fp.Locked=true
  1117. fp.BrickColor = brickcolor
  1118. fp.Name = name
  1119. fp.Size = size
  1120. fp.Position = Torso.Position
  1121. NoOutline(fp)
  1122. fp.Material="SmoothPlastic"
  1123. fp:BreakJoints()
  1124. return fp
  1125. end
  1126.  
  1127. function MagicCylinder(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1128. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.2,0.2,0.2))
  1129. prt.Anchored=true
  1130. prt.CFrame=cframe
  1131. msh=mesh("SpecialMesh",prt,"Head","",vt(0,0,0),vt(x1,y1,z1))
  1132. game:GetService("Debris"):AddItem(prt,2)
  1133. coroutine.resume(coroutine.create(function(Part,Mesh)
  1134. for i=0,1,delay do
  1135. swait()
  1136. Part.CFrame=Part.CFrame
  1137. Part.Transparency=i
  1138. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1139. end
  1140. Part.Parent=nil
  1141. end),prt,msh)
  1142. end
  1143.  
  1144. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1145. local prt=part(3,Character,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1146. prt.Anchored=true
  1147. prt.CFrame=cframe
  1148. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1149. game:GetService("Debris"):AddItem(prt,2)
  1150. coroutine.resume(coroutine.create(function(Part,Mesh)
  1151. for i=0,1,delay do
  1152. swait()
  1153. Part.CFrame=Part.CFrame
  1154. Part.Transparency=i
  1155. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1156. end
  1157. Part.Parent=nil
  1158. end),prt,msh)
  1159. end
  1160.  
  1161. function LaserBarrage(Prt,Parent,damage,spready)
  1162. attack=true
  1163. --so("BeamLockon",Prt,1,1)
  1164. local efprt=part(3,Parent,0,0.5,BrickColor.new("Really red"),"Effect",vt(0.2,0.2,0.2))
  1165. efprt.Anchored=true
  1166. local efmsh=mesh("CylinderMesh",efprt,"","",vt(0,0,0),vt(1,1,1))
  1167. local spread=(Vector3.new(math.random(-spready,spready),math.random(-spready,spready),math.random(-spready,spready)))-- * (Prt.Position-MMouse.Hit.p).magnitude/100
  1168. --spread=vt(0,0,0)
  1169. coroutine.resume(coroutine.create(function(Part,Mesh)
  1170. game:GetService("Debris"):AddItem(Part,6)
  1171. local TheHit=Mouse.Hit.p
  1172. --local spread=(Vector3.new(math.random(-spready,spready),math.random(-spready,spready),math.random(-spready,spready)))-- * (Prt.Position-MMouse.Hit.p).magnitude/100
  1173. --local dir = CFrame.new((Prt.Position+MMouse.Hit.p)/2,MMouse.Hit.p+spreadvector)
  1174. local MouseLook=cf((Prt.Position+TheHit)/2,TheHit+spread)
  1175. local hit,pos = rayCast(Prt.Position,MouseLook.lookVector,1000,Parent)
  1176. so("Elec",Prt,0.2,1)
  1177. local tefprt=part(3,Character,0,1,BrickColor.new("Black"),"Effect",vt(0.2,0.2,0.2))
  1178. tefprt.CFrame=cf(pos)
  1179. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.04)
  1180. so("Elec",tefprt,0.3,1)
  1181. game:GetService("Debris"):AddItem(tefprt,3)
  1182. Part.CFrame=CFrame.new((Prt.Position+pos)/2,pos)*angles(1.57,0,0)
  1183. if(hit.Parent:findFirstChild("Humanoid")~= nil)then
  1184. if hit.Parent:FindFirstChild("Humanoid") ~= nil and hit.Name ~= "Base" and hit.Parent.Name ~= Player.Name then
  1185. hit.Parent.Humanoid:TakeDamage(damage)
  1186. end
  1187. end
  1188. local mag=(Prt.Position-pos).magnitude
  1189. MagicCylinder(BrickColor.new("Really red"),Part.CFrame,1,mag*5,1,0.5,0,0.5,0.05)
  1190. Part.Parent=nil
  1191. end),efprt,efmsh,spread)
  1192. end
  1193.  
  1194. function attackone()
  1195. -- if mana >= 4 then mana=mana-3 else return end
  1196. attack=true
  1197. for i=0,1,0.2 do
  1198. swait()
  1199. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  1200. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(5),math.rad(-40)),.3)
  1201. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(50)), 0.3)
  1202. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1203. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1204. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1205. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1206. end
  1207. so("http://www.roblox.com/asset/?id=199144089",BarrelA,1,0.9)
  1208. so("http://www.roblox.com/asset/?id=203691837",BarrelA,1,0.9)
  1209. pewshoot(BarrelA,8,14,.5)
  1210. attack=false
  1211. end
  1212. function attacktwo()
  1213. -- if mana >= 4 then mana=mana-3 else return end
  1214. attack=true
  1215. for i=0,1,0.2 do
  1216. swait()
  1217. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  1218. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-10),math.rad(40)),.3)
  1219. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1220. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  1221. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(-20)),.3)
  1222. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-20)),.3)
  1223. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1224. end
  1225. so("http://www.roblox.com/asset/?id=199144089",BarrelB,1,0.9)
  1226. so("http://www.roblox.com/asset/?id=203691837",BarrelB,1,0.9)
  1227. pewshoot(BarrelB,8,14,.5)
  1228. for i=0,1,0.2 do
  1229. swait()
  1230. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  1231. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-10),math.rad(40)),.3)
  1232. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1233. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(-50), math.rad(-10)), 0.3)
  1234. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(-20)),.3)
  1235. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-20)),.3)
  1236. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1237. end
  1238. attack=false
  1239. end
  1240.  
  1241. function attackthree()
  1242. -- if mana >= 4 then mana=mana-3 else return end
  1243. attack=true
  1244. for i=0,1,2 do
  1245. for i=0,1,0.1 do
  1246. swait()
  1247. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(math.rad(20),0,6*i),.3)
  1248. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(5),math.rad(-40)),.3)
  1249. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(50)), 0.3)
  1250. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1251. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1252. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1253. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1254. end
  1255. end
  1256. for i=0,1,0.1 do
  1257.  
  1258. swait()
  1259. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  1260. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(-10),math.rad(40)),.3)
  1261. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(50)), 0.3)
  1262. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1263. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1264. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1265. end
  1266. so("http://www.roblox.com/asset/?id=199144089",BarrelB,1,0.9)
  1267. so("http://www.roblox.com/asset/?id=203691837",BarrelB,1,0.9)
  1268. pewshoot(BarrelB,8,14,.5)
  1269. attack=false
  1270. end
  1271.  
  1272. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1273. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1274. prt.Anchored=true
  1275. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1276. local msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  1277. coroutine.resume(coroutine.create(function(Part,Mesh)
  1278. for i=0,1,0.1 do
  1279. wait()
  1280. Part.CFrame=Part.CFrame
  1281. Part.Transparency=i
  1282. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1283. end
  1284. Part.Parent=nil
  1285. end),prt,msh)
  1286. end
  1287.  
  1288. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1289. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1290. prt.Anchored=true
  1291. prt.CFrame=cframe
  1292. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1293. coroutine.resume(coroutine.create(function(Part,Mesh)
  1294. for i=0,1,0.1 do
  1295. wait()
  1296. Part.CFrame=Part.CFrame
  1297. Part.Transparency=i
  1298. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1299. end
  1300. Part.Parent=nil
  1301. end),prt,msh)
  1302. end
  1303.  
  1304. function EVENMOARMAGIX(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1305. local msh1 = it("SpecialMesh")
  1306. msh1.Scale = vt(0.5,0.5,0.5)
  1307. msh1.MeshType = "Sphere"
  1308. S=it("Part")
  1309. S.Name="Effect"
  1310. S.formFactor=0
  1311. S.Size=vt(x1,y1,z1)
  1312. S.BrickColor=color
  1313. S.Reflectance = 0
  1314. S.TopSurface=0
  1315. S.BottomSurface=0
  1316. S.Transparency=0
  1317. S.Anchored=true
  1318. S.CanCollide=false
  1319. S.CFrame=part.CFrame*cf(x2,y2,z2)*euler(x3,y3,z3)
  1320. S.Parent=Character
  1321. msh1.Parent = S
  1322. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0.15,0.15,0.15) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1323. end
  1324.  
  1325. function EVENMOARMAGIX2(part,x1,y1,z1,x2,y2,z2,x3,y3,z3,color)
  1326. local msh1 = it("SpecialMesh")
  1327. msh1.Scale = vt(0.5,0.5,0.5)
  1328. msh1.MeshType = "Sphere"
  1329. S=it("Part")
  1330. S.Name="Effect"
  1331. S.formFactor=0
  1332. S.Size=vt(x1,y1,z1)
  1333. S.BrickColor=color
  1334. S.Reflectance = 0
  1335. S.TopSurface=0
  1336. S.BottomSurface=0
  1337. S.Transparency=0
  1338. S.Anchored=true
  1339. S.CanCollide=false
  1340. S.CFrame=part
  1341. S.Parent=workspace
  1342. msh1.Parent = S
  1343. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 14 do Part.Mesh.Scale = Part.Mesh.Scale + vt(1,1,1) Part.Transparency=Part.Transparency+0.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1344. end
  1345.  
  1346.  
  1347. function MagicRing(brickcolor,cframe,x1,y1,z1,x3,y3,z3)
  1348. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  1349. prt.Anchored=true
  1350. prt.CFrame=cframe
  1351. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=3270017",vt(0,0,0),vt(x1,y1,z1))
  1352. coroutine.resume(coroutine.create(function(Part,Mesh)
  1353. for i=0,1,0.03 do
  1354. wait()
  1355. Part.CFrame=Part.CFrame
  1356. Part.Transparency=i
  1357. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1358. end
  1359. Part.Parent=nil
  1360. end),prt,msh)
  1361. end
  1362. function MMMAGIC3(part,x1,y1,z1,x2,y2,z2,color)
  1363. local msh1 = it("BlockMesh")
  1364. msh1.Scale = vt(0.5,0.5,0.5)
  1365. S=it("Part")
  1366. S.Name="Effect"
  1367. S.formFactor=0
  1368. S.Size=vt(x1,y1,z1)
  1369. S.BrickColor=color
  1370. S.Reflectance = 0
  1371. S.TopSurface=0
  1372. S.BottomSurface=0
  1373. S.Transparency=0
  1374. S.Anchored=true
  1375. S.CanCollide=false
  1376. S.CFrame=part*cf(x2,y2,z2)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1377. S.Parent=Character
  1378. msh1.Parent = S
  1379. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + vt(0,0.3,0) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1380. end
  1381. function MOREMAGIX(part,cframe,x,y,z,color)
  1382. p2=it("Part")
  1383. p2.Name="Blast"
  1384. p2.TopSurface=0
  1385. p2.BottomSurface=0
  1386. p2.CanCollide=false
  1387. p2.Anchored=true
  1388. p2.BrickColor=color
  1389. p2.Size=vt(x,y,z)
  1390. p2.formFactor="Symmetric"
  1391. p2.CFrame=part.CFrame*cf(0,cframe,0)
  1392. p2.Parent=Character
  1393. m=it("BlockMesh")
  1394. m.Parent=p2
  1395. m.Name="BlastMesh"
  1396. coroutine.resume(coroutine.create(function(part,dir) for loll=1, 15 do part.BlastMesh.Scale=part.BlastMesh.Scale-vt(.09,.09,.09) part.Transparency=loll/20 part.CFrame=part.CFrame*cf(dir)*euler(math.random(-100,100)/100, math.random(-100,100)/100, math.random(-100,100)/100) wait() end part.Parent=nil end),p2,vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10))
  1397. end
  1398.  
  1399.  
  1400. spread2=0
  1401. range2=50
  1402. rangepower2=.1
  1403. function shoottrail3(pos1,Damage)
  1404. coroutine.resume(coroutine.create(function()
  1405. spread2 = 0
  1406. range2 = 100
  1407. rangepower2 = 2
  1408. local spreadvector = (vt(math.random(-spread2,spread2),math.random(-spread2,spread2),math.random(-spread2,spread2)) / 100) * (pos1.Position).magnitude/100
  1409. local dir = Head.CFrame.lookVector+spreadvector
  1410. --local dir = pos1.CFrame.lookVector+spreadvector
  1411. local ammount = 100
  1412. local hit2,pos = rayCast(pos1.Position,dir,10,Character)
  1413. local rangepos = range2
  1414. local function drawtrail(From,To)
  1415. local effectsmsh = it("SpecialMesh")
  1416. local Damg = Damage*2
  1417. effectsmsh.Scale = vt(1,1,1)
  1418. effectsmsh.MeshType="Sphere"
  1419. effectsmsh.Name = "Mesh"
  1420. local effectsg = it("Part")
  1421. effectsg.formFactor = 3
  1422. effectsg.CanCollide = false
  1423. effectsg.Name = "Eff"
  1424. effectsg.Locked = true
  1425. effectsg.Anchored = true
  1426. effectsg.Size = vt(1,0.4,1)
  1427. effectsg.Parent = Character
  1428. effectsmsh.Parent = effectsg
  1429. effectsg.BrickColor = BrickColor.new("Really red")
  1430. effectsg.Reflectance = 0
  1431. effectsg.Transparency=0.3
  1432. local LP = From
  1433. local point1 = To
  1434. local mg = (LP - point1).magnitude
  1435. effectsmsh.Scale = vt(3,3,3)
  1436. effectsg.CFrame = cf((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  1437. MMMAGIC3(effectsg.CFrame,1,6,1,0,0,0,BrickColor.new("Bright red"))
  1438. EVENMOARMAGIX(effectsg,3,3,3,0,0,0,0,0,0,BrickColor.new("Bright red"))
  1439. MOREMAGIX(effectsg,0,2,2,2,BrickColor.new("Really red"))
  1440. coroutine.resume(coroutine.create(function()
  1441. --[[for i = 0 , 1 , 0.1 do
  1442. wait()
  1443. effectsg.Transparency = 1*i
  1444. effectsmsh.Scale = vt(1-1*i,mg*5,1-1*i)
  1445. end ]]
  1446. wait()
  1447. effectsg.Transparency = 1
  1448. wait(2)
  1449. effectsg.Parent = nil
  1450. end))
  1451. end
  1452. local newpos = pos1.Position
  1453. local inc = rangepower
  1454. ammount=100
  1455. local Damg = Damage*2
  1456. local decr = 0
  1457. repeat
  1458. wait()
  1459. decr = decr + 1
  1460. rangepos = rangepos - 10
  1461. dir = dir
  1462. --dir = dir
  1463. ammount=ammount-3
  1464. hit2,pos = rayCast(newpos,dir,inc,Character)
  1465. drawtrail(newpos,pos)
  1466. newpos = newpos + (dir * inc)
  1467. if hit2 ~= nil then
  1468. rangepos = 0
  1469. end
  1470. until rangepos <= 0
  1471. EVENMOARMAGIX2(cf(newpos),5,5,5,0,0,0,0,0,0,BrickColor.new("Bright red"))
  1472. local c = game.Workspace:GetChildren();
  1473. for i = 1, #c do
  1474. local hum = c[i]:findFirstChild("Humanoid")
  1475. if hum ~= nil and hum.Health ~= 0 then
  1476. local head = c[i]:findFirstChild("Head");
  1477. if head ~= nil then
  1478. local targ = head.Position - newpos;
  1479. local mag = targ.magnitude;
  1480. if mag <= 30 and c[i].Name ~= Player.Name then
  1481. attackdebounce=false
  1482. Damagefunc1(head,math.floor(Damg),50)
  1483. end
  1484. end
  1485. end
  1486. end
  1487. if hit2 ~= nil then
  1488. print(hit2)
  1489. local effectsmsh = it("SpecialMesh")
  1490. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=15887356"
  1491. --effectsmsh.Scale = vt(1,1,2.5)
  1492. effectsmsh.Scale = vt(3,3,3)
  1493. local effectsg = it("Part")
  1494. effectsg.formFactor = 3
  1495. effectsg.CanCollide = false
  1496. effectsg.Name = "Arrow"
  1497. effectsg.Locked = true
  1498. effectsg.Transparency = 1
  1499. effectsg.Size = vt(0.2,0.2,0.2)
  1500. effectsg.Parent = Character
  1501. effectsg.BrickColor = BrickColor.new("Really red")
  1502. effectsmsh.Parent = effectsg
  1503. effectsg.CFrame = cf(newpos,pos) + cf(newpos,pos).lookVector*2.5*2
  1504. coroutine.resume(coroutine.create(function()
  1505. wait(0)
  1506. effectsg.Parent = nil
  1507. end))
  1508. local efwel = it("Weld")
  1509. efwel.Parent = effectsg
  1510. efwel.Part0 = effectsg
  1511. efwel.Part1 = hit2
  1512. efwel.Parent = nil
  1513. effectsg.Anchored = true
  1514. --local HitPos = effectsg.Position + cf(newpos,pos).lookVector*0.75
  1515. --local HitPos = prt1.Position + cf(newpos,pos).lookVector*0.75
  1516. local HitPos = BarrelA.Position + (Head.CFrame.lookVector * .5)
  1517. local CJ = cf(HitPos)
  1518. local C0 = effectsg.CFrame:inverse() * CJ
  1519. local C1 = hit2.CFrame:inverse() * CJ
  1520. --efwel.C0 = C0
  1521. --efwel.C1 = C1
  1522. --efwel.Parent = effectsg
  1523. if hit2.Parent:FindFirstChild("Humanoid") ~= nil then
  1524. hum = hit2.Parent.Humanoid
  1525. attackdebounce=false
  1526. Damagefunc1(hit2,math.floor(Damg),50)
  1527. elseif hit2.Parent.Parent ~= nil and hit2.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  1528. hum = hit2.Parent.Parent.Humanoid
  1529. attackdebounce=false
  1530. Damagefunc1(hum,math.floor(Damg),50)
  1531. end
  1532. end
  1533. end))
  1534. end
  1535.  
  1536.  
  1537. spread=1
  1538. range=100
  1539. rangepower=10
  1540. function shoottrail(mouse,baseprt)
  1541. so("http://www.roblox.com/asset/?id=2697431",baseprt,1,0.5)
  1542. MagicBlock(BrickColor.new("Bright red"),baseprt.CFrame,0.1,0.1,0.1,1,1,1)
  1543. coroutine.resume(coroutine.create(function(v)
  1544. local spreadvector = (Vector3.new(math.random(-spread,spread),math.random(-spread,spread),math.random(-spread,spread))) * (baseprt.Position-MMouse.Hit.p).magnitude/100
  1545. local dir = CFrame.new((baseprt.Position+MMouse.Hit.p)/2,MMouse.Hit.p+spreadvector)
  1546. local hit,pos = rayCast(baseprt.Position,dir.lookVector,10,Character)
  1547. local rangepos = range
  1548. local function drawtrail(From,To)
  1549. local effectsmsh = Instance.new("CylinderMesh")
  1550. effectsmsh.Scale = Vector3.new(1,1,1)
  1551. effectsmsh.Name = "Mesh"
  1552. local effectsg = Instance.new("Part")
  1553. effectsg.formFactor = 3
  1554. effectsg.CanCollide = false
  1555. effectsg.Name = "Eff"
  1556. effectsg.Locked = true
  1557. effectsg.Anchored = true
  1558. effectsg.Size = Vector3.new(0.2,0.2,0.2)
  1559. effectsg.Parent = Character
  1560. effectsmsh.Parent = effectsg
  1561. effectsg.BrickColor = BrickColor.new("Bright red")
  1562. effectsg.Reflectance = 0.25
  1563. local LP = From
  1564. local point1 = To
  1565. --[[if target~=nil then
  1566. LP=targetted
  1567. end]]
  1568. local mg = (LP - point1).magnitude
  1569. effectsmsh.Scale = Vector3.new(3,mg*5,3)
  1570. effectsg.CFrame = CFrame.new((LP+point1)/2,point1) * CFrame.Angles(math.rad(90),0,0)
  1571. MagicBlock(BrickColor.new("Bright red"),effectsg.CFrame,0.1,0.1,0.1,0.5,0.5,0.5)
  1572. coroutine.resume(coroutine.create(function()
  1573. for i = 0 , 1 , 0.2 do
  1574. wait()
  1575. effectsg.Transparency = 1*i
  1576. effectsmsh.Scale = Vector3.new(3-3*i,mg*5,3-3*i)
  1577. end
  1578. effectsg.Parent = nil
  1579. end))
  1580. end
  1581. local newpos = baseprt.Position
  1582. local inc = rangepower
  1583. repeat
  1584. wait() wait()
  1585. rangepos = rangepos - 10
  1586. dir = dir * CFrame.Angles(math.rad(-0.5),0,0)
  1587. hit,pos = rayCast(newpos,dir.lookVector,inc,Character)
  1588. drawtrail(newpos,pos)
  1589. newpos = newpos + (dir.lookVector * inc)
  1590. if inc >= 20 then
  1591. inc = inc - 10
  1592. end
  1593. if hit ~= nil then
  1594. rangepos = 0
  1595. end
  1596. until rangepos <= 0
  1597. if hit ~= nil then
  1598. so("http://www.roblox.com/asset/?id=2101148",hit,1,0.6)
  1599. MagicCircle(BrickColor.new("Bright red"),CFrame.new(pos),0.5,0.5,0.5,2,2,2)
  1600. MagicRing(BrickColor.new("Bright red"),CFrame.new(pos)*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),0.5,0.5,0.5,0.5,0.5,0.5)
  1601. if hit.Parent:FindFirstChild("Humanoid") ~= nil then
  1602. hum = hit.Parent.Humanoid
  1603. tTorso=hit.Parent.Torso
  1604. Damagefunc1(hit,45,100)
  1605. --ADmg(hum,hit)
  1606. elseif hit.Parent.Parent ~= nil and hit.Parent.Parent:FindFirstChild("Humanoid") ~= nil then
  1607. hum = hit.Parent.Parent.Humanoid
  1608. tTorso=hit.Parent.Parent.Torso
  1609. Damagefunc1(hit.Parent.Parent.Torso,45,100)
  1610. --ADmg(hum,hit)
  1611. end
  1612. end
  1613. end))
  1614. end
  1615. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  1616. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt())
  1617. prt.Anchored=true
  1618. prt.CFrame=cframe
  1619. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  1620. game:GetService("Debris"):AddItem(prt,5)
  1621. table.insert(Effects,{prt,"Cylinder",delay,x3,y3,z3})
  1622. --[[coroutine.resume(coroutine.create(function(Part,Mesh)
  1623. local wld=nil
  1624. for i=0,1,delay do
  1625. wait()
  1626. Part.CFrame=Part.CFrame
  1627. Part.Transparency=i
  1628. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  1629. end
  1630. Part.Parent=nil
  1631. end),prt,msh)]]
  1632. end
  1633.  
  1634. Damagefunc4=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  1635. if hit.Parent==nil then
  1636. return
  1637. end
  1638. h=hit.Parent:FindFirstChild("Humanoid")
  1639. for _,v in pairs(hit.Parent:children()) do
  1640. if v:IsA("Humanoid") then
  1641. h=v
  1642. end
  1643. end
  1644. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  1645. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  1646. end
  1647. if hit.Parent.className=="Hat" then
  1648. hit=hit.Parent.Parent:findFirstChild("Head")
  1649. end
  1650. -- and hit.Parent~=CannonTarget.Parent or hit.Parent~=RailgunTarget.Parent
  1651. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  1652. if hit.Parent~=RailgunTarget.Parent then
  1653. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  1654. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  1655. return
  1656. end]]
  1657. -- hs(hit,1.2)
  1658. c=Instance.new("ObjectValue")
  1659. c.Name="creator"
  1660. c.Value=game:service("Players").LocalPlayer
  1661. c.Parent=h
  1662. game:GetService("Debris"):AddItem(c,.5)
  1663. Damage=math.random(minim,maxim)
  1664. -- h:TakeDamage(Damage)
  1665. blocked=false
  1666. block=hit.Parent:findFirstChild("Block")
  1667. if block~=nil then
  1668. print(block.className)
  1669. if block.className=="NumberValue" then
  1670. if block.Value>0 then
  1671. blocked=true
  1672. if decreaseblock==nil then
  1673. block.Value=block.Value-1
  1674. end
  1675. end
  1676. end
  1677. if block.className=="IntValue" then
  1678. if block.Value>0 then
  1679. blocked=true
  1680. if decreaseblock~=nil then
  1681. block.Value=block.Value-1
  1682. end
  1683. end
  1684. end
  1685. end
  1686. if blocked==false then
  1687. -- h:TakeDamage(Damage)
  1688. h.Health=h.Health-Damage
  1689. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  1690. else
  1691. h.Health=h.Health-(Damage/2)
  1692. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  1693. end
  1694. if Type=="Knockdown" then
  1695. hum=hit.Parent.Humanoid
  1696. hum.PlatformStand=true
  1697. coroutine.resume(coroutine.create(function(HHumanoid)
  1698. swait(1)
  1699. HHumanoid.PlatformStand=false
  1700. end),hum)
  1701. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  1702. --hit.CFrame=cf(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  1703. local bodvol=Instance.new("BodyVelocity")
  1704. bodvol.velocity=angle*knockback
  1705. bodvol.P=5000
  1706. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1707. bodvol.Parent=hit
  1708. rl=Instance.new("BodyAngularVelocity")
  1709. rl.P=3000
  1710. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1711. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  1712. rl.Parent=hit
  1713. game:GetService("Debris"):AddItem(bodvol,.5)
  1714. game:GetService("Debris"):AddItem(rl,.5)
  1715. elseif Type=="Normal" then
  1716. vp=Instance.new("BodyVelocity")
  1717. vp.P=500
  1718. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  1719. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  1720. if KnockbackType==1 then
  1721. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  1722. elseif KnockbackType==2 then
  1723. vp.velocity=Property.CFrame.lookVector*knockback
  1724. end
  1725. if knockback>0 then
  1726. vp.Parent=hit.Parent.Torso
  1727. end
  1728. game:GetService("Debris"):AddItem(vp,.5)
  1729. elseif Type=="Up" then
  1730. local bodyVelocity=Instance.new("BodyVelocity")
  1731. bodyVelocity.velocity=vt(0,30,0)
  1732. bodyVelocity.P=5000
  1733. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1734. bodyVelocity.Parent=hit
  1735. game:GetService("Debris"):AddItem(bodyVelocity,1)
  1736. rl=Instance.new("BodyAngularVelocity")
  1737. rl.P=3000
  1738. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  1739. rl.angularvelocity=Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  1740. rl.Parent=hit
  1741. game:GetService("Debris"):AddItem(rl,.5)
  1742. elseif Type=="Snare" then
  1743. bp=Instance.new("BodyPosition")
  1744. bp.P=2000
  1745. bp.D=100
  1746. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1747. bp.position=hit.Parent.Torso.Position
  1748. bp.Parent=hit.Parent.Torso
  1749. game:GetService("Debris"):AddItem(bp,1)
  1750. elseif Type=="Charge" then
  1751. Charge=Charge+1
  1752. coroutine.resume(coroutine.create(function(Part)
  1753. swait(30)
  1754. for i=1,5 do
  1755. swait(5)
  1756. so("rbxasset://sounds\\unsheath.wav",hit,1,2)
  1757. MagicCircle(BrickColor.new("Bright red"),hit.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50)),.2,2,.1,.2,8,.1,0.05)
  1758. newdam=math.random(1,5)
  1759. if blocked==false then
  1760. h:TakeDamage(newdam)
  1761. showDamage(hit.Parent,newdam,.5,BrickColor:Red())
  1762. else
  1763. h:TakeDamage(newdam/2)
  1764. showDamage(hit.Parent,newdam,.5,BrickColor.new("Bright blue"))
  1765. end
  1766. end
  1767. end),hit)
  1768. end
  1769. debounce=Instance.new("BoolValue")
  1770. debounce.Name="DebounceHit"
  1771. debounce.Parent=hit.Parent
  1772. debounce.Value=true
  1773. game:GetService("Debris"):AddItem(debounce,Delay)
  1774. c=Instance.new("ObjectValue")
  1775. c.Name="creator"
  1776. c.Value=Player
  1777. c.Parent=h
  1778. game:GetService("Debris"):AddItem(c,.5)
  1779. CRIT=false
  1780. hitDeb=true
  1781. AttackPos=6
  1782. end
  1783. end
  1784. end
  1785.  
  1786.  
  1787. function pewshoot(post,mindam,maxdam,spready)
  1788. local spread=(Vector3.new(math.random(-spready,spready),math.random(-spready,spready),math.random(-spready,spready)))-- * (Prt.Position-MMouse.Hit.p).magnitude/100
  1789. local MouseLook=cf((post.Position+MMouse.Hit.p)/2,MMouse.Hit.p+spread)
  1790. local hit,pos = rayCast(post.Position,MouseLook.lookVector,999,RailgunTarget.Parent)
  1791. local mag=(post.Position-pos).magnitude
  1792. MagicCylinder(BrickColor.new("Really red"),CFrame.new((post.Position+pos)/2,pos)*angles(1.57,0,0),1,mag*5,1,1.2,0,1.2,0.1)
  1793. if hit~=nil then
  1794. --[[ref=part2(3,workspace,0,1,BrickColor.new("Really red"),"Reference",vt())
  1795. ref.Anchored=true
  1796. ref.CFrame=cf(pos)]]
  1797. MagicCircle(BrickColor.new("Really red"),cf(pos),0.5,0.5,0.5,0.5,0.5,0.5,0.01)
  1798. Damagefunc4(hit,mindam,maxdam,0,"Normal",RootPart,0)
  1799. end
  1800. end
  1801.  
  1802. function PEW()
  1803. if mana >= 40 then mana=mana-40 else return end
  1804. attack=true
  1805. coroutine.resume(coroutine.create(function()
  1806. for i=0,3,.2 do
  1807. wait()
  1808. MMMAGIC(BarrelA,2,2,2,0,-1,0,BrickColor.new("Really red"))
  1809. MMMAGIC(BarrelB,2,2,2,0,-1,0,BrickColor.new("Really red"))
  1810. end
  1811. end))
  1812. for i=0,4,0.1 do
  1813. swait()
  1814. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1815. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-40)),.3)
  1816. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(50)), 0.3)
  1817. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(80), math.rad(0), math.rad(30)), 0.3)
  1818. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1819. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1820. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1821. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(30),math.rad(0),math.rad(20)),.3)
  1822.  
  1823. end
  1824. so("http://www.roblox.com/asset/?id=199144089",BarrelA,1,0.9)
  1825. so("http://www.roblox.com/asset/?id=203691837",BarrelA,1,0.9)
  1826. shoottrail(mouse.Hit.p,BarrelA)
  1827. shoottrail(mouse.Hit.p,BarrelB)
  1828. --shoottrail3(BarrelA,20)
  1829. --shoottrail3(BarrelB,20)
  1830. attack=false
  1831. end
  1832.  
  1833. function POW()
  1834. if mana >= 50 then mana=mana-50 else return end
  1835. attack=true
  1836. coroutine.resume(coroutine.create(function()
  1837. for i=0,3,.2 do
  1838. wait()
  1839. MMMAGIC(BarrelA,3,3,3,0,-1,0,BrickColor.new("Really red"))
  1840. end
  1841. end))
  1842. for i=0,4,0.1 do
  1843.  
  1844. swait()
  1845. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1846. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-40)),.3)
  1847. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(50)), 0.3)
  1848. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1849. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1850. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1851. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1852. end
  1853. so("http://www.roblox.com/asset/?id=199144089",BarrelA,1,0.8)
  1854. so("http://www.roblox.com/asset/?id=203691837",BarrelA,1,0.8)
  1855. --shoottrail(mouse.Hit.p,BarrelA)
  1856. shoottrail3(BarrelA,20)
  1857. attack=false
  1858. end
  1859.  
  1860. function gunslinger()
  1861. if mana >= 30 then mana=mana-30 else return end
  1862. attack=true
  1863. for i = 1,2, 1 do
  1864. wait()
  1865. for i=0,1,0.1 do
  1866. swait()
  1867. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1868. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-40)),.3)
  1869. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(50)), 0.3)
  1870. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1871. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1872. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1873. end
  1874. so("http://www.roblox.com/asset/?id=199144089",BarrelA,1,0.9)
  1875. so("http://www.roblox.com/asset/?id=203691837",BarrelA,1,0.9)
  1876. pewshoot(BarrelA,5,10,.5)
  1877. for i=0,1,0.2 do
  1878. swait()
  1879. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-50)),.3)
  1880. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(-10),math.rad(40)),.3)
  1881. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.3)
  1882. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(-10)), 0.3)
  1883. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(-20)),.3)
  1884. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-50),math.rad(-20)),.3)
  1885. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1886. end
  1887. so("http://www.roblox.com/asset/?id=199144089",BarrelB,1,0.9)
  1888. so("http://www.roblox.com/asset/?id=203691837",BarrelB,1,0.9)
  1889. pewshoot(BarrelA,5,10,.5)
  1890. end
  1891. attack=false
  1892. end
  1893.  
  1894. function attackfour()
  1895. -- if mana >= 4 then mana=mana-3 else return end
  1896. attack=true
  1897. for i=0,1,2 do
  1898. for i=0,1,0.1 do
  1899. swait()
  1900. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*euler(math.rad(20),0,-6*i),.3)
  1901. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(5),math.rad(-40)),.3)
  1902. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(50)), 0.3)
  1903. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1904. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1905. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1906. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1907. end
  1908. end
  1909. for i=0,1,0.1 do
  1910. swait()
  1911. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1912. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(10),math.rad(-40)),.3)
  1913. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(120), math.rad(0), math.rad(50)), 0.3)
  1914. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  1915. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1916. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1917. end
  1918. so("http://www.roblox.com/asset/?id=199144089",BarrelA,1,0.9)
  1919. so("http://www.roblox.com/asset/?id=203691837",BarrelA,1,0.9)
  1920. pewshoot(BarrelA,8,14,.5)
  1921. for i=0,1,0.1 do
  1922. swait()
  1923. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(50)),.3)
  1924. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(10),math.rad(-40)),.3)
  1925. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(50), math.rad(30)), 0.3)
  1926. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-50)), 0.3)
  1927. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  1928. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  1929. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1930. end
  1931. attack=false
  1932. end
  1933. function ob1u(mouse)
  1934. --hold = false
  1935. end
  1936.  
  1937. function ob1d(mouse)
  1938. if attack==false then
  1939. if attacktype==1 then
  1940. attack=true
  1941. attacktype=2
  1942. attackone()
  1943. elseif attacktype==2 then
  1944. attack=true
  1945. attacktype=3
  1946. attacktwo()
  1947. elseif attacktype==3 then
  1948. attack=true
  1949. attacktype=4
  1950. attackthree()
  1951. elseif attacktype==4 then
  1952. attack=true
  1953. attacktype=1
  1954. attackfour()
  1955. end
  1956. end
  1957. end
  1958.  
  1959. function key(k)
  1960. k=k:lower()
  1961. if k =="e" then
  1962. gunslinger()
  1963. elseif k =="q" then
  1964. POW()
  1965. elseif k =="z" then
  1966. PEW()
  1967. --[[ elseif k =="f" then
  1968. if equipped == true then
  1969. Sheath()
  1970. end]]
  1971. end
  1972.  
  1973. end
  1974.  
  1975. function s(mouse)
  1976. print("Selected")
  1977. mouse.Button1Down:connect(function() ob1d(mouse) end)
  1978. mouse.Button1Up:connect(function() ob1u(mouse) end)
  1979. mouse.KeyDown:connect(key)
  1980.  
  1981. player=Player
  1982. ch=Character
  1983. MMouse=mouse
  1984. print("SCOOT")
  1985. end
  1986.  
  1987. function ds(mouse)
  1988. end
  1989.  
  1990.  
  1991. Bin.Selected:connect(s)
  1992. Bin.Deselected:connect(ds)
  1993. function pwait(num)
  1994. if num==0 or num==nil then
  1995. game:service'RunService'.Heartbeat:wait(0)
  1996. else
  1997. for i=0,num do
  1998. game:service'RunService'.Heartbeat:wait(0)
  1999. end
  2000. end
  2001. end
  2002.  
  2003. local sine = 0
  2004. local change = 1
  2005. local val = 0
  2006.  
  2007. while true do
  2008. pwait()
  2009. sine = sine + change
  2010. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  2011. local velderp=RootPart.Velocity.y
  2012. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  2013. if equipped==true or equipped==false then
  2014. if attack==false then
  2015. idle=idle+1
  2016. else
  2017. idle=0
  2018. end
  2019. if idle>=500 then
  2020. if attack==false then
  2021. --Sheath()
  2022. end
  2023. end
  2024. if RootPart.Velocity.y > 1 and hitfloor==nil then
  2025. Anim="Jump"
  2026. if attack==false then
  2027. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(00)),.3)
  2028. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-20),math.rad(0),math.rad(00)),.3)
  2029. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(40)), 0.3)
  2030. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-40)), 0.3)
  2031. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2032. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2033. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-0.2,0.3)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2034. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-0.2,0.3)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2035. end
  2036. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  2037. Anim="Fall"
  2038. if attack==false then
  2039. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(00)),.3)
  2040. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(00)),.3)
  2041. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(50)), 0.3)
  2042. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-50)), 0.3)
  2043. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  2044. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(-20)),.3)
  2045. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-0.2,0.3)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2046. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-0.2,0.3)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2047. end
  2048. elseif torvel<1 and hitfloor~=nil then
  2049. Anim="Idle"
  2050. if attack==false then
  2051. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(20)),.3)
  2052. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-20)),.3)
  2053. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(20)), 0.3)
  2054. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(-30)), 0.3)
  2055. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(70),math.rad(0)),.3)
  2056. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-80),math.rad(10)),.3)
  2057. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-0.2,0.3)*angles(math.rad(20),math.rad(0),math.rad(0)),.3)
  2058. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-0.2,0.3)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  2059. end
  2060. elseif torvel>2 and hitfloor~=nil then
  2061. Anim="Walk"
  2062. if attack==false then
  2063. change=3
  2064. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(00)),.3)
  2065. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(00)),.3)
  2066. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2067. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(-30)), 0.3)
  2068. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.3)
  2069. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.3)
  2070. HandleAweld.C0=clerp(HandleAweld.C0,cf(0,-0.2,0.3)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  2071. HandleBweld.C0=clerp(HandleBweld.C0,cf(0,-0.2,0.3)*angles(math.rad(30),math.rad(0),math.rad(0)),.3)
  2072. end
  2073. end
  2074. end
  2075. fenbarmana2:TweenSize(UDim2.new(4*mana/100,0,0.2,0),nil,1,0.4,true)
  2076. fenbarmana4.Text="[Power] <{[ "..mana.." ]}> [Power]"
  2077. if mana>=100 then
  2078. mana=100
  2079. else
  2080. if mananum<=8 then
  2081. mananum=mananum+1
  2082. else
  2083. mananum=0
  2084. mana=mana+1
  2085. end
  2086. end
  2087. end
Add Comment
Please, Sign In to add comment