coolgoldboy166

arma de asriel

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