Advertisement
D0MiN0_FX

Trinity [ WORKING DAMAGE ] [ RARE ]

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