Advertisement
memberhero

magic sword and orb leaked

Oct 24th, 2016
359
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --edited and made by basstracker1970
  2.  
  3. Meshes = {Blast = "20329976", Crown = "1323306", Ring = "3270017", Claw = "10681506", Crystal = "9756362", Coil = "9753878", Cloud = "1095708"}
  4. clangsounds = {"199149119", "199149109", "199149072", "199149025", "199148971"}
  5. hitsounds = {"199149137", "199149186", "199149221", "199149235", "199149269", "199149297"}
  6. blocksounds = {"199148933", "199148947"}
  7. armorsounds = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  8. 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"}
  9. 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"}
  10. 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"}
  11. wait(0.016666666666667)
  12. Player = game:GetService("Players").LocalPlayer
  13. Character = Player.Character
  14. PlayerGui = Player.PlayerGui
  15. Backpack = Player.Backpack
  16. Torso = Character.Torso
  17. Head = Character.Head
  18. Humanoid = Character.Humanoid
  19. m = Instance.new("Model", Character)
  20. LeftArm = Character["Left Arm"]
  21. LeftLeg = Character["Left Leg"]
  22. RightArm = Character["Right Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LS = Torso["Left Shoulder"]
  25. LH = Torso["Left Hip"]
  26. RS = Torso["Right Shoulder"]
  27. RH = Torso["Right Hip"]
  28. Face = Head.face
  29. Neck = Torso.Neck
  30. attacktype = 1
  31. vt = Vector3.new
  32. cf = CFrame.new
  33. euler = CFrame.fromEulerAnglesXYZ
  34. angles = CFrame.Angles
  35. cloaked = false
  36. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  37. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  38. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  39. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  40. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  41. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  42. RootPart = Character.HumanoidRootPart
  43. RootJoint = RootPart.RootJoint
  44. RootCF = euler(-1.57, 0, 3.14)
  45. attack = false
  46. attackdebounce = false
  47. deb = false
  48. equipped = true
  49. hand = false
  50. MMouse = nil
  51. combo = 0
  52. mana = 0
  53. trispeed = 0.2
  54. attackmode = "none"
  55. local idle = 0
  56. local Anim = "Idle"
  57. local gun = false
  58. local shoot = false
  59. player = nil
  60. mana = 0
  61. mouse = Player:GetMouse()
  62. RSH = nil
  63. RW = Instance.new("Weld")
  64. LW = Instance.new("Weld")
  65. RH = Torso["Right Hip"]
  66. LH = Torso["Left Hip"]
  67. RSH = Torso["Right Shoulder"]
  68. LSH = Torso["Left Shoulder"]
  69. TorsoColor = Torso.BrickColor
  70. Colorpart1 = Torso.BrickColor.r
  71. Colorpart2 = Torso.BrickColor.g
  72. Colorpart3 = Torso.BrickColor.b
  73. NoOutline = function(Part)
  74. Part.TopSurface = 10
  75. end
  76.  
  77. player = Player
  78. ch = Character
  79. RSH = ch.Torso["Right Shoulder"]
  80. LSH = ch.Torso["Left Shoulder"]
  81. RSH.Parent = nil
  82. LSH.Parent = nil
  83. RW.Name = "Right Shoulder"
  84. RW.Part0 = ch.Torso
  85. RW.C0 = cf(1.5, 0.5, 0)
  86. RW.C1 = cf(0, 0.5, 0)
  87. RW.Part1 = ch["Right Arm"]
  88. RW.Parent = ch.Torso
  89. LW.Name = "Left Shoulder"
  90. LW.Part0 = ch.Torso
  91. LW.C0 = cf(-1.5, 0.5, 0)
  92. LW.C1 = cf(0, 0.5, 0)
  93. LW.Part1 = ch["Left Arm"]
  94. LW.Parent = ch.Torso
  95. Player = game:GetService("Players").LocalPlayer
  96. Character = Player.Character
  97. Mouse = Player:GetMouse()
  98. Bulletcount = 6
  99. local weldBetween = function(a, b)
  100. local weldd = Instance.new("ManualWeld")
  101. weldd.Part0 = a
  102. weldd.Part1 = b
  103. weldd.C0 = CFrame.new()
  104. weldd.C1 = b.CFrame:inverse() * a.CFrame
  105. weldd.Parent = a
  106. return weldd
  107. end
  108.  
  109. it = Instance.new
  110. nooutline = function(part)
  111. part.TopSurface = 10
  112. end
  113.  
  114. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  115. local fp = it("Part")
  116. fp.formFactor = formfactor
  117. fp.Parent = parent
  118. fp.Reflectance = reflectance
  119. fp.Transparency = transparency
  120. fp.CanCollide = false
  121. fp.Locked = true
  122. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  123. fp.Name = name
  124. fp.Size = size
  125. fp.Position = Character.Torso.Position
  126. nooutline(fp)
  127. fp.Material = material
  128. fp:BreakJoints()
  129. return fp
  130. end
  131.  
  132. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  133. local mesh = it(Mesh)
  134. mesh.Parent = part
  135. if Mesh == "SpecialMesh" then
  136. mesh.MeshType = meshtype
  137. mesh.MeshId = meshid
  138. end
  139. mesh.Offset = offset
  140. mesh.Scale = scale
  141. return mesh
  142. end
  143.  
  144. weld = function(parent, part0, part1, c0, c1)
  145. local weld = it("Weld")
  146. weld.Parent = parent
  147. weld.Part0 = part0
  148. weld.Part1 = part1
  149. weld.C0 = c0
  150. weld.C1 = c1
  151. return weld
  152. end
  153.  
  154. GunHandle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  155. 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))
  156. mesh("SpecialMesh", GunHandle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  157. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  158. 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))
  159. mesh("SpecialMesh", Part, Enum.MeshType.Torso, "", Vector3.new(0, 0, 0), Vector3.new(0.899999976, 1, 1.10000002))
  160. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  161. 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))
  162. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(7.5, 1, 1))
  163. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  164. 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))
  165. 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))
  166. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  167. 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))
  168. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  169. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  170. 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))
  171. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  172. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  173. 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))
  174. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  175. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  176. 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))
  177. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  178. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  179. 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))
  180. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  181. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  182. 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))
  183. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  184. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  185. 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))
  186. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.25, 0.25))
  187. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  188. 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))
  189. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.25, 0.25))
  190. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  191. 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))
  192. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.25, 0.25))
  193. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  194. 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))
  195. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(6, 1.10000002, 0.899999976))
  196. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  197. 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))
  198. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  199. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  200. 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))
  201. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  202. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  203. 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))
  204. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  205. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  206. 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))
  207. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  208. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  209. 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))
  210. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  211. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  212. 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))
  213. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  214. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  215. 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))
  216. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  217. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  218. 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))
  219. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  220. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  221. 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))
  222. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  223. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  224. 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))
  225. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  226. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  227. 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))
  228. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.910000026, 1.5, 1.5))
  229. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  230. 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))
  231. 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))
  232. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  233. 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))
  234. 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))
  235. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  236. 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))
  237. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  238. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  239. 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))
  240. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  241. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  242. 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))
  243. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  244. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  245. 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))
  246. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  247. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  248. 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))
  249. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  250. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  251. 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))
  252. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  253. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  254. 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))
  255. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  256. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  257. 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))
  258. 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))
  259. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  260. 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))
  261. 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))
  262. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  263. 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))
  264. 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))
  265. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  266. 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))
  267. 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))
  268. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  269. 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))
  270. 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))
  271. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  272. 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))
  273. 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))
  274. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  275. 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))
  276. 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))
  277. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  278. 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))
  279. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  280. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  281. 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))
  282. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  283. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  284. 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))
  285. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  286. SwordHandle = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "SwordHandle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  287. 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))
  288. mesh("SpecialMesh", SwordHandle, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(7.5999999, 1.10000002, 0.899999976))
  289. BulletHole = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Really red", "BulletHole", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  290. 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))
  291. mesh("SpecialMesh", BulletHole, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 0.75, 0.75))
  292. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Dark stone grey", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  293. 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))
  294. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.100000001, 0.899999976, 0.899999976))
  295. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  296. 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))
  297. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  298. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  299. 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))
  300. 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))
  301. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  302. 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))
  303. 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))
  304. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  305. 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))
  306. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  307. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  308. 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))
  309. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  310. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  311. 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))
  312. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  313. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  314. 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))
  315. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  316. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  317. 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))
  318. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  319. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  320. 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))
  321. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  322. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  323. 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))
  324. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  325. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  326. 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))
  327. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  328. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  329. 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))
  330. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 1, 1.5))
  331. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  332. 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))
  333. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(1.75, 0.75, 1.75))
  334. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  335. 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))
  336. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(2, 0.5, 2))
  337. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  338. 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))
  339. mesh("SpecialMesh", Part, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(2.25, 0.25, 2.25))
  340. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  341. 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))
  342. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(0.920000017, 1, 1))
  343. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  344. 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))
  345. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  346. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  347. 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))
  348. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  349. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  350. 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))
  351. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  352. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  353. 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))
  354. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  355. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  356. 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))
  357. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  358. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  359. 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))
  360. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  361. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  362. 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))
  363. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  364. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  365. 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))
  366. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  367. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  368. 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))
  369. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  370. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  371. 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))
  372. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.10000002, 0.899999976))
  373. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  374. 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))
  375. 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))
  376. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  377. 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))
  378. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  379. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  380. 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))
  381. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  382. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  383. 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))
  384. 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))
  385. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  386. 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))
  387. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(0.5, 1.20000005, 1))
  388. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  389. 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))
  390. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  391. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  392. 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))
  393. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  394. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  395. 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))
  396. mesh("SpecialMesh", Part, Enum.MeshType.Cylinder, "", Vector3.new(0, 0, 0), Vector3.new(1.00999999, 0.100000001, 0.100000001))
  397. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  398. 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))
  399. 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))
  400. Part = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  401. 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))
  402. 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))
  403. CoreHandle = part(Enum.FormFactor.Custom, m, Enum.Material.Neon, 0, 0, TorsoColor, "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  404. 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))
  405. mesh("SpecialMesh", CoreHandle, Enum.MeshType.Sphere, "", Vector3.new(0, 0, 0), Vector3.new(7.5, 7.5, 7.5))
  406. Ring1ReferencePoint = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, TorsoColor, "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  407. 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))
  408. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  409. 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))
  410. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  411. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  412. 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))
  413. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  414. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  415. 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))
  416. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  417. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  418. 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))
  419. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  420. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  421. 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))
  422. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  423. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  424. 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))
  425. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  426. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  427. 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))
  428. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  429. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  430. 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))
  431. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  432. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  433. 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))
  434. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  435. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  436. 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))
  437. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  438. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  439. 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))
  440. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  441. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  442. 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))
  443. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  444. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  445. 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))
  446. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  447. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  448. 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))
  449. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  450. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  451. 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))
  452. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  453. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  454. 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))
  455. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  456. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  457. 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))
  458. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  459. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  460. 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))
  461. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  462. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  463. 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))
  464. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  465. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  466. 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))
  467. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  468. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  469. 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))
  470. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  471. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  472. 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))
  473. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  474. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  475. 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))
  476. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  477. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  478. 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))
  479. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  480. Ring2ReferencePoint = part(Enum.FormFactor.Custom, m, Enum.Material.SmoothPlastic, 0, 1, TorsoColor, "Handle", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  481. 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))
  482. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  483. 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))
  484. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  485. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  486. 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))
  487. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  488. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  489. 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))
  490. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  491. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  492. 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))
  493. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  494. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  495. 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))
  496. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  497. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  498. 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))
  499. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  500. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  501. 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))
  502. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  503. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  504. 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))
  505. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  506. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  507. 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))
  508. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  509. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  510. 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))
  511. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  512. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  513. 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))
  514. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  515. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  516. 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))
  517. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  518. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  519. 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))
  520. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  521. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  522. 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))
  523. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  524. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  525. 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))
  526. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  527. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  528. 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))
  529. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  530. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  531. 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))
  532. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  533. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  534. 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))
  535. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  536. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  537. 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))
  538. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  539. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  540. 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))
  541. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  542. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  543. 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))
  544. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  545. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  546. 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))
  547. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  548. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, "Institutional white", "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  549. 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))
  550. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  551. Part = part(Enum.FormFactor.Custom, m, Enum.Material.Metal, 0, 0, TorsoColor, "Part", Vector3.new(0.381150067, 0.381150067, 0.381150067))
  552. 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))
  553. mesh("SpecialMesh", Part, Enum.MeshType.Brick, "", Vector3.new(0, 0, 0), Vector3.new(1.5, 0.5, 0.5))
  554. local particleemitter = Instance.new("ParticleEmitter", CoreHandle)
  555. particleemitter.Lifetime = NumberRange.new(1)
  556. particleemitter.Speed = NumberRange.new(0)
  557. particleemitter.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 5), NumberSequenceKeypoint.new(1, 5)})
  558. particleemitter.RotSpeed = NumberRange.new(9000)
  559. particleemitter.Rotation = NumberRange.new(-360, 360)
  560. particleemitter.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1), NumberSequenceKeypoint.new(0.1, 0), NumberSequenceKeypoint.new(0.9, 0), NumberSequenceKeypoint.new(1, 1)})
  561. particleemitter.LightEmission = 0.5
  562. particleemitter.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  563. particleemitter.Enabled = false
  564. local particleemitter2 = Instance.new("ParticleEmitter", CoreHandle)
  565. particleemitter2.VelocitySpread = 360
  566. particleemitter2.Lifetime = NumberRange.new(0.5)
  567. particleemitter2.Speed = NumberRange.new(10)
  568. particleemitter2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.5), NumberSequenceKeypoint.new(1, 0.5)})
  569. particleemitter2.RotSpeed = NumberRange.new(9000)
  570. particleemitter2.Rate = 100
  571. particleemitter2.Rotation = NumberRange.new(-360, 360)
  572. 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)})
  573. particleemitter2.LightEmission = 0.5
  574. particleemitter2.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  575. particleemitter2.Enabled = false
  576. coreaura = Instance.new("PointLight", CoreHandle)
  577. coreaura.Brightness = 5
  578. coreaura.Range = 5
  579. coreaura.Color = Color3.new(Colorpart1, Colorpart3, Colorpart3)
  580. local gunfirelight = Instance.new("PointLight", BulletHole)
  581. gunfirelight.Shadows = true
  582. gunfirelight.Color = Color3.new(Colorpart1, Colorpart3, Colorpart3)
  583. gunfirelight.Range = 10
  584. gunfirelight.Brightness = 7.5
  585. gunfirelight.Enabled = false
  586. local gunfireeffect = Instance.new("ParticleEmitter", BulletHole)
  587. gunfireeffect.Lifetime = NumberRange.new(0.1)
  588. gunfireeffect.Speed = NumberRange.new(0)
  589. gunfireeffect.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 3), NumberSequenceKeypoint.new(1, 3)})
  590. gunfireeffect.Rate = 100
  591. gunfireeffect.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  592. gunfireeffect.Name = "GunfireEffect"
  593. gunfireeffect.LightEmission = 0.5
  594. gunfireeffect.Texture = "http://www.roblox.com/asset/?id=243728166"
  595. gunfireeffect.Color = ColorSequence.new(Color3.new(Colorpart1, Colorpart2, Colorpart3), Color3.new(Colorpart1, Colorpart2, Colorpart3))
  596. gunfireeffect.Enabled = false
  597. for i,v in pairs(Character:GetChildren()) do
  598. if v:IsA("Model") then
  599. for _,c in pairs(v:GetChildren()) do
  600. if c:IsA("Part") then
  601. c.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  602. end
  603. end
  604. end
  605. end
  606. local Player = game.Players.localPlayer
  607. local Character = Player.Character
  608. local Humanoid = Character.Humanoid
  609. local mouse = Player:GetMouse()
  610. local m = Instance.new("Model", Character)
  611. local LeftArm = Character["Left Arm"]
  612. local RightArm = Character["Right Arm"]
  613. local LeftLeg = Character["Left Leg"]
  614. local RightLeg = Character["Right Leg"]
  615. local Head = Character.Head
  616. local Torso = Character.Torso
  617. local cam = game.Workspace.CurrentCamera
  618. local RootPart = Character.HumanoidRootPart
  619. local equipped = false
  620. local attack = false
  621. local Anim = "Idle"
  622. local idle = 0
  623. local sprint = false
  624. local battlestance = false
  625. local attacktype = 1
  626. local state = "none"
  627. local torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  628. local velocity = RootPart.Velocity.y
  629. local sine = 0
  630. local change = 1
  631. local on = false
  632. local grabbed = false
  633. local skill1 = false
  634. local skill2 = false
  635. local skill3 = false
  636. local skill4 = false
  637. local cooldown1 = 0
  638. local cooldown2 = 0
  639. local cooldown3 = 0
  640. local cooldown4 = 0
  641. local co1 = 17.5
  642. local co2 = 30
  643. local co3 = 50
  644. local co4 = 60
  645. local inputserv = game:GetService("UserInputService")
  646. local typing = false
  647. local crit = true
  648. local critchance = 2
  649. local critdamageaddmin = 3
  650. local critdamageaddmax = 7
  651. local maxstamina = 100
  652. local stamina = 0
  653. local skill1stam = 15
  654. local skill2stam = 30
  655. local skill3stam = 25
  656. local skill4stam = 75
  657. local recovermana = 3
  658. local defensevalue = 1
  659. local speedvalue = 1
  660. local mindamage = 5
  661. local maxdamage = 7
  662. local damagevalue = 1
  663. local cf = CFrame.new
  664. local mr = math.rad
  665. local angles = CFrame.Angles
  666. local ud = UDim2.new
  667. local c3 = Color3.new
  668. local skillcolorscheme = c3(1, 1, 1)
  669. local aiming = false
  670. local scrn = Instance.new("ScreenGui", Player.PlayerGui)
  671. makeframe = function(par, trans, pos, size, color)
  672. local frame = Instance.new("Frame", par)
  673. frame.BackgroundTransparency = trans
  674. frame.BorderSizePixel = 0
  675. frame.Position = pos
  676. frame.Size = size
  677. frame.BackgroundColor3 = color
  678. return frame
  679. end
  680.  
  681. makelabel = function(par, text)
  682. local label = Instance.new("TextLabel", par)
  683. label.BackgroundTransparency = 1
  684. label.Size = ud(1, 0, 1, 0)
  685. label.Position = ud(0, 0, 0, 0)
  686. label.TextColor3 = c3(255, 255, 255)
  687. label.TextStrokeTransparency = 0
  688. label.FontSize = Enum.FontSize.Size32
  689. label.Font = Enum.Font.SourceSansBold
  690. label.BorderSizePixel = 0
  691. label.TextScaled = true
  692. label.Text = text
  693. end
  694.  
  695. framesk1 = makeframe(scrn, 0.5, ud(0.23, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  696. framesk2 = makeframe(scrn, 0.5, ud(0.5, 0, 0.93, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  697. framesk3 = makeframe(scrn, 0.5, ud(0.5, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  698. framesk4 = makeframe(scrn, 0.5, ud(0.23, 0, 0.86, 0), ud(0.26, 0, 0.06, 0), skillcolorscheme)
  699. framesk5 = makeframe(scrn, 0.5, ud(0.23, 0, 0.75, 0), ud(0.1, 0, 0.06, 0), skillcolorscheme)
  700. bar1 = makeframe(framesk1, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  701. bar2 = makeframe(framesk2, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  702. bar3 = makeframe(framesk3, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  703. bar4 = makeframe(framesk4, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  704. bar5 = makeframe(framesk5, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), skillcolorscheme)
  705. text1 = makelabel(framesk1, "[C] Dash")
  706. text2 = makelabel(framesk2, "[V] OrbShot")
  707. text3 = makelabel(framesk3, "[X] Shoot Barrage")
  708. text4 = makelabel(framesk4, "[Z] ReCharge")
  709. ammolabel = Instance.new("TextLabel", framesk5)
  710. ammolabel.BackgroundTransparency = 1
  711. ammolabel.Size = ud(1, 0, 1, 0)
  712. ammolabel.Position = ud(0, 0, 0, 0)
  713. ammolabel.TextColor3 = c3(255, 255, 255)
  714. ammolabel.TextStrokeTransparency = 0
  715. ammolabel.FontSize = Enum.FontSize.Size32
  716. ammolabel.Font = Enum.Font.SourceSansBold
  717. ammolabel.BorderSizePixel = 0
  718. ammolabel.TextScaled = true
  719. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  720. staminabar = makeframe(scrn, 0.5, ud(0.23, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(Colorpart1, Colorpart2, Colorpart3))
  721. staminacover = makeframe(staminabar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(Colorpart1 + 0.15, Colorpart2 + 0.15, Colorpart3 + 0.15))
  722. staminatext = makelabel(staminabar, "Energy")
  723. healthbar = makeframe(scrn, 0.5, ud(0.5, 0, 0.82, 0), ud(0.26, 0, 0.03, 0), c3(1, 1, 0))
  724. healthcover = makeframe(healthbar, 0, ud(0, 0, 0, 0), ud(1, 0, 1, 0), c3(1, 0.18039215686275, 0.1921568627451))
  725. healthtext = makelabel(healthbar, "Health")
  726. local stats = Instance.new("Folder", Character)
  727. stats.Name = "Stats"
  728. local block = Instance.new("BoolValue", stats)
  729. block.Name = "Block"
  730. block.Value = false
  731. local stun = Instance.new("BoolValue", stats)
  732. stun.Name = "Stun"
  733. stun.Value = false
  734. local defense = Instance.new("NumberValue", stats)
  735. defense.Name = "Defence"
  736. defense.Value = defensevalue
  737. local speed = Instance.new("NumberValue", stats)
  738. speed.Name = "Speed"
  739. speed.Value = speedvalue
  740. local damagea = Instance.new("NumberValue", stats)
  741. damagea.Name = "Damage"
  742. damagea.Value = damagevalue
  743. gyro = Instance.new("BodyGyro")
  744. gyro.Parent = nil
  745. gyro.P = 10000000
  746. gyro.D = 1000
  747. gyro.MaxTorque = Vector3.new(0, 10000000, 0)
  748. makeeffect = function(par, size, pos1, trans, trans1, howmuch, delay1, id, type)
  749. local p = Instance.new("Part", par or workspace)
  750. p.CFrame = pos1
  751. p.Anchored = true
  752. p.Material = "Plastic"
  753. p.CanCollide = false
  754. p.TopSurface = 0
  755. p.Size = Vector3.new(1, 1, 1)
  756. p.BottomSurface = 0
  757. p.Transparency = trans
  758. p.FormFactor = "Custom"
  759. nooutline(p)
  760. local mesh = Instance.new("SpecialMesh", p)
  761. mesh.Scale = size
  762. if id ~= nil and type == nil then
  763. mesh.MeshId = "rbxassetid://" .. id
  764. else
  765. if id == nil and type ~= nil then
  766. mesh.MeshType = type
  767. else
  768. if id == nil and type == nil then
  769. mesh.MeshType = "Brick"
  770. end
  771. end
  772. end
  773. coroutine.wrap(function()
  774. for i = 0, delay1, 0.1 do
  775. fat.Event:wait(0.016666666666667)
  776. p.CFrame = p.CFrame
  777. mesh.Scale = mesh.Scale + howmuch
  778. p.Transparency = p.Transparency + trans1
  779. end
  780. p:Destroy()
  781. end
  782. )()
  783. return p
  784. end
  785.  
  786. clangy = function(cframe)
  787. fat.Event:wait(0.016666666666667)
  788. local clang = {}
  789. local dis = 0
  790. local part = Instance.new("Part", nil)
  791. part.CFrame = cframe
  792. part.Anchored = true
  793. part.CanCollide = false
  794. part.BrickColor = BrickColor.new("New Yeller")
  795. part.FormFactor = "Custom"
  796. part.Name = "clanger"
  797. part.Size = Vector3.new(0.2, 0.2, 0.2)
  798. part.TopSurface = 10
  799. part.BottomSurface = 10
  800. part.RightSurface = 10
  801. part.LeftSurface = 10
  802. part.BackSurface = 10
  803. part.FrontSurface = 10
  804. part:BreakJoints()
  805. local mesh = Instance.new("BlockMesh", part)
  806. coroutine.wrap(function()
  807. for i = 1, 7 do
  808. do
  809. fat.Event:wait(0.016666666666667)
  810. dis = dis + 0.2
  811. local partc = part:clone()
  812. partc.Parent = workspace
  813. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  814. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  815. table.insert(clang, partc)
  816. end
  817. end
  818. for i,v in pairs(clang) do
  819. coroutine.wrap(function()
  820. for i = 1, 10 do
  821. fat.Event:wait(0.01)
  822. v.Transparency = v.Transparency + 0.1
  823. end
  824. v:destroy()
  825. end
  826. )()
  827. end
  828. end
  829. )()
  830. end
  831.  
  832. circle = function(color, pos1)
  833. local p = Instance.new("Part", m)
  834. p.BrickColor = BrickColor.new(color)
  835. p.CFrame = pos1
  836. p.Anchored = true
  837. p.Material = "Plastic"
  838. p.CanCollide = false
  839. p.TopSurface = 0
  840. p.Size = Vector3.new(1, 1, 1)
  841. p.BottomSurface = 0
  842. p.Transparency = 0.35
  843. p.FormFactor = "Custom"
  844. local mesh = Instance.new("CylinderMesh", p)
  845. mesh.Scale = Vector3.new(0, 0, 0)
  846. coroutine.wrap(function()
  847. for i = 0, 5, 0.1 do
  848. fat.Event:wait(0.016666666666667)
  849. p.CFrame = p.CFrame
  850. mesh.Scale = mesh.Scale + Vector3.new(0.5, 0, 0.5)
  851. p.Transparency = p.Transparency + 0.025
  852. end
  853. p:Destroy()
  854. end
  855. )()
  856. end
  857.  
  858. firespaz1 = function(color, pos1)
  859. local p = Instance.new("Part", m)
  860. p.BrickColor = BrickColor.new(color)
  861. p.CFrame = pos1
  862. p.Anchored = true
  863. p.Material = "Plastic"
  864. p.CanCollide = false
  865. p.TopSurface = 0
  866. p.Size = Vector3.new(1, 1, 1)
  867. p.BottomSurface = 0
  868. p.Transparency = 0.5
  869. p.FormFactor = "Custom"
  870. local mesh = Instance.new("BlockMesh", p)
  871. mesh.Scale = Vector3.new(1, 1, 1)
  872. coroutine.wrap(function()
  873. for i = 0, 15, 0.1 do
  874. fat.Event:wait(0.033333333333333)
  875. p.CFrame = p.CFrame * CFrame.new(0, 0.1, 0)
  876. mesh.Scale = mesh.Scale - Vector3.new(0.1, 0.1, 0.1)
  877. p.Transparency = p.Transparency + 0.025
  878. end
  879. p:Destroy()
  880. end
  881. )()
  882. end
  883.  
  884. pickrandom = function(tablesa)
  885. local randomized = tablesa[math.random(1, #tablesa)]
  886. return randomized
  887. end
  888.  
  889. CreateSound = function(id, par, vol, pit)
  890. coroutine.resume(coroutine.create(function()
  891. local sou = Instance.new("Sound", par or workspace)
  892. sou.Volume = vol
  893. sou.Pitch = pit or 1
  894. sou.SoundId = id
  895. fat.Event:wait()
  896. sou:play()
  897. game:GetService("Debris"):AddItem(sou, 6)
  898. end
  899. ))
  900. end
  901.  
  902. clangy = function(cframe)
  903. fat.Event:wait(0.016666666666667)
  904. local clang = {}
  905. local dis = 0
  906. local part = Instance.new("Part", nil)
  907. part.CFrame = cframe
  908. part.Anchored = true
  909. part.CanCollide = false
  910. part.BrickColor = BrickColor.new("New Yeller")
  911. part.FormFactor = "Custom"
  912. part.Name = "clanger"
  913. part.Size = Vector3.new(0.2, 0.2, 0.2)
  914. part.TopSurface = 10
  915. part.BottomSurface = 10
  916. part.RightSurface = 10
  917. part.LeftSurface = 10
  918. part.BackSurface = 10
  919. part.FrontSurface = 10
  920. part:BreakJoints()
  921. local mesh = Instance.new("BlockMesh", part)
  922. coroutine.wrap(function()
  923. for i = 1, 7 do
  924. do
  925. fat.Event:wait(0.016666666666667)
  926. dis = dis + 0.2
  927. local partc = part:clone()
  928. partc.Parent = workspace
  929. partc.CFrame = part.CFrame * CFrame.fromEulerAnglesXYZ(dis, 0, 0)
  930. partc.CFrame = partc.CFrame * CFrame.new(0, dis, 0)
  931. table.insert(clang, partc)
  932. end
  933. end
  934. for i,v in pairs(clang) do
  935. coroutine.wrap(function()
  936. for i = 1, 10 do
  937. fat.Event:wait(0.01)
  938. v.Transparency = v.Transparency + 0.1
  939. end
  940. v:destroy()
  941. end
  942. )()
  943. end
  944. end
  945. )()
  946. end
  947.  
  948. so = function(id, par, vol, pit)
  949. coroutine.resume(coroutine.create(function()
  950. local sou = Instance.new("Sound", par or workspace)
  951. sou.Volume = vol
  952. sou.Pitch = pit or 1
  953. sou.SoundId = id
  954. fat.Event:wait()
  955. sou:play()
  956. game:GetService("Debris"):AddItem(sou, 6)
  957. end
  958. ))
  959. end
  960.  
  961. getclosest = function(obj, dis, player)
  962. if (player.Torso.CFrame.p - obj).magnitude >= dis then
  963. do return not player end
  964. do
  965. local list = {}
  966. for i,v in pairs(workspace:GetChildren()) do
  967. if v:IsA("Model") and v:findFirstChild("Torso") and v ~= Character and (v.Torso.Position - obj).magnitude <= dis then
  968. table.insert(list, v)
  969. end
  970. end
  971. do return list end
  972. -- DECOMPILER ERROR: 3 unprocessed JMP targets
  973. end
  974. end
  975. end
  976.  
  977. tag = function(hum, player)
  978. local creator = Instance.new("ObjectValue", hum)
  979. creator.Value = player
  980. creator.Name = "creator"
  981. end
  982.  
  983. untag = function(hum)
  984. if hum ~= nil then
  985. local tag = hum:findFirstChild("creator")
  986. if tag ~= nil then
  987. tag.Parent = nil
  988. end
  989. end
  990. end
  991.  
  992. tagplayer = function(h)
  993. coroutine.wrap(function()
  994. tag(h, player)
  995. fat.Event:wait(1)
  996. untag(h)
  997. end
  998. )()
  999. end
  1000.  
  1001. randomizer = function(percent)
  1002. local randomized = math.random(0, 100)
  1003. if randomized <= percent then
  1004. return true
  1005. else
  1006. if percent <= randomized then
  1007. return false
  1008. end
  1009. end
  1010. end
  1011.  
  1012. turncrit = function()
  1013. coroutine.resume(coroutine.create(function()
  1014. print("CRITICAL!")
  1015. crit = true
  1016. wait(0.25)
  1017. crit = false
  1018. end
  1019. ))
  1020. end
  1021.  
  1022. subtractstamina = function(k)
  1023. if k <= stamina then
  1024. stamina = stamina - k
  1025. end
  1026. end
  1027.  
  1028. local weldBetween = function(a, b)
  1029. local weldd = Instance.new("ManualWeld")
  1030. weldd.Part0 = a
  1031. weldd.Part1 = b
  1032. weldd.C0 = CFrame.new()
  1033. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1034. weldd.Parent = a
  1035. return weldd
  1036. end
  1037.  
  1038. fat = Instance.new("BindableEvent", script)
  1039. fat.Name = "Heartbeat"
  1040. script:WaitForChild("Heartbeat")
  1041. frame = 0.033333333333333
  1042. tf = 0
  1043. allowframeloss = false
  1044. tossremainder = false
  1045. lastframe = tick()
  1046. script.Heartbeat:Fire()
  1047. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1048. tf = tf + s
  1049. if frame <= tf then
  1050. if allowframeloss then
  1051. script.Heartbeat:Fire()
  1052. lastframe = tick()
  1053. else
  1054. for i = 1, math.floor(tf / frame) do
  1055. script.Heartbeat:Fire()
  1056. end
  1057. lastframe = tick()
  1058. end
  1059. if tossremainder then
  1060. tf = 0
  1061. else
  1062. tf = tf - frame * math.floor(tf / frame)
  1063. end
  1064. end
  1065. end
  1066. )
  1067. nooutline = function(part)
  1068. part.TopSurface = 10
  1069. end
  1070.  
  1071. part = function(formfactor, parent, material, reflectance, transparency, brickcolor, name, size)
  1072. local fp = it("Part")
  1073. fp.formFactor = formfactor
  1074. fp.Parent = parent
  1075. fp.Reflectance = reflectance
  1076. fp.Transparency = transparency
  1077. fp.CanCollide = false
  1078. fp.Locked = true
  1079. fp.BrickColor = BrickColor.new(tostring(brickcolor))
  1080. fp.Name = name
  1081. fp.Size = size
  1082. fp.Position = Character.Torso.Position
  1083. nooutline(fp)
  1084. fp.Material = material
  1085. fp:BreakJoints()
  1086. return fp
  1087. end
  1088.  
  1089. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  1090. local mesh = it(Mesh)
  1091. mesh.Parent = part
  1092. if Mesh == "SpecialMesh" then
  1093. mesh.MeshType = meshtype
  1094. mesh.MeshId = meshid
  1095. end
  1096. mesh.Offset = offset
  1097. mesh.Scale = scale
  1098. return mesh
  1099. end
  1100.  
  1101. weld = function(parent, part0, part1, c0, c1)
  1102. local weld = it("Weld")
  1103. weld.Parent = parent
  1104. weld.Part0 = part0
  1105. weld.Part1 = part1
  1106. weld.C0 = c0
  1107. weld.C1 = c1
  1108. return weld
  1109. end
  1110.  
  1111. local CFrameFromTopBack = function(at, top, back)
  1112. local right = top:Cross(back)
  1113. 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)
  1114. end
  1115.  
  1116. Triangle = function(a, b, c)
  1117. local edg1 = c - a:Dot(b - a.unit)
  1118. local edg2 = a - b:Dot(c - b.unit)
  1119. local edg3 = b - c:Dot(a - c.unit)
  1120. if edg1 <= (b - a).magnitude and edg1 >= 0 then
  1121. a = a
  1122. else
  1123. -- DECOMPILER ERROR at PC35: Overwrote pending register: R1 in 'AssignReg'
  1124.  
  1125. if edg2 <= (c - b).magnitude and edg2 >= 0 then
  1126. a = b
  1127. else
  1128. -- DECOMPILER ERROR at PC46: Overwrote pending register: R2 in 'AssignReg'
  1129.  
  1130. -- DECOMPILER ERROR at PC47: Overwrote pending register: R1 in 'AssignReg'
  1131.  
  1132. if edg3 <= (a - c).magnitude and edg3 >= 0 then
  1133. a = c
  1134. else
  1135. assert(false, "unreachable")
  1136. end
  1137. end
  1138. end
  1139. local len1 = c - a:Dot(b - a.unit)
  1140. local len2 = (b - a).magnitude - len1
  1141. local width = ((a + b - a.unit * len1) - c).magnitude
  1142. local maincf = CFrameFromTopBack(a, b - a:Cross(c - b).unit, -b - a.unit)
  1143. local list = {}
  1144. local TrailColor = "Dark grey"
  1145. if len1 > 0.01 then
  1146. local w1 = Instance.new("WedgePart", m)
  1147. game:GetService("Debris"):AddItem(w1, 5)
  1148. w1.Material = "SmoothPlastic"
  1149. w1.FormFactor = "Custom"
  1150. w1.BrickColor = BrickColor.new(TrailColor)
  1151. w1.Transparency = 0
  1152. w1.Reflectance = 0
  1153. w1.Material = "SmoothPlastic"
  1154. w1.CanCollide = false
  1155. NoOutline(w1)
  1156. local sz = Vector3.new(0.2, width, len1)
  1157. w1.Size = sz
  1158. local sp = Instance.new("SpecialMesh", w1)
  1159. sp.MeshType = "Wedge"
  1160. sp.Scale = Vector3.new(0, 1, 1) * sz / w1.Size
  1161. w1:BreakJoints()
  1162. w1.Anchored = true
  1163. w1.Parent = workspace
  1164. w1.Transparency = 0.7
  1165. table.insert(Effects, {w1, "Disappear", 0.01})
  1166. w1.CFrame = maincf * CFrame.Angles(math.pi, 0, math.pi / 2) * CFrame.new(0, width / 2, len1 / 2)
  1167. table.insert(list, w1)
  1168. end
  1169. do
  1170. if len2 > 0.01 then
  1171. local w2 = Instance.new("WedgePart", m)
  1172. game:GetService("Debris"):AddItem(w2, 5)
  1173. w2.Material = "SmoothPlastic"
  1174. w2.FormFactor = "Custom"
  1175. w2.BrickColor = BrickColor.new(TrailColor)
  1176. w2.Transparency = 0
  1177. w2.Reflectance = 0
  1178. w2.Material = "SmoothPlastic"
  1179. w2.CanCollide = false
  1180. NoOutline(w2)
  1181. local sz = Vector3.new(0.2, width, len2)
  1182. w2.Size = sz
  1183. local sp = Instance.new("SpecialMesh", w2)
  1184. sp.MeshType = "Wedge"
  1185. sp.Scale = Vector3.new(0, 1, 1) * sz / w2.Size
  1186. w2:BreakJoints()
  1187. w2.Anchored = true
  1188. w2.Parent = workspace
  1189. w2.Transparency = 0.7
  1190. table.insert(Effects, {w2, "Disappear", 0.01})
  1191. w2.CFrame = maincf * CFrame.Angles(math.pi, math.pi, -math.pi / 2) * CFrame.new(0, width / 2, -len1 - len2 / 2)
  1192. table.insert(list, w2)
  1193. end
  1194. do
  1195. return unpack(list)
  1196. end
  1197. end
  1198. end
  1199.  
  1200. so = function(id, par, vol, pit)
  1201. coroutine.resume(coroutine.create(function()
  1202. local sou = Instance.new("Sound", par or workspace)
  1203. sou.Volume = vol
  1204. sou.Pitch = pit or 1
  1205. sou.SoundId = id
  1206. fat.Event:wait()
  1207. sou:play()
  1208. game:GetService("Debris"):AddItem(sou, 6)
  1209. end
  1210. ))
  1211. end
  1212.  
  1213. clerp = function(a, b, t)
  1214. local qa = {QuaternionFromCFrame(a)}
  1215. local qb = {QuaternionFromCFrame(b)}
  1216. local ax, ay, az = a.x, a.y, a.z
  1217. local bx, by, bz = b.x, b.y, b.z
  1218. local _t = 1 - t
  1219. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1220. end
  1221.  
  1222. local clerp = CFrame.new().lerp
  1223. QuaternionFromCFrame = function(cf)
  1224. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1225. local trace = m00 + m11 + m22
  1226. if trace > 0 then
  1227. local s = math.sqrt(1 + trace)
  1228. local recip = 0.5 / s
  1229. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1230. else
  1231. do
  1232. local i = 0
  1233. if m00 < m11 then
  1234. i = 1
  1235. end
  1236. if i == 0 and m00 or m11 < m22 then
  1237. i = 2
  1238. end
  1239. if i == 0 then
  1240. local s = math.sqrt(m00 - m11 - m22 + 1)
  1241. local recip = 0.5 / s
  1242. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1243. else
  1244. do
  1245. if i == 1 then
  1246. local s = math.sqrt(m11 - m22 - m00 + 1)
  1247. local recip = 0.5 / s
  1248. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1249. else
  1250. do
  1251. if i == 2 then
  1252. local s = math.sqrt(m22 - m00 - m11 + 1)
  1253. local recip = 0.5 / s
  1254. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1255. end
  1256. end
  1257. end
  1258. end
  1259. end
  1260. end
  1261. end
  1262. end
  1263.  
  1264. QuaternionToCFrame = function(px, py, pz, x, y, z, w)
  1265. local xs, ys, zs = x + x, y + y, z + z
  1266. local wx, wy, wz = w * xs, w * ys, w * zs
  1267. local xx = x * xs
  1268. local xy = x * ys
  1269. local xz = x * zs
  1270. local yy = y * ys
  1271. local yz = y * zs
  1272. local zz = z * zs
  1273. 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))
  1274. end
  1275.  
  1276. QuaternionSlerp = function(a, b, t)
  1277. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1278. local startInterp, finishInterp = nil, nil
  1279. if cosTheta >= 0.0001 then
  1280. if 1 - cosTheta > 0.0001 then
  1281. local theta = math.acos(cosTheta)
  1282. local invSinTheta = 1 / math.sin(theta)
  1283. startInterp = math.sin((1 - t) * theta) * invSinTheta
  1284. finishInterp = math.sin(t * theta) * invSinTheta
  1285. else
  1286. do
  1287. startInterp = 1 - t
  1288. finishInterp = t
  1289. if 1 + cosTheta > 0.0001 then
  1290. local theta = math.acos(-cosTheta)
  1291. local invSinTheta = 1 / math.sin(theta)
  1292. startInterp = math.sin((t - 1) * theta) * invSinTheta
  1293. finishInterp = math.sin(t * theta) * invSinTheta
  1294. else
  1295. do
  1296. startInterp = t - 1
  1297. finishInterp = t
  1298. 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
  1299. end
  1300. end
  1301. end
  1302. end
  1303. end
  1304. end
  1305.  
  1306. rayCast = function(Pos, Dir, Max, Ignore)
  1307. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1308. end
  1309.  
  1310. makegui = function(cframe, text)
  1311. local a = math.random(-10, 10) / 100
  1312. local c = Instance.new("Part")
  1313. c.Transparency = 1
  1314. Instance.new("BodyGyro").Parent = c
  1315. c.Parent = workspace
  1316. c.CFrame = CFrame.new(cframe.p + Vector3.new(0, 1.5, 0))
  1317. local f = Instance.new("BodyPosition")
  1318. f.P = 2000
  1319. f.D = 100
  1320. f.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1321. f.position = c.Position + Vector3.new(0, 3, 0)
  1322. f.Parent = c
  1323. game:GetService("Debris"):AddItem(c, 6.5)
  1324. c.CanCollide = false
  1325. c.Parent = workspace
  1326. c.CanCollide = false
  1327. local bg = Instance.new("BillboardGui", c)
  1328. bg.Adornee = c
  1329. bg.Size = UDim2.new(1, 0, 1, 0)
  1330. bg.StudsOffset = Vector3.new(0, 0, 0)
  1331. bg.AlwaysOnTop = false
  1332. local tl = Instance.new("TextLabel", bg)
  1333. tl.BackgroundTransparency = 1
  1334. tl.Size = UDim2.new(1, 0, 1, 0)
  1335. tl.Text = text
  1336. tl.Font = "SourceSansBold"
  1337. tl.FontSize = "Size42"
  1338. if crit == true then
  1339. tl.TextColor3 = Color3.new(0.70588235294118, 0, 0)
  1340. else
  1341. tl.TextColor3 = Color3.new(255, 0.70588235294118, 0.2)
  1342. end
  1343. tl.TextStrokeTransparency = 0
  1344. tl.TextScaled = true
  1345. tl.TextWrapped = true
  1346. coroutine.wrap(function()
  1347. wait(2)
  1348. for i = 1, 10 do
  1349. fat.Event:wait()
  1350. c.Transparency = 1
  1351. tl.TextTransparency = tl.TextTransparency + 0.1
  1352. end
  1353. end
  1354. )()
  1355. end
  1356.  
  1357. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, decreaseblock)
  1358. if hit.Parent == nil then
  1359. return
  1360. end
  1361. h = hit.Parent:FindFirstChild("Humanoid")
  1362. for _,v in pairs(hit.Parent:children()) do
  1363. if v:IsA("Humanoid") then
  1364. h = v
  1365. end
  1366. end
  1367. if hit.Parent.Parent:FindFirstChild("Torso") ~= nil then
  1368. h = hit.Parent.Parent:FindFirstChild("Humanoid")
  1369. end
  1370. if hit.Parent.className == "Hat" then
  1371. hit = hit.Parent.Parent:findFirstChild("Head")
  1372. end
  1373. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1374. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1375. return
  1376. end
  1377. blocked = false
  1378. block = hit.Parent:findFirstChild("Block")
  1379. if block ~= nil then
  1380. print(block.className)
  1381. if block.className == "NumberValue" and block.Value > 0 then
  1382. blocked = true
  1383. if decreaseblock == nil then
  1384. block.Value = block.Value - 1
  1385. end
  1386. end
  1387. if block.className == "IntValue" and block.Value > 0 then
  1388. blocked = true
  1389. if decreaseblock ~= nil then
  1390. block.Value = block.Value - 1
  1391. end
  1392. end
  1393. end
  1394. if blocked == false then
  1395. local D = math.random(minim, maxim) * damagea.Value
  1396. if h.Parent:FindFirstChild("Stats") then
  1397. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1398. else
  1399. end
  1400. if not h.Parent:FindFirstChild("Stats") then
  1401. do
  1402. h.Health = h.Health - D
  1403. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1404. local D = math.random(minim, maxim) * damagea.Value
  1405. if h.Parent:FindFirstChild("Stats") then
  1406. D = D / h.Parent:FindFirstChild("Stats").Defence.Value
  1407. else
  1408. end
  1409. if not h.Parent:FindFirstChild("Stats") then
  1410. do
  1411. h.Health = h.Health - D / 2
  1412. makegui(hit.Parent.Head.CFrame, tostring(math.floor(D + 0.5)))
  1413. if Type == "Knockdown" then
  1414. humanoid = hit.Parent.Humanoid
  1415. humanoid.PlatformStand = true
  1416. coroutine.resume(coroutine.create(function(Humanoid)
  1417. fat.Event:wait()
  1418. Humanoid.PlatformStand = false
  1419. end
  1420. ), humanoid)
  1421. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1422. local bodvol = Instance.new("BodyVelocity")
  1423. bodvol.velocity = angle * knockback
  1424. bodvol.P = 5000
  1425. bodvol.maxForce = Vector3.new(8000, 8000, 8000)
  1426. bodvol.Parent = hit
  1427. rl = Instance.new("BodyAngularVelocity")
  1428. rl.P = 3000
  1429. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1430. rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1431. rl.Parent = hit
  1432. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1433. game:GetService("Debris"):AddItem(rl, 0.5)
  1434. else
  1435. do
  1436. if Type == "Normal" then
  1437. so("http://roblox.com/asset/?id=392592460", hit, 1, math.random(80, 120) / 100)
  1438. vp = Instance.new("BodyVelocity")
  1439. vp.P = 500
  1440. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1441. if KnockbackType == 1 then
  1442. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1443. else
  1444. if KnockbackType == 2 then
  1445. vp.velocity = Property.CFrame.lookVector * knockback
  1446. end
  1447. end
  1448. if knockback > 0 then
  1449. vp.Parent = hit.Parent.Torso
  1450. end
  1451. game:GetService("Debris"):AddItem(vp, 0.5)
  1452. else
  1453. if Type == "MovementDebuff" then
  1454. coroutine.resume(coroutine.create(function()
  1455. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed - 0.2
  1456. speed.Value = speed.Value + 0.2
  1457. Humanoid.WalkSpeed = 16 * speed.Value
  1458. wait(1)
  1459. hit.Parent.Humanoid.WalkSpeed = hit.Parent.Humanoid.WalkSpeed + 0.2
  1460. speed.Value = speed.Value - 0.2
  1461. Humanoid.WalkSpeed = 16 * speed.Value
  1462. end
  1463. ))
  1464. vp = Instance.new("BodyVelocity")
  1465. vp.P = 500
  1466. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1467. if KnockbackType == 1 then
  1468. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1469. else
  1470. if KnockbackType == 2 then
  1471. vp.velocity = Property.CFrame.lookVector * knockback
  1472. end
  1473. end
  1474. if knockback > 0 then
  1475. vp.Parent = hit.Parent.Torso
  1476. end
  1477. game:GetService("Debris"):AddItem(vp, 0.5)
  1478. else
  1479. if Type == "CurseAura" then
  1480. coroutine.resume(coroutine.create(function()
  1481. savethewalkspeed = hit.Parent.Humanoid.WalkSpeed
  1482. hit.Parent.Humanoid.WalkSpeed = 0
  1483. wait(0.25)
  1484. hit.Parent.Humanoid.WalkSpeed = savethewalkspeed
  1485. end
  1486. ))
  1487. vp = Instance.new("BodyVelocity")
  1488. vp.P = 500
  1489. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1490. if KnockbackType == 1 then
  1491. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1492. else
  1493. if KnockbackType == 2 then
  1494. vp.velocity = Property.CFrame.lookVector * knockback
  1495. end
  1496. end
  1497. if knockback > 0 then
  1498. vp.Parent = hit.Parent.Torso
  1499. end
  1500. game:GetService("Debris"):AddItem(vp, 0.5)
  1501. else
  1502. if Type == "SlashLifeSteal2" then
  1503. so("http://www.roblox.com/asset/?id=344936315", hit, 1, math.random(100, 200) / 100)
  1504. Humanoid.Health = Humanoid.Health + math.random(2, 3) / 2.5
  1505. vp = Instance.new("BodyVelocity")
  1506. vp.P = 500
  1507. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1508. if KnockbackType == 1 then
  1509. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1510. else
  1511. if KnockbackType == 2 then
  1512. vp.velocity = Property.CFrame.lookVector * knockback
  1513. end
  1514. end
  1515. if knockback > 0 then
  1516. vp.Parent = hit.Parent.Torso
  1517. end
  1518. game:GetService("Debris"):AddItem(vp, 0.5)
  1519. else
  1520. if Type == "BlackHoleDamage" then
  1521. Humanoid.Health = Humanoid.Health + math.random(2, 4) / 5
  1522. floatingvelocity = Instance.new("BodyVelocity")
  1523. floatingvelocity.Parent = hit.Parent.Torso
  1524. floatingvelocity.Velocity = Vector3.new(0, math.random(2.5, 5), 0)
  1525. game:GetService("Debris"):AddItem(floatingvelocity, 1)
  1526. else
  1527. if Type == "BlackHoleDamage2" then
  1528. vp = Instance.new("BodyVelocity")
  1529. vp.P = 500
  1530. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1531. if KnockbackType == 1 then
  1532. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1533. else
  1534. if KnockbackType == 2 then
  1535. vp.velocity = Property.CFrame.lookVector * knockback
  1536. end
  1537. end
  1538. if knockback > 0 then
  1539. vp.Parent = hit.Parent.Torso
  1540. end
  1541. game:GetService("Debris"):AddItem(vp, 0.5)
  1542. else
  1543. if Type == "Up" then
  1544. local bodyVelocity = Instance.new("BodyVelocity")
  1545. bodyVelocity.velocity = vt(0, 60, 0)
  1546. bodyVelocity.P = 5000
  1547. bodyVelocity.maxForce = Vector3.new(8000, 8000, 8000)
  1548. bodyVelocity.Parent = hit
  1549. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1550. rl = Instance.new("BodyAngularVelocity")
  1551. rl.P = 3000
  1552. rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  1553. rl.angularvelocity = Vector3.new(math.random(-30, 30), math.random(-30, 30), math.random(-30, 30))
  1554. rl.Parent = hit
  1555. game:GetService("Debris"):AddItem(rl, 0.5)
  1556. else
  1557. do
  1558. if Type == "Snare" then
  1559. wait()
  1560. bp = Instance.new("BodyPosition")
  1561. bp.P = 2000
  1562. bp.D = 100
  1563. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1564. bp.position = hit.Parent.Torso.Position
  1565. bp.Parent = hit.Parent.Torso
  1566. game:GetService("Debris"):AddItem(bp, 1)
  1567. else
  1568. if Type == "Target" then
  1569. so("http://www.roblox.com/asset/?id=199144144", hit, 1, math.random(150, 200) / 100)
  1570. vp = Instance.new("BodyVelocity")
  1571. vp.P = 500
  1572. vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  1573. if KnockbackType == 1 then
  1574. vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1575. else
  1576. if KnockbackType == 2 then
  1577. vp.velocity = Property.CFrame.lookVector * knockback
  1578. end
  1579. end
  1580. if knockback > 0 then
  1581. vp.Parent = hit.Parent.Torso
  1582. end
  1583. game:GetService("Debris"):AddItem(vp, 0.5)
  1584. end
  1585. end
  1586. debounce = Instance.new("BoolValue")
  1587. debounce.Name = "DebounceHit"
  1588. debounce.Parent = hit.Parent
  1589. debounce.Value = true
  1590. game:GetService("Debris"):AddItem(debounce, Delay)
  1591. c = Instance.new("ObjectValue")
  1592. c.Name = "creator"
  1593. c.Value = Player
  1594. c.Parent = h
  1595. game:GetService("Debris"):AddItem(c, 0.5)
  1596. CRIT = false
  1597. hitDeb = true
  1598. AttackPos = 6
  1599. hit.Parent=nil
  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. end
  1617.  
  1618. MagniDamage = function(Part, magni, mindam, maxdam, knock, Type)
  1619. for _,c in pairs(workspace:children()) do
  1620. local hum = c:findFirstChild("Humanoid")
  1621. if hum ~= nil then
  1622. local head = c:findFirstChild("Torso")
  1623. if head ~= nil then
  1624. local targ = head.Position - Part.Position
  1625. local mag = targ.magnitude
  1626. if mag <= magni and c.Name ~= Player.Name then
  1627. Damagefunc(head, mindam, maxdam, knock, Type, RootPart, 0.2, 1, 3, 1)
  1628. end
  1629. end
  1630. end
  1631. end
  1632. end
  1633.  
  1634. Shockwave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1635. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1636. prt.Anchored = true
  1637. prt.CFrame = cframe
  1638. prt.Material = "Neon"
  1639. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1640. game:GetService("Debris"):AddItem(prt, 4)
  1641. coroutine.resume(coroutine.create(function(Part, Mesh)
  1642. for i = 0, 1, delay do
  1643. fat.Event:wait()
  1644. Part.CFrame = Part.CFrame
  1645. Part.Transparency = i
  1646. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1647. end
  1648. Part.Parent = nil
  1649. end
  1650. ), prt, msh)
  1651. end
  1652.  
  1653. Shockwave2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1654. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1655. prt.Anchored = true
  1656. prt.CFrame = cframe
  1657. local msh = mesh("SpecialMesh", prt, "FileMesh", "http://www.roblox.com/asset/?id=20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1658. game:GetService("Debris"):AddItem(prt, 4)
  1659. coroutine.resume(coroutine.create(function(Part, Mesh)
  1660. for i = 0, 1, delay do
  1661. fat.Event:wait()
  1662. Part.CFrame = Part.CFrame
  1663. Part.Transparency = i
  1664. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1665. end
  1666. Part.Parent = nil
  1667. end
  1668. ), prt, msh)
  1669. end
  1670.  
  1671. Laser = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1672. local prt = part(3, workspace, "SmoothPlastic", 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1673. prt.Anchored = true
  1674. prt.CFrame = cframe
  1675. prt.Material = "Neon"
  1676. local msh = mesh("SpecialMesh", prt, "Sphere", "", vt(0, 0, 0), vt(x1, y1, z1))
  1677. game:GetService("Debris"):AddItem(prt, 4)
  1678. coroutine.resume(coroutine.create(function(Part, Mesh)
  1679. for i = 0, 1, delay do
  1680. fat.Event:wait()
  1681. Part.CFrame = Part.CFrame
  1682. Part.Transparency = i
  1683. Mesh.Scale = Mesh.Scale + vt(x3, y3, z3)
  1684. end
  1685. Part.Parent = nil
  1686. end
  1687. ), prt, msh)
  1688. end
  1689.  
  1690. MMouse = mouse
  1691. LaserTarget = RootPart
  1692. gunidle = false
  1693. torsovelocity = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1694. velocity = RootPart.Velocity.y
  1695. sine = sine + change
  1696. hit = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  1697. local torvel = RootPart.Velocity * Vector3.new(1, 0, 1).magnitude
  1698. local velderp = RootPart.Velocity.y
  1699. canwalk = true
  1700. canidle = true
  1701. GunStance = function()
  1702. attack = true
  1703. gun = true
  1704. canwalk = false
  1705. canidle = false
  1706. aiming = true
  1707. Humanoid.WalkSpeed = 0 * speed.Value
  1708. for i = 0, 1, 0.08 do
  1709. fat.Event:wait()
  1710. Humanoid.WalkSpeed = 0 * speed.Value
  1711. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1712. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1713. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1714. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1715. 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)
  1716. 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)
  1717. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1718. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1719. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1720. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1721. end
  1722. gunidle = true
  1723. Humanoid.WalkSpeed = 0 * speed.Value
  1724. while gun == true do
  1725. fat.Event:wait()
  1726. Humanoid.WalkSpeed = 0 * speed.Value
  1727. canwalk = false
  1728. canidle = false
  1729. end
  1730. if shoot == true then
  1731. gunidle = false
  1732. gunfireeffect.Enabled = true
  1733. gunfirelight.Enabled = true
  1734. Bulletcount = Bulletcount - 1
  1735. local spread = vt(0, 0, 0)
  1736. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p + spread)
  1737. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  1738. local mag = (BulletHole.Position - pos).magnitude
  1739. 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)
  1740. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= "BillboardGui" then
  1741. local g = hit:FindFirstChild("BodyPosition")
  1742. if g == nil then
  1743. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really red"), "Effect", vt())
  1744. ref.Anchored = true
  1745. ref.CFrame = cf(pos)
  1746. game:GetService("Debris"):AddItem(ref, 0.01)
  1747. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.1)
  1748. if not hit.Parent:FindFirstChild("Torso") then
  1749. local h = hit.Parent.Parent:FindFirstChild("Torso")
  1750. end
  1751. if h then
  1752. Damagefunc(h, 9, 12, 0, "Target", RootPart, 0)
  1753. end
  1754. end
  1755. end
  1756. do
  1757. so("http://www.roblox.com/asset/?id=138084889", GunHandle, 1, 0.9)
  1758. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  1759. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1760. for i = 0, 1, 0.14 do
  1761. fat.Event:wait()
  1762. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  1763. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1764. 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)
  1765. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1766. 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)
  1767. 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)
  1768. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1769. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1770. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1771. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1772. end
  1773. gunfireeffect.Enabled = false
  1774. gunfirelight.Enabled = false
  1775. for i = 0, 1, 0.1 do
  1776. fat.Event:wait()
  1777. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1778. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  1779. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1780. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1781. 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)
  1782. 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)
  1783. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1784. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1785. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1786. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1787. end
  1788. for i = 0, 1, 0.1 do
  1789. fat.Event:wait()
  1790. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1791. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1792. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1793. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1794. 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)
  1795. 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)
  1796. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1797. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1798. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1799. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1800. end
  1801. for i = 1, 1 do
  1802. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1803. bulletpart.Anchored = false
  1804. bulletpart.Material = Enum.Material.SmoothPlastic
  1805. bulletpart.CanCollide = true
  1806. bulletpart.Friction = 1
  1807. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1808. 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))
  1809. bulletmesh = Instance.new("FileMesh", bulletpart)
  1810. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1811. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1812. game:GetService("Debris"):AddItem(bulletpart, 5)
  1813. end
  1814. for i = 0, 1, 0.13 do
  1815. fat.Event:wait()
  1816. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1817. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1818. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1819. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  1820. 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)
  1821. 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)
  1822. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1823. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1824. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1825. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1826. end
  1827. for i = 0, 1, 0.13 do
  1828. fat.Event:wait()
  1829. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  1830. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  1831. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  1832. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  1833. 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)
  1834. 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)
  1835. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1836. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1837. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1838. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1839. end
  1840. do
  1841. Humanoid.WalkSpeed = 16 * speed.Value
  1842. gun = false
  1843. gunidle = false
  1844. shoot = false
  1845. canwalk = true
  1846. canidle = true
  1847. attack = false
  1848. aiming = false
  1849. end
  1850. end
  1851. end
  1852. end
  1853.  
  1854. Reload = function()
  1855. attack = true
  1856. so("http://www.roblox.com/asset/?id=266022905", GunHandle, 1, 0.9)
  1857. for i = 0, 1, 0.08 do
  1858. fat.Event:wait()
  1859. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1860. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1861. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1862. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1863. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1864. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1865. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1866. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1867. end
  1868. for i = 1, Bulletcount do
  1869. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  1870. bulletpart.Anchored = false
  1871. bulletpart.Material = Enum.Material.SmoothPlastic
  1872. bulletpart.CanCollide = true
  1873. bulletpart.Friction = 1
  1874. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1875. 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))
  1876. bulletmesh = Instance.new("FileMesh", bulletpart)
  1877. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  1878. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  1879. game:GetService("Debris"):AddItem(bulletpart, 5)
  1880. end
  1881. for i = 0, 1, 0.08 do
  1882. fat.Event:wait()
  1883. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1884. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1885. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.4, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1886. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.3)
  1887. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1888. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1889. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1890. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1891. end
  1892. for i = 0, 1, 0.09 do
  1893. fat.Event:wait()
  1894. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1895. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1896. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  1897. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1898. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1899. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1900. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1901. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1902. end
  1903. for i = 0, 1, 0.09 do
  1904. fat.Event:wait()
  1905. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1906. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(20)), 0.3)
  1907. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(-15)), 0.15)
  1908. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.25, 0) * angles(math.rad(-20), math.rad(0), math.rad(10)), 0.3)
  1909. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1910. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1911. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1912. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1913. end
  1914. for i = 0, 1, 0.08 do
  1915. fat.Event:wait()
  1916. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1917. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  1918. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.3)
  1919. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(135), math.rad(0), math.rad(45)), 0.3)
  1920. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1921. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1922. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1923. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1924. end
  1925. for i = 0, 1, 0.14 do
  1926. fat.Event:wait()
  1927. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1928. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(10)), 0.3)
  1929. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-30)), 0.3)
  1930. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.25, 0) * angles(math.rad(90), math.rad(0), math.rad(-15)), 0.3)
  1931. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1932. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1933. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1934. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1935. end
  1936. for i = 0, 1, 0.1 do
  1937. fat.Event:wait()
  1938. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1939. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  1940. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(-45)), 0.4)
  1941. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.25, -0.5) * angles(math.rad(90), math.rad(0), math.rad(45)), 0.4)
  1942. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  1943. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  1944. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1945. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  1946. end
  1947. Bulletcount = 6
  1948. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1949. shoot = false
  1950. gun = false
  1951. attack = false
  1952. end
  1953.  
  1954. ShootCombo = function()
  1955. gunidle = false
  1956. canwalk = false
  1957. canidle = false
  1958. if shoot == false then
  1959. shoot = true
  1960. canwalk = false
  1961. canidle = false
  1962. for i = 1, 3 do
  1963. local spread = vt(0, 0, 0)
  1964. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p + spread)
  1965. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  1966. local mag = (BulletHole.Position - pos).magnitude
  1967. 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)
  1968. if hit ~= nil and hit.Name ~= "Effect" and hit.Name ~= "BillboardGui" then
  1969. local g = hit:FindFirstChild("BodyPosition")
  1970. if g == nil then
  1971. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really red"), "Effect", vt())
  1972. ref.Anchored = true
  1973. ref.CFrame = cf(pos)
  1974. game:GetService("Debris"):AddItem(ref, 0.01)
  1975. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.11)
  1976. if not hit.Parent:FindFirstChild("Torso") then
  1977. local h = hit.Parent.Parent:FindFirstChild("Torso")
  1978. end
  1979. if h then
  1980. Damagefunc(h, 9, 11, 0, "Target", RootPart, 0)
  1981. end
  1982. end
  1983. end
  1984. do
  1985. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  1986. gunfireeffect.Enabled = true
  1987. gunfirelight.Enabled = true
  1988. Bulletcount = Bulletcount - 1
  1989. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  1990. for i = 0, 1, 0.24 do
  1991. fat.Event:wait()
  1992. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  1993. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  1994. 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)
  1995. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  1996. 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)
  1997. 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)
  1998. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  1999. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2000. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2001. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2002. end
  2003. gunfireeffect.Enabled = false
  2004. gunfirelight.Enabled = false
  2005. for i = 0, 1, 0.22 do
  2006. fat.Event:wait()
  2007. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2008. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2009. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2010. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2011. 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)
  2012. 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)
  2013. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2014. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2015. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2016. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2017. end
  2018. -- DECOMPILER ERROR at PC810: LeaveBlock: unexpected jumping out DO_STMT
  2019.  
  2020. end
  2021. end
  2022. so("http://www.roblox.com/asset/?id=138084889", BulletHole, 1, 0.8)
  2023. for i = 0, 1, 0.1 do
  2024. fat.Event:wait()
  2025. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2026. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2027. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2028. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2029. RH.C0 = clerp(RH.C0, cf(1, -1, 0) * angles(math.rad(-60), math.rad(90), math.rad(0)) * angles(math.rad(-2.5), math.rad(0), math.rad(0)), 0.3)
  2030. LH.C0 = clerp(LH.C0, cf(-1, -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)
  2031. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2032. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2033. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2034. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2035. end
  2036. for i = 0, 1, 0.06 do
  2037. fat.Event:wait()
  2038. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2039. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2040. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2041. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2042. 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)
  2043. 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)
  2044. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2045. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2046. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2047. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2048. end
  2049. for i = 1, 3 do
  2050. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  2051. bulletpart.Anchored = false
  2052. bulletpart.Material = Enum.Material.SmoothPlastic
  2053. bulletpart.CanCollide = true
  2054. bulletpart.Friction = 1
  2055. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2056. 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))
  2057. bulletmesh = Instance.new("FileMesh", bulletpart)
  2058. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2059. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  2060. game:GetService("Debris"):AddItem(bulletpart, 5)
  2061. end
  2062. for i = 0, 1, 0.1 do
  2063. fat.Event:wait()
  2064. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2065. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2066. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2067. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  2068. 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)
  2069. 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)
  2070. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2071. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2072. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2073. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2074. end
  2075. for i = 0, 1, 0.1 do
  2076. fat.Event:wait()
  2077. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2078. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2079. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2080. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2081. 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)
  2082. 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)
  2083. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2084. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2085. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2086. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2087. end
  2088. end
  2089. do
  2090. Humanoid.WalkSpeed = 16 * speed.Value
  2091. shoot = false
  2092. gunidle = false
  2093. gun = false
  2094. canwalk = true
  2095. canidle = true
  2096. attack = false
  2097. end
  2098. end
  2099.  
  2100. Sprint = function()
  2101. local spde = 50
  2102. canwalk = false
  2103. canidle = false
  2104. attack = true
  2105. Humanoid.WalkSpeed = 4 * speed.Value
  2106. local body = Instance.new("BodyVelocity", Torso)
  2107. body.MaxForce = Vector3.new(10000, 0, 10000)
  2108. body.P = 0.01
  2109. for i = 1, 3 do
  2110. for i = 0, 1, 0.2 do
  2111. fat.Event:wait()
  2112. Humanoid.WalkSpeed = 4 * speed.Value
  2113. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2114. 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)
  2115. 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)
  2116. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2117. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2118. 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)
  2119. 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)
  2120. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2121. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2122. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2123. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2124. end
  2125. for i = 0, 1, 0.6 do
  2126. fat.Event:wait()
  2127. Humanoid.WalkSpeed = 4 * speed.Value
  2128. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2129. 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)
  2130. 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)
  2131. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2132. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2133. 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)
  2134. 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)
  2135. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2136. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2137. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2138. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2139. end
  2140. for i = 0, 1, 0.2 do
  2141. fat.Event:wait()
  2142. Humanoid.WalkSpeed = 4 * speed.Value
  2143. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2144. 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)
  2145. 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)
  2146. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2147. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2148. 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)
  2149. 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)
  2150. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2151. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2152. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2153. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2154. end
  2155. for i = 0, 1, 0.6 do
  2156. fat.Event:wait()
  2157. Humanoid.WalkSpeed = 4 * speed.Value
  2158. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * spde, 0, RootPart.CFrame.lookVector.z * spde)
  2159. 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)
  2160. 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)
  2161. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2162. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2163. 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)
  2164. 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)
  2165. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2166. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2167. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2168. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2169. end
  2170. end
  2171. for i = 0, 1, 0.05 do
  2172. fat.Event:wait()
  2173. Humanoid.WalkSpeed = 4 * speed.Value
  2174. body.Velocity = Vector3.new(RootPart.CFrame.lookVector.x * (spde - spde * i), 0, RootPart.CFrame.lookVector.z * (spde - spde * i))
  2175. 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)
  2176. 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)
  2177. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(-30), math.rad(120), math.rad(75)), 0.3)
  2178. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-30), math.rad(120), math.rad(75)), 0.3)
  2179. 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)
  2180. 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)
  2181. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(-30), math.rad(0), math.rad(0)), 0.3)
  2182. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2183. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2184. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2185. end
  2186. for i = 0, 1, 0.2 do
  2187. fat.Event:wait()
  2188. Humanoid.WalkSpeed = 0 * speed.Value
  2189. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2190. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.3)
  2191. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2192. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(45)), 0.3)
  2193. 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)
  2194. 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)
  2195. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2196. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2197. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2198. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2199. end
  2200. body.Parent = nil
  2201. LeftLeg.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
  2202. RightLeg.CustomPhysicalProperties = PhysicalProperties.new(0.7, 0.3, 0.5, 1, 1)
  2203. Humanoid.WalkSpeed = 16 * speed.Value
  2204. canwalk = true
  2205. canidle = true
  2206. attack = false
  2207. end
  2208.  
  2209. Overdrive = function()
  2210. gunidle = false
  2211. canwalk = false
  2212. canidle = false
  2213. if shoot == false then
  2214. shoot = true
  2215. canwalk = false
  2216. canidle = false
  2217. for i = 0, 1, 0.08 do
  2218. fat.Event:wait()
  2219. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2220. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(-10), math.rad(75)), 0.3)
  2221. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2222. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2223. 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)
  2224. 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)
  2225. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2226. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-5, 0.5, -2.4) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2227. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2228. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2229. end
  2230. gunfireeffect.Enabled = true
  2231. gunfirelight.Enabled = true
  2232. particleemitter.Enabled = true
  2233. particleemitter2.Enabled = true
  2234. so("http://www.roblox.com/asset/?id=203691378", BulletHole, 1, 1.4)
  2235. so("http://www.roblox.com/asset/?id=203691346", BulletHole, 0.75, 1.4)
  2236. for i = 0, 1, 0.009 do
  2237. fat.Event:wait()
  2238. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2239. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(-10), math.rad(75)), 0.3)
  2240. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2241. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2242. 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)
  2243. 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)
  2244. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2245. 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)
  2246. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2247. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.3)
  2248. end
  2249. local MouseLook = cf((BulletHole.Position + MMouse.Hit.p) / 2, MMouse.Hit.p)
  2250. local hit, pos = rayCast(BulletHole.Position, MouseLook.lookVector, 999, LaserTarget.Parent)
  2251. local mag = (BulletHole.Position - pos).magnitude
  2252. 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)
  2253. do
  2254. if hit ~= nil then
  2255. local ref = part(3, workspace, "SmoothPlastic", 0, 1, BrickColor.new("Really red"), "Effect", vt())
  2256. ref.Anchored = true
  2257. ref.CFrame = cf(pos)
  2258. game:GetService("Debris"):AddItem(ref, 5)
  2259. so("http://www.roblox.com/asset/?id=156572165", BulletHole, 0.75, 1)
  2260. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.75)
  2261. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.5)
  2262. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.25)
  2263. so("http://roblox.com/asset/?id=168586586", ref, 0.75, 0.1)
  2264. so("http://roblox.com/asset/?id=160740121", ref, 0.75, 0.75)
  2265. so("http://roblox.com/asset/?id=168586621", ref, 1, 0.5)
  2266. Shockwave(TorsoColor, cf(pos), 1, 1, 1, 1, 1, 1, 0.01)
  2267. Shockwave2(TorsoColor, cf(pos), 0.35, 0.35, 0.35, 0.35, 0.35, 0.35, 0.01)
  2268. MagniDamage(ref, 25, 10 * Bulletcount / 2, 12 * Bulletcount, 50, "Normal")
  2269. so("http://www.roblox.com/asset/?id=199144089", BulletHole, 1, math.random(80, 120) / 100)
  2270. Torso.Velocity = RootPart.CFrame.lookVector * -100
  2271. end
  2272. so("http://www.roblox.com/asset/?id=138084889", BulletHole, 1, 0.8)
  2273. particleemitter.Enabled = false
  2274. particleemitter2.Enabled = false
  2275. Bulletcount = 0
  2276. ammolabel.Text = "Ammo [" .. Bulletcount .. "]"
  2277. for i = 0, 1, 0.12 do
  2278. fat.Event:wait()
  2279. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 1, -1) * angles(math.rad(-10), math.rad(10), math.rad(-90)), 0.3)
  2280. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(90)), 0.3)
  2281. 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)
  2282. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.25) * angles(math.rad(90), math.rad(0), math.rad(-45)), 0.3)
  2283. 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)
  2284. 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)
  2285. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2286. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2287. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2288. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2289. end
  2290. gunfireeffect.Enabled = false
  2291. gunfirelight.Enabled = false
  2292. for i = 0, 1, 0.1 do
  2293. fat.Event:wait()
  2294. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2295. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(75)), 0.3)
  2296. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2297. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2298. 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)
  2299. 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)
  2300. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2301. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2302. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2303. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2304. end
  2305. for i = 0, 1, 0.06 do
  2306. fat.Event:wait()
  2307. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2308. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2309. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2310. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2311. 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)
  2312. 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)
  2313. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2314. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2315. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2316. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2317. end
  2318. for i = 1, 6 - Bulletcount do
  2319. local bulletpart = part(3, Character, "SmoothPlastic", 0, 0, TorsoColor, "Bullet", vt(0.2, 0.2, 0.2))
  2320. bulletpart.Anchored = false
  2321. bulletpart.Material = Enum.Material.SmoothPlastic
  2322. bulletpart.CanCollide = true
  2323. bulletpart.Friction = 1
  2324. bulletpart.Velocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2325. 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))
  2326. bulletmesh = Instance.new("FileMesh", bulletpart)
  2327. bulletmesh.MeshId = "http://www.roblox.com/asset/?id=9756362"
  2328. bulletmesh.Scale = Vector3.new(1, 0.25, 0.25)
  2329. game:GetService("Debris"):AddItem(bulletpart, 5)
  2330. end
  2331. for i = 0, 1, 0.1 do
  2332. fat.Event:wait()
  2333. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2334. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2335. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2336. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(15)), 0.3)
  2337. 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)
  2338. 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)
  2339. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2340. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2341. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2342. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2343. end
  2344. for i = 0, 1, 0.1 do
  2345. fat.Event:wait()
  2346. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2347. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(45)), 0.3)
  2348. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2349. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2350. 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)
  2351. 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)
  2352. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2353. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2354. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2355. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2356. end
  2357. do
  2358. Humanoid.WalkSpeed = 16 * speed.Value
  2359. shoot = false
  2360. gunidle = false
  2361. gun = false
  2362. canwalk = true
  2363. canidle = true
  2364. attack = false
  2365. end
  2366. end
  2367. end
  2368. end
  2369.  
  2370. attackone = function()
  2371. attack = true
  2372. for i = 0, 1, 0.16 do
  2373. fat.Event:wait()
  2374. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  2375. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-30)), 0.3)
  2376. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2377. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  2378. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2379. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2380. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2381. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2382. end
  2383. con1 = LeftArm.Touched:connect(function(hit)
  2384. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2385. end
  2386. )
  2387. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 0.8)
  2388. for i = 0, 1, 0.14 do
  2389. fat.Event:wait()
  2390. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2391. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(75)), 0.4)
  2392. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2393. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.4)
  2394. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2395. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2396. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2397. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2398. end
  2399. con1:disconnect()
  2400. attack = false
  2401. end
  2402.  
  2403. attacktwo = function()
  2404. attack = true
  2405. for i = 0, 1, 0.16 do
  2406. fat.Event:wait()
  2407. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2408. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(60)), 0.3)
  2409. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2410. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(75)), 0.3)
  2411. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2412. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2413. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2414. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2415. end
  2416. con1 = LeftArm.Touched:connect(function(hit)
  2417. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2418. end
  2419. )
  2420. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 1)
  2421. for i = 0, 1, 0.14 do
  2422. fat.Event:wait()
  2423. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(15)), 0.4)
  2424. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  2425. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2426. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(-75)), 0.4)
  2427. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2428. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2429. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2430. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2431. end
  2432. con1:disconnect()
  2433. attack = false
  2434. end
  2435.  
  2436. attackthree = function()
  2437. attack = true
  2438. canwalk = false
  2439. canidle = false
  2440. Humanoid.WalkSpeed = 0 * speed.Value
  2441. for i = 0, 1, 0.16 do
  2442. fat.Event:wait()
  2443. Humanoid.WalkSpeed = 0 * speed.Value
  2444. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.3)
  2445. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-10), math.rad(0), math.rad(0)), 0.3)
  2446. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2447. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(20)), 0.3)
  2448. 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)
  2449. 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)
  2450. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2451. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2452. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2453. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2454. end
  2455. con1 = LeftLeg.Touched:connect(function(hit)
  2456. Damagefunc(hit, 5, 7, 5, "Normal", RootPart, 0.2, 1)
  2457. end
  2458. )
  2459. Torso.Velocity = RootPart.CFrame.lookVector * 50
  2460. so("http://roblox.com/asset/?id=169445092", LeftLeg, 1, 1.2)
  2461. Humanoid.WalkSpeed = 0 * speed.Value
  2462. for i = 0, 1, 0.14 do
  2463. fat.Event:wait()
  2464. Humanoid.WalkSpeed = 0 * speed.Value
  2465. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.4)
  2466. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(30), math.rad(0), math.rad(0)), 0.4)
  2467. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.4)
  2468. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-40), math.rad(0), math.rad(-20)), 0.4)
  2469. 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)
  2470. 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)
  2471. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.4)
  2472. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-3, 0.5, 3) * angles(math.rad(0), math.rad(45), math.rad(0)), 0.15)
  2473. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2474. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2475. end
  2476. Humanoid.WalkSpeed = 16 * speed.Value
  2477. con1:disconnect()
  2478. canwalk = true
  2479. canidle = true
  2480. attack = false
  2481. end
  2482.  
  2483. attackfour = function()
  2484. attack = true
  2485. for i = 0, 1, 0.16 do
  2486. fat.Event:wait()
  2487. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-120)), 0.3)
  2488. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(45)), 0.3)
  2489. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2490. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5, -0.5) * angles(math.rad(75), math.rad(0), math.rad(45)), 0.3)
  2491. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2492. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2493. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2494. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2495. end
  2496. so("http://roblox.com/asset/?id=169445092", LeftArm, 1, 0.6)
  2497. for i = 0, 1, 0.14 do
  2498. fat.Event:wait()
  2499. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2500. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  2501. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2502. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.3)
  2503. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2504. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2505. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(180)), 0.15)
  2506. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-180)), 0.15)
  2507. end
  2508. so("http://roblox.com/asset/?id=233091183", CoreHandle, 1, 1.5)
  2509. Shockwave(TorsoColor, cf(CoreHandle.Position), 1, 1, 1, 1, 1, 1, 0.05)
  2510. MagniDamage(CoreHandle, 8, 5, 7, 10, "Normal")
  2511. for i = 0, 1, 0.14 do
  2512. fat.Event:wait()
  2513. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-75)), 0.3)
  2514. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(60)), 0.3)
  2515. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(60), math.rad(0), math.rad(-15)), 0.3)
  2516. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(0), math.rad(-15), math.rad(-90)), 0.3)
  2517. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2518. CoreHandleweld.C0 = clerp(CoreHandleweld.C0, cf(-7.5, 0, -1) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2519. Ring1ReferencePointweld.C0 = clerp(Ring1ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(360)), 0.15)
  2520. Ring2ReferencePointweld.C0 = clerp(Ring2ReferencePointweld.C0, cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(-360)), 0.15)
  2521. end
  2522. attack = false
  2523. end
  2524.  
  2525. mouse.Button1Down:connect(function()
  2526. if gun == true and Bulletcount ~= 0 and shoot == false then
  2527. shoot = true
  2528. gun = false
  2529. end
  2530. if attack == false and gun == false then
  2531. if attacktype == 1 then
  2532. attacktype = 2
  2533. attackone()
  2534. else
  2535. if attacktype == 2 then
  2536. attacktype = 3
  2537. attacktwo()
  2538. else
  2539. if attacktype == 3 then
  2540. attacktype = 4
  2541. attackthree()
  2542. else
  2543. if attacktype == 4 then
  2544. attacktype = 1
  2545. attackfour()
  2546. end
  2547. end
  2548. end
  2549. end
  2550. end
  2551. coroutine.resume(coroutine.create(function()
  2552. for i = 1, 50 do
  2553. if attack == false then
  2554. fat.Event:wait()
  2555. end
  2556. end
  2557. if attack == false then
  2558. attacktype = 1
  2559. end
  2560. end
  2561. ))
  2562. end
  2563. )
  2564. mouse.KeyDown:connect(function(k)
  2565. k = k:lower()
  2566. if k == "e" and gun == false and shoot == false and attack == false then
  2567. GunStance()
  2568. end
  2569. if k == "e" and shoot == false and gun == true then
  2570. gun = false
  2571. end
  2572. if k == "z" and gun == false and shoot == false and attack == false and co1 <= cooldown1 and skill1stam <= stamina then
  2573. cooldown1 = 0
  2574. subtractstamina(skill1stam)
  2575. Reload()
  2576. end
  2577. if k == "x" and gun == true and shoot == false and Bulletcount >= 3 and co2 <= cooldown2 and skill2stam <= stamina then
  2578. cooldown2 = 0
  2579. subtractstamina(skill2stam)
  2580. ShootCombo()
  2581. end
  2582. if k == "c" and gun == false and shoot == false and attack == false and co3 <= cooldown3 and skill3stam <= stamina then
  2583. cooldown3 = 0
  2584. subtractstamina(skill3stam)
  2585. Sprint()
  2586. end
  2587. if k == "v" and gun == true and shoot == false and Bulletcount ~= 0 and co4 <= cooldown4 and skill4stam <= stamina then
  2588. cooldown4 = 0
  2589. subtractstamina(skill4stam)
  2590. Overdrive()
  2591. end
  2592. end
  2593. )
  2594. updateskills = function()
  2595. if cooldown1 <= co1 then
  2596. cooldown1 = cooldown1 + 0.033333333333333
  2597. end
  2598. if cooldown2 <= co2 then
  2599. cooldown2 = cooldown2 + 0.033333333333333
  2600. end
  2601. if cooldown3 <= co3 then
  2602. cooldown3 = cooldown3 + 0.033333333333333
  2603. end
  2604. if cooldown4 <= co4 then
  2605. cooldown4 = cooldown4 + 0.033333333333333
  2606. end
  2607. if stamina <= skill1stam then
  2608. bar4.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2609. else
  2610. bar4.BackgroundColor3 = skillcolorscheme
  2611. end
  2612. if stamina <= skill2stam then
  2613. bar3.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2614. else
  2615. bar3.BackgroundColor3 = skillcolorscheme
  2616. end
  2617. if stamina <= skill3stam then
  2618. bar1.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2619. else
  2620. bar1.BackgroundColor3 = skillcolorscheme
  2621. end
  2622. if stamina <= skill4stam then
  2623. bar2.BackgroundColor3 = c3(0.4078431372549, 0.4078431372549, 0.4078431372549)
  2624. else
  2625. bar2.BackgroundColor3 = skillcolorscheme
  2626. end
  2627. if stamina <= maxstamina then
  2628. stamina = stamina + recovermana / 30
  2629. end
  2630. end
  2631.  
  2632. Character.Humanoid.Died:connect(function()
  2633. for i,v in pairs(Character:GetChildren()) do
  2634. if v:IsA("Model") then
  2635. v:Destroy()
  2636. end
  2637. end
  2638. end
  2639. )
  2640. game:GetService("RunService").Heartbeat:connect(function()
  2641. updateskills()
  2642. if aiming == true then
  2643. local aim = CFrame.new(RootPart.Position, mouse.Hit.p)
  2644. local direction = aim.lookVector
  2645. local headingA = math.atan2(direction.x, direction.z)
  2646. headingA = math.deg(headingA)
  2647. Humanoid.AutoRotate = false
  2648. RootPart.CFrame = CFrame.new(RootPart.Position) * angles(math.rad(0), math.rad(headingA - 177), math.rad(0))
  2649. else
  2650. do
  2651. Humanoid.AutoRotate = true
  2652. healthcover:TweenSize(ud(1 * (Character.Humanoid.Health / Character.Humanoid.MaxHealth), 0, 1, 0), "Out", "Quad", 0.5)
  2653. staminacover:TweenSize(ud(1 * (stamina / maxstamina), 0, 1, 0), "Out", "Quad", 0.5)
  2654. bar4:TweenSize(ud(1 * (cooldown1 / co1), 0, 1, 0), "Out", "Quad", 0.5)
  2655. bar3:TweenSize(ud(1 * (cooldown2 / co2), 0, 1, 0), "Out", "Quad", 0.5)
  2656. bar1:TweenSize(ud(1 * (cooldown3 / co3), 0, 1, 0), "Out", "Quad", 0.5)
  2657. bar2:TweenSize(ud(1 * (cooldown4 / co4), 0, 1, 0), "Out", "Quad", 0.5)
  2658. end
  2659. end
  2660. end
  2661. )
  2662. local sine = 0
  2663. local change = 1
  2664. local val = 0
  2665. Character.Humanoid.Animator.Parent=nil
  2666. fat.Event:connect(function()
  2667. sine = sine + change
  2668. local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2669. local velderp = RootPart.Velocity.y
  2670. local hitfloor, posfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2671. if equipped == true or equipped == false then
  2672. if attack == false then
  2673. idle = idle + 1
  2674. else
  2675. idle = 0
  2676. end
  2677. if ((idle >= 500 and attack ~= false) or RootPart.Velocity.y > 1) and hitfloor == nil then
  2678. Anim = "Jump"
  2679. if attack == false then
  2680. fat.Event:wait()
  2681. Humanoid.WalkSpeed = 16 * speed.Value
  2682. change = 2
  2683. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2684. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.15)
  2685. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(45), math.rad(0), math.rad(30)), 0.15)
  2686. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-20)), 0.15)
  2687. 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)
  2688. 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)
  2689. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2690. 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)
  2691. 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)
  2692. 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)
  2693. end
  2694. else
  2695. if RootPart.Velocity.y < -1 and hitfloor == nil then
  2696. Anim = "Fall"
  2697. if attack == false then
  2698. fat.Event:wait()
  2699. Humanoid.WalkSpeed = 16 * speed.Value
  2700. change = 2
  2701. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  2702. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * cf(0, 0, 0) * angles(math.rad(20), math.rad(0), math.rad(0)), 0.15)
  2703. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(75), math.rad(0), math.rad(60)), 0.15)
  2704. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-75)), 0.15)
  2705. 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)
  2706. 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)
  2707. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2708. 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)
  2709. 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)
  2710. 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)
  2711. end
  2712. else
  2713. if torvel<1 and hitfloor ~= nil then
  2714. Anim = "Idle"
  2715. if attack == false and gunidle == false then
  2716. fat.Event:wait()
  2717. Humanoid.WalkSpeed = 16 * speed.Value
  2718. change = 2
  2719. 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)
  2720. 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)
  2721. 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)
  2722. 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)
  2723. 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)
  2724. 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)
  2725. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2726. 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)
  2727. 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)
  2728. 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)
  2729. else
  2730. if attack == true and gunidle == true then
  2731. fat.Event:wait()
  2732. change = 2
  2733. 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)
  2734. 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)
  2735. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5, -0.5) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2736. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-30)), 0.3)
  2737. 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)
  2738. 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)
  2739. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, -0.5, -1) * angles(math.rad(-90), math.rad(15), math.rad(0)), 0.3)
  2740. 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)
  2741. 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)
  2742. 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)
  2743. else
  2744. if attack == true and gunidle == false and canidle == true then
  2745. fat.Event:wait()
  2746. Humanoid.WalkSpeed = 16 * speed.Value
  2747. 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)
  2748. 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)
  2749. end
  2750. end
  2751. end
  2752. else
  2753. if torvel>2 or torvel>22 and hitfloor ~= nil then
  2754. Anim = "Walk"
  2755. if attack == false then
  2756. fat.Event:wait()
  2757. Humanoid.WalkSpeed = 16 * speed.Value
  2758. change = 2
  2759. 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)
  2760. 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)
  2761. 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)
  2762. 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)
  2763. 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)
  2764. 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)
  2765. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.3)
  2766. 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)
  2767. 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)
  2768. 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)
  2769. else
  2770. if attack == true and gunidle == false and canwalk == true then
  2771. fat.Event:wait()
  2772. Humanoid.WalkSpeed = 16 * speed.Value
  2773. 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)
  2774. 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)
  2775. end
  2776. end
  2777. else
  2778. if torvel>22 or torvel<22 and hitfloor ~= nil then
  2779. Anim = "Run"
  2780. if attack == false then
  2781. fat.Event:wait()
  2782. change = 2
  2783. 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)
  2784. 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)
  2785. 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)
  2786. 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)
  2787. 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)
  2788. 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)
  2789. GunHandleweld.C0 = clerp(GunHandleweld.C0, cf(0, 0, 0.5) * angles(math.rad(75), math.rad(0), math.rad(0)), 0.15)
  2790. 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)
  2791. 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)
  2792. 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)
  2793. else
  2794. if attack == true and gunidle == false and canwalk == true then
  2795. fat.Event:wait()
  2796. 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)
  2797. 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)
  2798. end
  2799. end
  2800. end
  2801. end
  2802. end
  2803. end
  2804. end
  2805. end
  2806. end
  2807. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement