VoidScript

Fu

Nov 16th, 2017
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 196.43 KB | None | 0 0
  1.  
  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 = a
  1121. else
  1122. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  1123.  
  1124. if edg2 <= (c - b).magnitude and edg2 >= 0 then
  1125. a = b
  1126. else
  1127. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  1128.  
  1129. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  1130.  
  1131. if edg3 <= (a - c).magnitude and edg3 >= 0 then
  1132. a = c
  1133. else
  1134. assert(false, "unreachable")
  1135. end
  1136. end
  1137. end
  1138. local len1 = c - a:Dot(b - a.unit)
  1139. local len2 = (b - a).magnitude - len1
  1140. local width = ((a + b - a.unit * len1) - c).magnitude
  1141. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  1142. local list = {}
  1143. local TrailColor = "Dark grey"
  1144. if len1 > 0.01 then
  1145. local w1 = Instance.new("WedgePart", m)
  1146. game:GetService("Debris"):AddItem(w1, 5)
  1147. w1.Material = "SmoothPlastic"
  1148. w1.FormFactor = "Custom"
  1149. w1.BrickColor = BrickColor.new(TrailColor)
  1150. w1.Transparency = 0
  1151. w1.Reflectance = 0
  1152. w1.Material = "SmoothPlastic"
  1153. w1.CanCollide = false
  1154. NoOutline(w1)
  1155. local sz = Vector3.new(0.2, width, len1)
  1156. w1.Size = sz
  1157. local sp = Instance.new("SpecialMesh", w1)
  1158. sp.MeshType = "Wedge"
  1159. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1160. w1:BreakJoints()
  1161. w1.Anchored = true
  1162. w1.Parent = workspace
  1163. w1.Transparency = 0.7
  1164. table.insert(Effects, {w1, "Disappear", 0.01})
  1165. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1166. table.insert(list, w1)
  1167. end
  1168. do
  1169. if len2 > 0.01 then
  1170. local w2 = Instance.new("WedgePart", m)
  1171. game:GetService("Debris"):AddItem(w2, 5)
  1172. w2.Material = "SmoothPlastic"
  1173. w2.FormFactor = "Custom"
  1174. w2.BrickColor = BrickColor.new(TrailColor)
  1175. w2.Transparency = 0
  1176. w2.Reflectance = 0
  1177. w2.Material = "SmoothPlastic"
  1178. w2.CanCollide = false
  1179. NoOutline(w2)
  1180. local sz = Vector3.new(0.2, width, len2)
  1181. w2.Size = sz
  1182. local sp = Instance.new("SpecialMesh", w2)
  1183. sp.MeshType = "Wedge"
  1184. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1185. w2:BreakJoints()
  1186. w2.Anchored = true
  1187. w2.Parent = workspace
  1188. w2.Transparency = 0.7
  1189. table.insert(Effects, {w2, "Disappear", 0.01})
  1190. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1191. table.insert(list, w2)
  1192. end
  1193. do
  1194. return unpack(list)
  1195. end
  1196. end
  1197. end
  1198.  
  1199. so = function(id, par, vol, pit)
  1200. coroutine.resume(coroutine.create(function()
  1201. local sou = Instance.new("Sound", par or workspace)
  1202. sou.Volume = vol
  1203. sou.Pitch = pit or 1
  1204. sou.SoundId = id
  1205. fat.Event:wait()
  1206. sou:play()
  1207. game:GetService("Debris"):AddItem(sou, 6)
  1208. end
  1209. ))
  1210. end
  1211.  
  1212. clerp = function(a, b, t)
  1213. local qa = {QuaternionFromCFrame(a)}
  1214. local qb = {QuaternionFromCFrame(b)}
  1215. local ax, ay, az = a.x, a.y, a.z
  1216. local bx, by, bz = b.x, b.y, b.z
  1217. local _t = 1 - t
  1218. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1219. end
  1220.  
  1221. local clerp = CFrame.new().lerp
  1222. QuaternionFromCFrame = function(cf)
  1223. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1224. local trace = m00 + m11 + m22
  1225. if trace > 0 then
  1226. local s = math.sqrt(1 + trace)
  1227. local recip = 0.5 / s
  1228. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1229. else
  1230. do
  1231. local i = 0
  1232. if m00 < m11 then
  1233. i = 1
  1234. end
  1235. if i == 0 and m00 or m11 < m22 then
  1236. i = 2
  1237. end
  1238. if i == 0 then
  1239. local s = math.sqrt(m00 - m11 - m22 + 1)
  1240. local recip = 0.5 / s
  1241. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1242. else
  1243. do
  1244. if i == 1 then
  1245. local s = math.sqrt(m11 - m22 - m00 + 1)
  1246. local recip = 0.5 / s
  1247. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1248. else
  1249. do
  1250. if i == 2 then
  1251. local s = math.sqrt(m22 - m00 - m11 + 1)
  1252. local recip = 0.5 / s
  1253. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1254. end
  1255. end
  1256. end
  1257. end
  1258. end
  1259. end
  1260. end
  1261. end
  1262.  
  1263. QuaternionToCFrame = function(px, py, pz, x, y, z, w)
  1264. local xs, ys, zs = x + x, y + y, z + z
  1265. local wx, wy, wz = w * xs, w * ys, w * zs
  1266. local xx = x * xs
  1267. local xy = x * ys
  1268. local xz = x * zs
  1269. local yy = y * ys
  1270. local yz = y * zs
  1271. local zz = z * zs
  1272. 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))
  1273. end
  1274.  
  1275. QuaternionSlerp = function(a, b, t)
  1276. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1277. local startInterp, finishInterp = nil, nil
  1278. if cosTheta >= 0.0001 then
  1279. if 1 - cosTheta > 0.0001 then
  1280. local theta = math.acos(cosTheta)
  1281. local invSinTheta = 1 / math.sin(theta)
  1282. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1283. finishInterp = math.sin(t * theta) * invSinTheta
  1284. else
  1285. do
  1286. startInterp = 1 - t
  1287. finishInterp = t
  1288. if 1 + cosTheta > 0.0001 then
  1289. local theta = math.acos(-cosTheta)
  1290. local invSinTheta = 1 / math.sin(theta)
  1291. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1292. finishInterp = math.sin(t * theta) * invSinTheta
  1293. else
  1294. do
  1295. startInterp = t - 1
  1296. finishInterp = t
  1297. 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
  1298. end
  1299. end
  1300. end
  1301. end
  1302. end
  1303. end
  1304.  
  1305. rayCast = function(Pos, Dir, Max, Ignore)
  1306. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1307. end
  1308.  
  1309. makegui = function(cframe, text)
  1310. local a = math.random(-10, 10) / 100
  1311. local c = Instance.new("Part")
  1312. c.Transparency = 1
  1313. Instance.new("BodyGyro").Parent = c
  1314. c.Parent = workspace
  1315. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  1316. local f = Instance.new("BodyPosition")
  1317. f.P = 2000
  1318. f.D = 100
  1319. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1320. f.position = c.Position + Vector3.new(0, 3, 0)
  1321. f.Parent = c
  1322. game:GetService("Debris"):AddItem(c, 6.5)
  1323. c.CanCollide = false
  1324. c.Parent = workspace
  1325. c.CanCollide = false
  1326. local bg = Instance.new("BillboardGui", c)
  1327. bg.Adornee = c
  1328. bg.Size = UDim2.new(1, 0, 1, 0)
  1329. bg.StudsOffset = Vector3.new(0, 0, 0)
  1330. bg.AlwaysOnTop = false
  1331. local tl = Instance.new("TextLabel", bg)
  1332. tl.BackgroundTransparency = 1
  1333. tl.Size = UDim2.new(1, 0, 1, 0)
  1334. tl.Text = text
  1335. tl.Font = "SourceSansBold"
  1336. tl.FontSize = "Size42"
  1337. if crit == true then
  1338. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  1339. else
  1340. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  1341. end
  1342. tl.TextStrokeTransparency = 0
  1343. tl.TextScaled = true
  1344. tl.TextWrapped = true
  1345. coroutine.wrap(function()
  1346. wait(2)
  1347. for i = 1, 10 do
  1348. fat.Event:wait()
  1349. c.Transparency = 1
  1350. tl.TextTransparency = tl.TextTransparency + 0.1
  1351. end
  1352. end
  1353. )()
  1354. end
  1355.  
  1356. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  1357. if hit.Parent == nil then
  1358. return
  1359. end
  1360. h = hit.Parent:FindFirstChild("Humanoid")
  1361. for _,v in pairs(hit.Parent:children()) do
  1362. if v:IsA("Humanoid") then
  1363. h = v
  1364. end
  1365. end
  1366. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  1367. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1368. end
  1369. if hit.Parent.className == "Hat" then
  1370. hit = hit.Parent.Parent:findFirstChild("Head")
  1371. end
  1372. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1373. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1374. return
  1375. end
  1376. blocked = false
  1377. block = hit.Parent:findFirstChild("Block")
  1378. if block ~= nil then
  1379. print(block.className)
  1380. if block.className == "NumberValue" and block.Value > 0 then
  1381. blocked = true
  1382. if decreaseblock == nil then
  1383. block.Value = block.Value - 1
  1384. end
  1385. end
  1386. if block.className == "IntValue" and block.Value > 0 then
  1387. blocked = true
  1388. if decreaseblock ~= nil then
  1389. block.Value = block.Value - 1
  1390. end
  1391. end
  1392. end
  1393. if blocked == false then
  1394. local D = math.random(minim, maxim) * damagea.Value
  1395. if h.Parent:FindFirstChild("Stats") then
  1396. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1397. else
  1398. end
  1399. if not h.Parent:FindFirstChild("Stats") then
  1400. do
  1401. h.Health = h.Health - D
  1402. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1403. local D = math.random(minim, maxim) * damagea.Value
  1404. if h.Parent:FindFirstChild("Stats") then
  1405. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1406. else
  1407. end
  1408. if not h.Parent:FindFirstChild("Stats") then
  1409. do
  1410. h.Health = h.Health - D / 2
  1411. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1412. if Type == "Knockdown" then
  1413. humanoid = hit.Parent.Humanoid
  1414. humanoid.PlatformStand = true
  1415. coroutine.resume(coroutine.create(function(Humanoid)
  1416. fat.Event:wait()
  1417. Humanoid.PlatformStand = false
  1418. end
  1419. ), humanoid)
  1420. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1421. local bodvol = Instance.new("BodyVelocity")
  1422. bodvol.velocity = angle * knockback
  1423. bodvol.P = 5000
  1424. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1425. bodvol.Parent = hit
  1426. rl = Instance.new("BodyAngularVelocity")
  1427. rl.P = 3000
  1428. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1429. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1430. rl.Parent = hit
  1431. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1432. game:GetService("Debris"):AddItem(rl, 0.5)
  1433. else
  1434. do
  1435. if Type == "Normal" then
  1436. so("http://roblox.com/asset/?id=392592460", hit, 1, math.random(80, 120) / 100)
  1437. vp = Instance.new("BodyVelocity")
  1438. vp.P = 500
  1439. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1440. if KnockbackType == 1 then
  1441. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1442. else
  1443. if KnockbackType == 2 then
  1444. vp.velocity = Property.CFrame.lookVector * knockback
  1445. end
  1446. end
  1447. if knockback > 0 then
  1448. vp.Parent = hit.Parent.Torso
  1449. end
  1450. game:GetService("Debris"):AddItem(vp, 0.5)
  1451. else
  1452. if Type == "MovementDebuff" then
  1453. coroutine.resume(coroutine.create(function()
  1454. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.2
  1455. speed.Value = speed.Value + 0.2
  1456. Humanoid.WalkSpeed = 16 * speed.Value
  1457. wait(1)
  1458. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.2
  1459. speed.Value = speed.Value - 0.2
  1460. Humanoid.WalkSpeed = 16 * speed.Value
  1461. end
  1462. ))
  1463. vp = Instance.new("BodyVelocity")
  1464. vp.P = 500
  1465. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1466. if KnockbackType == 1 then
  1467. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1468. else
  1469. if KnockbackType == 2 then
  1470. vp.velocity = Property.CFrame.lookVector * knockback
  1471. end
  1472. end
  1473. if knockback > 0 then
  1474. vp.Parent = hit.Parent.Torso
  1475. end
  1476. game:GetService("Debris"):AddItem(vp, 0.5)
  1477. else
  1478. if Type == "CurseAura" then
  1479. coroutine.resume(coroutine.create(function()
  1480. savethewalkspeed = hit.Parent.Humanoid.WalkSpeed
  1481. hit.Parent.Humanoid.WalkSpeed = 0
  1482. wait(0.25)
  1483. hit.Parent.Humanoid.WalkSpeed = savethewalkspeed
  1484. end
  1485. ))
  1486. vp = Instance.new("BodyVelocity")
  1487. vp.P = 500
  1488. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1489. if KnockbackType == 1 then
  1490. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1491. else
  1492. if KnockbackType == 2 then
  1493. vp.velocity = Property.CFrame.lookVector * knockback
  1494. end
  1495. end
  1496. if knockback > 0 then
  1497. vp.Parent = hit.Parent.Torso
  1498. end
  1499. game:GetService("Debris"):AddItem(vp, 0.5)
  1500. else
  1501. if Type == "SlashLifeSteal2" then
  1502. so("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  1503. Humanoid.Health = Humanoid.Health + math.random(2, 3) / 2.5
  1504. vp = Instance.new("BodyVelocity")
  1505. vp.P = 500
  1506. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1507. if KnockbackType == 1 then
  1508. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1509. else
  1510. if KnockbackType == 2 then
  1511. vp.velocity = Property.CFrame.lookVector * knockback
  1512. end
  1513. end
  1514. if knockback > 0 then
  1515. vp.Parent = hit.Parent.Torso
  1516. end
  1517. game:GetService("Debris"):AddItem(vp, 0.5)
  1518. else
  1519. if Type == "BlackHoleDamage" then
  1520. Humanoid.Health = Humanoid.Health + math.random(2, 4) / 5
  1521. floatingvelocity = Instance.new("BodyVelocity")
  1522. floatingvelocity.Parent = hit.Parent.Torso
  1523. floatingvelocity.Velocity = Vector3.new(0, math.random(2.5, 5), 0)
  1524. game:GetService("Debris"):AddItem(floatingvelocity, 1)
  1525. else
  1526. if Type == "BlackHoleDamage2" then
  1527. vp = Instance.new("BodyVelocity")
  1528. vp.P = 500
  1529. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1530. if KnockbackType == 1 then
  1531. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1532. else
  1533. if KnockbackType == 2 then
  1534. vp.velocity = Property.CFrame.lookVector * knockback
  1535. end
  1536. end
  1537. if knockback > 0 then
  1538. vp.Parent = hit.Parent.Torso
  1539. end
  1540. game:GetService("Debris"):AddItem(vp, 0.5)
  1541. else
  1542. if Type == "Up" then
  1543. local bodyVelocity = Instance.new("BodyVelocity")
  1544. bodyVelocity.velocity = vt(0, 60, 0)
  1545. bodyVelocity.P = 5000
  1546. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  1547. bodyVelocity.Parent = hit
  1548. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1549. rl = Instance.new("BodyAngularVelocity")
  1550. rl.P = 3000
  1551. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1552. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1553. rl.Parent = hit
  1554. game:GetService("Debris"):AddItem(rl, 0.5)
  1555. else
  1556. do
  1557. if Type == "Snare" then
  1558. wait()
  1559. bp = Instance.new("BodyPosition")
  1560. bp.P = 2000
  1561. bp.D = 100
  1562. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1563. bp.position = hit.Parent.Torso.Position
  1564. bp.Parent = hit.Parent.Torso
  1565. game:GetService("Debris"):AddItem(bp, 1)
  1566. else
  1567. if Type == "Target" then
  1568. so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  1569. vp = Instance.new("BodyVelocity")
  1570. vp.P = 500
  1571. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1572. if KnockbackType == 1 then
  1573. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1574. else
  1575. if KnockbackType == 2 then
  1576. vp.velocity = Property.CFrame.lookVector * knockback
  1577. end
  1578. end
  1579. if knockback > 0 then
  1580. vp.Parent = hit.Parent.Torso
  1581. end
  1582. game:GetService("Debris"):AddItem(vp, 0.5)
  1583. end
  1584. end
  1585. debounce = Instance.new("BoolValue")
  1586. debounce.Name = "DebounceHit"
  1587. debounce.Parent = hit.Parent
  1588. debounce.Value = true
  1589. game:GetService("Debris"):AddItem(debounce, Delay)
  1590. c = Instance.new("ObjectValue")
  1591. c.Name = "creator"
  1592. c.Value = Player
  1593. c.Parent = h
  1594. game:GetService("Debris"):AddItem(c, 0.5)
  1595. CRIT = false
  1596. hitDeb = true
  1597. AttackPos = 6
  1598. hit.Parent=nil
  1599. end
  1600. end
  1601. end
  1602. end
  1603. end
  1604. end
  1605. end
  1606. end
  1607. end
  1608. end
  1609. end
  1610. end
  1611. end
  1612. end
  1613. end
  1614. end
  1615. end
  1616.  
  1617. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1618. for _,c in pairs(workspace:children()) do
  1619. local hum = c:findFirstChild("Humanoid")
  1620. if hum ~= nil then
  1621. local head = c:findFirstChild("Torso")
  1622. if head ~= nil then
  1623. local targ = head.Position - Part.Position
  1624. local mag = targ.magnitude
  1625. if mag <= magni and c.Name ~= Player.Name then
  1626. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1)
  1627. end
  1628. end
  1629. end
  1630. end
  1631. end
  1632.  
  1633. Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1634. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1635. prt.Anchored = true
  1636. prt.CFrame = cframe
  1637. prt.Material = "Neon"
  1638. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1639. game:GetService("Debris"):AddItem(prt, 4)
  1640. coroutine.resume(coroutine.create(function(Part, Mesh)
  1641. for i = 0, 1, delay do
  1642. fat.Event:wait()
  1643. Part.CFrame = Part.CFrame
  1644. Part.Transparency = i
  1645. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1646. end
  1647. Part.Parent = nil
  1648. end
  1649. ), prt, msh)
  1650. end
  1651.  
  1652. Shockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1653. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1654. prt.Anchored = true
  1655. prt.CFrame = cframe
  1656. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1657. game:GetService("Debris"):AddItem(prt, 4)
  1658. coroutine.resume(coroutine.create(function(Part, Mesh)
  1659. for i = 0, 1, delay do
  1660. fat.Event:wait()
  1661. Part.CFrame = Part.CFrame
  1662. Part.Transparency = i
  1663. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1664. end
  1665. Part.Parent = nil
  1666. end
  1667. ), prt, msh)
  1668. end
  1669.  
  1670. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1671. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1672. prt.Anchored = true
  1673. prt.CFrame = cframe
  1674. prt.Material = "Neon"
  1675. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1676. game:GetService("Debris"):AddItem(prt, 4)
  1677. coroutine.resume(coroutine.create(function(Part, Mesh)
  1678. for i = 0, 1, delay do
  1679. fat.Event:wait()
  1680. Part.CFrame = Part.CFrame
  1681. Part.Transparency = i
  1682. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1683. end
  1684. Part.Parent = nil
  1685. end
  1686. ), prt, msh)
  1687. end
  1688.  
  1689. MMouse = mouse
  1690. LaserTarget = RootPart
  1691. gunidle = false
  1692. torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1693. velocity = RootPart.Velocity.y
  1694. sine = sine + change
  1695. hit = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1696. local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1697. local velderp = RootPart.Velocity.y
  1698. canwalk = true
  1699. canidle = true
  1700. GunStance = function()
  1701. attack = true
  1702. gun = true
  1703. canwalk = false
  1704. canidle = false
  1705. aiming = true
  1706. Humanoid.WalkSpeed = 0 * speed.Value
  1707. for i = 0, 1, 0.08 do
  1708. fat.Event:wait()
  1709. Humanoid.WalkSpeed = 0 * speed.Value
  1710. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1711. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1712. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1713. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1714. 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)
  1715. 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)
  1716. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1717. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1718. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1719. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1720. end
  1721. gunidle = true
  1722. Humanoid.WalkSpeed = 0 * speed.Value
  1723. while gun == true do
  1724. fat.Event:wait()
  1725. Humanoid.WalkSpeed = 0 * speed.Value
  1726. canwalk = false
  1727. canidle = false
  1728. end
  1729. if shoot == true then
  1730. gunidle = false
  1731. gunfireeffect.Enabled = true
  1732. gunfirelight.Enabled = true
  1733. Bulletcount = Bulletcount - 1
  1734. local spread = vt(0, 0, 0)
  1735. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p + spread)
  1736. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  1737. local mag = (BulletHole.Position - pos).magnitude
  1738. 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)
  1739. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= "BillboardGui" then
  1740. local g = hit:FindFirstChild("BodyPosition")
  1741. if g == nil then
  1742. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1743. ref.Anchored = true
  1744. ref.CFrame = cf(pos)
  1745. game:GetService("Debris"):AddItem(ref, 0.01)
  1746. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.1)
  1747. if not hit.Parent:FindFirstChild("Torso") then
  1748. local h = hit.Parent.Parent:FindFirstChild("Torso")
  1749. end
  1750. if h then
  1751. Damagefunc(h, 9, 12, 0, "Target", RootPart, 0)
  1752. end
  1753. end
  1754. end
  1755. do
  1756. so("http://www.roblox.com/asset/?id=138084889", GunHandle, 1, 0.9)
  1757. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  1758. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1759. for i = 0, 1, 0.14 do
  1760. fat.Event:wait()
  1761. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  1762. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1763. 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)
  1764. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1765. 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)
  1766. 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)
  1767. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1768. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1769. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1770. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1771. end
  1772. gunfireeffect.Enabled = false
  1773. gunfirelight.Enabled = false
  1774. for i = 0, 1, 0.1 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(75)), 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(-30)), 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.1 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. for i = 1, 1 do
  1801. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1802. bulletpart.Anchored = false
  1803. bulletpart.Material = Enum.Material.SmoothPlastic
  1804. bulletpart.CanCollide = true
  1805. bulletpart.Friction = 1
  1806. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1807. 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))
  1808. bulletmesh = Instance.new("FileMesh", bulletpart)
  1809. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1810. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1811. game:GetService("Debris"):AddItem(bulletpart, 5)
  1812. end
  1813. for i = 0, 1, 0.13 do
  1814. fat.Event:wait()
  1815. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1816. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1817. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1818. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  1819. 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)
  1820. 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)
  1821. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1822. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1823. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1824. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1825. end
  1826. for i = 0, 1, 0.13 do
  1827. fat.Event:wait()
  1828. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1829. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1830. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1831. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1832. 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)
  1833. 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)
  1834. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1835. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1836. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1837. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1838. end
  1839. do
  1840. Humanoid.WalkSpeed = 16 * speed.Value
  1841. gun = false
  1842. gunidle = false
  1843. shoot = false
  1844. canwalk = true
  1845. canidle = true
  1846. attack = false
  1847. aiming = false
  1848. end
  1849. end
  1850. end
  1851. end
  1852.  
  1853. Reload = function()
  1854. attack = true
  1855. so("http://www.roblox.com/asset/?id=266022905", GunHandle, 1, 0.9)
  1856. for i = 0, 1, 0.08 do
  1857. fat.Event:wait()
  1858. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1859. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1860. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1861. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1862. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1863. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1864. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1865. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1866. end
  1867. for i = 1, Bulletcount do
  1868. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1869. bulletpart.Anchored = false
  1870. bulletpart.Material = Enum.Material.SmoothPlastic
  1871. bulletpart.CanCollide = true
  1872. bulletpart.Friction = 1
  1873. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1874. 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))
  1875. bulletmesh = Instance.new("FileMesh", bulletpart)
  1876. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1877. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1878. game:GetService("Debris"):AddItem(bulletpart, 5)
  1879. end
  1880. for i = 0, 1, 0.08 do
  1881. fat.Event:wait()
  1882. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1883. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1884. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1885. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1886. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1887. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1888. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1889. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1890. end
  1891. for i = 0, 1, 0.09 do
  1892. fat.Event:wait()
  1893. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1894. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1895. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  1896. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1897. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1898. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1899. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1900. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1901. end
  1902. for i = 0, 1, 0.09 do
  1903. fat.Event:wait()
  1904. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1905. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1906. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-15)), 0.15)
  1907. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.25, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1908. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1909. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1910. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1911. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1912. end
  1913. for i = 0, 1, 0.08 do
  1914. fat.Event:wait()
  1915. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1916. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1917. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1918. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1919. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1920. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1921. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1922. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1923. end
  1924. for i = 0, 1, 0.14 do
  1925. fat.Event:wait()
  1926. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1927. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1928. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-30)), 0.3)
  1929. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.25, 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.3)
  1930. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1931. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1932. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1933. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1934. end
  1935. for i = 0, 1, 0.1 do
  1936. fat.Event:wait()
  1937. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1938. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1939. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.4)
  1940. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.4)
  1941. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1942. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1943. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1944. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1945. end
  1946. Bulletcount = 6
  1947. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1948. shoot = false
  1949. gun = false
  1950. attack = false
  1951. end
  1952.  
  1953. ShootCombo = function()
  1954. gunidle = false
  1955. canwalk = false
  1956. canidle = false
  1957. if shoot == false then
  1958. shoot = true
  1959. canwalk = false
  1960. canidle = false
  1961. for i = 1, 3 do
  1962. local spread = vt(0, 0, 0)
  1963. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p + spread)
  1964. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  1965. local mag = (BulletHole.Position - pos).magnitude
  1966. 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)
  1967. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= "BillboardGui" then
  1968. local g = hit:FindFirstChild("BodyPosition")
  1969. if g == nil then
  1970. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  1971. ref.Anchored = true
  1972. ref.CFrame = cf(pos)
  1973. game:GetService("Debris"):AddItem(ref, 0.01)
  1974. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.11)
  1975. if not hit.Parent:FindFirstChild("Torso") then
  1976. local h = hit.Parent.Parent:FindFirstChild("Torso")
  1977. end
  1978. if h then
  1979. Damagefunc(h, 9, 11, 0, "Target", RootPart, 0)
  1980. end
  1981. end
  1982. end
  1983. do
  1984. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  1985. gunfireeffect.Enabled = true
  1986. gunfirelight.Enabled = true
  1987. Bulletcount = Bulletcount - 1
  1988. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1989. for i = 0, 1, 0.24 do
  1990. fat.Event:wait()
  1991. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  1992. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1993. 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)
  1994. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1995. 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)
  1996. 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)
  1997. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1998. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1999. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2000. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2001. end
  2002. gunfireeffect.Enabled = false
  2003. gunfirelight.Enabled = false
  2004. for i = 0, 1, 0.22 do
  2005. fat.Event:wait()
  2006. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2007. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2008. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2009. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2010. 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)
  2011. 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)
  2012. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2013. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2014. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2015. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2016. end
  2017. -- DECOMPILER ERROR at PC810: LeaveBlock: unexpected jumping out DO_STMT
  2018.  
  2019. end
  2020. end
  2021. so("http://www.roblox.com/asset/?id=138084889", BulletHole, 1, 0.8)
  2022. for i = 0, 1, 0.1 do
  2023. fat.Event:wait()
  2024. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2025. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2026. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2027. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2028. 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)
  2029. 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)
  2030. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2031. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2032. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2033. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2034. end
  2035. for i = 0, 1, 0.06 do
  2036. fat.Event:wait()
  2037. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2038. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2039. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2040. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2041. 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)
  2042. 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)
  2043. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2044. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2045. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2046. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2047. end
  2048. for i = 1, 3 do
  2049. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  2050. bulletpart.Anchored = false
  2051. bulletpart.Material = Enum.Material.SmoothPlastic
  2052. bulletpart.CanCollide = true
  2053. bulletpart.Friction = 1
  2054. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2055. 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))
  2056. bulletmesh = Instance.new("FileMesh", bulletpart)
  2057. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2058. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  2059. game:GetService("Debris"):AddItem(bulletpart, 5)
  2060. end
  2061. for i = 0, 1, 0.1 do
  2062. fat.Event:wait()
  2063. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2064. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2065. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2066. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  2067. 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)
  2068. 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)
  2069. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2070. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2071. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2072. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2073. end
  2074. for i = 0, 1, 0.1 do
  2075. fat.Event:wait()
  2076. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2077. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2078. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2079. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 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, -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)
  2082. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), 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. end
  2088. do
  2089. Humanoid.WalkSpeed = 16 * speed.Value
  2090. shoot = false
  2091. gunidle = false
  2092. gun = false
  2093. canwalk = true
  2094. canidle = true
  2095. attack = false
  2096. end
  2097. end
  2098.  
  2099. Sprint = function()
  2100. local spde = 50
  2101. canwalk = false
  2102. canidle = false
  2103. attack = true
  2104. Humanoid.WalkSpeed = 4 * speed.Value
  2105. local body = Instance.new("BodyVelocity", Torso)
  2106. body.MaxForce = Vector3.new(10000, 0, 10000)
  2107. body.P = 0.01
  2108. for i = 1, 3 do
  2109. for i = 0, 1, 0.2 do
  2110. fat.Event:wait()
  2111. Humanoid.WalkSpeed = 4 * speed.Value
  2112. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2113. 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)
  2114. 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)
  2115. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2116. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2117. 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)
  2118. 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)
  2119. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2120. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2121. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2122. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2123. end
  2124. for i = 0, 1, 0.6 do
  2125. fat.Event:wait()
  2126. Humanoid.WalkSpeed = 4 * speed.Value
  2127. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2128. 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)
  2129. 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)
  2130. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2131. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2132. 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)
  2133. 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)
  2134. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2135. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2136. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2137. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2138. end
  2139. for i = 0, 1, 0.2 do
  2140. fat.Event:wait()
  2141. Humanoid.WalkSpeed = 4 * speed.Value
  2142. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2143. 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)
  2144. 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)
  2145. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2146. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2147. 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)
  2148. 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)
  2149. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2150. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2151. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2152. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2153. end
  2154. for i = 0, 1, 0.6 do
  2155. fat.Event:wait()
  2156. Humanoid.WalkSpeed = 4 * speed.Value
  2157. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2158. 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)
  2159. 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)
  2160. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2161. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2162. 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)
  2163. 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)
  2164. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2165. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2166. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2167. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2168. end
  2169. end
  2170. for i = 0, 1, 0.05 do
  2171. fat.Event:wait()
  2172. Humanoid.WalkSpeed = 4 * speed.Value
  2173. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * (spde - spde * i), 0, RootPart.CFrame.lookVector.z * (spde - spde * i))
  2174. 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)
  2175. 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)
  2176. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(-30), math.rad(120), math.rad(75)), 0.3)
  2177. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(120), math.rad(75)), 0.3)
  2178. 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)
  2179. 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)
  2180. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  2181. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2182. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2183. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2184. end
  2185. for i = 0, 1, 0.2 do
  2186. fat.Event:wait()
  2187. Humanoid.WalkSpeed = 0 * speed.Value
  2188. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2189. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2190. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2191. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2192. 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)
  2193. 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)
  2194. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2195. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2196. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2197. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2198. end
  2199. body.Parent = nil
  2200. LeftLeg.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
  2201. RightLeg.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
  2202. Humanoid.WalkSpeed = 16 * speed.Value
  2203. canwalk = true
  2204. canidle = true
  2205. attack = false
  2206. end
  2207.  
  2208. Overdrive = function()
  2209. gunidle = false
  2210. canwalk = false
  2211. canidle = false
  2212. if shoot == false then
  2213. shoot = true
  2214. canwalk = false
  2215. canidle = false
  2216. for i = 0, 1, 0.08 do
  2217. fat.Event:wait()
  2218. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2219. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(-10), math.rad(75)), 0.3)
  2220. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2221. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2222. 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)
  2223. 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)
  2224. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2225. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-5, 0.5, -2.4) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2226. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2227. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2228. end
  2229. gunfireeffect.Enabled = true
  2230. gunfirelight.Enabled = true
  2231. particleemitter.Enabled = true
  2232. particleemitter2.Enabled = true
  2233. so("http://www.roblox.com/asset/?id=203691378", BulletHole, 1, 1.4)
  2234. so("http://www.roblox.com/asset/?id=203691346", BulletHole, 0.75, 1.4)
  2235. for i = 0, 1, 0.009 do
  2236. fat.Event:wait()
  2237. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2238. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(-10), math.rad(75)), 0.3)
  2239. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2240. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2241. 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)
  2242. 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)
  2243. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2244. 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)
  2245. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2246. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2247. end
  2248. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p)
  2249. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  2250. local mag = (BulletHole.Position - pos).magnitude
  2251. 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)
  2252. do
  2253. if hit ~= nil then
  2254. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really black"), "Effect", vt())
  2255. ref.Anchored = true
  2256. ref.CFrame = cf(pos)
  2257. game:GetService("Debris"):AddItem(ref, 5)
  2258. so("http://www.roblox.com/asset/?id=156572165", BulletHole, 0.75, 1)
  2259. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.75)
  2260. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.5)
  2261. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.25)
  2262. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.1)
  2263. so("http://roblox.com/asset/?id=160740121", ref, 0.75, 0.75)
  2264. so("http://roblox.com/asset/?id=168586621", ref, 1, 0.5)
  2265. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.01)
  2266. Shockwave2(TorsoColor, cf(pos), 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.01)
  2267. MagniDamage(ref, 25, 10 * Bulletcount / 2, 12 * Bulletcount, 50, "Normal")
  2268. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  2269. Torso.Velocity = RootPart.CFrame.lookVector * -100
  2270. end
  2271. so("http://www.roblox.com/asset/?id=138084889", BulletHole, 1, 0.8)
  2272. particleemitter.Enabled = false
  2273. particleemitter2.Enabled = false
  2274. Bulletcount = 0
  2275. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  2276. for i = 0, 1, 0.12 do
  2277. fat.Event:wait()
  2278. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  2279. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  2280. 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)
  2281. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  2282. 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)
  2283. 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)
  2284. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2285. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2286. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2287. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2288. end
  2289. gunfireeffect.Enabled = false
  2290. gunfirelight.Enabled = false
  2291. for i = 0, 1, 0.1 do
  2292. fat.Event:wait()
  2293. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2294. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2295. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2296. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2297. 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)
  2298. 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)
  2299. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2300. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2301. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2302. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2303. end
  2304. for i = 0, 1, 0.06 do
  2305. fat.Event:wait()
  2306. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2307. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2308. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2309. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2310. 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)
  2311. 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)
  2312. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2313. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2314. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2315. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2316. end
  2317. for i = 1, 6 - Bulletcount do
  2318. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  2319. bulletpart.Anchored = false
  2320. bulletpart.Material = Enum.Material.SmoothPlastic
  2321. bulletpart.CanCollide = true
  2322. bulletpart.Friction = 1
  2323. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2324. 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))
  2325. bulletmesh = Instance.new("FileMesh", bulletpart)
  2326. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2327. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  2328. game:GetService("Debris"):AddItem(bulletpart, 5)
  2329. end
  2330. for i = 0, 1, 0.1 do
  2331. fat.Event:wait()
  2332. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2333. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2334. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2335. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  2336. 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)
  2337. 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)
  2338. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2339. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2340. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2341. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2342. end
  2343. for i = 0, 1, 0.1 do
  2344. fat.Event:wait()
  2345. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2346. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2347. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2348. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2349. 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)
  2350. 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)
  2351. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2352. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2353. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2354. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2355. end
  2356. do
  2357. Humanoid.WalkSpeed = 16 * speed.Value
  2358. shoot = false
  2359. gunidle = false
  2360. gun = false
  2361. canwalk = true
  2362. canidle = true
  2363. attack = false
  2364. end
  2365. end
  2366. end
  2367. end
  2368.  
  2369. attackone = function()
  2370. attack = true
  2371. for i = 0, 1, 0.16 do
  2372. fat.Event:wait()
  2373. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  2374. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  2375. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2376. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  2377. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2378. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2379. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2380. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2381. end
  2382. con1 = LeftArm.Touched:connect(function(hit)
  2383. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2384. end
  2385. )
  2386. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 0.8)
  2387. for i = 0, 1, 0.14 do
  2388. fat.Event:wait()
  2389. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2390. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(75)), 0.4)
  2391. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2392. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2393. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2394. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2395. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2396. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2397. end
  2398. con1:disconnect()
  2399. attack = false
  2400. end
  2401.  
  2402. attacktwo = function()
  2403. attack = true
  2404. for i = 0, 1, 0.16 do
  2405. fat.Event:wait()
  2406. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2407. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 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, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(75)), 0.3)
  2410. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2411. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2412. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2413. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2414. end
  2415. con1 = LeftArm.Touched:connect(function(hit)
  2416. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2417. end
  2418. )
  2419. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 1)
  2420. for i = 0, 1, 0.14 do
  2421. fat.Event:wait()
  2422. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.4)
  2423. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2424. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2425. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-75)), 0.4)
  2426. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2427. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2428. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2429. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2430. end
  2431. con1:disconnect()
  2432. attack = false
  2433. end
  2434.  
  2435. attackthree = function()
  2436. attack = true
  2437. canwalk = false
  2438. canidle = false
  2439. Humanoid.WalkSpeed = 0 * speed.Value
  2440. for i = 0, 1, 0.16 do
  2441. fat.Event:wait()
  2442. Humanoid.WalkSpeed = 0 * speed.Value
  2443. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2444. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2445. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2446. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(20)), 0.3)
  2447. 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)
  2448. 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)
  2449. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2450. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2451. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2452. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2453. end
  2454. con1 = LeftLeg.Touched:connect(function(hit)
  2455. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2456. end
  2457. )
  2458. Torso.Velocity = RootPart.CFrame.lookVector * 50
  2459. so("http://roblox.com/asset/?id=169445092", LeftLeg, 1, 1.2)
  2460. Humanoid.WalkSpeed = 0 * speed.Value
  2461. for i = 0, 1, 0.14 do
  2462. fat.Event:wait()
  2463. Humanoid.WalkSpeed = 0 * speed.Value
  2464. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2465. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2466. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2467. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20)), 0.4)
  2468. 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)
  2469. 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)
  2470. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2471. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2472. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2473. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2474. end
  2475. Humanoid.WalkSpeed = 16 * speed.Value
  2476. con1:disconnect()
  2477. canwalk = true
  2478. canidle = true
  2479. attack = false
  2480. end
  2481.  
  2482. attackfour = function()
  2483. attack = true
  2484. for i = 0, 1, 0.16 do
  2485. fat.Event:wait()
  2486. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-120)), 0.3)
  2487. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  2488. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2489. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  2490. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2491. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2492. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2493. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2494. end
  2495. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 0.6)
  2496. for i = 0, 1, 0.14 do
  2497. fat.Event:wait()
  2498. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2499. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  2500. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2501. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.3)
  2502. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2503. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2504. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.15)
  2505. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.15)
  2506. end
  2507. so("http://roblox.com/asset/?id=233091183", CoreHandle, 1, 1.5)
  2508. Shockwave(TorsoColor, cf(CoreHandle.Position), 1, 1, 1, 1, 1, 1, 0.05)
  2509. MagniDamage(CoreHandle, 8, 5, 7, 10, "Normal")
  2510. for i = 0, 1, 0.14 do
  2511. fat.Event:wait()
  2512. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2513. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  2514. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2515. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.3)
  2516. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2517. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2518. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(360)), 0.15)
  2519. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-360)), 0.15)
  2520. end
  2521. attack = false
  2522. end
  2523.  
  2524. mouse.Button1Down:connect(function()
  2525. if gun == true and Bulletcount ~= 0 and shoot == false then
  2526. shoot = true
  2527. gun = false
  2528. end
  2529. if attack == false and gun == false then
  2530. if attacktype == 1 then
  2531. attacktype = 2
  2532. attackone()
  2533. else
  2534. if attacktype == 2 then
  2535. attacktype = 3
  2536. attacktwo()
  2537. else
  2538. if attacktype == 3 then
  2539. attacktype = 4
  2540. attackthree()
  2541. else
  2542. if attacktype == 4 then
  2543. attacktype = 1
  2544. attackfour()
  2545. end
  2546. end
  2547. end
  2548. end
  2549. end
  2550. coroutine.resume(coroutine.create(function()
  2551. for i = 1, 50 do
  2552. if attack == false then
  2553. fat.Event:wait()
  2554. end
  2555. end
  2556. if attack == false then
  2557. attacktype = 1
  2558. end
  2559. end
  2560. ))
  2561. end
  2562. )
  2563. mouse.KeyDown:connect(function(k)
  2564. k = k:lower()
  2565. if k == "e" and gun == false and shoot == false and attack == false then
  2566. GunStance()
  2567. end
  2568. if k == "e" and shoot == false and gun == true then
  2569. gun = false
  2570. end
  2571. if k == "z" and gun == false and shoot == false and attack == false and co1 <= cooldown1 and skill1stam <= stamina then
  2572. cooldown1 = 0
  2573. subtractstamina(skill1stam)
  2574. Reload()
  2575. end
  2576. if k == "x" and gun == true and shoot == false and Bulletcount >= 3 and co2 <= cooldown2 and skill2stam <= stamina then
  2577. cooldown2 = 0
  2578. subtractstamina(skill2stam)
  2579. ShootCombo()
  2580. end
  2581. if k == "c" and gun == false and shoot == false and attack == false and co3 <= cooldown3 and skill3stam <= stamina then
  2582. cooldown3 = 0
  2583. subtractstamina(skill3stam)
  2584. Sprint()
  2585. end
  2586. if k == "v" and gun == true and shoot == false and Bulletcount ~= 0 and co4 <= cooldown4 and skill4stam <= stamina then
  2587. cooldown4 = 0
  2588. subtractstamina(skill4stam)
  2589. Overdrive()
  2590. end
  2591. end
  2592. )
  2593. updateskills = function()
  2594. if cooldown1 <= co1 then
  2595. cooldown1 = cooldown1 + 0.033333333333333
  2596. end
  2597. if cooldown2 <= co2 then
  2598. cooldown2 = cooldown2 + 0.033333333333333
  2599. end
  2600. if cooldown3 <= co3 then
  2601. cooldown3 = cooldown3 + 0.033333333333333
  2602. end
  2603. if cooldown4 <= co4 then
  2604. cooldown4 = cooldown4 + 0.033333333333333
  2605. end
  2606. if stamina <= skill1stam then
  2607. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2608. else
  2609. bar4.BackgroundColor3 = skillcolorscheme
  2610. end
  2611. if stamina <= skill2stam then
  2612. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2613. else
  2614. bar3.BackgroundColor3 = skillcolorscheme
  2615. end
  2616. if stamina <= skill3stam then
  2617. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2618. else
  2619. bar1.BackgroundColor3 = skillcolorscheme
  2620. end
  2621. if stamina <= skill4stam then
  2622. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2623. else
  2624. bar2.BackgroundColor3 = skillcolorscheme
  2625. end
  2626. if stamina <= maxstamina then
  2627. stamina = stamina + recovermana / 30
  2628. end
  2629. end
  2630.  
  2631. Character.Humanoid.Died:connect(function()
  2632. for i,v in pairs(Character:GetChildren()) do
  2633. if v:IsA("Model") then
  2634. v:Destroy()
  2635. end
  2636. end
  2637. end
  2638. )
  2639. game:GetService("RunService").Heartbeat:connect(function()
  2640. updateskills()
  2641. if aiming == true then
  2642. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  2643. local direction = aim.lookVector
  2644. local headingA = math.atan2(direction.x, direction.z)
  2645. headingA = math.deg(headingA)
  2646. Humanoid.AutoRotate = false
  2647. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 177), math.rad(0))
  2648. else
  2649. do
  2650. Humanoid.AutoRotate = true
  2651. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  2652. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), "Out", "Quad", 0.5)
  2653. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2654. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2655. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2656. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2657. end
  2658. end
  2659. end
  2660. )
  2661. local sine = 0
  2662. local change = 1
  2663. local val = 0
  2664. Character.Humanoid.Animator.Parent=nil
  2665. fat.Event:connect(function()
  2666. sine = sine + change
  2667. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2668. local velderp = RootPart.Velocity.y
  2669. local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2670. if equipped == true or equipped == false then
  2671. if attack == false then
  2672. idle = idle + 1
  2673. else
  2674. idle = 0
  2675. end
  2676. if ((idle >= 500 and attack ~= false) or RootPart.Velocity.y > 1) and hitfloor == nil then
  2677. Anim = "Jump"
  2678. if attack == false then
  2679. fat.Event:wait()
  2680. Humanoid.WalkSpeed = 16 * speed.Value
  2681. change = 2
  2682. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2683. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2684. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(30)), 0.15)
  2685. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.15)
  2686. 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)
  2687. 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)
  2688. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2689. 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)
  2690. 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)
  2691. 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)
  2692. end
  2693. else
  2694. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2695. Anim = "Fall"
  2696. if attack == false then
  2697. fat.Event:wait()
  2698. Humanoid.WalkSpeed = 16 * speed.Value
  2699. change = 2
  2700. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2701. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2702. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(60)), 0.15)
  2703. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-75)), 0.15)
  2704. 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)
  2705. 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)
  2706. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2707. 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)
  2708. 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)
  2709. 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)
  2710. end
  2711. else
  2712. if torvel<1 and hitfloor ~= nil then
  2713. Anim = "Idle"
  2714. if attack == false and gunidle == false then
  2715. fat.Event:wait()
  2716. Humanoid.WalkSpeed = 16 * speed.Value
  2717. change = 2
  2718. 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)
  2719. 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)
  2720. 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)
  2721. 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)
  2722. 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)
  2723. 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)
  2724. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2725. 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)
  2726. 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)
  2727. 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)
  2728. else
  2729. if attack == true and gunidle == true then
  2730. fat.Event:wait()
  2731. change = 2
  2732. 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)
  2733. 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)
  2734. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2735. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2736. 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)
  2737. 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)
  2738. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2739. 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)
  2740. 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)
  2741. 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)
  2742. else
  2743. if attack == true and gunidle == false and canidle == true then
  2744. fat.Event:wait()
  2745. Humanoid.WalkSpeed = 16 * speed.Value
  2746. 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)
  2747. 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)
  2748. end
  2749. end
  2750. end
  2751. else
  2752. if torvel>2 or torvel>22 and hitfloor ~= nil then
  2753. Anim = "Walk"
  2754. if attack == false then
  2755. fat.Event:wait()
  2756. Humanoid.WalkSpeed = 16 * speed.Value
  2757. change = 2
  2758. 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)
  2759. 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)
  2760. 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)
  2761. 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)
  2762. 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)
  2763. 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)
  2764. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2765. 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)
  2766. 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)
  2767. 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)
  2768. else
  2769. if attack == true and gunidle == false and canwalk == true then
  2770. fat.Event:wait()
  2771. Humanoid.WalkSpeed = 16 * speed.Value
  2772. 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)
  2773. 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)
  2774. end
  2775. end
  2776. else
  2777. if torvel>22 or torvel<22 and hitfloor ~= nil then
  2778. Anim = "Run"
  2779. if attack == false then
  2780. fat.Event:wait()
  2781. change = 2
  2782. 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)
  2783. 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)
  2784. 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)
  2785. 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)
  2786. 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)
  2787. 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)
  2788. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2789. 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)
  2790. 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)
  2791. 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)
  2792. else
  2793. if attack == true and gunidle == false and canwalk == true then
  2794. fat.Event:wait()
  2795. 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)
  2796. 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)
  2797. end
  2798. end
  2799. end
  2800. end
  2801. end
  2802. end
  2803. end
  2804. end
  2805. end
  2806. )
Add Comment
Please, Sign In to add comment