Advertisement
c3ax

Untitled

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