codemen

Black and white atom gun.

Feb 7th, 2018
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 191.46 KB | None | 0 0
  1. --Fixed by kent911t
  2. script.Parent = nil
  3. Character = game.Players.localPlayer.Character
  4. Humanoid = Character.Humanoid
  5. if Humanoid:findFirstChild("Animate") then
  6. Humanoid:findFirstChild("Animate"):Destroy()
  7. end
  8. --TagService = require(game:GetService("ReplicatedStorage"):WaitForChild("TagService"))
  9. Meshes = {Blast = "20329976", Crown = "1323306", Ring = "3270017", Claw = "10681506", Crystal = "9756362", Coil = "9753878", Cloud = "1095708"}
  10. clangsounds = {"199149119", "199149109", "199149072", "199149025", "199148971"}
  11. hitsounds = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  12. blocksounds = {"199148933", "199148947"}
  13. armorsounds = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  14. woosh = {Heavy1 = "320557353", Heavy2 = "320557382", Heavy3 = "320557453", Heavy4 = "199144226", Heavy5 = "203691447", Heavy6 = "203691467", Heavy7 = "203691492", Light1 = "320557413", Light2 = "320557487", Light3 = "199145095", Light4 = "199145146", Light5 = "199145887", Light6 = "199145913", Light7 = "199145841", Medium1 = "320557518", Medium2 = "320557537", Medium3 = "320557563", Medium4 = "199145204"}
  15. music = {Breaking = "179281636", FinalReckoning = "357375770", NotDeadYet = "346175829", Intense = "151514610", JumpP1 = "160536628", JumpP2 = "60536666", SonsOfWar = "158929777", WrathOfSea = "165520893", ProtectorsOfEarth = "160542922", SkyTitans = "179282324", ArchAngel = "144043274", Anticipation = "168614529", TheMartyred = "186849544", AwakeP1 = "335631255", AwakeP2 = "335631297", ReadyAimFireP1 = "342455387", ReadyAimFireP2 = "342455399", DarkLordP1 = "209567483", DarkLordP2 = "209567529", BloodDrainP1 = "162914123", BloodDrainP2 = "162914203", DanceOfSwords = "320473062", Opal = "286415112", Calamity = "190454307", Hypnotica = "155968128", Nemisis = "160453802", Breathe = "276963903", GateToTheRift = "270655227", InfernalBeserking = "244143404", Trust = "246184492", AwakeningTheProject = "245121821", BloodPain = "242545577", Chaos = "247241693", NightmareFictionHighStake = "248062278", TheWhiteWeapon = "247236446", Gale = "256851659", ImperialCode = "256848383", Blitzkrieg = "306431437", RhapsodyRage = "348690251", TheGodFist = "348541501", BattleForSoul = "321185592", TheDarkColossus = "305976780", EmpireOfAngels = "302580452", Kronos = "302205297", Exorcist = "299796054", CrimsonFlames = "297799220", UltimatePower = "295753229", DrivingInTheDark = "295753229", AscendToPower = "293860654", GodOfTheSun = "293612495", DarkRider = "293861765", Vengeance = "293375555", SoundOfWar = "293376196", HellsCrusaders = "293012202", Legend = "293011823", RisingSouls = "290524959"}
  16. misc = {GroundSlam = "199145477", LaserSlash = "199145497", RailGunFire = "199145534", Charge1 = "199145659", Charge2 = "169380469", Charge3 = "169380479", EmptyGun = "203691822", GunShoot = "203691837", Stomp1 = "200632875", Stomp2 = "200632561", TelsaCannonCharge = "169445572", TelsaCannonShoot = "169445602", AncientHymm = "245313442"}
  17. wait(0.016666666666667)
  18. Player = game:GetService("Players").LocalPlayer
  19. Character = Player.Character
  20. PlayerGui = Player.PlayerGui
  21. Backpack = Player.Backpack
  22. Torso = Character.Torso
  23. Head = Character.Head
  24. Humanoid = Character.Humanoid
  25. m = Instance.new("Model", Character)
  26. LeftArm = Character["Left Arm"]
  27. LeftLeg = Character["Left Leg"]
  28. RightArm = Character["Right Arm"]
  29. RightLeg = Character["Right Leg"]
  30. LS = Torso["Left Shoulder"]
  31. LH = Torso["Left Hip"]
  32. RS = Torso["Right Shoulder"]
  33. RH = Torso["Right Hip"]
  34. Face = Head.face
  35. Neck = Torso.Neck
  36. attacktype = 1
  37. vt = Vector3.new
  38. cf = CFrame.new
  39. euler = CFrame.fromEulerAnglesXYZ
  40. angles = CFrame.Angles
  41. cloaked = false
  42. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  43. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  44. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  45. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  46. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  47. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  48. RootPart = Character.HumanoidRootPart
  49. RootJoint = RootPart.RootJoint
  50. RootCF = euler(-1.57, 0, 3.14)
  51. attack = false
  52. attackdebounce = false
  53. deb = false
  54. equipped = true
  55. hand = false
  56. MMouse = nil
  57. combo = 0
  58. mana = 0
  59. trispeed = 0.2
  60. attackmode = "none"
  61. local idle = 0
  62. local Anim = "Idle"
  63. local gun = false
  64. local shoot = false
  65. player = nil
  66. mana = 0
  67. if Humanoid:FindFirstChild("Animator") then
  68. Humanoid:FindFirstChild("Animator"):Destroy()
  69. end
  70. print("Trinity loaded.")
  71. mouse = Player:GetMouse()
  72. RSH = nil
  73. RW = Instance.new("Motor")
  74. LW = Instance.new("Motor")
  75. RW.Name = "Right Shoulder"
  76. LW.Name = "Left Shoulder"
  77. LH = Torso["Left Hip"]
  78. RH = Torso["Right Hip"]
  79. TorsoColor = Torso.BrickColor
  80. Colorpart1 = Torso.BrickColor.r
  81. Colorpart2 = Torso.BrickColor.g
  82. Colorpart3 = Torso.BrickColor.b
  83. NoOutline = function(Part)
  84. Part.TopSurface = 10
  85. end
  86. player = Player
  87. ch = Character
  88. RSH = ch.Torso["Right Shoulder"]
  89. LSH = ch.Torso["Left Shoulder"]
  90. RSH.Parent = nil
  91. LSH.Parent = nil
  92. RW.Name = "Right Shoulder"
  93. RW.Part0 = ch.Torso
  94. RW.C0 = cf(1.5, 0.5, 0)
  95. RW.C1 = cf(0, 0.5, 0)
  96. RW.Part1 = ch["Right Arm"]
  97. RW.Parent = ch.Torso
  98. LW.Name = "Left Shoulder"
  99. LW.Part0 = ch.Torso
  100. LW.C0 = cf(-1.5, 0.5, 0)
  101. LW.C1 = cf(0, 0.5, 0)
  102. LW.Part1 = ch["Left Arm"]
  103. LW.Parent = ch.Torso
  104. Player = game:GetService("Players").LocalPlayer
  105. Character = Player.Character
  106. Mouse = Player:GetMouse()
  107. Bulletcount = 6
  108. local weldBetween = function(a, b)
  109. local weldd = Instance.new("ManualWeld")
  110. weldd.Part0 = a
  111. weldd.Part1 = b
  112. weldd.C0 = CFrame.new()
  113. weldd.C1 = b.CFrame:inverse() * a.CFrame
  114. weldd.Parent = a
  115. return weldd
  116. end
  117. it = Instance.new
  118. nooutline = function(part)
  119. part.TopSurface = 10
  120. end
  121. rainParts = {}
  122. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  123. local fp = it("Part")
  124. fp.formFactor = formfactor
  125. fp.Parent = parent
  126. fp.Reflectance = reflectance
  127. fp.Transparency = transparency
  128. fp.CanCollide = false
  129. fp.Locked = true
  130. if brickcolor == TorsoColor then
  131. table.insert(rainParts, #rainParts + 1, fp)
  132. end
  133. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  134. if fp.BrickColor == BrickColor.new("Br. yellowish orange") or fp.BrickColor == BrickColor.new("Bright orange") or fp.BrickColor == BrickColor.new("Really red") then
  135. fp.BrickColor = BrickColor.new("White")
  136. end
  137. fp.Name = name
  138. fp.Size = size
  139. fp.Position = Character.Torso.Position
  140. nooutline(fp)
  141. fp.Material = material
  142. fp:BreakJoints()
  143. return fp
  144. end
  145. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  146. local mesh = it(Mesh)
  147. mesh.Parent = part
  148. if Mesh == "SpecialMesh" then
  149. mesh.MeshType = meshtype
  150. mesh.MeshId = meshid
  151. end
  152. mesh.Offset = offset
  153. mesh.Scale = scale
  154. return mesh
  155. end
  156. weld = function(parent, part0, part1, c0, c1)
  157. local weld = it("Weld")
  158. weld.Parent = parent
  159. weld.Part0 = part0
  160. weld.Part1 = part1
  161. weld.C0 = c0
  162. weld.C1 = c1
  163. return weld
  164. end
  165. GunHandle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  166. GunHandleweld = weld(m, Character["Right Arm"], GunHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.268424988, -0.889885187, -1.09672546e-05, 1.33454066e-07, 0.342020243, -0.939692557, -2.71807494e-07, -0.939692557, -0.342020243, -1, 3.01059487e-07, -3.24421308e-08))
  167. mesh("SpecialMesh", GunHandle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  168. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  169. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-07, -0.953024864, 0.129212379, -4.37114096e-08, 1.59872116e-14, -1, -0.939692676, 0.342020005, 4.10753103e-08, 0.342020005, 0.939692676, -1.49501655e-08))
  170. mesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(0.899999976, 1, 1.10000002))
  171. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  172. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.17971992, 0.11357975, 0, 0.939692616, 0.342020094, 2.63613131e-09, -0.342020094, 0.939692616, 1.4950194e-08, 2.6361171e-09, -1.49502029e-08, 1))
  173. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(7.5, 1, 1))
  174. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  175. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.0182886124, -1.77848053, 8.56958948e-09, 1.90287484e-08, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, 1.45609942e-08))
  176. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.600000024, 0.403200001, 0.403200001))
  177. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  178. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.0182931423, 5.51375294, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  179. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  180. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  181. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.11357975, 5.51375103, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  182. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  183. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  184. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.208868504, 5.51374912, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  185. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  186. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  187. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.208867311, 2.84569836, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  188. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  189. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  190. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0182921886, 2.84569836, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  191. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  192. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  193. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.113578558, 2.84569359, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  194. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  195. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  196. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.113579512, 4.17971992, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  197. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.25, 0.25))
  198. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  199. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.113581657, 4.94202137, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  200. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.25, 0.25))
  201. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  202. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.113580942, 3.41741848, 1.32045113e-08, -1.71789978e-07, 1, -0.342020392, 0.939692497, 1.65945977e-07, -0.939692497, -0.342020392, -4.63474912e-08))
  203. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.25, 0.25))
  204. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  205. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.66413498, 0.113578558, 0, 0.939692616, 0.342020094, 7.61535688e-08, -0.342020094, 0.939692616, -3.01059487e-07, -1.74529333e-07, 2.56857305e-07, 1))
  206. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(6, 1.10000002, 0.899999976))
  207. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  208. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.99341202, -0.442775249, 0, 0.996194661, 0.0871559829, 1.52967971e-07, -0.0871559829, 0.996194661, -2.82404528e-07, -1.76999123e-07, 2.67997791e-07, 1))
  209. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  210. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  211. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.71560287, -0.943623543, 0, 0.984807849, -0.173647612, 2.22336723e-07, 0.173647612, 0.984807849, -2.44504179e-07, -1.76501374e-07, 2.79397881e-07, 1))
  212. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  213. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  214. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.31763077, -1.35550165, 0, 0.906307995, -0.422617674, 2.79532543e-07, 0.422617674, 0.906307995, -1.89941261e-07, -1.73070049e-07, 2.90280695e-07, 1))
  215. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  216. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  217. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.826614857, -1.65033817, 0, 0.766044676, -0.642787278, 3.20657591e-07, 0.642787278, 0.766044676, -1.22434102e-07, -1.66938946e-07, 2.99904627e-07, 1))
  218. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  219. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  220. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.237905979, -1.80804634, 0, 0.573577225, -0.819151521, 3.42909118e-07, 0.819151521, 0.573577225, -4.65834837e-08, -1.58525921e-07, 3.07613732e-07, 1))
  221. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  222. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  223. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.21473026, 1.17686081, 0, -0.422618568, -0.906307578, 2.33652415e-07, -0.906307578, 0.422618568, -2.35821346e-07, 1.14980821e-07, -3.11423435e-07, -1))
  224. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  225. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  226. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.4658556, 0.484131813, 0, -0.819152176, -0.573576212, 9.02945203e-08, -0.573576212, 0.819152176, -2.99197779e-07, 9.7647785e-08, -2.96879307e-07, -1))
  227. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  228. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  229. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.689001441, 1.65122223, 0, 0.0871550441, -0.99619472, 3.2611581e-07, -0.99619472, -0.0871550441, -1.0925686e-07, 1.37263726e-07, -3.15352565e-07, -1))
  230. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  231. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  232. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.38589287, 0.847026825, 0, -0.642787814, -0.766044259, 1.66145298e-07, -0.766044259, 0.642787814, -2.76946309e-07, 1.05356911e-07, -3.05292332e-07, -1))
  233. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  234. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  235. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.964036465, 1.4511528, 0, -0.173648596, -0.98480773, 2.88215375e-07, -0.98480773, 0.173648596, -1.78625584e-07, 1.25863636e-07, -3.14854816e-07, -1))
  236. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  237. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  238. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.0182888508, -1.77848053, 8.56958948e-09, 1.90287484e-08, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, 1.45609942e-08))
  239. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.910000026, 1.5, 1.5))
  240. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  241. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.670000553, -0.0719742775, -5.36790085, 1.33454066e-07, -2.71807494e-07, -1, -0.342020601, 0.939692438, -3.01059487e-07, 0.939692438, 0.342020601, 3.24420135e-08))
  242. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=92135524", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.190575033, 0.190575033))
  243. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  244. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.659999847, -0.0719754696, -5.36789989, 1.33454066e-07, -2.71807494e-07, -1, -0.342020392, 0.939692497, -3.01059487e-07, 0.939692497, 0.342020392, 3.24420846e-08))
  245. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=92135508", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.190575033, 0.190575033))
  246. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  247. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.4897995, 0.0615938902, 0, 0.965925753, 0.258819044, 1.48945745e-09, -0.258819044, 0.965925753, 1.13133343e-08, 1.48941481e-09, -1.13133485e-08, 1))
  248. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  249. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  250. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.323446274, 0.0280549526, 0, 0.98480773, 0.173648268, 6.64051925e-10, -0.173648268, 0.98480773, 7.59049534e-09, 6.64112321e-10, -7.59047314e-09, 1))
  251. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  252. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  253. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.172198296, 0.0073826313, 0, 0.996194661, 0.0871557742, 1.66355818e-10, -0.0871557742, 0.996194661, 3.80969301e-09, 1.66313185e-10, -3.80967968e-09, 1))
  254. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  255. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  256. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.172844887, 0.00577545166, 0, 0.99619472, -0.0871556699, 1.66338054e-10, 0.0871556699, 0.99619472, -3.80969656e-09, 1.66338054e-10, 3.80970278e-09, 1))
  257. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  258. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  259. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.345030785, 0.0304279327, 0, 0.98480773, -0.173648208, 6.64124755e-10, 0.173648208, 0.98480773, -7.59039764e-09, 6.64048372e-10, 7.59040564e-09, 1))
  260. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  261. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  262. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515238762, 0.0700221062, 0, 0.965925813, -0.258818954, 1.48945389e-09, 0.258818954, 0.965925813, -1.13132934e-08, 1.48938284e-09, 1.13132979e-08, 1))
  263. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  264. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  265. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.682182312, 0.126252174, 0, 0.939692676, -0.342019945, 2.63611533e-09, 0.342019945, 0.939692676, -1.49501673e-08, 2.63610644e-09, 1.49501904e-08, 1))
  266. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  267. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  268. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.323209524, -4.17972374, -4.37114096e-08, 1.59872116e-14, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, -4.10752889e-08))
  269. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.57172507, 0.190575033))
  270. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  271. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(9.53674316e-07, 0.323212624, -4.94202137, -4.37114096e-08, 1.59872116e-14, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, -4.10752889e-08))
  272. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.57172507, 0.190575033))
  273. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  274. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.323210716, -3.41741848, -4.37114096e-08, 1.59872116e-14, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, -4.10752889e-08))
  275. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.57172507, 0.190575033))
  276. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  277. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.132636786, -2.46454144, -4.37114096e-08, 1.59872116e-14, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, -4.10752889e-08))
  278. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.381150067, 0.952875078, 0.476437539))
  279. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  280. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.0182888508, -1.77848053, 8.56958948e-09, 1.90287484e-08, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, 1.45609924e-08))
  281. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.238218769, 1.90575016, 0.285862535))
  282. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  283. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.128981352, -0.489798546, -4.37113954e-08, 2.13162821e-14, -1, -0.258819014, 0.965925753, 1.13133352e-08, 0.965925753, 0.258819014, -4.22219593e-08))
  284. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.247747526, 0.476437539, 0.381150067))
  285. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  286. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.183193088, -0.172199249, -4.37114096e-08, 1.77635684e-14, -1, -0.0871557742, 0.996194661, 3.80972143e-09, 0.996194661, 0.0871557742, -4.3545068e-08))
  287. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.247747526, 0.476437539, 0.381150067))
  288. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  289. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.108569622, 0.172843933, 1.33454066e-07, -2.71807494e-07, -1, 0.0871556997, 0.996194661, -2.59141927e-07, 0.996194661, -0.0871556997, 1.56635821e-07))
  290. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  291. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  292. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.175938845, -0.489797592, 1.33454066e-07, -2.71807494e-07, -1, -0.258819014, 0.965925753, -2.97086331e-07, 0.965925753, 0.258819014, 5.85577808e-08))
  293. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  294. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  295. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0604324341, -0.48746109, 1.33454066e-07, -2.71807494e-07, -1, -0.258819014, 0.965925753, -2.97086331e-07, 0.965925753, 0.258819014, 5.85577808e-08))
  296. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  297. SwordHandle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "SwordHandle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  298. SwordHandleweld = weld(m, GunHandle, SwordHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.17971992, 0.11357975, 0, 0.939692616, 0.342020094, 2.63613131e-09, -0.342020094, 0.939692616, 1.4950194e-08, 2.6361171e-09, -1.49502029e-08, 1))
  299. mesh("SpecialMesh", SwordHandle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(7.5999999, 1.10000002, 0.899999976))
  300. BulletHole = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really black", "BulletHole", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  301. BulletHoleweld = weld(m, GunHandle, BulletHole, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.61284924, 0.113579512, 0, 0.939692616, 0.342020094, 2.63613131e-09, -0.342020094, 0.939692616, 1.4950194e-08, 2.6361171e-09, -1.49502029e-08, 1))
  302. mesh("SpecialMesh", BulletHole, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 0.75, 0.75))
  303. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  304. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-5.61094379, 0.113578796, 0, 0.939692616, 0.342020094, 2.63613131e-09, -0.342020094, 0.939692616, 1.4950194e-08, 2.6361171e-09, -1.49502029e-08, 1))
  305. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 0.899999976, 0.899999976))
  306. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  307. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.515238762, 0.0700221062, 0, 0.965925813, -0.258818954, 1.48945389e-09, 0.258818954, 0.965925813, -1.13132934e-08, 1.48938284e-09, 1.13132979e-08, 1))
  308. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  309. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  310. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.184798479, 0.17284584, 1.33454066e-07, -2.71807494e-07, -1, 0.0871556997, 0.996194661, -2.59141927e-07, 0.996194661, -0.0871556997, 1.56635821e-07))
  311. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.247747526, 0.476437539, 0.381150067))
  312. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  313. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.120551586, 0.515238762, 1.33454066e-07, -2.71807494e-07, -1, 0.258818954, 0.965925813, -2.28005462e-07, 0.965925813, -0.258818954, 1.99255666e-07))
  314. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.247747526, 0.476437539, 0.381150067))
  315. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  316. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.184368134, 0.515237808, 1.33454066e-07, -2.71807494e-07, -1, 0.258818954, 0.965925813, -2.28005462e-07, 0.965925813, -0.258818954, 1.99255666e-07))
  317. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  318. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  319. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.0443205833, 0.515239716, 1.33454066e-07, -2.71807494e-07, -1, 0.258818954, 0.965925813, -2.28005462e-07, 0.965925813, -0.258818954, 1.99255666e-07))
  320. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  321. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  322. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.4897995, 0.061593771, 0, 0.965925753, 0.258819014, 1.02269169e-07, -0.258819014, 0.965925753, -2.97086331e-07, -1.75676021e-07, 2.60494147e-07, 1))
  323. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  324. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  325. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.172198296, 0.00738239288, 0, 0.996194661, 0.0871557742, 1.66355818e-10, -0.0871557742, 0.996194661, 3.80969301e-09, 1.66313185e-10, -3.80967968e-09, 1))
  326. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  327. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  328. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.121727228, -0.172197342, 1.33454066e-07, -2.71807494e-07, -1, -0.0871557742, 0.996194661, -2.82404471e-07, 0.996194661, 0.0871557742, 1.09256646e-07))
  329. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  330. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  331. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.106962085, -0.172197342, 1.33454066e-07, -2.71807494e-07, -1, -0.0871557742, 0.996194661, -2.82404471e-07, 0.996194661, 0.0871557742, 1.09256646e-07))
  332. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  333. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  334. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.172844887, 0.00577545166, 0, 0.99619472, -0.0871556699, 1.66338054e-10, 0.0871556699, 0.99619472, -3.80969656e-09, 1.66338054e-10, 3.80970278e-09, 1))
  335. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  336. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  337. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.120121241, 0.17284584, 1.33454066e-07, -2.71807494e-07, -1, 0.0871556997, 0.996194661, -2.59141927e-07, 0.996194661, -0.0871556997, 1.56635821e-07))
  338. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  339. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  340. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.76837158e-07, 0.856247663, 1.77848053, 2.58338559e-07, -5.6264372e-07, -1, 0.342020243, -0.939692557, 6.1706919e-07, -0.939692557, -0.342020243, -5.03233153e-08))
  341. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  342. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  343. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.76837158e-07, 0.856247425, 1.77848053, 2.58338559e-07, -5.6264372e-07, -1, 0.342020243, -0.939692557, 6.1706919e-07, -0.939692557, -0.342020243, -5.03233153e-08))
  344. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1.75, 0.75, 1.75))
  345. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  346. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.76837158e-07, 0.856247425, 1.77848053, 2.58338559e-07, -5.6264372e-07, -1, 0.342020243, -0.939692557, 6.1706919e-07, -0.939692557, -0.342020243, -5.03233153e-08))
  347. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(2, 0.5, 2))
  348. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  349. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-4.76837158e-07, 0.856247425, 1.77848053, 2.58338559e-07, -5.6264372e-07, -1, 0.342020243, -0.939692557, 6.1706919e-07, -0.939692557, -0.342020243, -5.03233153e-08))
  350. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(2.25, 0.25, 2.25))
  351. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  352. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(4.76837158e-07, 0.0182888508, -1.77848053, 8.56958948e-09, 1.90287484e-08, -1, -0.342020094, 0.939692616, 1.4950194e-08, 0.939692616, 0.342020094, 1.45609942e-08))
  353. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.920000017, 1, 1))
  354. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  355. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.67055988, -1.02164078, 0, 0.642787814, 0.766044259, -7.87225218e-08, 0.766044259, -0.642787814, 2.76946309e-07, 1.61551213e-07, -2.38322642e-07, -1))
  356. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  357. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  358. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.25393057, -1.4192028, 0, 0.422618568, 0.906307578, -1.46229652e-07, 0.906307578, -0.422618568, 2.35821346e-07, 1.5192731e-07, -2.32191539e-07, -1))
  359. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  360. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  361. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-1.93903637, -0.645702362, 0, 0.819152057, 0.573576331, -2.87178992e-09, 0.573576331, -0.819152057, 2.99197779e-07, 1.69260346e-07, -2.46735681e-07, -1))
  362. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  363. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  364. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.04205418, 1.40610981, 0, -0.766044855, 0.642787099, -2.33234758e-07, -0.642787099, -0.766044855, 1.22434187e-07, -9.99691849e-08, 2.43710389e-07, 1))
  365. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  366. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  367. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.27842999, 1.11316061, 0, -0.906307995, 0.422617674, -1.92109766e-07, -0.422617674, -0.906307995, 1.89941261e-07, -9.38380822e-08, 2.53334292e-07, 1))
  368. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  369. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  370. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.776017189, 1.62790489, 0, -0.573577285, 0.819151461, -2.55486327e-07, -0.819151461, -0.573577285, 4.65834908e-08, -1.08382203e-07, 2.36001242e-07, 1))
  371. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  372. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  373. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.748598099, -1.69538212, 0, 0.173648387, 0.98480773, -2.00792655e-07, 0.98480773, -0.173648387, 1.78625527e-07, 1.41044467e-07, -2.28760186e-07, -1))
  374. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  375. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  376. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.43093586, 0.76900959, 0, -0.984807849, 0.173647612, -1.34913961e-07, -0.173647612, -0.984807849, 2.44504179e-07, -9.04067505e-08, 2.64217107e-07, 1))
  377. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  378. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  379. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.15088892, -1.83136272, 0, -0.0871550143, 0.99619478, -2.38693019e-07, 0.99619478, 0.0871550143, 1.0925686e-07, 1.29644391e-07, -2.28262437e-07, -1))
  380. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  381. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  382. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.52022934, 0.281204462, 0, -0.996194661, -0.0871562362, -6.55451302e-08, 0.0871562362, -0.996194661, 2.82404528e-07, -8.99090082e-08, 2.75617197e-07, 1))
  383. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  384. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  385. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0612716675, 1.0129261, 1.33454066e-07, -2.71807494e-07, -1, 0.342020243, -0.939692557, 3.01059487e-07, -0.939692557, -0.342020243, -3.24421308e-08))
  386. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.247747526, 0.476437539, 0.381150067))
  387. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  388. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.242487907, 0.986351013, 1.33454066e-07, -2.71807494e-07, -1, 0.342020243, -0.939692557, 3.01059487e-07, -0.939692557, -0.342020243, -3.24421308e-08))
  389. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  390. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  391. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.996317863, -0.128578424, 0, -0.939692557, -0.342020243, 1.12692575e-08, 0.342020243, -0.939692557, 3.01059487e-07, -9.23787979e-08, 2.86757682e-07, 1))
  392. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  393. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  394. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, 0.0612716675, 1.37292576, 1.33454066e-07, -2.71807494e-07, -1, 0.342020243, -0.939692557, 3.01059487e-07, -0.939692557, -0.342020243, -3.24421308e-08))
  395. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=9756362", Vector3.new(0, 0, 0), Vector3.new(0.247747526, 0.476437539, 0.381150067))
  396. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  397. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(1.35631847, -0.128578424, 0, -0.939692557, -0.342020243, 1.12692575e-08, 0.342020243, -0.939692557, 3.01059487e-07, -9.23787979e-08, 2.86757682e-07, 1))
  398. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  399. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  400. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.242487907, 1.34635162, 1.33454066e-07, -2.71807494e-07, -1, 0.342020243, -0.939692557, 3.01059487e-07, -0.939692557, -0.342020243, -3.24421308e-08))
  401. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  402. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  403. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.00248789787, 0.986351013, 1.33454066e-07, -2.71807494e-07, -1, 0.342020243, -0.939692557, 3.01059487e-07, -0.939692557, -0.342020243, -3.24421308e-08))
  404. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  405. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  406. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0, -0.00248789787, 1.34635162, 1.33454066e-07, -2.71807494e-07, -1, 0.342020243, -0.939692557, 3.01059487e-07, -0.939692557, -0.342020243, -3.24421308e-08))
  407. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  408. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  409. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.655434608, -0.288022995, -5.37018013, 2.79783706e-07, 7.8075999e-09, 1, 0.342020094, -0.939692616, -8.83548879e-08, 0.939692616, 0.342020094, -2.65581036e-07))
  410. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=92135524", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.190575033, 0.190575033))
  411. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  412. Partweld = weld(m, GunHandle, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.66565752, -0.288024902, -5.36789989, -1.85097718e-07, 4.13697137e-07, 1, 0.342020392, -0.939692497, 4.52055303e-07, 0.939692497, 0.342020392, 3.24420846e-08))
  413. mesh("SpecialMesh", Part, Enum.MeshType.FileMesh, "http://www.roblox.com/asset/?id=92135508", Vector3.new(0, 0, 0), Vector3.new(0.190575033, 0.190575033, 0.190575033))
  414. CoreHandle = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  415. CoreHandleweld = weld(m, Character.Torso, CoreHandle, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.126105309, -0.124328613, -0.0193977356, 0.866025567, -0.499999732, -1.54855613e-08, 0.499999732, 0.866025567, -8.94058605e-09, 1.78811828e-08, 0, 1))
  416. mesh("SpecialMesh", CoreHandle, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(7.5, 7.5, 7.5))
  417. Ring1ReferencePoint = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, TorsoColor, "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  418. Ring1ReferencePointweld = weld(m, CoreHandle, Ring1ReferencePoint, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.126105309, -0.124329567, -0.0193977356, 0.866025567, -0.499999702, -1.54855613e-08, 0.499999702, 0.866025567, -8.94058605e-09, 1.78811828e-08, 0, 1))
  419. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  420. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0487003326, 0.170000553, -2.0073452, 0.707106769, 3.61242698e-08, -0.707106709, 1.49011612e-07, 1, 9.83475559e-08, 0.707106709, -1.55333566e-07, 0.707106829))
  421. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  422. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  423. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0345611572, -0.170001507, -2.08923244, -0.25881952, 1.12944072e-07, -0.965925694, -1.78813934e-07, -1.00000012, -6.85452335e-08, -0.965925694, 1.76499938e-07, 0.25881952))
  424. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  425. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  426. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0654983521, 0.170000076, -1.98813725, 0.50000006, -3.696071e-08, -0.866025388, 1.1920929e-07, 1, 8.94058783e-09, 0.866025329, -1.53481906e-07, 0.50000006))
  427. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  428. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  429. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00164413452, -0.17000246, -1.94940472, 0.25881955, -3.09876853e-08, 0.965925694, -8.94069672e-08, -1, -3.87429111e-08, 0.965925694, -5.72906451e-08, -0.25881955))
  430. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  431. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  432. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0628457069, -0.17000103, -2.05058289, -1, 1.49011612e-07, 3.04476913e-07, -1.49011612e-07, -1, -8.56288374e-10, 3.04476941e-07, -8.5632923e-10, 1))
  433. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  434. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  435. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0513486862, -0.17000246, -2.08439445, -0.866025627, 2.13086551e-07, -0.499999732, -2.08616257e-07, -1, 5.96057159e-09, -0.499999702, 1.26367681e-07, 0.866025567))
  436. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  437. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  438. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0869293213, 0.170001507, -2.02276611, -0.866025269, 1.7434364e-07, 0.500000298, 2.38418579e-07, 1, 5.36440723e-08, -0.500000238, 1.71655543e-07, -0.866025269))
  439. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  440. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  441. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00387001038, -0.170002937, -1.9525547, 0.500000417, -8.22485759e-08, 0.86602515, -5.96046448e-08, -1, -3.87429111e-08, 0.86602515, -5.51343469e-08, -0.500000417))
  442. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  443. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  444. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0341186523, 0.169999599, -1.95340586, 2.32048365e-07, -5.22409245e-08, -1, 2.08616257e-07, 1, -5.22408925e-08, 1, -2.08616257e-07, 2.32048379e-07))
  445. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  446. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  447. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0219216347, -0.170001984, -1.95992088, 0.866025507, -1.53481906e-07, 0.499999762, -1.78813934e-07, -0.99999994, -2.38417499e-08, 0.499999762, -5.18618677e-08, -0.866025507))
  448. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  449. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  450. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0774993896, 0.17000246, -2.00134659, -0.965925753, 2.95709214e-07, 0.258819312, 3.57627869e-07, 1, 4.61934953e-08, -0.258819312, 1.35295807e-07, -0.965925753))
  451. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  452. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  453. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0341739655, 0.170001507, -2.07081223, -0.258819073, 7.33204431e-08, 0.965925813, 1.78813934e-07, 1, -5.06640561e-08, -0.965925813, 1.51325608e-07, -0.258819103))
  454. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  455. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  456. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0670967102, 0.170000553, -1.96782446, 0.258819103, -1.03122765e-07, -0.965925813, 1.78813934e-07, 1, -5.06640561e-08, 0.965925813, -1.51325608e-07, 0.258819103))
  457. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  458. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  459. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0439095497, -0.17000103, -1.96881485, 0.965925932, -6.19186338e-08, 0.258818865, -1.1920929e-07, -1, 1.25169862e-07, 0.258818865, -1.47826256e-07, -0.965925813))
  460. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  461. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  462. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0628457069, -0.170001984, -1.9794178, 1, -5.96046412e-08, -2.65629694e-07, -5.96046448e-08, -1, -2.09936371e-08, -2.65629666e-07, 2.09936495e-08, -1))
  463. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  464. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  465. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0341186523, -0.17000246, -2.07909966, -7.37518917e-07, 7.7378985e-08, -1, -2.08616257e-07, -1, -7.73789282e-08, -1, 2.08616257e-07, 7.37518974e-07))
  466. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  467. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  468. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0623283386, 0.170000553, -2.03755379, 0.965925813, -2.74883263e-08, -0.258819252, 5.96046448e-08, 1, 8.34463947e-08, 0.258819252, -9.80429107e-08, 0.965925753))
  469. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  470. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  471. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.00162315369, -0.17000103, -1.95702171, 0.707107127, -3.61242662e-08, 0.707106352, -1.78813934e-07, -0.99999994, 5.06640561e-08, 0.707106352, -1.12887335e-07, -0.707107186))
  472. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  473. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  474. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0575027466, 0.170001507, -2.02154922, 0.866025329, -5.51343504e-08, -0.500000179, 8.94069672e-08, 1, 2.38417499e-08, 0.500000179, -6.73474148e-08, 0.866025329))
  475. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  476. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  477. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0904979706, 0.170001984, -2.0459013, -0.707106829, 2.34803732e-08, 0.707106769, 2.08616257e-07, 0.99999994, 6.85452335e-08, -0.707106709, 1.85135889e-07, -0.707106829))
  478. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  479. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  480. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0589771271, 0.169999599, -2.06140852, -0.49999994, 6.67630289e-08, 0.866025448, 1.78813934e-07, 0.99999994, 3.87429111e-08, -0.866025448, 1.53481906e-07, -0.49999994))
  481. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  482. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  483. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0590806007, -0.17000103, -2.07008362, -0.965925932, 1.21523286e-07, -0.258818775, -1.49011612e-07, -1, 5.96057337e-09, -0.258818775, 3.60675401e-08, 0.965925932))
  484. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  485. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  486. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00265312195, -0.170001984, -2.09698868, -0.500000536, 2.01457866e-07, -0.86602509, -2.38418579e-07, -1, -1.28149878e-07, -0.86602509, 8.49366728e-08, 0.500000536))
  487. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  488. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  489. Partweld = weld(m, Ring1ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0401754379, -0.17000103, -2.09622192, -0.707107186, 1.85135875e-07, -0.707106352, -2.38418579e-07, -1, 5.06640561e-08, -0.707106352, 1.7249198e-07, 0.707107186))
  490. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  491. Ring2ReferencePoint = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, TorsoColor, "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  492. Ring2ReferencePointweld = weld(m, CoreHandle, Ring2ReferencePoint, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0446195602, -0.171374798, -0.0193977356, 0.866025269, 0.500000298, -1.54855613e-08, -0.500000298, 0.866025269, -8.94058516e-09, 8.94059227e-09, 1.54855577e-08, 1))
  493. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  494. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.178648949, -0.0305736065, -2.37941742, 1, 2.60665813e-15, -2.76067851e-07, -9.33221395e-17, -1, -2.914188e-09, -2.76067851e-07, 2.914188e-09, -1))
  495. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  496. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  497. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.155764103, -0.0305743217, -2.33884048, 0.965925932, -1.21523286e-07, 0.258818924, -1.1920929e-07, -1, 1.34111557e-08, 0.258818924, -3.60675401e-08, -0.965925813))
  498. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  499. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  500. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.122206688, -0.0305736065, -2.30201721, 0.866025567, -1.23679584e-07, 0.499999762, -1.49011612e-07, -1, -5.36440723e-08, 0.499999762, -2.20595489e-08, -0.866025507))
  501. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  502. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  503. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0802621841, -0.0305736065, -2.27513695, 0.707107246, -1.2553123e-07, 0.707106411, -2.38418579e-07, -1.00000012, -8.94058871e-09, 0.707106411, -1.12887335e-07, -0.707107186))
  504. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  505. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  506. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0617694855, -0.0305755138, -2.25226593, 0.500000477, 2.20595506e-08, 0.86602515, -2.98023224e-08, -1, -8.94058516e-09, 0.866025209, 4.47029702e-09, -0.500000477))
  507. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  508. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  509. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0283260345, -0.0305755138, -2.23754883, 0.25881952, -3.84382659e-08, 0.965925753, 4.6150569e-16, -1, -3.87429075e-08, 0.965925753, 3.2116322e-08, -0.25881952))
  510. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  511. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  512. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0341186523, 0.0305724144, -2.23760414, 2.3204862e-07, 7.0121942e-08, -1, -1.1920929e-07, 1, 7.01219491e-08, 1, 1.1920929e-07, 2.32048635e-07))
  513. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  514. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  515. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.097070694, 0.0305728912, -2.25596666, 0.258819103, 1.12944072e-07, -0.965925813, -2.98023224e-08, 1, 9.83475488e-08, 0.965925813, -2.31399389e-09, 0.258819103))
  516. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  517. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  518. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.123401642, 0.0305736065, -2.28784943, 0.50000006, 9.71497371e-08, -0.866025388, -1.49011612e-07, 1, 8.9405825e-09, 0.866025388, 1.7434364e-07, 0.50000006))
  519. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  520. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  521. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.130586624, 0.0305733681, -2.32545948, 0.707106888, 9.57289146e-08, -0.707106769, -5.96046448e-08, 1, 6.85452264e-08, 0.707106769, 2.34803732e-08, 0.707106829))
  522. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  523. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  524. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.157791138, 0.0305743217, -2.36365128, 0.866025388, 3.02493504e-07, -0.500000179, -1.1920929e-07, 1, 1.57952201e-07, 0.500000179, -3.75450959e-08, 0.866025269))
  525. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  526. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  527. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.174186707, 0.0305743217, -2.40757751, 0.965925813, 6.19186409e-08, -0.258819252, -5.96046448e-08, 1, -1.34111584e-08, 0.258819252, 4.35181207e-08, 0.965925753))
  528. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  529. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  530. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.178647041, -0.030575037, -2.4505806, -1, 5.96046412e-08, 3.04476941e-07, -5.96046448e-08, -1, -8.56271498e-10, 3.04476941e-07, -8.56285709e-10, 1))
  531. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  532. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  533. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.170937061, -0.0305745602, -2.50005341, -0.965925932, 6.19186338e-08, -0.258818775, -5.96046448e-08, -1, -3.1292327e-08, -0.258818775, -8.63594263e-09, 0.965925932))
  534. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  535. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  536. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.151638031, -0.0305743217, -2.54229546, -0.866025567, 6.4074932e-08, -0.499999732, -5.96046448e-08, -1, -6.85452335e-08, -0.499999762, -5.24462607e-08, 0.866025567))
  537. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  538. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  539. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.122059822, -0.0305738449, -2.57810593, -0.707107306, 6.32194475e-09, -0.707106352, 2.98023224e-08, -1, -8.94058427e-09, -0.707106352, -3.61242769e-08, 0.707107246))
  540. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  541. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  542. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0552463531, -0.0305752754, -2.59727478, -0.500000477, 7.74277087e-09, -0.86602509, -5.96046448e-08, -1, -8.94058516e-09, -0.866025209, 2.53320245e-08, 0.500000477))
  543. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  544. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  545. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.00459098816, -0.0305759907, -2.60108852, -0.25881952, 3.09876818e-08, -0.965925694, -2.38418579e-07, -1, 5.06640561e-08, -0.965925694, 2.36104583e-07, 0.258819491))
  546. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  547. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  548. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(0.0341205597, -0.0305759907, -2.59490204, -7.37519429e-07, 5.97119367e-08, -1, -1.49011612e-07, -1, -5.97117662e-08, -1, 1.49011612e-07, 7.37519429e-07))
  549. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  550. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  551. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.0641441345, 0.0305731297, -2.58266878, -0.258819073, -7.56911689e-08, 0.965925872, 2.08616257e-07, 1, 1.28149878e-07, -0.965925872, 2.10930253e-07, -0.258819073))
  552. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  553. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  554. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.116876602, 0.0305738449, -2.56169653, -0.499999821, 1.26367681e-07, 0.866025507, 2.08616257e-07, 1, -5.06640561e-08, -0.866025567, 1.53481906e-07, -0.499999821))
  555. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  556. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  557. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.172384262, 0.0305747986, -2.52778625, -0.707106709, 2.32096625e-07, 0.707106829, 2.68220901e-07, 1, -8.04663784e-08, -0.707106829, 1.25531244e-07, -0.707106709))
  558. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  559. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  560. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.18721962, 0.0305728912, -2.48066711, -0.866025269, 1.44541318e-07, 0.500000238, 2.08616257e-07, 1, 6.85452335e-08, -0.500000238, 1.41853221e-07, -0.866025269))
  561. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  562. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  563. Partweld = weld(m, Ring2ReferencePoint, Part, CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1), CFrame.new(-0.18935585, 0.030575037, -2.43131638, -0.965925753, 1.16895293e-07, 0.258819401, 1.78813934e-07, 1, 9.08969753e-08, -0.258819431, 1.27845226e-07, -0.965925694))
  564. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  565. local particleemitter = Instance.new("ParticleEmitter", CoreHandle)
  566. particleemitter.Lifetime = NumberRange.new(1)
  567. particleemitter.Speed = NumberRange.new(0)
  568. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 5)})
  569. particleemitter.RotSpeed = NumberRange.new(9000)
  570. particleemitter.Rotation = NumberRange.new(-360, 360)
  571. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0), NumberSequenceKeypoint.new(0.9, 0), NumberSequenceKeypoint.new(1, 1)})
  572. particleemitter.LightEmission = 0.5
  573. particleemitter.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  574. particleemitter.Enabled = false
  575. local particleemitter2 = Instance.new("ParticleEmitter", CoreHandle)
  576. particleemitter2.VelocitySpread = 360
  577. particleemitter2.Lifetime = NumberRange.new(0.5)
  578. particleemitter2.Speed = NumberRange.new(10)
  579. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  580. particleemitter2.RotSpeed = NumberRange.new(9000)
  581. particleemitter2.Rate = 100
  582. particleemitter2.Rotation = NumberRange.new(-360, 360)
  583. particleemitter2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.7, 1), NumberSequenceKeypoint.new(0.8, 0), NumberSequenceKeypoint.new(0.9, 0), NumberSequenceKeypoint.new(1, 1)})
  584. particleemitter2.LightEmission = 0.5
  585. particleemitter2.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  586. particleemitter2.Enabled = false
  587. coreaura = Instance.new("PointLight", CoreHandle)
  588. coreaura.Brightness = 5
  589. coreaura.Range = 5
  590. coreaura.Color = Color3.new(Colorpart1, Colorpart3, Colorpart3)
  591. local gunfirelight = Instance.new("PointLight", BulletHole)
  592. gunfirelight.Shadows = true
  593. gunfirelight.Color = Color3.new(Colorpart1, Colorpart3, Colorpart3)
  594. gunfirelight.Range = 10
  595. gunfirelight.Brightness = 7.5
  596. gunfirelight.Enabled = false
  597. local gunfireeffect = Instance.new("ParticleEmitter", BulletHole)
  598. gunfireeffect.Lifetime = NumberRange.new(0.1)
  599. gunfireeffect.Speed = NumberRange.new(0)
  600. gunfireeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 3)})
  601. gunfireeffect.Rate = 100
  602. gunfireeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  603. gunfireeffect.Name = "GunfireEffect"
  604. gunfireeffect.LightEmission = 0.5
  605. gunfireeffect.Texture = "http://www.roblox.com/asset/?id=243728166"
  606. gunfireeffect.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  607. gunfireeffect.Enabled = false
  608. for i,v in pairs(Character:GetChildren()) do
  609. if v:IsA("Model") then
  610. for _,c in pairs(v:GetChildren()) do
  611. if c:IsA("Part") then
  612. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  613. end
  614. end
  615. end
  616. end
  617. local Player = game.Players.localPlayer
  618. local Character = Player.Character
  619. local Humanoid = Character.Humanoid
  620. local mouse = Player:GetMouse()
  621. local m = Instance.new("Model", Character)
  622. local LeftArm = Character["Left Arm"]
  623. local RightArm = Character["Right Arm"]
  624. local LeftLeg = Character["Left Leg"]
  625. local RightLeg = Character["Right Leg"]
  626. local Head = Character.Head
  627. local Torso = Character.Torso
  628. local cam = game.Workspace.CurrentCamera
  629. local RootPart = Character.HumanoidRootPart
  630. local equipped = false
  631. local attack = false
  632. local Anim = "Idle"
  633. local idle = 0
  634. local sprint = false
  635. local battlestance = false
  636. local attacktype = 1
  637. local state = "none"
  638. local torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  639. local velocity = RootPart.Velocity.y
  640. local sine = 0
  641. local change = 1
  642. local on = false
  643. local grabbed = false
  644. local skill1 = false
  645. local skill2 = false
  646. local skill3 = false
  647. local skill4 = false
  648. local cooldown1 = 0
  649. local cooldown2 = 0
  650. local cooldown3 = 0
  651. local cooldown4 = 0
  652. local co1 = 17.5
  653. local co2 = 30
  654. local co3 = 50
  655. local co4 = 60
  656. local inputserv = game:GetService("UserInputService")
  657. local typing = false
  658. local crit = false
  659. local critchance = 2
  660. local critdamageaddmin = 3
  661. local critdamageaddmax = 7
  662. local maxstamina = 100
  663. local stamina = 0
  664. local skill1stam = 15
  665. local skill2stam = 30
  666. local skill3stam = 25
  667. local skill4stam = 75
  668. local recovermana = 3
  669. local defensevalue = 1
  670. local speedvalue = 1
  671. local mindamage = 5
  672. local maxdamage = 7
  673. local damagevalue = 1
  674. local cf = CFrame.new
  675. local mr = math.rad
  676. local angles = CFrame.Angles
  677. local ud = UDim2.new
  678. local c3 = Color3.new
  679. local skillcolorscheme = c3(1, 1, 1)
  680. local aiming = false
  681. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  682. makeframe = function(par, trans, pos, size, color)
  683. local frame = Instance.new("Frame", par)
  684. frame.BackgroundTransparency = trans
  685. frame.BorderSizePixel = 0
  686. frame.Position = pos
  687. frame.Size = size
  688. frame.BackgroundColor3 = color
  689. return frame
  690. end
  691. makelabel = function(par, text)
  692. local label = Instance.new("TextLabel", par)
  693. label.BackgroundTransparency = 1
  694. label.Size = ud(1, 0, 1, 0)
  695. label.Position = ud(0, 0, 0, 0)
  696. label.TextColor3 = c3(255, 255, 255)
  697. label.TextStrokeTransparency = 0
  698. label.FontSize = Enum.FontSize.Size32
  699. label.Font = Enum.Font.SourceSansBold
  700. label.BorderSizePixel = 0
  701. label.TextScaled = true
  702. label.Text = text
  703. end
  704. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  705. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  706. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  707. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  708. framesk5 = makeframe(scrn, 0.5, ud(0.23, 0, 0.75, 0), ud(0.1, 0, 0.06, 0), skillcolorscheme)
  709. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  710. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  711. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  712. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  713. bar5 = makeframe(framesk5, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  714. text1 = makelabel(framesk1, "[C] Sprint")
  715. text2 = makelabel(framesk2, "[V] Overdrive")
  716. text3 = makelabel(framesk3, "[X] Shoot Combo")
  717. text4 = makelabel(framesk4, "[Z] Reload")
  718. ammolabel = Instance.new("TextLabel", framesk5)
  719. ammolabel.BackgroundTransparency = 1
  720. ammolabel.Size = ud(1, 0, 1, 0)
  721. ammolabel.Position = ud(0, 0, 0, 0)
  722. ammolabel.TextColor3 = c3(255, 255, 255)
  723. ammolabel.TextStrokeTransparency = 0
  724. ammolabel.FontSize = Enum.FontSize.Size32
  725. ammolabel.Font = Enum.Font.SourceSansBold
  726. ammolabel.BorderSizePixel = 0
  727. ammolabel.TextScaled = true
  728. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  729. staminabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(Colorpart1, Colorpart2, Colorpart3))
  730. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(Colorpart1 + 0.15, Colorpart2 + 0.15, Colorpart3 + 0.15))
  731. staminatext = makelabel(staminabar, "Energy")
  732. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(1, 1, 0))
  733. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 0.18039215686275, 0.1921568627451))
  734. healthtext = makelabel(healthbar, "Health")
  735. local stats = Instance.new("Folder", Character)
  736. stats.Name = "Stats"
  737. local block = Instance.new("BoolValue", stats)
  738. block.Name = "Block"
  739. block.Value = false
  740. local stun = Instance.new("BoolValue", stats)
  741. stun.Name = "Stun"
  742. stun.Value = false
  743. local defense = Instance.new("NumberValue", stats)
  744. defense.Name = "Defence"
  745. defense.Value = defensevalue
  746. local speed = Instance.new("NumberValue", stats)
  747. speed.Name = "Speed"
  748. speed.Value = speedvalue
  749. local damagea = Instance.new("NumberValue", stats)
  750. damagea.Name = "Damage"
  751. damagea.Value = damagevalue
  752. gyro = Instance.new("BodyGyro")
  753. gyro.Parent = nil
  754. gyro.P = 10000000
  755. gyro.D = 1000
  756. gyro.MaxTorque = Vector3.new(0, 10000000, 0)
  757. makeeffect = function(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  758. local p = Instance.new("Part", par or workspace)
  759. p.CFrame = pos1
  760. p.Anchored = true
  761. p.Material = "Plastic"
  762. p.CanCollide = false
  763. p.TopSurface = 0
  764. p.Size = Vector3.new(1, 1, 1)
  765. p.BottomSurface = 0
  766. p.Transparency = trans
  767. p.FormFactor = "Custom"
  768. nooutline(p)
  769. local mesh = Instance.new("SpecialMesh", p)
  770. mesh.Scale = size
  771. if id ~= nil and type == nil then
  772. mesh.MeshId = "rbxassetid://" .. id
  773. else
  774. if id == nil and type ~= nil then
  775. mesh.MeshType = type
  776. else
  777. if id == nil and type == nil then
  778. mesh.MeshType = "Brick"
  779. end
  780. end
  781. end
  782. coroutine.wrap(function()
  783. for i = 0, delay1, 0.1 do
  784. fat.Event:wait(0.016666666666667)
  785. p.CFrame = p.CFrame
  786. mesh.Scale = mesh.Scale + howmuch
  787. p.Transparency = p.Transparency + trans1
  788. end
  789. p:Destroy()
  790. end)()
  791. return p
  792. end
  793. clangy = function(cframe)
  794. fat.Event:wait(0.016666666666667)
  795. local clang = {}
  796. local dis = 0
  797. local part = Instance.new("Part", nil)
  798. part.CFrame = cframe
  799. part.Anchored = true
  800. part.CanCollide = false
  801. part.BrickColor = BrickColor.new("New Yeller")
  802. part.FormFactor = "Custom"
  803. part.Name = "clanger"
  804. part.Size = Vector3.new(0.2, 0.2, 0.2)
  805. part.TopSurface = 10
  806. part.BottomSurface = 10
  807. part.RightSurface = 10
  808. part.LeftSurface = 10
  809. part.BackSurface = 10
  810. part.FrontSurface = 10
  811. part:BreakJoints()
  812. local mesh = Instance.new("BlockMesh", part)
  813. coroutine.wrap(function()
  814. for i = 1, 7 do
  815. do
  816. fat.Event:wait(0.016666666666667)
  817. dis = dis + 0.2
  818. local partc = part:clone()
  819. partc.Parent = workspace
  820. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  821. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  822. table.insert(clang, partc)
  823. end
  824. end
  825. for i,v in pairs(clang) do
  826. coroutine.wrap(function()
  827. for i = 1, 10 do
  828. fat.Event:wait(0.01)
  829. v.Transparency = v.Transparency + 0.1
  830. end
  831. v:destroy()
  832. end)()
  833. end
  834. end)()
  835. end
  836. circle = function(color, pos1)
  837. local p = Instance.new("Part", m)
  838. p.BrickColor = BrickColor.new(color)
  839. p.CFrame = pos1
  840. p.Anchored = true
  841. p.Material = "Plastic"
  842. p.CanCollide = false
  843. p.TopSurface = 0
  844. p.Size = Vector3.new(1, 1, 1)
  845. p.BottomSurface = 0
  846. p.Transparency = 0.35
  847. p.FormFactor = "Custom"
  848. local mesh = Instance.new("CylinderMesh", p)
  849. mesh.Scale = Vector3.new(0, 0, 0)
  850. coroutine.wrap(function()
  851. for i = 0, 5, 0.1 do
  852. fat.Event:wait(0.016666666666667)
  853. p.CFrame = p.CFrame
  854. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0, 0.5)
  855. p.Transparency = p.Transparency + 0.025
  856. end
  857. p:Destroy()
  858. end)()
  859. end
  860. firespaz1 = function(color, pos1)
  861. local p = Instance.new("Part", m)
  862. p.BrickColor = BrickColor.new(color)
  863. p.CFrame = pos1
  864. p.Anchored = true
  865. p.Material = "Plastic"
  866. p.CanCollide = false
  867. p.TopSurface = 0
  868. p.Size = Vector3.new(1, 1, 1)
  869. p.BottomSurface = 0
  870. p.Transparency = 0.5
  871. p.FormFactor = "Custom"
  872. local mesh = Instance.new("BlockMesh", p)
  873. mesh.Scale = Vector3.new(1, 1, 1)
  874. coroutine.wrap(function()
  875. for i = 0, 15, 0.1 do
  876. fat.Event:wait(0.033333333333333)
  877. p.CFrame = p.CFrame * CFrame.new(0, 0.1, 0)
  878. mesh.Scale = mesh.Scale - Vector3.new(0.1, 0.1, 0.1)
  879. p.Transparency = p.Transparency + 0.025
  880. end
  881. p:Destroy()
  882. end)()
  883. end
  884. pickrandom = function(tablesa)
  885. local randomized = tablesa[math.random(1, #tablesa)]
  886. return randomized
  887. end
  888. CreateSound = function(id, par, vol, pit)
  889. coroutine.resume(coroutine.create(function()
  890. local sou = Instance.new("Sound", par or workspace)
  891. sou.Volume = vol
  892. sou.Pitch = pit or 1
  893. sou.SoundId = id
  894. fat.Event:wait()
  895. sou:play()
  896. game:GetService("Debris"):AddItem(sou, 6)
  897. end))
  898. end
  899. clangy = function(cframe)
  900. fat.Event:wait(0.016666666666667)
  901. local clang = {}
  902. local dis = 0
  903. local part = Instance.new("Part", nil)
  904. part.CFrame = cframe
  905. part.Anchored = true
  906. part.CanCollide = false
  907. part.BrickColor = BrickColor.new("New Yeller")
  908. part.FormFactor = "Custom"
  909. part.Name = "clanger"
  910. part.Size = Vector3.new(0.2, 0.2, 0.2)
  911. part.TopSurface = 10
  912. part.BottomSurface = 10
  913. part.RightSurface = 10
  914. part.LeftSurface = 10
  915. part.BackSurface = 10
  916. part.FrontSurface = 10
  917. part:BreakJoints()
  918. local mesh = Instance.new("BlockMesh", part)
  919. coroutine.wrap(function()
  920. for i = 1, 7 do
  921. do
  922. fat.Event:wait(0.016666666666667)
  923. dis = dis + 0.2
  924. local partc = part:clone()
  925. partc.Parent = workspace
  926. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  927. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  928. table.insert(clang, partc)
  929. end
  930. end
  931. for i,v in pairs(clang) do
  932. coroutine.wrap(function()
  933. for i = 1, 10 do
  934. fat.Event:wait(0.01)
  935. v.Transparency = v.Transparency + 0.1
  936. end
  937. v:destroy()
  938. end)()
  939. end
  940. end)()
  941. end
  942. so = function(id, par, vol, pit)
  943. coroutine.resume(coroutine.create(function()
  944. local sou = Instance.new("Sound", par or workspace)
  945. sou.Volume = vol
  946. sou.Pitch = pit or 1
  947. sou.SoundId = id
  948. fat.Event:wait()
  949. sou:play()
  950. game:GetService("Debris"):AddItem(sou, 6)
  951. end))
  952. end
  953. getclosest = function(obj, dis, player)
  954. if (player.Torso.CFrame.p - obj).magnitude >= dis then
  955. do return not player end
  956. do
  957. local list = {}
  958. for i,v in pairs(workspace:GetChildren()) do
  959. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and (v.Torso.Position - obj).magnitude <= dis then
  960. table.insert(list, v)
  961. end
  962. end
  963. do return list end
  964. -- DECOMPILER ERROR: 3 unprocessed JMP targets
  965. end
  966. end
  967. end
  968. tag = function(hum, player)
  969. local creator = Instance.new("ObjectValue", hum)
  970. creator.Value = player
  971. creator.Name = "creator"
  972. end
  973. untag = function(hum)
  974. if hum ~= nil then
  975. local tag = hum:findFirstChild("creator")
  976. if tag ~= nil then
  977. tag.Parent = nil
  978. end
  979. end
  980. end
  981. tagplayer = function(h)
  982. coroutine.wrap(function()
  983. tag(h, player)
  984. fat.Event:wait(1)
  985. untag(h)
  986. end)()
  987. end
  988. randomizer = function(percent)
  989. local randomized = math.random(0, 100)
  990. if randomized <= percent then
  991. return true
  992. else
  993. if percent <= randomized then
  994. return false
  995. end
  996. end
  997. end
  998. turncrit = function()
  999. coroutine.resume(coroutine.create(function()
  1000. print("CRITICAL!")
  1001. crit = true
  1002. wait(0.25)
  1003. crit = false
  1004. end))
  1005. end
  1006. subtractstamina = function(k)
  1007. if k <= stamina then
  1008. stamina = stamina - k
  1009. end
  1010. end
  1011. local weldBetween = function(a, b)
  1012. local weldd = Instance.new("ManualWeld")
  1013. weldd.Part0 = a
  1014. weldd.Part1 = b
  1015. weldd.C0 = CFrame.new()
  1016. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1017. weldd.Parent = a
  1018. return weldd
  1019. end
  1020. fat = Instance.new("BindableEvent", script)
  1021. fat.Name = "Heartbeat"
  1022. script:WaitForChild("Heartbeat")
  1023. frame = 0.033333333333333
  1024. tf = 0
  1025. allowframeloss = false
  1026. tossremainder = false
  1027. lastframe = tick()
  1028. script.Heartbeat:Fire()
  1029. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1030. tf = tf + s
  1031. if frame <= tf then
  1032. if allowframeloss then
  1033. script.Heartbeat:Fire()
  1034. lastframe = tick()
  1035. else
  1036. for i = 1, math.floor(tf / frame) do
  1037. script.Heartbeat:Fire()
  1038. end
  1039. lastframe = tick()
  1040. end
  1041. if tossremainder then
  1042. tf = 0
  1043. else
  1044. tf = tf - frame * math.floor(tf / frame)
  1045. end
  1046. end
  1047. end)
  1048. nooutline = function(part)
  1049. part.TopSurface = 10
  1050. end
  1051. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  1052. local mesh = it(Mesh)
  1053. mesh.Parent = part
  1054. if Mesh == "SpecialMesh" then
  1055. mesh.MeshType = meshtype
  1056. mesh.MeshId = meshid
  1057. end
  1058. mesh.Offset = offset
  1059. mesh.Scale = scale
  1060. return mesh
  1061. end
  1062. weld = function(parent, part0, part1, c0, c1)
  1063. local weld = it("Weld")
  1064. weld.Parent = parent
  1065. weld.Part0 = part0
  1066. weld.Part1 = part1
  1067. weld.C0 = c0
  1068. weld.C1 = c1
  1069. return weld
  1070. end
  1071. local CFrameFromTopBack = function(at, top, back)
  1072. local right = top:Cross(back)
  1073. 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)
  1074. end
  1075. Triangle = function(a, b, c)
  1076. local edg1 = c - a:Dot(b - a.unit)
  1077. local edg2 = a - b:Dot(c - b.unit)
  1078. local edg3 = b - c:Dot(a - c.unit)
  1079. if edg1 <= b - a.magnitude and edg1 >= 0 then
  1080. a = a
  1081. else
  1082. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  1083.  
  1084. if edg2 <= c - b.magnitude and edg2 >= 0 then
  1085. a = b
  1086. else
  1087. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  1088.  
  1089. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  1090.  
  1091. if edg3 <= a - c.magnitude and edg3 >= 0 then
  1092. a = c
  1093. else
  1094. assert(false, "unreachable")
  1095. end
  1096. end
  1097. end
  1098. local len1 = c - a:Dot(b - a.unit)
  1099. local len2 = b - a.magnitude - len1
  1100. local width = a + b - a.unit * len1 - c.magnitude
  1101. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  1102. local list = {}
  1103. local TrailColor = "Dark grey"
  1104. if len1 > 0.01 then
  1105. local w1 = Instance.new("WedgePart", m)
  1106. game:GetService("Debris"):AddItem(w1, 5)
  1107. w1.Material = "SmoothPlastic"
  1108. w1.FormFactor = "Custom"
  1109. w1.BrickColor = BrickColor.new(TrailColor)
  1110. w1.Transparency = 0
  1111. w1.Reflectance = 0
  1112. w1.Material = "SmoothPlastic"
  1113. w1.CanCollide = false
  1114. NoOutline(w1)
  1115. local sz = Vector3.new(0.2, width, len1)
  1116. w1.Size = sz
  1117. local sp = Instance.new("SpecialMesh", w1)
  1118. sp.MeshType = "Wedge"
  1119. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1120. w1:BreakJoints()
  1121. w1.Anchored = true
  1122. w1.Parent = workspace
  1123. w1.Transparency = 0.7
  1124. table.insert(Effects, {w1, "Disappear", 0.01})
  1125. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1126. table.insert(list, w1)
  1127. end
  1128. do
  1129. if len2 > 0.01 then
  1130. local w2 = Instance.new("WedgePart", m)
  1131. game:GetService("Debris"):AddItem(w2, 5)
  1132. w2.Material = "SmoothPlastic"
  1133. w2.FormFactor = "Custom"
  1134. w2.BrickColor = BrickColor.new(TrailColor)
  1135. w2.Transparency = 0
  1136. w2.Reflectance = 0
  1137. w2.Material = "SmoothPlastic"
  1138. w2.CanCollide = false
  1139. NoOutline(w2)
  1140. local sz = Vector3.new(0.2, width, len2)
  1141. w2.Size = sz
  1142. local sp = Instance.new("SpecialMesh", w2)
  1143. sp.MeshType = "Wedge"
  1144. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1145. w2:BreakJoints()
  1146. w2.Anchored = true
  1147. w2.Parent = workspace
  1148. w2.Transparency = 0.7
  1149. table.insert(Effects, {w2, "Disappear", 0.01})
  1150. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1151. table.insert(list, w2)
  1152. end
  1153. do
  1154. return unpack(list)
  1155. end
  1156. end
  1157. end
  1158. so = function(id, par, vol, pit)
  1159. coroutine.resume(coroutine.create(function()
  1160. local sou = Instance.new("Sound", par or workspace)
  1161. sou.Volume = vol
  1162. sou.Pitch = pit or 1
  1163. sou.SoundId = id
  1164. fat.Event:wait()
  1165. sou:play()
  1166. game:GetService("Debris"):AddItem(sou, 6)
  1167. end))
  1168. end
  1169. function clerp(a,b,t)
  1170. local qa = {QuaternionFromCFrame(a)}
  1171. local qb = {QuaternionFromCFrame(b)}
  1172. local ax, ay, az = a.x, a.y, a.z
  1173. local bx, by, bz = b.x, b.y, b.z
  1174. local _t = 1-t
  1175. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1176. end
  1177.  
  1178. function QuaternionFromCFrame(cf)
  1179. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1180. local trace = m00 + m11 + m22
  1181. if trace > 0 then
  1182. local s = math.sqrt(1 + trace)
  1183. local recip = 0.5/s
  1184. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1185. else
  1186. local i = 0
  1187. if m11 > m00 then
  1188. i = 1
  1189. end
  1190. if m22 > (i == 0 and m00 or m11) then
  1191. i = 2
  1192. end
  1193. if i == 0 then
  1194. local s = math.sqrt(m00-m11-m22+1)
  1195. local recip = 0.5/s
  1196. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1197. elseif i == 1 then
  1198. local s = math.sqrt(m11-m22-m00+1)
  1199. local recip = 0.5/s
  1200. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1201. elseif i == 2 then
  1202. local s = math.sqrt(m22-m00-m11+1)
  1203. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1204. end
  1205. end
  1206. end
  1207.  
  1208. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1209. local xs, ys, zs = x + x, y + y, z + z
  1210. local wx, wy, wz = w*xs, w*ys, w*zs
  1211. local xx = x*xs
  1212. local xy = x*ys
  1213. local xz = x*zs
  1214. local yy = y*ys
  1215. local yz = y*zs
  1216. local zz = z*zs
  1217. 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))
  1218. end
  1219.  
  1220. function QuaternionSlerp(a, b, t)
  1221. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1222. local startInterp, finishInterp;
  1223. if cosTheta >= 0.0001 then
  1224. if (1 - cosTheta) > 0.0001 then
  1225. local theta = math.acos(cosTheta)
  1226. local invSinTheta = 1/math.sin(theta)
  1227. startInterp = math.sin((1-t)*theta)*invSinTheta
  1228. finishInterp = math.sin(t*theta)*invSinTheta
  1229. else
  1230. startInterp = 1-t
  1231. finishInterp = t
  1232. end
  1233. else
  1234. if (1+cosTheta) > 0.0001 then
  1235. local theta = math.acos(-cosTheta)
  1236. local invSinTheta = 1/math.sin(theta)
  1237. startInterp = math.sin((t-1)*theta)*invSinTheta
  1238. finishInterp = math.sin(t*theta)*invSinTheta
  1239. else
  1240. startInterp = t-1
  1241. finishInterp = t
  1242. end
  1243. end
  1244. 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
  1245. end
  1246. rayCast = function(Pos, Dir, Max, Ignore)
  1247. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1248. end
  1249. makegui = function(cframe, text)
  1250. local a = math.random(-10, 10) / 100
  1251. local c = Instance.new("Part")
  1252. c.Transparency = 1
  1253. Instance.new("BodyGyro").Parent = c
  1254. c.Parent = m
  1255. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  1256. local f = Instance.new("BodyPosition")
  1257. f.P = 2000
  1258. f.D = 100
  1259. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1260. f.position = c.Position + Vector3.new(0, 3, 0)
  1261. f.Parent = c
  1262. game:GetService("Debris"):AddItem(c, 6.5)
  1263. c.CanCollide = false
  1264. m.Parent = workspace
  1265. c.CanCollide = false
  1266. local bg = Instance.new("BillboardGui", m)
  1267. game:GetService("Debris"):AddItem(bg, 6.5)
  1268. bg.Adornee = c
  1269. bg.Size = UDim2.new(1, 0, 1, 0)
  1270. bg.StudsOffset = Vector3.new(0, 0, 0)
  1271. bg.AlwaysOnTop = false
  1272. local tl = Instance.new("TextLabel", bg)
  1273. tl.BackgroundTransparency = 1
  1274. tl.Size = UDim2.new(1, 0, 1, 0)
  1275. tl.Text = text
  1276. tl.Font = "SourceSansBold"
  1277. tl.FontSize = "Size42"
  1278. if crit == true then
  1279. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  1280. else
  1281. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  1282. end
  1283. tl.TextStrokeTransparency = 0
  1284. tl.TextScaled = true
  1285. tl.TextWrapped = true
  1286. coroutine.wrap(function()
  1287. wait(2)
  1288. for i = 1, 10 do
  1289. fat.Event:wait()
  1290. tl.TextTransparency = tl.TextTransparency + 0.1
  1291. end
  1292. end)()
  1293. end
  1294. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  1295. if hit.Parent == nil then
  1296. return
  1297. end
  1298. h = hit.Parent:FindFirstChild("Humanoid")
  1299. for _,v in pairs(hit.Parent:children()) do
  1300. if v:IsA("Humanoid") then
  1301. h = v
  1302. end
  1303. end
  1304. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  1305. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1306. end
  1307. if hit.Parent.className == "Hat" then
  1308. hit = hit.Parent.Parent:findFirstChild("Head")
  1309. end
  1310. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1311. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1312. return
  1313. end
  1314. blocked = false
  1315. block = hit.Parent:findFirstChild("Block")
  1316. if block ~= nil then
  1317. print(block.className)
  1318. if block.className == "NumberValue" and block.Value > 0 then
  1319. blocked = true
  1320. if decreaseblock == nil then
  1321. block.Value = block.Value - 1
  1322. end
  1323. end
  1324. if block.className == "IntValue" and block.Value > 0 then
  1325. blocked = true
  1326. if decreaseblock ~= nil then
  1327. block.Value = block.Value - 1
  1328. end
  1329. end
  1330. end
  1331. local D = math.random(minim, maxim) * damagea.Value
  1332. --TagService:NewTag(h.Parent, Player, "Trigity", D)
  1333. if blocked == false then
  1334. if h.Parent:FindFirstChild("Stats") then
  1335. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1336. else
  1337. end
  1338. if not h.Parent:FindFirstChild("Stats") then
  1339. hit.Parent.Humanoid:TakeDamage(D)
  1340. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1341. if h.Parent:FindFirstChild("Stats") then
  1342. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1343. else
  1344. end
  1345. if not h.Parent:FindFirstChild("Stats") then
  1346. hit.Parent.Humanoid:TakeDamage(D / 2)
  1347. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1348. if Type == "Knockdown" then
  1349. humanoid = hit.Parent.Humanoid
  1350. humanoid.PlatformStand = true
  1351. coroutine.resume(coroutine.create(function(Humanoid)
  1352. fat.Event:wait()
  1353. Humanoid.PlatformStand = false
  1354. end), humanoid)
  1355. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1356. local bodvol = Instance.new("BodyVelocity")
  1357. bodvol.velocity = angle * knockback
  1358. bodvol.P = 5000
  1359. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1360. bodvol.Parent = hit
  1361. rl = Instance.new("BodyAngularVelocity")
  1362. rl.P = 3000
  1363. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1364. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1365. rl.Parent = hit
  1366. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1367. game:GetService("Debris"):AddItem(rl, 0.5)
  1368. else
  1369. do
  1370. if Type == "Normal" then
  1371. so("http://www.roblox.com/asset/?id=169462037", hit, 1, math.random(150, 200) / 100)
  1372. vp = Instance.new("BodyVelocity")
  1373. vp.P = 500
  1374. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1375. if KnockbackType == 1 then
  1376. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1377. else
  1378. if KnockbackType == 2 then
  1379. vp.velocity = Property.CFrame.lookVector * knockback
  1380. end
  1381. end
  1382. if knockback > 0 then
  1383. vp.Parent = hit.Parent.Torso
  1384. end
  1385. game:GetService("Debris"):AddItem(vp, 0.5)
  1386. else
  1387. if Type == "Up" then
  1388. local bodyVelocity = Instance.new("BodyVelocity")
  1389. bodyVelocity.velocity = vt(0, 60, 0)
  1390. bodyVelocity.P = 5000
  1391. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  1392. bodyVelocity.Parent = hit
  1393. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1394. rl = Instance.new("BodyAngularVelocity")
  1395. rl.P = 3000
  1396. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1397. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1398. rl.Parent = hit
  1399. game:GetService("Debris"):AddItem(rl, 0.5)
  1400. else
  1401. do
  1402. if Type == "Snare" then
  1403. bp = Instance.new("BodyPosition")
  1404. bp.P = 2000
  1405. bp.D = 100
  1406. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1407. bp.position = hit.Parent.Torso.Position
  1408. bp.Parent = hit.Parent.Torso
  1409. game:GetService("Debris"):AddItem(bp, 1)
  1410. else
  1411. if Type == "Target" then
  1412. so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  1413. vp = Instance.new("BodyVelocity")
  1414. vp.P = 500
  1415. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1416. if KnockbackType == 1 then
  1417. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1418. else
  1419. if KnockbackType == 2 then
  1420. vp.velocity = Property.CFrame.lookVector * knockback
  1421. end
  1422. end
  1423. if knockback > 0 then
  1424. vp.Parent = hit.Parent.Torso
  1425. end
  1426. game:GetService("Debris"):AddItem(vp, 0.5)
  1427. end
  1428. end
  1429. debounce = Instance.new("BoolValue")
  1430. debounce.Name = "DebounceHit"
  1431. debounce.Parent = hit.Parent
  1432. debounce.Value = true
  1433. game:GetService("Debris"):AddItem(debounce, Delay)
  1434. c = Instance.new("ObjectValue")
  1435. c.Name = "creator"
  1436. c.Value = Player
  1437. c.Parent = h
  1438. game:GetService("Debris"):AddItem(c, 0.5)
  1439. CRIT = false
  1440. hitDeb = true
  1441. AttackPos = 6
  1442. end
  1443. end
  1444. end
  1445. end
  1446. end
  1447. end
  1448. end
  1449. end
  1450. end
  1451. end
  1452. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1453. for _,c in pairs(workspace:children()) do
  1454. local hum = c:findFirstChild("Humanoid")
  1455. if hum ~= nil then
  1456. local head = c:findFirstChild("Torso")
  1457. if head ~= nil then
  1458. local targ = head.Position - Part.Position
  1459. local mag = targ.magnitude
  1460. if mag <= magni and c.Name ~= Player.Name then
  1461. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1)
  1462. end
  1463. end
  1464. end
  1465. end
  1466. end
  1467. Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1468. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1469. prt.Anchored = true
  1470. prt.CFrame = cframe
  1471. prt.Material = "Neon"
  1472. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1473. game:GetService("Debris"):AddItem(prt, 4)
  1474. coroutine.resume(coroutine.create(function(Part, Mesh)
  1475. for i = 0, 1, delay do
  1476. fat.Event:wait()
  1477. Part.CFrame = Part.CFrame
  1478. Part.Transparency = i
  1479. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1480. end
  1481. Part.Parent = nil
  1482. end), prt, msh)
  1483. end
  1484. Shockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1485. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1486. prt.Anchored = true
  1487. prt.CFrame = cframe
  1488. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1489. game:GetService("Debris"):AddItem(prt, 4)
  1490. coroutine.resume(coroutine.create(function(Part, Mesh)
  1491. for i = 0, 1, delay do
  1492. fat.Event:wait()
  1493. Part.CFrame = Part.CFrame
  1494. Part.Transparency = i
  1495. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1496. end
  1497. Part.Parent = nil
  1498. end), prt, msh)
  1499. end
  1500. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1501. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1502. prt.Anchored = true
  1503. prt.CFrame = cframe
  1504. prt.Material = "Neon"
  1505. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1506. game:GetService("Debris"):AddItem(prt, 4)
  1507. coroutine.resume(coroutine.create(function(Part, Mesh)
  1508. for i = 0, 1, delay do
  1509. fat.Event:wait()
  1510. Part.CFrame = Part.CFrame
  1511. Part.Transparency = i
  1512. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1513. end
  1514. Part.Parent = nil
  1515. end), prt, msh)
  1516. end
  1517. MMouse = mouse
  1518. LaserTarget = RootPart
  1519. gunidle = false
  1520. torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1521. velocity = RootPart.Velocity.y
  1522. sine = sine + change
  1523. hit = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1524. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1525. local velderp = RootPart.Velocity.y
  1526. canwalk = true
  1527. canidle = true
  1528. local rain = Color3.new()
  1529. sincolor = function(sine)
  1530. sine = math.deg(sine)
  1531. local radcolor = function(col)
  1532. return math.rad(col / 255 * 360)
  1533. end
  1534. local r = math.abs(math.sin(radcolor(sine + 0)))
  1535. local g = math.abs(math.sin(radcolor(sine + 85)))
  1536. local b = math.abs(math.sin(radcolor(sine + 170)))
  1537. return Color3.new(r, g, b)
  1538. end
  1539. rainhats = {}
  1540. prepareCharacter = function()
  1541. for _,v in pairs(Character:children()) do
  1542. if v:isA("Shirt") or v:isA("Pants") then
  1543. v:Destroy()
  1544. else
  1545. if v:isA("Part") then
  1546. v.BrickColor = BrickColor.new("White")
  1547. if v.Name == "Head" and v:FindFirstChild("face") then
  1548. v.face:Destroy()
  1549. end
  1550. else
  1551. if v.Name == "BodyColors" then
  1552. v:Destroy()
  1553. else
  1554. if v:isA("Hat") then
  1555. table.insert(rainhats, #rainhats + 1, v.Handle.Mesh)
  1556. v.Handle.Mesh.TextureId = "rbxassetid://37912058"
  1557. end
  1558. end
  1559. end
  1560. end
  1561. end
  1562. end
  1563. prepareCharacter()
  1564. spawn(function()
  1565. while wait(7) do
  1566. for _,v in pairs(Character:children()) do
  1567. if v:isA("Part") then
  1568. v.BrickColor = BrickColor.new("White")
  1569. end
  1570. end
  1571. end
  1572. end)
  1573. updatecolor = function()
  1574. for _,x in pairs(rainParts) do
  1575. x.BrickColor = BrickColor.new(rain)
  1576. end
  1577. particleemitter.Color = ColorSequence.new(rain, rain)
  1578. particleemitter2.Color = ColorSequence.new(rain, rain)
  1579. coreaura.Color = rain
  1580. gunfirelight.Color = rain
  1581. gunfireeffect.Color = ColorSequence.new(rain, rain)
  1582. for _,x in pairs(rainhats) do
  1583. x.VertexColor = Vector3.new(rain.r, rain.g, rain.b)
  1584. end
  1585. TorsoColor = BrickColor.new(rain)
  1586. end
  1587. GunStance = function()
  1588. attack = true
  1589. gun = true
  1590. canwalk = false
  1591. canidle = false
  1592. aiming = true
  1593. Humanoid.WalkSpeed = 0 * speed.Value
  1594. for i = 0, 1, 0.08 do
  1595. fat.Event:wait()
  1596. Humanoid.WalkSpeed = 0 * speed.Value
  1597. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1598. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1599. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1600. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1601. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1602. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1603. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1604. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1605. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1606. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1607. end
  1608. gunidle = true
  1609. Humanoid.WalkSpeed = 0 * speed.Value
  1610. while gun == true do
  1611. fat.Event:wait()
  1612. Humanoid.WalkSpeed = 0 * speed.Value
  1613. canwalk = false
  1614. canidle = false
  1615. end
  1616. if shoot == true then
  1617. gunidle = false
  1618. gunfireeffect.Enabled = true
  1619. gunfirelight.Enabled = true
  1620. Bulletcount = Bulletcount - 1
  1621. local spread = vt(0, 0, 0)
  1622. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p + spread)
  1623. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  1624. local mag = (BulletHole.Position - pos).magnitude
  1625. Laser(TorsoColor, CFrame.new((BulletHole.Position + pos) / 2, pos) * angles(1.57, 0, 0), 0.1, mag * 2, 0.1, 0.2, 0, 0.2, 0.125)
  1626. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= "BillboardGui" then
  1627. local g = hit:FindFirstChild("BodyPosition")
  1628. if g == nil then
  1629. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1630. ref.Anchored = true
  1631. ref.CFrame = cf(pos)
  1632. game:GetService("Debris"):AddItem(ref, 0.01)
  1633. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.1)
  1634. if not hit.Parent:FindFirstChild("Torso") then
  1635. local h = hit.Parent.Parent:FindFirstChild("Torso")
  1636. end
  1637. if h then
  1638. Damagefunc(h, 9, 12, 0, "Target", RootPart, 0)
  1639. end
  1640. end
  1641. end
  1642. do
  1643. so("http://www.roblox.com/asset/?id=138084889", GunHandle, 1, 0.9)
  1644. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  1645. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1646. for i = 0, 1, 0.14 do
  1647. fat.Event:wait()
  1648. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  1649. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1650. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1651. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1652. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(13.5), math.rad(0), math.rad(0)), 0.3)
  1653. LH.C0 = clerp(LH.C0, cf(-1, -0.5, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-17.5), math.rad(0), math.rad(0)), 0.3)
  1654. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1655. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1656. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1657. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1658. end
  1659. gunfireeffect.Enabled = false
  1660. gunfirelight.Enabled = false
  1661. for i = 0, 1, 0.1 do
  1662. fat.Event:wait()
  1663. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1664. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1665. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1666. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1667. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1668. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1669. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1670. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1671. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1672. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1673. end
  1674. for i = 0, 1, 0.1 do
  1675. fat.Event:wait()
  1676. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1677. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1678. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1679. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1680. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1681. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1682. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1683. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1684. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1685. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1686. end
  1687. for i = 1, 1 do
  1688. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1689. bulletpart.Anchored = false
  1690. bulletpart.Material = Enum.Material.SmoothPlastic
  1691. bulletpart.CanCollide = true
  1692. bulletpart.Friction = 1
  1693. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1694. bulletpart.CFrame = cf(GunHandle.Position) * cf(math.random(-10, 10) / 100, 1, math.random(-10, 10) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1695. bulletmesh = Instance.new("FileMesh", bulletpart)
  1696. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1697. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1698. game:GetService("Debris"):AddItem(bulletpart, 5)
  1699. end
  1700. for i = 0, 1, 0.13 do
  1701. fat.Event:wait()
  1702. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1703. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1704. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1705. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  1706. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1707. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1708. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1709. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1710. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1711. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1712. end
  1713. for i = 0, 1, 0.13 do
  1714. fat.Event:wait()
  1715. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1716. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1717. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1718. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1719. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1720. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1721. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1722. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1723. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1724. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1725. end
  1726. Humanoid.WalkSpeed = 16 * speed.Value
  1727. gun = false
  1728. gunidle = false
  1729. shoot = false
  1730. canwalk = true
  1731. canidle = true
  1732. attack = false
  1733. aiming = false
  1734. end
  1735. end
  1736. end
  1737. Reload = function()
  1738. attack = true
  1739. so("http://www.roblox.com/asset/?id=266022905", GunHandle, 1, 0.9)
  1740. for i = 0, 1, 0.08 do
  1741. fat.Event:wait()
  1742. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1743. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1744. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1745. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1746. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1747. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1748. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1749. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1750. end
  1751. for i = 1, Bulletcount do
  1752. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1753. bulletpart.Anchored = false
  1754. bulletpart.Material = Enum.Material.SmoothPlastic
  1755. bulletpart.CanCollide = true
  1756. bulletpart.Friction = 1
  1757. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1758. bulletpart.CFrame = cf(GunHandle.Position) * cf(math.random(-10, 10) / 100, 1, math.random(-10, 10) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1759. bulletmesh = Instance.new("FileMesh", bulletpart)
  1760. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1761. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1762. game:GetService("Debris"):AddItem(bulletpart, 5)
  1763. end
  1764. for i = 0, 1, 0.08 do
  1765. fat.Event:wait()
  1766. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1767. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1768. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1769. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1770. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1771. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1772. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1773. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1774. end
  1775. for i = 0, 1, 0.09 do
  1776. fat.Event:wait()
  1777. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1778. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1779. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  1780. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1781. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1782. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1783. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1784. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1785. end
  1786. for i = 0, 1, 0.09 do
  1787. fat.Event:wait()
  1788. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1789. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1790. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-15)), 0.15)
  1791. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.25, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1792. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1793. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1794. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1795. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1796. end
  1797. for i = 0, 1, 0.08 do
  1798. fat.Event:wait()
  1799. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1800. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1801. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1802. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1803. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1804. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1805. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1806. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1807. end
  1808. for i = 0, 1, 0.14 do
  1809. fat.Event:wait()
  1810. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1811. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1812. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-30)), 0.3)
  1813. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.25, 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.3)
  1814. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1815. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1816. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1817. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1818. end
  1819. for i = 0, 1, 0.1 do
  1820. fat.Event:wait()
  1821. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1822. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1823. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.4)
  1824. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.4)
  1825. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1826. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1827. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1828. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1829. end
  1830. Bulletcount = 6
  1831. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1832. shoot = false
  1833. gun = false
  1834. attack = false
  1835. end
  1836. ShootCombo = function()
  1837. gunidle = false
  1838. canwalk = false
  1839. canidle = false
  1840. if shoot == false then
  1841. shoot = true
  1842. canwalk = false
  1843. canidle = false
  1844. for i = 1, 3 do
  1845. local spread = vt(0, 0, 0)
  1846. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p + spread)
  1847. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  1848. local mag = (BulletHole.Position - pos).magnitude
  1849. Laser(TorsoColor, CFrame.new((BulletHole.Position + pos) / 2, pos) * angles(1.57, 0, 0), 0.1, mag * 2, 0.1, 0.2, 0, 0.2, 0.125)
  1850. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= "BillboardGui" then
  1851. local g = hit:FindFirstChild("BodyPosition")
  1852. if g == nil then
  1853. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1854. ref.Anchored = true
  1855. ref.CFrame = cf(pos)
  1856. game:GetService("Debris"):AddItem(ref, 0.01)
  1857. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.11)
  1858. if not hit.Parent:FindFirstChild("Torso") then
  1859. local h = hit.Parent.Parent:FindFirstChild("Torso")
  1860. end
  1861. if h then
  1862. Damagefunc(h, 9, 11, 0, "Target", RootPart, 0)
  1863. end
  1864. end
  1865. end
  1866. do
  1867. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  1868. gunfireeffect.Enabled = true
  1869. gunfirelight.Enabled = true
  1870. Bulletcount = Bulletcount - 1
  1871. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1872. for i = 0, 1, 0.24 do
  1873. fat.Event:wait()
  1874. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  1875. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1876. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1877. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1878. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(13.5), math.rad(0), math.rad(0)), 0.3)
  1879. LH.C0 = clerp(LH.C0, cf(-1, -0.5, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-17.5), math.rad(0), math.rad(0)), 0.3)
  1880. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1881. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1882. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1883. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1884. end
  1885. gunfireeffect.Enabled = false
  1886. gunfirelight.Enabled = false
  1887. for i = 0, 1, 0.22 do
  1888. fat.Event:wait()
  1889. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1890. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1891. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1892. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1893. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1894. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1895. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1896. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1897. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1898. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1899. end
  1900. -- DECOMPILER ERROR at PC810: LeaveBlock: unexpected jumping out DO_STMT
  1901.  
  1902. end
  1903. end
  1904. so("http://www.roblox.com/asset/?id=138084889", BulletHole, 1, 0.8)
  1905. for i = 0, 1, 0.1 do
  1906. fat.Event:wait()
  1907. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1908. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1909. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1910. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1911. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1912. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1913. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1914. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1915. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1916. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1917. end
  1918. for i = 0, 1, 0.06 do
  1919. fat.Event:wait()
  1920. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1921. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1922. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1923. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1924. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1925. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1926. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1927. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1928. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1929. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1930. end
  1931. for i = 1, 3 do
  1932. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1933. bulletpart.Anchored = false
  1934. bulletpart.Material = Enum.Material.SmoothPlastic
  1935. bulletpart.CanCollide = true
  1936. bulletpart.Friction = 1
  1937. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1938. bulletpart.CFrame = cf(GunHandle.Position) * cf(math.random(-10, 10) / 100, 1, math.random(-10, 10) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1939. bulletmesh = Instance.new("FileMesh", bulletpart)
  1940. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1941. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1942. game:GetService("Debris"):AddItem(bulletpart, 5)
  1943. end
  1944. for i = 0, 1, 0.1 do
  1945. fat.Event:wait()
  1946. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1947. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1948. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1949. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  1950. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1951. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1952. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1953. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1954. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1955. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1956. end
  1957. for i = 0, 1, 0.1 do
  1958. fat.Event:wait()
  1959. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1960. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1961. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1962. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1963. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1964. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  1965. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1966. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1967. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1968. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1969. end
  1970. end
  1971. do
  1972. Humanoid.WalkSpeed = 16 * speed.Value
  1973. shoot = false
  1974. gunidle = false
  1975. gun = false
  1976. canwalk = true
  1977. canidle = true
  1978. attack = false
  1979. end
  1980. end
  1981. Sprint = function()
  1982. local spde = 50
  1983. canwalk = false
  1984. canidle = false
  1985. attack = true
  1986. Humanoid.WalkSpeed = 4 * speed.Value
  1987. local body = Instance.new("BodyVelocity", Torso)
  1988. body.MaxForce = Vector3.new(10000, 0, 10000)
  1989. body.P = 0.01
  1990. for i = 1, 3 do
  1991. for i = 0, 1, 0.2 do
  1992. fat.Event:wait()
  1993. Humanoid.WalkSpeed = 4 * speed.Value
  1994. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  1995. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0.2) * angles(math.rad(20), math.rad(0) + RootPart.RotVelocity.Y / 20, math.rad(15)), 0.3)
  1996. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(-15) + Head.RotVelocity.Y / 15), 0.3)
  1997. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  1998. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  1999. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2000. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-60), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2001. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2002. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2003. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2004. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2005. end
  2006. for i = 0, 1, 0.6 do
  2007. fat.Event:wait()
  2008. Humanoid.WalkSpeed = 4 * speed.Value
  2009. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2010. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(20), math.rad(0) + RootPart.RotVelocity.Y / 20, math.rad(0)), 0.3)
  2011. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0) + Head.RotVelocity.Y / 15), 0.3)
  2012. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2013. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2014. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2015. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2016. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2017. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2018. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2019. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2020. end
  2021. for i = 0, 1, 0.2 do
  2022. fat.Event:wait()
  2023. Humanoid.WalkSpeed = 4 * speed.Value
  2024. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2025. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0.2) * angles(math.rad(20), math.rad(0) + RootPart.RotVelocity.Y / 20, math.rad(-15)), 0.3)
  2026. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(15) + Head.RotVelocity.Y / 15), 0.3)
  2027. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2028. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2029. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2030. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(60), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2031. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2032. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2033. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2034. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2035. end
  2036. for i = 0, 1, 0.6 do
  2037. fat.Event:wait()
  2038. Humanoid.WalkSpeed = 4 * speed.Value
  2039. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2040. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1) * angles(math.rad(20), math.rad(0) + RootPart.RotVelocity.Y / 20, math.rad(0)), 0.3)
  2041. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0) + Head.RotVelocity.Y / 15), 0.3)
  2042. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2043. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2044. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2045. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2046. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2047. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2048. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2049. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2050. end
  2051. end
  2052. for i = 0, 1, 0.05 do
  2053. fat.Event:wait()
  2054. Humanoid.WalkSpeed = 4 * speed.Value
  2055. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * (spde - spde * i), 0, RootPart.CFrame.lookVector.z * (spde - spde * i))
  2056. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * angles(math.rad(-10), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(60)), 0.3)
  2057. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(-60) + Head.RotVelocity.Y / 30), 0.3)
  2058. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(-30), math.rad(120), math.rad(75)), 0.3)
  2059. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(120), math.rad(75)), 0.3)
  2060. RH.C0 = clerp(RH.C0, cf(0.8, -1, 0.5) * angles(math.rad(10), math.rad(30), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2061. LH.C0 = clerp(LH.C0, cf(-1, -0.9, 0) * angles(math.rad(-10), math.rad(-75), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2062. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  2063. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2064. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2065. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2066. end
  2067. for i = 0, 1, 0.2 do
  2068. fat.Event:wait()
  2069. Humanoid.WalkSpeed = 0 * speed.Value
  2070. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2071. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2072. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2073. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2074. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2075. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2076. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2077. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2078. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2079. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2080. end
  2081. body.Parent = nil
  2082. LeftLeg.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
  2083. RightLeg.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
  2084. Humanoid.WalkSpeed = 16 * speed.Value
  2085. canwalk = true
  2086. canidle = true
  2087. attack = false
  2088. end
  2089. Overdrive = function()
  2090. gunidle = false
  2091. canwalk = false
  2092. canidle = false
  2093. if shoot == false then
  2094. shoot = true
  2095. canwalk = false
  2096. canidle = false
  2097. for i = 0, 1, 0.08 do
  2098. fat.Event:wait()
  2099. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2100. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(-10), math.rad(75)), 0.3)
  2101. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2102. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2103. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2104. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2105. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2106. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-5, 0.5, -2.4) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2107. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2108. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2109. end
  2110. gunfireeffect.Enabled = true
  2111. gunfirelight.Enabled = true
  2112. particleemitter.Enabled = true
  2113. particleemitter2.Enabled = true
  2114. so("http://www.roblox.com/asset/?id=203691378", BulletHole, 1, 1.4)
  2115. so("http://www.roblox.com/asset/?id=203691346", BulletHole, 0.75, 1.4)
  2116. for i = 0, 1, 0.009 do
  2117. fat.Event:wait()
  2118. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2119. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(-10), math.rad(75)), 0.3)
  2120. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2121. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2122. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2123. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2124. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2125. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-5, 0.5, -2.4) * angles(math.rad(0 + 1800 * i), math.rad(0 + 3600 * i), math.rad(45)), 0.3)
  2126. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2127. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2128. end
  2129. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p)
  2130. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  2131. local mag = (BulletHole.Position - pos).magnitude
  2132. Laser(TorsoColor, CFrame.new((BulletHole.Position + pos) / 2, pos) * angles(1.57, 0, 0), 0.1, mag * 2, 0.1, 1, 0, 1, 0.025)
  2133. do
  2134. if hit ~= nil then
  2135. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2136. ref.Anchored = true
  2137. ref.CFrame = cf(pos)
  2138. game:GetService("Debris"):AddItem(ref, 5)
  2139. so("http://www.roblox.com/asset/?id=156572165", BulletHole, 0.75, 1)
  2140. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.75)
  2141. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.5)
  2142. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.25)
  2143. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.1)
  2144. so("http://roblox.com/asset/?id=160740121", ref, 0.75, 0.75)
  2145. so("http://roblox.com/asset/?id=168586621", ref, 1, 0.5)
  2146. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.01)
  2147. Shockwave2(TorsoColor, cf(pos), 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.01)
  2148. MagniDamage(ref, 25, 10 * Bulletcount / 2, 12 * Bulletcount, 50, "Normal")
  2149. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  2150. Torso.Velocity = RootPart.CFrame.lookVector * -100
  2151. end
  2152. so("http://www.roblox.com/asset/?id=138084889", BulletHole, 1, 0.8)
  2153. particleemitter.Enabled = false
  2154. particleemitter2.Enabled = false
  2155. Bulletcount = 0
  2156. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  2157. for i = 0, 1, 0.12 do
  2158. fat.Event:wait()
  2159. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  2160. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  2161. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2162. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  2163. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(13.5), math.rad(0), math.rad(0)), 0.3)
  2164. LH.C0 = clerp(LH.C0, cf(-1, -0.5, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-17.5), math.rad(0), math.rad(0)), 0.3)
  2165. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2166. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2167. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2168. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2169. end
  2170. gunfireeffect.Enabled = false
  2171. gunfirelight.Enabled = false
  2172. for i = 0, 1, 0.1 do
  2173. fat.Event:wait()
  2174. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2175. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2176. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2177. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2178. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2179. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2180. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2181. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2182. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2183. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2184. end
  2185. for i = 0, 1, 0.06 do
  2186. fat.Event:wait()
  2187. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2188. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2189. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2190. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2191. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2192. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2193. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2194. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2195. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2196. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2197. end
  2198. for i = 1, 6 - Bulletcount do
  2199. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  2200. bulletpart.Anchored = false
  2201. bulletpart.Material = Enum.Material.SmoothPlastic
  2202. bulletpart.CanCollide = true
  2203. bulletpart.Friction = 1
  2204. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2205. bulletpart.CFrame = cf(GunHandle.Position) * cf(math.random(-10, 10) / 100, 1, math.random(-10, 10) / 100) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2206. bulletmesh = Instance.new("FileMesh", bulletpart)
  2207. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2208. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  2209. game:GetService("Debris"):AddItem(bulletpart, 5)
  2210. end
  2211. for i = 0, 1, 0.1 do
  2212. fat.Event:wait()
  2213. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2214. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2215. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2216. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  2217. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2218. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2219. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2220. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2221. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2222. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2223. end
  2224. for i = 0, 1, 0.1 do
  2225. fat.Event:wait()
  2226. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2227. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2228. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2229. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2230. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2231. LH.C0 = clerp(LH.C0, cf(-1, -0.1, -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2232. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2233. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2234. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2235. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2236. end
  2237. do
  2238. Humanoid.WalkSpeed = 16 * speed.Value
  2239. shoot = false
  2240. gunidle = false
  2241. gun = false
  2242. canwalk = true
  2243. canidle = true
  2244. attack = false
  2245. end
  2246. end
  2247. end
  2248. end
  2249. attackone = function()
  2250. attack = true
  2251. for i = 0, 1, 0.16 do
  2252. fat.Event:wait()
  2253. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  2254. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  2255. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2256. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  2257. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2258. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2259. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2260. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2261. end
  2262. con1 = LeftArm.Touched:connect(function(hit)
  2263. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2264. end)
  2265. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 0.8)
  2266. for i = 0, 1, 0.14 do
  2267. fat.Event:wait()
  2268. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2269. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(75)), 0.4)
  2270. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2271. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2272. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2273. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2274. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2275. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2276. end
  2277. con1:disconnect()
  2278. attack = false
  2279. end
  2280. attacktwo = function()
  2281. attack = true
  2282. for i = 0, 1, 0.16 do
  2283. fat.Event:wait()
  2284. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2285. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  2286. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2287. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(75)), 0.3)
  2288. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2289. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2290. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2291. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2292. end
  2293. con1 = LeftArm.Touched:connect(function(hit)
  2294. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2295. end)
  2296. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 1)
  2297. for i = 0, 1, 0.14 do
  2298. fat.Event:wait()
  2299. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.4)
  2300. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2301. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2302. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-75)), 0.4)
  2303. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2304. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2305. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2306. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2307. end
  2308. con1:disconnect()
  2309. attack = false
  2310. end
  2311. attackthree = function()
  2312. attack = true
  2313. canwalk = false
  2314. canidle = false
  2315. Humanoid.WalkSpeed = 0 * speed.Value
  2316. for i = 0, 1, 0.16 do
  2317. fat.Event:wait()
  2318. Humanoid.WalkSpeed = 0 * speed.Value
  2319. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2320. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2321. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2322. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(20)), 0.3)
  2323. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(20), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2324. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-75), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2325. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2326. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2327. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2328. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2329. end
  2330. con1 = LeftLeg.Touched:connect(function(hit)
  2331. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2332. end)
  2333. Torso.Velocity = RootPart.CFrame.lookVector * 50
  2334. so("http://roblox.com/asset/?id=169445092", LeftLeg, 1, 1.2)
  2335. Humanoid.WalkSpeed = 0 * speed.Value
  2336. for i = 0, 1, 0.14 do
  2337. fat.Event:wait()
  2338. Humanoid.WalkSpeed = 0 * speed.Value
  2339. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2340. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2341. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2342. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20)), 0.4)
  2343. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  2344. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(75), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.4)
  2345. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2346. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2347. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2348. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2349. end
  2350. Humanoid.WalkSpeed = 16 * speed.Value
  2351. con1:disconnect()
  2352. canwalk = true
  2353. canidle = true
  2354. attack = false
  2355. end
  2356. attackfour = function()
  2357. attack = true
  2358. for i = 0, 1, 0.16 do
  2359. fat.Event:wait()
  2360. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-120)), 0.3)
  2361. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  2362. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2363. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  2364. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2365. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2366. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2367. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2368. end
  2369. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 0.6)
  2370. for i = 0, 1, 0.14 do
  2371. fat.Event:wait()
  2372. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2373. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  2374. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2375. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.3)
  2376. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2377. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2378. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.15)
  2379. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.15)
  2380. end
  2381. so("http://roblox.com/asset/?id=233091183", CoreHandle, 1, 1.5)
  2382. Shockwave(TorsoColor, cf(CoreHandle.Position), 1, 1, 1, 1, 1, 1, 0.05)
  2383. MagniDamage(CoreHandle, 8, 5, 7, 10, "Normal")
  2384. for i = 0, 1, 0.14 do
  2385. fat.Event:wait()
  2386. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2387. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  2388. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2389. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.3)
  2390. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2391. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2392. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(360)), 0.15)
  2393. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-360)), 0.15)
  2394. end
  2395. attack = false
  2396. end
  2397. mouse.Button1Down:connect(function()
  2398. if gun == true and Bulletcount ~= 0 and shoot == false then
  2399. shoot = true
  2400. gun = false
  2401. end
  2402. if attack == false and gun == false then
  2403. if attacktype == 1 then
  2404. attacktype = 2
  2405. attackone()
  2406. else
  2407. if attacktype == 2 then
  2408. attacktype = 3
  2409. attacktwo()
  2410. else
  2411. if attacktype == 3 then
  2412. attacktype = 4
  2413. attackthree()
  2414. else
  2415. if attacktype == 4 then
  2416. attacktype = 1
  2417. attackfour()
  2418. end
  2419. end
  2420. end
  2421. end
  2422. end
  2423. coroutine.resume(coroutine.create(function()
  2424. for i = 1, 50 do
  2425. if attack == false then
  2426. fat.Event:wait()
  2427. end
  2428. end
  2429. if attack == false then
  2430. attacktype = 1
  2431. end
  2432. end))
  2433. end)
  2434. mouse.KeyDown:connect(function(k)
  2435. k = k:lower()
  2436. if k == "e" and gun == false and shoot == false and attack == false then
  2437. GunStance()
  2438. end
  2439. if k == "e" and shoot == false and gun == true then
  2440. for i = 1, 3 do
  2441. fat.Event:wait()
  2442. Humanoid.WalkSpeed = 16 * speed.Value
  2443. shoot = false
  2444. gunidle = false
  2445. gun = false
  2446. canwalk = true
  2447. canidle = true
  2448. attack = false
  2449. end
  2450. end
  2451. if k == "z" and gun == false and shoot == false and attack == false and co1 <= cooldown1 and skill1stam <= stamina then
  2452. cooldown1 = 0
  2453. subtractstamina(skill1stam)
  2454. Reload()
  2455. end
  2456. if k == "x" and gun == true and shoot == false and Bulletcount >= 3 and co2 <= cooldown2 and skill2stam <= stamina then
  2457. cooldown2 = 0
  2458. subtractstamina(skill2stam)
  2459. ShootCombo()
  2460. end
  2461. if k == "c" and gun == false and shoot == false and attack == false and co3 <= cooldown3 and skill3stam <= stamina then
  2462. cooldown3 = 0
  2463. subtractstamina(skill3stam)
  2464. Sprint()
  2465. end
  2466. if k == "v" and gun == true and shoot == false and Bulletcount ~= 0 and co4 <= cooldown4 and skill4stam <= stamina then
  2467. cooldown4 = 0
  2468. subtractstamina(skill4stam)
  2469. Overdrive()
  2470. end
  2471. end)
  2472. updateskills = function()
  2473. if cooldown1 <= co1 then
  2474. cooldown1 = cooldown1 + 0.033333333333333
  2475. end
  2476. if cooldown2 <= co2 then
  2477. cooldown2 = cooldown2 + 0.033333333333333
  2478. end
  2479. if cooldown3 <= co3 then
  2480. cooldown3 = cooldown3 + 0.033333333333333
  2481. end
  2482. if cooldown4 <= co4 then
  2483. cooldown4 = cooldown4 + 0.033333333333333
  2484. end
  2485. if stamina <= skill1stam then
  2486. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2487. else
  2488. bar4.BackgroundColor3 = skillcolorscheme
  2489. end
  2490. if stamina <= skill2stam then
  2491. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2492. else
  2493. bar3.BackgroundColor3 = skillcolorscheme
  2494. end
  2495. if stamina <= skill3stam then
  2496. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2497. else
  2498. bar1.BackgroundColor3 = skillcolorscheme
  2499. end
  2500. if stamina <= skill4stam then
  2501. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2502. else
  2503. bar2.BackgroundColor3 = skillcolorscheme
  2504. end
  2505. if stamina <= maxstamina then
  2506. stamina = stamina + recovermana / 30
  2507. end
  2508. end
  2509. Character.Humanoid.Died:connect(function()
  2510. for i,v in pairs(Character:GetChildren()) do
  2511. if v:IsA("Model") then
  2512. v:Destroy()
  2513. end
  2514. end
  2515. end)
  2516. game:GetService("RunService").Heartbeat:connect(function()
  2517. rain = sincolor(tick() * 3)
  2518. updatecolor()
  2519. updateskills()
  2520. if aiming == true then
  2521. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  2522. local direction = aim.lookVector
  2523. local headingA = math.atan2(direction.x, direction.z)
  2524. headingA = math.deg(headingA)
  2525. Humanoid.AutoRotate = false
  2526. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 177), math.rad(0))
  2527. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  2528. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), "Out", "Quad", 0.5)
  2529. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2530. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2531. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2532. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2533. else
  2534. do
  2535. Humanoid.AutoRotate = true
  2536. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  2537. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), "Out", "Quad", 0.5)
  2538. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2539. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2540. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2541. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2542. end
  2543. end
  2544. end)
  2545. local sine = 0
  2546. local change = 1
  2547. local val = 0
  2548. fat.Event:connect(function()
  2549. sine = sine + change
  2550. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2551. local velderp = RootPart.Velocity.y
  2552. hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2553. if equipped == true or equipped == false then
  2554. if attack == false then
  2555. idle = idle + 1
  2556. else
  2557. idle = 0
  2558. end
  2559. if ((idle >= 500 and attack ~= false) or RootPart.Velocity.y > 1) and hitfloor == nil then
  2560. Anim = "Jump"
  2561. if attack == false then
  2562. fat.Event:wait()
  2563. Humanoid.WalkSpeed = 16 * speed.Value
  2564. change = 2
  2565. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2566. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2567. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(30)), 0.15)
  2568. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.15)
  2569. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-20), math.rad(90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2570. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-20), math.rad(-90), math.rad(0)) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.15)
  2571. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2572. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5 * math.cos(sine / 45), 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2573. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 180 * math.cos(sine / 30)), math.rad(0 + 180 * math.cos(sine / 60))), 0.15)
  2574. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 - 180 * math.cos(sine / 45)), math.rad(0 - 180 * math.cos(sine / 75))), 0.15)
  2575. end
  2576. elseif RootPart.Velocity.y < -1 and hitfloor == nil then
  2577. Anim = "Fall"
  2578. if attack == false then
  2579. fat.Event:wait()
  2580. Humanoid.WalkSpeed = 16 * speed.Value
  2581. change = 2
  2582. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2583. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2584. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(60)), 0.15)
  2585. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-75)), 0.15)
  2586. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(10), math.rad(90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.15)
  2587. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(-10), math.rad(-90), math.rad(0)) * angles(math.rad(-5), math.rad(0), math.rad(0)), 0.15)
  2588. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2589. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5 * math.cos(sine / 45), 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2590. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 180 * math.cos(sine / 30)), math.rad(0 + 180 * math.cos(sine / 60))), 0.15)
  2591. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 - 180 * math.cos(sine / 45)), math.rad(0 - 180 * math.cos(sine / 75))), 0.15)
  2592. end
  2593. elseif torvel < 1 and hitfloor ~= nil then
  2594. Anim = "Idle"
  2595. if attack == false and gunidle == false then
  2596. fat.Event:wait()
  2597. Humanoid.WalkSpeed = 16 * speed.Value
  2598. change = 2
  2599. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 15)) * angles(math.rad(0), math.rad(0), math.rad(-45)), 0.3)
  2600. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5 + 2.5 * math.cos(sine / 15)) + -math.sin(sine / 15) / 10, math.rad(0), math.rad(45)), 0.3)
  2601. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.025 * math.cos(sine / 15) + -math.sin(sine / 15) / 10, 0) * angles(math.rad(60 + 5 * math.cos(sine / 15)), math.rad(0), math.rad(15)), 0.3)
  2602. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5 + 0.025 * math.cos(sine / 15) + -math.sin(sine / 15) / 10, 0) * angles(math.rad(10), math.rad(0), math.rad(-15 - 5 * math.cos(sine / 15))), 0.3)
  2603. RH.C0 = clerp(RH.C0, cf(1.1, -0.9 - 0.1 * math.cos(sine / 15), 0.1) * angles(math.rad(0), math.rad(75), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2604. LH.C0 = clerp(LH.C0, cf(-1.1, -0.9 - 0.1 * math.cos(sine / 15), 0.1) * angles(math.rad(0), math.rad(-60), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2605. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2606. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5 * math.cos(sine / 45), 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2607. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 180 * math.cos(sine / 30)), math.rad(0 + 180 * math.cos(sine / 60))), 0.15)
  2608. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 - 180 * math.cos(sine / 45)), math.rad(0 - 180 * math.cos(sine / 75))), 0.15)
  2609. elseif attack == true and gunidle == true then
  2610. fat.Event:wait()
  2611. change = 2
  2612. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1 + 0.1 * math.cos(sine / 60)) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2613. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10 - 2.5 * math.cos(sine / 60)) + -math.sin(sine / 60) / 10, math.rad(0), math.rad(75)), 0.3)
  2614. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2615. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2616. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.1 * math.cos(sine / 60), 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2617. LH.C0 = clerp(LH.C0, cf(-1, -0.1 - 0.1 * math.cos(sine / 60), -0.5) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2618. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2619. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5 * math.cos(sine / 45), 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2620. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 180 * math.cos(sine / 30)), math.rad(0 + 180 * math.cos(sine / 60))), 0.15)
  2621. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 - 180 * math.cos(sine / 45)), math.rad(0 - 180 * math.cos(sine / 75))), 0.15)
  2622. elseif attack == true and gunidle == false and canidle == true then
  2623. fat.Event:wait()
  2624. Humanoid.WalkSpeed = 16 * speed.Value
  2625. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2626. LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2627. end
  2628. elseif torvel > 2 and torvel < 22 and hitfloor ~= nil then
  2629. Anim = "Walk"
  2630. if attack == false then
  2631. fat.Event:wait()
  2632. Humanoid.WalkSpeed = 16 * speed.Value
  2633. change = 2
  2634. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.1 + 0.1 * math.cos(sine / 4)) * angles(math.rad(10), math.rad(0) + RootPart.RotVelocity.Y / 30, math.rad(5 * math.cos(sine / 8))), 0.3)
  2635. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(5 - 2.5 * math.cos(sine / 4)), math.rad(0), math.rad(-5 * math.cos(sine / 8)) + Head.RotVelocity.Y / 15), 0.3)
  2636. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5 + 0.025 * math.cos(sine / 4) + -math.sin(sine / 4) / 12, 0) * angles(math.rad(75 + 5 * math.cos(sine / 4)), math.rad(0), math.rad(30)), 0.3)
  2637. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 4, math.rad(0), math.rad(-5)), 0.3)
  2638. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.25 * math.cos(sine / 8) / 2, 0.5 * math.cos(sine / 8) / 2) * angles(math.rad(-15 - 30 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2639. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.25 * math.cos(sine / 8) / 2, -0.5 * math.cos(sine / 8) / 2) * angles(math.rad(-15 + 30 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2640. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2641. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5 * math.cos(sine / 45), 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2642. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 180 * math.cos(sine / 30)), math.rad(0 + 180 * math.cos(sine / 60))), 0.15)
  2643. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 - 180 * math.cos(sine / 45)), math.rad(0 - 180 * math.cos(sine / 75))), 0.15)
  2644. elseif attack == true and gunidle == false and canwalk == true then
  2645. fat.Event:wait()
  2646. Humanoid.WalkSpeed = 16 * speed.Value
  2647. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.25 * math.cos(sine / 8) / 2, 0.5 * math.cos(sine / 8) / 2) * angles(math.rad(-15 - 45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2648. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.25 * math.cos(sine / 8) / 2, -0.5 * math.cos(sine / 8) / 2) * angles(math.rad(-15 + 45 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2649. end
  2650. elseif torvel >= 22 and hitfloor ~= nil then
  2651. Anim = "Run"
  2652. if attack == false then
  2653. fat.Event:wait()
  2654. change = 2
  2655. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.05 + 0.1 * math.cos(sine / 4)) * angles(math.rad(5), math.rad(0), math.rad(5 * math.cos(sine / 8))), 0.15)
  2656. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10 - 5 * math.cos(sine / 4)), math.rad(0), math.rad(-5 * math.cos(sine / 8))), 0.15)
  2657. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75 + 5 * math.cos(sine / 4)), math.rad(0), math.rad(30)), 0.15)
  2658. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-45 * math.cos(sine / 8)), math.rad(0), math.rad(-5)), 0.15)
  2659. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.25 * math.cos(sine / 8) / 2, 0.5 * math.cos(sine / 8) / 2) * angles(math.rad(-15 - 45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2660. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.25 * math.cos(sine / 8) / 2, -0.5 * math.cos(sine / 8) / 2) * angles(math.rad(-15 + 45 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2661. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2662. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5 * math.cos(sine / 45), 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2663. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 + 180 * math.cos(sine / 30)), math.rad(0 + 180 * math.cos(sine / 60))), 0.15)
  2664. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0 - 180 * math.cos(sine / 45)), math.rad(0 - 180 * math.cos(sine / 75))), 0.15)
  2665. elseif attack == true and gunidle == false and canwalk == true then
  2666. fat.Event:wait()
  2667. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.25 * math.cos(sine / 8) / 2, 0.5 * math.cos(sine / 8) / 2) * angles(math.rad(0 - 45 * math.cos(sine / 8)) + -math.sin(sine / 8) / 2.5, math.rad(90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2668. LH.C0 = clerp(LH.C0, cf(-1, -1 + 0.25 * math.cos(sine / 8) / 2, -0.5 * math.cos(sine / 8) / 2) * angles(math.rad(0 + 45 * math.cos(sine / 8)) + math.sin(sine / 8) / 2.5, math.rad(-90 - 5 * math.cos(sine / 8)), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2669. end
  2670. end
  2671. end
  2672. end)
Add Comment
Please, Sign In to add comment