213blood

Untitled

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