Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Made by 1ndrew THROW THOSE FLAMES
- function sandbox(var,func)
- local env = getfenv(func)
- local newenv = setmetatable({},{
- __index = function(self,k)
- if k=="script" then
- return var
- else
- return env[k]
- end
- end,
- })
- setfenv(func,newenv)
- return func
- end
- cors = {}
- mas = Instance.new("Model",game:GetService("Lighting"))
- Tool0 = Instance.new("Tool")
- IntValue1 = Instance.new("IntValue")
- IntValue2 = Instance.new("IntValue")
- Part3 = Instance.new("Part")
- CylinderMesh4 = Instance.new("CylinderMesh")
- LocalScript5 = Instance.new("LocalScript")
- IntValue6 = Instance.new("IntValue")
- ScreenGui7 = Instance.new("ScreenGui")
- ImageLabel8 = Instance.new("ImageLabel")
- Frame9 = Instance.new("Frame")
- ImageLabel10 = Instance.new("ImageLabel")
- Frame11 = Instance.new("Frame")
- TextLabel12 = Instance.new("TextLabel")
- TextLabel13 = Instance.new("TextLabel")
- TextLabel14 = Instance.new("TextLabel")
- TextLabel15 = Instance.new("TextLabel")
- TextLabel16 = Instance.new("TextLabel")
- Frame17 = Instance.new("Frame")
- Frame18 = Instance.new("Frame")
- TextLabel19 = Instance.new("TextLabel")
- TextLabel20 = Instance.new("TextLabel")
- TextLabel21 = Instance.new("TextLabel")
- Frame22 = Instance.new("Frame")
- TextLabel23 = Instance.new("TextLabel")
- TextLabel24 = Instance.new("TextLabel")
- TextLabel25 = Instance.new("TextLabel")
- Frame26 = Instance.new("Frame")
- TextLabel27 = Instance.new("TextLabel")
- Frame28 = Instance.new("Frame")
- Frame29 = Instance.new("Frame")
- Frame30 = Instance.new("Frame")
- Frame31 = Instance.new("Frame")
- Frame32 = Instance.new("Frame")
- Frame33 = Instance.new("Frame")
- Frame34 = Instance.new("Frame")
- Frame35 = Instance.new("Frame")
- Frame36 = Instance.new("Frame")
- Frame37 = Instance.new("Frame")
- Frame38 = Instance.new("Frame")
- Frame39 = Instance.new("Frame")
- Frame40 = Instance.new("Frame")
- Frame41 = Instance.new("Frame")
- Frame42 = Instance.new("Frame")
- Frame43 = Instance.new("Frame")
- Frame44 = Instance.new("Frame")
- Frame45 = Instance.new("Frame")
- Frame46 = Instance.new("Frame")
- Frame47 = Instance.new("Frame")
- Frame48 = Instance.new("Frame")
- Frame49 = Instance.new("Frame")
- Frame50 = Instance.new("Frame")
- Frame51 = Instance.new("Frame")
- Frame52 = Instance.new("Frame")
- Frame53 = Instance.new("Frame")
- Frame54 = Instance.new("Frame")
- ImageLabel55 = Instance.new("ImageLabel")
- TextLabel56 = Instance.new("TextLabel")
- TextLabel57 = Instance.new("TextLabel")
- Frame58 = Instance.new("Frame")
- TextLabel59 = Instance.new("TextLabel")
- TextLabel60 = Instance.new("TextLabel")
- TextLabel61 = Instance.new("TextLabel")
- TextLabel62 = Instance.new("TextLabel")
- Frame63 = Instance.new("Frame")
- Frame64 = Instance.new("Frame")
- TextLabel65 = Instance.new("TextLabel")
- TextLabel66 = Instance.new("TextLabel")
- TextLabel67 = Instance.new("TextLabel")
- TextLabel68 = Instance.new("TextLabel")
- ImageLabel69 = Instance.new("ImageLabel")
- TextLabel70 = Instance.new("TextLabel")
- TextLabel71 = Instance.new("TextLabel")
- TextLabel72 = Instance.new("TextLabel")
- TextLabel73 = Instance.new("TextLabel")
- Frame74 = Instance.new("Frame")
- TextLabel75 = Instance.new("TextLabel")
- TextLabel76 = Instance.new("TextLabel")
- Frame77 = Instance.new("Frame")
- ImageLabel78 = Instance.new("ImageLabel")
- TextLabel79 = Instance.new("TextLabel")
- Script80 = Instance.new("Script")
- ParticleEmitter81 = Instance.new("ParticleEmitter")
- ParticleEmitter82 = Instance.new("ParticleEmitter")
- PointLight83 = Instance.new("PointLight")
- Script84 = Instance.new("Script")
- IntValue85 = Instance.new("IntValue")
- IntValue86 = Instance.new("IntValue")
- IntValue87 = Instance.new("IntValue")
- Part88 = Instance.new("Part")
- SpecialMesh89 = Instance.new("SpecialMesh")
- Part90 = Instance.new("Part")
- CylinderMesh91 = Instance.new("CylinderMesh")
- Part92 = Instance.new("Part")
- SpecialMesh93 = Instance.new("SpecialMesh")
- Part94 = Instance.new("Part")
- SpecialMesh95 = Instance.new("SpecialMesh")
- Part96 = Instance.new("Part")
- SpecialMesh97 = Instance.new("SpecialMesh")
- Part98 = Instance.new("Part")
- CylinderMesh99 = Instance.new("CylinderMesh")
- Part100 = Instance.new("Part")
- CylinderMesh101 = Instance.new("CylinderMesh")
- Part102 = Instance.new("Part")
- BlockMesh103 = Instance.new("BlockMesh")
- Sound104 = Instance.new("Sound")
- Part105 = Instance.new("Part")
- SpecialMesh106 = Instance.new("SpecialMesh")
- Part107 = Instance.new("Part")
- CylinderMesh108 = Instance.new("CylinderMesh")
- Part109 = Instance.new("Part")
- SpecialMesh110 = Instance.new("SpecialMesh")
- Part111 = Instance.new("Part")
- SpecialMesh112 = Instance.new("SpecialMesh")
- Part113 = Instance.new("Part")
- SpecialMesh114 = Instance.new("SpecialMesh")
- Part115 = Instance.new("Part")
- CylinderMesh116 = Instance.new("CylinderMesh")
- Part117 = Instance.new("Part")
- CylinderMesh118 = Instance.new("CylinderMesh")
- Part119 = Instance.new("Part")
- CylinderMesh120 = Instance.new("CylinderMesh")
- Part121 = Instance.new("Part")
- SpecialMesh122 = Instance.new("SpecialMesh")
- Part123 = Instance.new("Part")
- SpecialMesh124 = Instance.new("SpecialMesh")
- Part125 = Instance.new("Part")
- SpecialMesh126 = Instance.new("SpecialMesh")
- Part127 = Instance.new("Part")
- BlockMesh128 = Instance.new("BlockMesh")
- Part129 = Instance.new("Part")
- CylinderMesh130 = Instance.new("CylinderMesh")
- Part131 = Instance.new("Part")
- CylinderMesh132 = Instance.new("CylinderMesh")
- Part133 = Instance.new("Part")
- CylinderMesh134 = Instance.new("CylinderMesh")
- Part135 = Instance.new("Part")
- SpecialMesh136 = Instance.new("SpecialMesh")
- Part137 = Instance.new("Part")
- CylinderMesh138 = Instance.new("CylinderMesh")
- Part139 = Instance.new("Part")
- CylinderMesh140 = Instance.new("CylinderMesh")
- Part141 = Instance.new("Part")
- CylinderMesh142 = Instance.new("CylinderMesh")
- Part143 = Instance.new("Part")
- CylinderMesh144 = Instance.new("CylinderMesh")
- Part145 = Instance.new("Part")
- SpecialMesh146 = Instance.new("SpecialMesh")
- Part147 = Instance.new("Part")
- CylinderMesh148 = Instance.new("CylinderMesh")
- Part149 = Instance.new("Part")
- BlockMesh150 = Instance.new("BlockMesh")
- Part151 = Instance.new("Part")
- CylinderMesh152 = Instance.new("CylinderMesh")
- Part153 = Instance.new("Part")
- CylinderMesh154 = Instance.new("CylinderMesh")
- Part155 = Instance.new("Part")
- SpecialMesh156 = Instance.new("SpecialMesh")
- Part157 = Instance.new("Part")
- SpecialMesh158 = Instance.new("SpecialMesh")
- Part159 = Instance.new("Part")
- CylinderMesh160 = Instance.new("CylinderMesh")
- Part161 = Instance.new("Part")
- CylinderMesh162 = Instance.new("CylinderMesh")
- Part163 = Instance.new("Part")
- CylinderMesh164 = Instance.new("CylinderMesh")
- Part165 = Instance.new("Part")
- SpecialMesh166 = Instance.new("SpecialMesh")
- Part167 = Instance.new("Part")
- CylinderMesh168 = Instance.new("CylinderMesh")
- Part169 = Instance.new("Part")
- SpecialMesh170 = Instance.new("SpecialMesh")
- Part171 = Instance.new("Part")
- CylinderMesh172 = Instance.new("CylinderMesh")
- Part173 = Instance.new("Part")
- SpecialMesh174 = Instance.new("SpecialMesh")
- Part175 = Instance.new("Part")
- SpecialMesh176 = Instance.new("SpecialMesh")
- ParticleEmitter177 = Instance.new("ParticleEmitter")
- ParticleEmitter178 = Instance.new("ParticleEmitter")
- Part179 = Instance.new("Part")
- CylinderMesh180 = Instance.new("CylinderMesh")
- Part181 = Instance.new("Part")
- SpecialMesh182 = Instance.new("SpecialMesh")
- Part183 = Instance.new("Part")
- CylinderMesh184 = Instance.new("CylinderMesh")
- Part185 = Instance.new("Part")
- CylinderMesh186 = Instance.new("CylinderMesh")
- Part187 = Instance.new("Part")
- CylinderMesh188 = Instance.new("CylinderMesh")
- Part189 = Instance.new("Part")
- BlockMesh190 = Instance.new("BlockMesh")
- Part191 = Instance.new("Part")
- BlockMesh192 = Instance.new("BlockMesh")
- Part193 = Instance.new("Part")
- SpecialMesh194 = Instance.new("SpecialMesh")
- Part195 = Instance.new("Part")
- BlockMesh196 = Instance.new("BlockMesh")
- WedgePart197 = Instance.new("WedgePart")
- SpecialMesh198 = Instance.new("SpecialMesh")
- WedgePart199 = Instance.new("WedgePart")
- SpecialMesh200 = Instance.new("SpecialMesh")
- Part201 = Instance.new("Part")
- BlockMesh202 = Instance.new("BlockMesh")
- Part203 = Instance.new("Part")
- BlockMesh204 = Instance.new("BlockMesh")
- WedgePart205 = Instance.new("WedgePart")
- SpecialMesh206 = Instance.new("SpecialMesh")
- Part207 = Instance.new("Part")
- SpecialMesh208 = Instance.new("SpecialMesh")
- Part209 = Instance.new("Part")
- CylinderMesh210 = Instance.new("CylinderMesh")
- WedgePart211 = Instance.new("WedgePart")
- SpecialMesh212 = Instance.new("SpecialMesh")
- Part213 = Instance.new("Part")
- BlockMesh214 = Instance.new("BlockMesh")
- Part215 = Instance.new("Part")
- CylinderMesh216 = Instance.new("CylinderMesh")
- Part217 = Instance.new("Part")
- BlockMesh218 = Instance.new("BlockMesh")
- SpotLight219 = Instance.new("SpotLight")
- ParticleEmitter220 = Instance.new("ParticleEmitter")
- Part221 = Instance.new("Part")
- CylinderMesh222 = Instance.new("CylinderMesh")
- Part223 = Instance.new("Part")
- CylinderMesh224 = Instance.new("CylinderMesh")
- Tool0.Name = "Scorcher"
- Tool0.Parent = mas
- Tool0.CanBeDropped = false
- IntValue1.Name = "LethalGrenades"
- IntValue1.Parent = Tool0
- IntValue1.Value = 3
- IntValue2.Name = "Fire"
- IntValue2.Parent = Tool0
- IntValue2.Value = 200
- Part3.Name = "Metal"
- Part3.Parent = Tool0
- Part3.Material = Enum.Material.Metal
- Part3.BrickColor = BrickColor.new("Mid gray")
- Part3.Rotation = Vector3.new(180, 0, 90)
- Part3.Anchored = true
- Part3.CanCollide = false
- Part3.FormFactor = Enum.FormFactor.Custom
- Part3.Size = Vector3.new(0.400000006, 0.200000003, 0.400000006)
- Part3.CFrame = CFrame.new(24.0999908, 0.989997029, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part3.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part3.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part3.Position = Vector3.new(24.0999908, 0.989997029, 46.3001709)
- Part3.Orientation = Vector3.new(0, -180, -90)
- Part3.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh4.Parent = Part3
- CylinderMesh4.Scale = Vector3.new(1, 1.20000005, 1)
- CylinderMesh4.Scale = Vector3.new(1, 1.20000005, 1)
- LocalScript5.Name = "Gun_Main"
- LocalScript5.Parent = Tool0
- table.insert(cors,sandbox(LocalScript5,function()
- repeat wait() until game.Players.LocalPlayer.Character
- repeat wait() until game.Players.LocalPlayer.Character:IsDescendantOf(game.Workspace)
- wait(1 / 20)
- --------------------------------------------------------------------------------------
- --------------------[ IGNORE MODEL ]--------------------------------------------------
- --------------------------------------------------------------------------------------
- local Ignore_Code = script:WaitForChild("Ignore_Code")
- repeat wait() until Ignore_Code.Value ~= 0
- local Ignore_Model = game.Workspace:WaitForChild("Ignore_Model_"..Ignore_Code.Value)
- --------------------------------------------------------------------------------------
- --------------------[ CONSTANTS ]-----------------------------------------------------
- --------------------------------------------------------------------------------------
- local Gun = script.Parent
- local Handle = Gun:WaitForChild("Handle")
- local AimPart = Gun:WaitForChild("AimPart")
- local Main = Gun:WaitForChild("Main")
- local Ammo = Gun:WaitForChild("Fire")
- local ClipSize = Gun:WaitForChild("ClipSize")
- local StoredAmmo = Gun:WaitForChild("StoredFire")
- local LethalGrenades = Gun:WaitForChild("LethalGrenades")
- local TacticalGrenades = Gun:WaitForChild("TacticalGrenades")
- local S = {
- GunName = "Scorcher"; --This is the name that will be displayed on the Tool
- Description = "Gasoline"; --This will be the text that is displayed above the tool when the mouse is hovering over it
- GunType = { --[[These are the 5 gun types you can have. Set whichever ones you want to true. (NOTE: Semi and Auto can't both be
- true, and Burst and Auto can't both be true)]]
- Semi = false; --Set this true if you want the gun to be semi-automatic. (Pistols, Snipers, etc)
- Auto = true; --Set this true if you want the gun to be fully automatic. (Assault Rifles, Submachine guns, machine guns, etc)
- Burst = false; --Set this true if you want the gun to be burst fire. (Battle rifles, assault rifles, etc)
- Shot = false; --Set this true if you want the gun to be a shotgun. (NOTE: Shot and auto can both be true)
- Explosive = false; --Set this true if you want the projectiles to be explosive. (Rocket launchers, grenade launchers, etc)
- };
- BurstAmount = 3; --This is how many bullets will be fired in one burst (if Burst is true)
- BurstTime = 0.2; --This is how long it takes for a burst to complete
- BurstWait = 0.1; --This is how much time you have to wait before you can fire another burst
- ShotAmount = 5; --This is how many bullets will be fired in one shot (if Shot is true)
- ExplosionRadius = 20; --This is the radius of the explosion when the bullet hits a target. (If Explosive is true)
- ExplosionPressure = 5e5; --This is the pressure of the explosion when the bullet hits the target
- ExplosionType = Enum.ExplosionType.NoCraters; --This is the type of explosion
- --[[
- (0 or "NoCraters" or Enum.ExplosionType.NoCraters) means that the explosion will not damage terrain
- (1 or "Craters" or Enum.ExplosionType.Craters) means that the explosion will leave craters in terrain
- (2 or "CratersAndDebris" or Enum.ExplosionType.CratersAndDebris) means that the explosion will leave craters and debris in terrain
- --]]
- ExplosionSound = "http://www.roblox.com/asset/?id=142070127"; --This is what the sound of the explosion will be
- ExplosionSoundPitch = 1; --This is what the pitch of the explosion sound will be
- ExplosionSoundVolume = 1; --This is what the volume of the explosion sound will be
- RayCastExplosions = true; --[[This is whether or not explosions will have raycasting. If this is true, humanoids behind walls
- won't be damaged. If this is false, any humanoid within the radius will be damaged. (NOTE: RangeBasedDamage has to be true in
- order for explosions to have raycasting)]]
- RangeBasedDamage = true; --[[This is whether or not will depend on how far the object is from the center of the explosion. If this
- is true, the farther a humanoid is from the blast center, the less damage it'll take. If this is false, any object within
- the explosion's radius will have its joints broken]]
- PlayerArms = true; --This is whether or not the fake arms will look like the Player's arms
- FakeArmTransparency = 0; --This is the transparency of the fake arms
- FakeArmRealBodyColor = true; --This is whether or not the color of the fake arm will be the color of the player's real arms
- FakeArmColor = BrickColor.new("Pastel brown"); --This is what the color of the fake arms will be if FakeArmRealBodyColor is false
- ArmC1_UnAimed = { --This table contains the CFrames of the arms when the gun is not aimed
- Left = CFrame.new(0.1, 1.5, -0.3) * CFrame.Angles(0, 0, math.rad(-50)); --This is the cframe of the left arm
- Right = CFrame.new(0.4, 0.25, -0.3) * CFrame.Angles(0, 0, math.rad(25)); --This is the cframe of the right arm
- };
- ArmC1_Aimed = { --This table contains the CFrames of the arms when the gun is aimed
- Left = CFrame.new(-0.1, 1.2, 0.1) * CFrame.Angles(0, 0, math.rad(-35)); --This is the cframe of the left arm
- Right = CFrame.new(0.3, 0.707, -0.01) * CFrame.Angles(0, 0, math.rad(50)); --This is the cframe of the right arm
- };
- PlayerAnimations = true; --This is whether or not the player will have custom animations
- AimAnimation = true; --This is whether or not there is an animation for aiming down the sights
- ReloadAnimation = true; --This is whether or not there is an animation for reloading
- StanceAnimation = true; --This is whether or not there is an animation for changing stance
- AimSpeed = 0.15; --This is how long the gun will take to fully aim down the sights
- MaxZoom = 40; --This is the FOV that the Camera will have when the gun is fully aimed down
- HoldMouseOrKeyToADS = true; --This is whether or not you have to hold the right mouse or the ADS key to ADS
- GuiScope = false; --This is whether or not your Scope will be a gui instead of a normal sight
- GuiId = "http://www.roblox.com/asset/?id=160682367"; --This is the ImageId of the GuiScope
- ScopeSway = .1; --This is the sway, in radians, of the camera
- ScopeSteadyTime = 8; --This is how long you can hold your breath to steady the scope
- SteadyCooldownTime = 4; --This is how long it takes to fully retake your breath
- UnSteadyOnFire = true; --This is whether or not the camera will become unsteady when you fire the gun
- FireRate = 3000; --This is how many bullets per minute the gun will fire
- BulletRange = 70; --This is how far the bullet will travel before it is no longer effective
- InstantHit = false; --[[This is whether or not the bullet will hit a target instantly. If it is false, the bullet will travel at a
- specific speed till it hits a target]]
- BulletVelocity = 100; --This is how fast the bullet will travel in studs per second
- Damage = 60; --This is the base damage. That means that this is the least amount of damage that will be inflicted
- Multipliers = { --[[These are the damage multipliers. There's a spread of +0.1. That means that if the multiplier is 1, the actual
- multiplier will range from 1 - 1.1]]
- Chest = 1; --This is what the damage will be multiplied by if the bullet hits the chest
- Head = 1.5; --This is what the damage will be multiplied by if the bullet hits the head or a hat
- Limbs = .5; --This is what the damage will be multiplied by if the bullet hits a limb (Arms or legs)
- };
- AllowFriendlyFire = false; --This is whether or not you can damage teammates
- CanDamageNPCs = true; --This is whether or not you can damage NPC's (Zombies, fake players, anything with a humanoid)
- RotateWhileSitting = false; --This is whether or not your player will rotate when you are sitting down
- CanKnife = false; --This is whether or not you can knife
- KnifeMeshId = "http://www.roblox.com/asset/?id=121944778"; --This is the Mesh of the knife
- KnifeTextureId = "http://www.roblox.com/asset/?id=121944805"; --This is the Texture of the knife
- KnifeCooldown = 0.5; --This is how long you have to wait before you can knife again
- Throwables = false; --This is whether or not you have grenades
- TrajectoryAssist = true; --This is whether or not the script will show you the flight path of the grenade before you throw it
- DetonationTime = 0.5; --[[This is how long the grenade will wait to detonate (If DetonateOnHit is false, this is how long the
- grenade will wait after it's thrown. If DetonateOnHit is true, this is how long the grenade will wait after it hits something]]
- TimerStartOnHit = true; --This is whether or not the timer will start when the grenade hits something
- GrenadeColor = BrickColor.new("Black"); --This is the color of the grenade
- GrenadeSize = Vector3.new(0.8, 0.8, 0.8); --This is the size of the grenade (Doesn't apply to throwing knives)
- GrenadeBlastRadius = 12; --This is the blast radius of the explosion (Doesn't apply to non-explosive grenades)
- GrenadeBlastPressure = 5e5; --This is what the blast pressure of the explosion (Doesn't apply to non-explosive grenades)
- GrenadeExplosionType = Enum.ExplosionType.NoCraters; --This is the type of explosion (Doesn't apply to non-explosive grenades)
- --[[
- (0 or "NoCraters" or Enum.ExplosionType.NoCraters) means that the explosion will not damage terrain
- (1 or "Craters" or Enum.ExplosionType.Craters) means that the explosion will leave craters in terrain
- (2 or "CratersAndDebris" or Enum.ExplosionType.CratersAndDebris) means that the explosion will leave craters and debris in terrain
- --]]
- LethalGrenadeDamage = 150; --This is max damage that the grenade will do
- LethalGrenadeThrowVelocity = 170; --This is the speed at which the lethal grenade is thrown
- GrenadeRayCastExplosions = true; --[[This is whether or not grenade explosions will have raycasting. If this is true, humanoids
- behind walls won't be damaged. If this is false, any humanoid within the radius will be damaged. (NOTE: GrenadeRangeBasedDamage
- has to be true in order for explosions to have raycasting)]]
- GrenadeRangeBasedDamage = true; --[[This is whether or not will depend on how far the object is from the center of the explosion.
- If this is true, the farther a humanoid is from the blast center, the less damage it'll take. If this is false, any object
- within the explosion's radius will have its joints broken]]
- LethalGrenadeType = 1; --This is the lethal grenade type
- --[[
- Type 1: Frag grenade [An explosive grenade]
- Type 2: Sticky [An explosive grenade that sticks to a surface]
- Type 3: Throwing Knife [A throwable knife]
- --]]
- TacticalGrenadeThrowVelocity = 200; --This is the speed at which the tactical grenade is thrown
- GrenadeEffectRadius = 70; --[[This is the radius of the effect of the grenade. If the Grenade is a smoke, this is the radius of
- the smoke]]
- GrenadeEffectTime = 10; --[[This is the how long the grenade effect will last. If the grenade is a smoke, this is how long the
- smoke will linger]]
- TacticalGrenadeType = 1; --This is the tactical grenade type
- --[[
- Type 1: Smoke grenade [A grenade that creates a cloud of smoke]
- --]]
- GrenadeTrail = false; --This is whether or not the grenade will have a trail
- GrenadeTrailColor = BrickColor.new("Black"); --This is the color of the grenade trail
- GrenadeTrailTransparency = 0.6; --This is the transparency of the trail
- GrenadeTrailThickness = 0.3; --This is the thickness of the trail
- GrenadeTrailVisibleTime = 0.1; --This is how long the trail will be visible for
- GrenadeTrailDisappearTime = 0.2; --This is how long it will take for the trail to disappear
- BulletColor = BrickColor.new("Bright orange"); --This is the color of the bullet
- BulletTransparency = 0.9; --This is the transparency of the bullet
- BulletTReflectance = 0;
- BulletSize = Vector3.new(1, 1, 1); --This is the actual size of the bullet
- BulletMeshSize = Vector3.new(0, 0, 0); --This is the mesh size of the bullet.
- --BulletSize * BulletMeshSize = How big the bullet looks
- BulletTrail = true; --This is whether or not there will be a trail behind the bullet
- TrailColor = BrickColor.new("Fossil"); --This is the color of the bullet trail
- TrailTransparency = 1; --This is the transparency of the trail
- TrailThickness = 0.2; --This is the thickness of the trail
- TrailVisibleTime = 25; --This is how long the trail will be visible for
- TrailDisappearTime = 10; --This is how long it will take for the trail to disappear
- BulletHoles = true; --This is whether or not bullet holes will appear where you shot
- BulletHoleTexture = "http://www.roblox.com/asset/?id=36494217"; --This is the texture of the bullet hole
- BulletHoleSize = 1; --This is how big the bullet hole will be in studs
- BulletHoleVisibleTime = 3; --This is how long the bullet hole will be visible for
- BulletHoleDisappearTime = 10; --This is how long it will take for the bullet hole to disappear
- Shockwaves = true; --This is whether or not a shockwave will appear where you shot. (A sphere that appears when the bullet hits)
- ShockwaveRadius = 0.3; --This is the radius of the shockwave. (If the gun type is explosion, this radius will be the blast radius)
- ShockwaveColor = BrickColor.new("Light stone grey"); --This is the color of the shockwave
- ShockwaveDuration = 0.2; --This is how long the shockwave will take to disappear
- Penetration = 0; --[[This is how many studs a bullet can penetrate into a wall. So if penetration is 2 and the wall is 3 studs
- thick, the bullet won't come out the other side]]
- BulletDropPerSecond = 120; --This is the bullet's acceleration downward per second (196.2 is normal roblox gravity)
- Recoil = {
- Aimed = 0.2; --This is the recoil the gun will have when the gun is aimed down
- Hipfire = 1; --This is the recoil the gun will have when the gun is fired from the hip
- };
- Spread = { --[[This spread values are how many degrees offset / 20 the bullets from the center the bullets will travel. So a spread
- of 20 would mean that the bullet's max spread in any direction is 1 degree from the center]]
- Aimed = 0; --This is the spread when the gun is aimed down. it isn't affected by the multiplier.
- Hipfire = 20; --This is the base spread when the gun is fired from the hip
- Max = 40; --This is the highest the spread can be when fired
- Multiplier = 1.1; --This is how much the spread will be multiplied by when fired. It only affects the Hipfire spread
- Walking = 0; --This is the spread while walking. It isn't affected by the multiplier
- };
- ReloadTime = 6.5; --This is how long it takes to reload the gun
- AutoReload = true; --This is whether or not the gun will reload automatically when the ammo reaches 0
- SprintTime = 0; --This is the maximum time you can sprint
- StaminaCoolTime = 0; --This is how long it takes for your stamina to fully recharge
- DolphinDive = false; --This is whether or not you can dolphin dive (Run and crouch at the same time to dive)
- DiveRechargeTime = 1; --This is how long you have to wait till you can dive or run again after you've dived
- CanChangeStance = true; --This is whether or not you can change stance. That means whether or not you can crouch or go prone
- StanceChangeSpeed = 0.25; --This is how quickly you change stance
- StandOnDeselect = true; --This is whether or not you stand up when you deselect the tool
- BaseWalkSpeed = 12; --This is the base walkspeed
- SprintSpeed = 12; --This is the walkspeed when you're sprinting
- AimedWalkSpeed = 8; --[[This is the base walkspeed when the gun is aimed down. If you crouch or go prone, the speed will change
- based on the AimedWalkSpeed to BaseWalkSpeed ratio]]
- CrouchWalkSpeed = 6; --This is the walkspeed when you're crouched
- ProneWalkSpeed = 2; --This is the walkspeed when you're prone
- --NOTE: For extra keys, go here: http://wiki.roblox.com/index.php?title=Taking_keyboard_input
- LowerStanceKey = "c"; --This is the key you press to lower your stance (Stand > Crouch > Prone)
- RaiseStanceKey = "x"; --This is the key you press to raise your stance (Prone > Crouch > Stand)
- SwitchFireKey = "v"; --This is the key you press to switch fire modes
- ReloadKey = "r"; --This is the key you press to reload
- SprintKey = string.char(48); --This is the key you press to sprint
- KnifeKey = "f"; --This is the key you press to knife
- LethalGrenadeKey = "g"; --This is the key you press to throw the lethal grenade
- TacticalGrenadeKey = "t"; --This is the key you press to throw the tactical grenade
- ADSKey = "q"; --This is the key you press to ADS. If you want ADS to just be right mouse, then make this key ""
- ScopeSteadyKey = string.char(48); --This is the key you press to steady the scope
- }
- local Player = game.Players.LocalPlayer
- local Character = Player.Character
- local Humanoid = Character:WaitForChild("Humanoid")
- local Torso = Character:WaitForChild("Torso")
- local Head = Character:WaitForChild("Head")
- local HRP = Character:WaitForChild("HumanoidRootPart")
- local Neck = Torso:WaitForChild("Neck")
- local LArm = Character:WaitForChild("Left Arm")
- local RArm = Character:WaitForChild("Right Arm")
- local LLeg = Character:WaitForChild("Left Leg")
- local RLeg = Character:WaitForChild("Right Leg")
- local M2 = Player:GetMouse()
- local Main_Gui = script:WaitForChild("Main_Gui")
- local RS = game:GetService("RunService").RenderStepped
- local Camera = game.Workspace.CurrentCamera
- local ABS, HUGE, FLOOR, CEIL = math.abs, math.huge, math.floor, math.ceil
- local RAD, SIN, ATAN, COS = math.rad, math.sin, math.atan2, math.cos
- local VEC3 = Vector3.new
- local CF, CFANG = CFrame.new, CFrame.Angles
- local INSERT = table.insert
- local MaxStamina = S.SprintTime * 60
- local MaxSteadyTime = S.ScopeSteadyTime * 60
- local LethalIcons = {
- "http://www.roblox.com/asset/?id=194849880";
- "http://www.roblox.com/asset/?id=195727791";
- "http://www.roblox.com/asset/?id=195728137";
- }
- local TacticalIcons = {
- "http://www.roblox.com/asset/?id=195728473";
- "http://www.roblox.com/asset/?id=195728693";
- }
- local Ignore = {
- Character;
- Ignore_Model;
- }
- local StanceOffset = {
- VEC3(0, 0, 0);
- VEC3(0, -1, 0);
- VEC3(0, -3, 0);
- }
- local Shoulders = {
- Right = Torso:WaitForChild("Right Shoulder");
- Left = Torso:WaitForChild("Left Shoulder")
- }
- local ArmC0 = {
- CF(-1.5, 0, 0) * CFANG(RAD(90), 0, 0);
- CF(1.5, 0, 0) * CFANG(RAD(90), 0, 0);
- }
- local Sine = function(X)
- return SIN(RAD(X))
- end
- local Linear = function(X)
- return (X / 90)
- end
- --------------------------------------------------------------------------------------
- --------------------[ VARIABLES ]-----------------------------------------------------
- --------------------------------------------------------------------------------------
- local Selected = false
- local Idleing = false
- local Walking = false
- local Running = false
- local Aimed = false
- local Aiming = false
- local Reloading = false
- local BreakReload = false
- local Knifing = false
- local ThrowingGrenade = false
- local MB1_Down = false
- local CanFire = true
- local KnifeReady = true
- local CanRun = true
- local RunTween = false
- local Run_Key_Pressed = false
- local ChargingStamina = false
- local AimingIn = false
- local AimingOut = false
- local Stamina = S.SprintTime * 60
- local CurrentSteadyTime = S.ScopeSteadyTime * 60
- local CameraSteady = false
- local TakingBreath = false
- local Grip = nil
- local Aimed_GripCF = nil
- local Gui_Clone = nil
- local CurrentSpread = S.Spread.Hipfire
- local CurrentRecoil = S.Recoil.Hipfire
- local AmmoInClip = 0
- local Stance = 0
- local StanceSway = 1
- local CameraSway = 1
- local HeadRot = 0
- local ArmTilt = 0
- local LastBeat = 0
- local Parts = {}
- local Connections = {}
- local PrevNeckCF = {
- C0 = nil;
- C1 = nil;
- }
- local Keys = {}
- --------------------------------------------------------------------------------------
- --------------------[ PRE-LOADING ]---------------------------------------------------
- --------------------------------------------------------------------------------------
- local ContentProvider = game:GetService("ContentProvider")
- ContentProvider:Preload(S.ExplosionSound)
- ContentProvider:Preload(S.KnifeMeshId)
- ContentProvider:Preload(S.KnifeTextureId)
- ContentProvider:Preload(S.BulletHoleTexture)
- --------------------------------------------------------------------------------------
- --------------------[ ANIMATIONS ]----------------------------------------------------
- --------------------------------------------------------------------------------------
- local AnimAng = {0, 0, 0, 0, 0}
- local AnimCF = function(State, Ang)
- if State ~= "Running" then
- if (not Aimed) then
- if State == "Idleing" then
- return CF(
- RAD(SIN(Ang)) / 2 * StanceSway,
- 1 + RAD(SIN(Ang * 5 / 2)) / 2 * StanceSway, 0
- )
- elseif State == "Walking" then
- return CF(
- RAD(SIN(Ang)) * 2 * StanceSway,
- 1 + RAD(ABS(SIN(Ang))) * 2 * StanceSway, 0
- ) * CFANG(0, RAD(SIN(Ang)) / 3, 0)
- end
- elseif Aimed then
- if State == "Idleing" then
- return CF(
- RAD(SIN(Ang)) / 4 * StanceSway,
- 1 + RAD(SIN(Ang * 5 / 2)) / 4 * StanceSway, 0
- )
- elseif State == "Walking" then
- return CF(
- RAD(SIN(Ang)) / 3 * StanceSway,
- 1 + RAD(ABS(SIN(Ang))) / 3 * StanceSway, 0
- )
- end
- end
- elseif State == "Running" then
- return CF(
- SIN(Ang) / 6 * StanceSway,
- 0.9 + ABS(SIN(Ang)) / 5 * StanceSway, 0
- ) * CFANG(0, -RAD(SIN(Ang)) * 7, 0)
- end
- end
- function Animate()
- local IsIdleing = false
- local IsWalking = false
- local IsRunning = false
- spawn(function()
- while Selected do
- IsIdleing = Idleing and (not Walking) and (not Reloading) and (not Knifing) and (not ThrowingGrenade) and Selected
- IsWalking = (not Idleing) and Walking and (not Running) and (not Reloading) and (not Knifing) and (not ThrowingGrenade) and Selected
- IsRunning = (not Idleing) and Walking and Running and (not Aiming) and (not Knifing) and (not ThrowingGrenade) and Selected
- RS:wait()
- end
- IsIdleing = false
- IsWalking = false
- IsRunning = false
- end)
- spawn(function()
- if S.PlayerAnimations then
- TweenJoint(LWeld2, CF(), CFANG(0, RAD(ArmTilt), 0), Sine, 0.15)
- TweenJoint(RWeld2, CF(), CFANG(0, RAD(ArmTilt), 0), Sine, 0.15)
- local PreviousArmTilt = ArmTilt
- while Selected do
- repeat RS:wait() until (ArmTilt ~= PreviousArmTilt) or (not Selected)
- if (not IsRunning) and (not Aimed) and (not Reloading) and (not Knifing) and (not ThrowingGrenade) and Selected then
- PreviousArmTilt = ArmTilt
- TweenJoint(LWeld2, CF(), CFANG(0, RAD(ArmTilt), 0), Sine, 0.15)
- TweenJoint(RWeld2, CF(), CFANG(0, RAD(ArmTilt), 0), Sine, 0.15)
- end
- RS:wait()
- end
- end
- end)
- spawn(function()
- while Selected do
- if IsIdleing then
- if (not Aimed) and (not Aiming) then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 70, 0, 70),
- UDim2.new(0, -35, 0, -35),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.PlayerAnimations and 0.15 or 0,
- true
- )
- if S.PlayerAnimations then
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_UnAimed.Left, Sine, 0.15)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_UnAimed.Right, Sine, 0.15)
- TweenJoint(AnimWeld, AnimCF("Idleing", AnimAng[1]), CF(), Sine, 0.15)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(20), 0), Sine, 0.15)
- else
- if (not LWeld:FindFirstChild("TweenCode"))
- and (not RWeld:FindFirstChild("TweenCode"))
- and (not ABWeld:FindFirstChild("TweenCode"))
- and (not AnimWeld:FindFirstChild("TweenCode")) then
- LWeld.C0, LWeld.C1 = ArmC0[1], S.ArmC1_UnAimed.Left
- RWeld.C0, RWeld.C1 = ArmC0[2], S.ArmC1_UnAimed.Right
- AnimWeld.C0 = CF(0, 1, 0)
- Grip.C1 = CFANG(0, RAD(20), 0)
- end
- end
- elseif Aimed and (not Aiming) then
- if S.PlayerAnimations then
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_Aimed.Left, Sine, 0.15)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_Aimed.Right, Sine, 0.15)
- TweenJoint(AnimWeld, AnimCF("Idleing", AnimAng[2]), CF(), Sine, 0.15)
- else
- if (not LWeld:FindFirstChild("TweenCode"))
- and (not RWeld:FindFirstChild("TweenCode"))
- and (not ABWeld:FindFirstChild("TweenCode"))
- and (not AnimWeld:FindFirstChild("TweenCode")) then
- LWeld.C0, LWeld.C1 = ArmC0[1], S.ArmC1_Aimed.Left
- RWeld.C0, RWeld.C1 = ArmC0[2], S.ArmC1_Aimed.Right
- AnimWeld.C0 = CF(0, 1, 0)
- Grip.C1 = Aimed_GripCF
- end
- end
- end
- if S.PlayerAnimations then
- wait(0.15)
- RunTween = false
- while IsIdleing do
- if (not LWeld:FindFirstChild("TweenCode"))
- and (not RWeld:FindFirstChild("TweenCode"))
- and (not ABWeld:FindFirstChild("TweenCode"))
- and (not AnimWeld:FindFirstChild("TweenCode")) then
- if (not Aimed) and (not Aiming) then
- AnimWeld.C0 = AnimCF("Idleing", AnimAng[1])
- AnimAng[1] = AnimAng[1] + 0.03 * StanceSway
- elseif Aimed and (not Aiming) then
- AnimWeld.C0 = AnimCF("Idleing", AnimAng[2])
- AnimAng[2] = AnimAng[2] + 0.015 * StanceSway
- end
- end
- RS:wait()
- end
- AnimAng[1], AnimAng[2] = 0, 0
- end
- end
- if IsWalking then
- if (not Aimed) and (not Aiming) then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 150, 0, 150),
- UDim2.new(0, -75, 0, -75),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.PlayerAnimations and 0.15 or 0,
- true
- )
- if S.PlayerAnimations then
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_UnAimed.Left, Sine, 0.15)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_UnAimed.Right, Sine, 0.15)
- TweenJoint(AnimWeld, AnimCF("Walking", AnimAng[3]), CF(), Sine, 0.15)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(20), 0), Sine, 0.15)
- else
- if (not LWeld:FindFirstChild("TweenCode"))
- and (not RWeld:FindFirstChild("TweenCode"))
- and (not ABWeld:FindFirstChild("TweenCode"))
- and (not AnimWeld:FindFirstChild("TweenCode")) then
- LWeld.C0, LWeld.C1 = ArmC0[1], S.ArmC1_UnAimed.Left
- RWeld.C0, RWeld.C1 = ArmC0[2], S.ArmC1_UnAimed.Right
- AnimWeld.C0 = CF(0, 1, 0)
- Grip.C1 = CFANG(0, RAD(20), 0)
- end
- end
- elseif Aimed and (not Aiming) then
- if S.PlayerAnimations then
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_Aimed.Left, Sine, 0.15)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_Aimed.Right, Sine, 0.15)
- TweenJoint(AnimWeld, AnimCF("Walking", AnimAng[4]), CF(), Sine, 0.15)
- else
- if (not LWeld:FindFirstChild("TweenCode"))
- and (not RWeld:FindFirstChild("TweenCode"))
- and (not ABWeld:FindFirstChild("TweenCode"))
- and (not AnimWeld:FindFirstChild("TweenCode")) then
- LWeld.C0, LWeld.C1 = ArmC0[1], S.ArmC1_Aimed.Left
- RWeld.C0, RWeld.C1 = ArmC0[2], S.ArmC1_Aimed.Right
- AnimWeld.C0 = CF(0, 1, 0)
- Grip.C1 = Aimed_GripCF
- end
- end
- end
- if S.PlayerAnimations then
- wait(0.15)
- RunTween = false
- while IsWalking do
- if (not LWeld:FindFirstChild("TweenCode"))
- and (not RWeld:FindFirstChild("TweenCode"))
- and (not ABWeld:FindFirstChild("TweenCode"))
- and (not AnimWeld:FindFirstChild("TweenCode"))then
- if (not Aimed) and (not Aiming) then
- AnimWeld.C0 = AnimCF("Walking", AnimAng[3])
- AnimAng[3] = AnimAng[3] + 0.15 * StanceSway
- elseif Aimed and (not Aiming) then
- AnimWeld.C0 = AnimCF("Walking", AnimAng[4])
- AnimAng[4] = AnimAng[4] + 0.1 * StanceSway
- end
- end
- RS:wait()
- end
- AnimAng[3], AnimAng[4] = 0, 0
- end
- end
- if IsRunning then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 200, 0, 200),
- UDim2.new(0, -100, 0, -100),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.PlayerAnimations and 0.15 or 0,
- true
- )
- local LArmCF = CF(0, 0.7 - (SIN(AnimAng[5]) + 1)/15, 0)
- local LArmAng = CFANG(RAD(ABS(COS(AnimAng[5]))) * 10 + RAD(35), RAD(-30), RAD((SIN(AnimAng[5]) + 1) * 15 - 40))
- local RArmCF = CF(0, (SIN(AnimAng[5]) + 1)/2, 0)
- local RArmAng = CFANG(RAD(ABS(COS(AnimAng[5]))) * 10 + RAD(20), 0, RAD(50 + (SIN(AnimAng[5]) + 1) * 5))
- if S.PlayerAnimations then
- TweenJoint(LWeld, ArmC0[1], LArmCF * LArmAng, Sine, 0.15)
- TweenJoint(RWeld, ArmC0[2], RArmCF * RArmAng, Sine, 0.15)
- TweenJoint(AnimWeld, AnimCF("Running", AnimAng[5]), CF(), Sine, 0.15)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(-5), 0), Sine, 0.15)
- else
- LWeld.C0, LWeld.C1 = ArmC0[1], LArmCF * LArmAng
- RWeld.C0, RWeld.C1 = ArmC0[2], RArmCF * RArmAng
- AnimWeld.C0 = CF(0, 0.9, 0)
- Grip.C1 = CFANG(0, RAD(-5), 0)
- end
- if S.PlayerAnimations then
- RunTween = true
- wait(0.15)
- while IsRunning do
- if (not Aiming) then
- AnimWeld.C0 = AnimCF("Running", AnimAng[5])
- AnimAng[5] = AnimAng[5] + 0.18
- end
- RS:wait()
- end
- AnimAng[5] = 0
- end
- end
- RS:wait()
- end
- end)
- end
- --------------------------------------------------------------------------------------
- --------------------[ GUN SETUP ]-----------------------------------------------------
- --------------------------------------------------------------------------------------
- Gun.Name = S.GunName
- Gun.ToolTip = S.Description
- --------------------------------------------------------------------------------------
- --------------------[ PRE-CONNECTIONS ]-----------------------------------------------
- --------------------------------------------------------------------------------------
- RS:connect(function()
- local Forward = (Keys["w"] or Keys[string.char(17)])
- local Backward = (Keys["s"] or Keys[string.char(18)])
- local Right = (Keys["d"] or Keys[string.char(19)])
- local Left = (Keys["a"] or Keys[string.char(20)])
- if (Forward or Backward or Right or Left) then
- Walking, Idleing = true, false
- elseif (not (Forward and Backward and Right and Left)) then
- Walking, Idleing = false, true
- end
- end)
- M2.KeyDown:connect(function(Key) Keys[Key] = true end)
- M2.KeyUp:connect(function(Key) Keys[Key] = false end)
- --------------------------------------------------------------------------------------
- --------------------[ WELDING ]-------------------------------------------------------
- --------------------------------------------------------------------------------------
- spawn(function()
- for _, v in pairs(Gun:GetChildren()) do
- if v:IsA("BasePart") and v ~= Handle then
- if v:FindFirstChild("MainWeld") then v.MainWeld:Destroy() end
- if (not v:FindFirstChild("WeldCF")) then
- local WeldCF = Instance.new("CFrameValue")
- WeldCF.Name = "WeldCF"
- WeldCF.Value = Handle.CFrame:toObjectSpace(v.CFrame)
- WeldCF.Parent = v
- end
- INSERT(Parts, {Obj = v, Weld = nil})
- v.Anchored = false
- end
- end
- Handle.Anchored = false
- end)
- --------------------------------------------------------------------------------------
- --------------------[ MAIN PROGRAM ]--------------------------------------------------
- --------------------------------------------------------------------------------------
- --------------------[ ARM CREATION FUNCTION ]-----------------------------------------
- function CreateArms()
- local Arms = {}
- for i = 0, 1 do
- local ArmModel = Instance.new("Model")
- ArmModel.Name = "ArmModel"
- local Arm = Instance.new("Part")
- Arm.BrickColor = (S.FakeArmRealBodyColor and (i == 0 and LArm.BrickColor or RArm.BrickColor) or S.FakeArmColor)
- Arm.Transparency = S.FakeArmTransparency
- Arm.Name = "Arm"
- Arm.CanCollide = false
- Arm.Size = VEC3(1, 2, 1)
- Arm.Parent = ArmModel
- local ArmMesh = Instance.new("SpecialMesh")
- ArmMesh.MeshId = "rbxasset://fonts//rightarm.mesh"
- ArmMesh.MeshType = Enum.MeshType.FileMesh
- ArmMesh.Scale = VEC3(0.65, 1, 0.65)
- ArmMesh.Parent = Arm
- local Sleeve1 = Instance.new("Part")
- Sleeve1.BrickColor = BrickColor.new("Sand green")
- Sleeve1.Name = "Sleeve1"
- Sleeve1.CanCollide = false
- Sleeve1.Size = VEC3(1, 2, 1)
- Sleeve1.Parent = ArmModel
- local Sleeve1Mesh = Instance.new("BlockMesh")
- Sleeve1Mesh.Offset = VEC3(0, 0.66, 0)
- Sleeve1Mesh.Scale = VEC3(0.656, 0.35, 0.656)
- Sleeve1Mesh.Parent = Sleeve1
- local Sleeve1Weld = Instance.new("Weld")
- Sleeve1Weld.Part0 = Arm
- Sleeve1Weld.Part1 = Sleeve1
- Sleeve1Weld.Parent = Arm
- local Sleeve2 = Instance.new("Part")
- Sleeve2.BrickColor = BrickColor.new("Sand green")
- Sleeve2.Name = "Sleeve2"
- Sleeve2.CanCollide = false
- Sleeve2.Size = VEC3(1, 2, 1)
- Sleeve2.Parent = ArmModel
- local Sleeve2Mesh = Instance.new("BlockMesh")
- Sleeve2Mesh.Offset = VEC3(0, 0.46, 0)
- Sleeve2Mesh.Scale = VEC3(0.75, 0.1, 0.75)
- Sleeve2Mesh.Parent = Sleeve2
- local Sleeve2Weld = Instance.new("Weld")
- Sleeve2Weld.Part0 = Arm
- Sleeve2Weld.Part1 = Sleeve2
- Sleeve2Weld.Parent = Arm
- local Glove1 = Instance.new("Part")
- Glove1.BrickColor = BrickColor.new("Black")
- Glove1.Name = "Glove1"
- Glove1.CanCollide = false
- Glove1.Size = VEC3(1, 2, 1)
- Glove1.Parent = ArmModel
- local Glove1Mesh = Instance.new("BlockMesh")
- Glove1Mesh.Offset = VEC3(0, -0.4, 0)
- Glove1Mesh.Scale = VEC3(0.657, 0.205, 0.657)
- Glove1Mesh.Parent = Glove1
- local Glove1Weld = Instance.new("Weld")
- Glove1Weld.Part0 = Arm
- Glove1Weld.Part1 = Glove1
- Glove1Weld.Parent = Arm
- local Glove2 = Instance.new("Part")
- Glove2.BrickColor = BrickColor.new("Black")
- Glove2.Name = "Glove2"
- Glove2.CanCollide = false
- Glove2.Size = VEC3(1, 2, 1)
- Glove2.Parent = ArmModel
- local Glove2Mesh = Instance.new("BlockMesh")
- Glove2Mesh.Offset = VEC3(0, -0.335, 0)
- Glove2Mesh.Scale = VEC3(0.69, 0.105, 0.69)
- Glove2Mesh.Parent = Glove2
- local Glove2Weld = Instance.new("Weld")
- Glove2Weld.Part0 = Arm
- Glove2Weld.Part1 = Glove2
- Glove2Weld.Parent = Arm
- local Glove3 = Instance.new("Part")
- Glove3.BrickColor = BrickColor.new("Black")
- Glove3.Name = "Glove3"
- Glove3.CanCollide = false
- Glove3.Size = VEC3(1, 2, 1)
- Glove3.Parent = ArmModel
- local Glove3Mesh = Instance.new("BlockMesh")
- Glove3Mesh.Offset = VEC3(0.2 * ((i * 2) - 1), -0.8, 0)
- Glove3Mesh.Scale = VEC3(0.257, 0.205, 0.657)
- Glove3Mesh.Parent = Glove3
- local Glove3Weld = Instance.new("Weld")
- Glove3Weld.Part0 = Arm
- Glove3Weld.Part1 = Glove3
- Glove3Weld.Parent = Arm
- table.insert(Arms, {Model = ArmModel, ArmPart = Arm})
- end
- return Arms
- end
- --------------------[ MATH FUNCTIONS ]------------------------------------------------
- function NumLerp(A, B, Alpha)
- return (A + ((B - A) * Alpha))
- end
- function RAND(Min, Max, Accuracy)
- local Inverse = 1 / (Accuracy or 1)
- return (math.random(Min * Inverse, Max * Inverse) / Inverse)
- end
- --------------------[ TWEEN FUNCTIONS ]-----------------------------------------------
- function TweenJoint(Joint, NewC0, NewC1, Alpha, Duration)
- coroutine.resume(coroutine.create(function()
- local TweenIndicator = nil --At the current moment, this is how the script determines whether the function is already tweening a joint
- local NewCode = math.random(-1e9, 1e9) --This creates a random code between -1000000000 and 1000000000
- if (not Joint:FindFirstChild("TweenCode")) then --If the joint isn't being tweened, then
- TweenIndicator = Instance.new("IntValue")
- TweenIndicator.Name = "TweenCode"
- TweenIndicator.Value = NewCode
- TweenIndicator.Parent = Joint
- else
- TweenIndicator = Joint.TweenCode
- TweenIndicator.Value = NewCode --If the joint is already being tweened, this will change the code, and the tween loop will stop
- end
- local MatrixCFrame = function(CFPos, CFTop, CFBack)
- local CFRight = CFTop:Cross(CFBack)
- return CF(
- CFPos.x, CFPos.y, CFPos.z,
- CFRight.x, CFTop.x, CFBack.x,
- CFRight.y, CFTop.y, CFBack.y,
- CFRight.z, CFTop.z, CFBack.z
- )
- end
- local LerpCF = function(StartCF, EndCF, Alpha)
- local StartTop = (StartCF * CFANG(RAD(90), 0, 0)).lookVector
- local StartBack = -StartCF.lookVector
- local EndTop = (EndCF * CFANG(RAD(90), 0, 0)).lookVector
- local EndBack = -EndCF.lookVector
- local StartPos = StartCF.p
- local EndPos = EndCF.p
- local NewCF = MatrixCFrame(
- StartPos:lerp(EndPos, Alpha),
- StartTop:lerp(EndTop, Alpha),
- StartBack:lerp(EndBack, Alpha)
- )
- return NewCF
- end
- local StartC0 = Joint.C0
- local StartC1 = Joint.C1
- local X = 0
- while true do
- local NewX = X + math.min(1.5 / math.max(Duration, 0), 90)
- X = (NewX > 90 and 90 or NewX)
- if TweenIndicator.Value ~= NewCode then break end --This makes sure that another tween wasn't called on the same joint
- if (not Selected) then break end --This stops the tween if the tool is deselected
- if NewC0 then Joint.C0 = LerpCF(StartC0, NewC0, Alpha(X)) end
- if NewC1 then Joint.C1 = LerpCF(StartC1, NewC1, Alpha(X)) end
- if X == 90 then break end
- RS:wait() --This makes the for loop step every 1/60th of a second
- end
- if TweenIndicator.Value == NewCode then --If this tween functions was the last one called on a joint then it will remove the code
- TweenIndicator:Destroy()
- end
- end))
- end
- function RotCamera(RotX, RotY, SmoothRot, Duration)
- spawn(function()
- if SmoothRot then
- local TweenIndicator = nil
- local NewCode = math.random(-1e9, 1e9)
- if (not Camera:FindFirstChild("TweenCode")) then
- TweenIndicator = Instance.new("IntValue")
- TweenIndicator.Name = "TweenCode"
- TweenIndicator.Value = NewCode
- TweenIndicator.Parent = Camera
- else
- TweenIndicator = Camera.TweenCode
- TweenIndicator.Value = NewCode
- end
- local Step = math.min(1.5 / math.max(Duration, 0), 90)
- local X = 0
- while true do
- local NewX = X + Step
- X = (NewX > 90 and 90 or NewX)
- if TweenIndicator.Value ~= NewCode then break end
- if (not Selected) then break end
- local CamRot = Camera.CoordinateFrame - Camera.CoordinateFrame.p
- local CamDist = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
- local NewCamCF = CF(Camera.Focus.p) * CamRot * CFANG(RotX / (90 / Step), RotY / (90 / Step), 0)
- Camera.CoordinateFrame = CF(NewCamCF.p, NewCamCF.p + NewCamCF.lookVector) * CF(0, 0, CamDist)
- if X == 90 then break end
- RS:wait()
- end
- if TweenIndicator.Value == NewCode then
- TweenIndicator:Destroy()
- end
- else
- local CamRot = Camera.CoordinateFrame - Camera.CoordinateFrame.p
- local CamDist = (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude
- local NewCamCF = CF(Camera.Focus.p) * CamRot * CFANG(RotX, RotY, 0)
- Camera.CoordinateFrame = CF(NewCamCF.p, NewCamCF.p + NewCamCF.lookVector) * CF(0, 0, CamDist)
- end
- end)
- end
- --------------------[ GUI SETUP FUNCTION ]--------------------------------------------
- function ConvertKey(Key)
- if Key == string.char(8) then
- return "BKSPCE"
- elseif Key == string.char(9) then
- return "TAB"
- elseif Key == string.char(13) then
- return "ENTER"
- elseif Key == string.char(17) then
- return "UP"
- elseif Key == string.char(18) then
- return "DOWN"
- elseif Key == string.char(19) then
- return "RIGHT"
- elseif Key == string.char(20) then
- return "LEFT"
- elseif Key == string.char(22) then
- return "HOME"
- elseif Key == string.char(23) then
- return "END"
- elseif Key == string.char(27) then
- return "F2"
- elseif Key == string.char(29) then
- return "F4"
- elseif Key == string.char(30) then
- return "F5"
- elseif Key == string.char(32) or Key == " " then
- return "F7"
- elseif Key == string.char(33) or Key == "!" then
- return "F8"
- elseif Key == string.char(34) or Key == '"' then
- return "F9"
- elseif Key == string.char(35) or Key == "#" then
- return "F10"
- elseif Key == string.char(37) or Key == "%" then
- return "F12"
- elseif Key == string.char(47) or Key == "/" then
- return "R-SHIFT"
- elseif Key == string.char(48) or Key == "0" then
- return "L-SHIFT"
- elseif Key == string.char(49) or Key == "1" then
- return "R-CTRL"
- elseif Key == string.char(50) or Key == "2" then
- return "L-CTRL"
- elseif Key == string.char(51) or Key == "3" then
- return "R-ALT"
- elseif Key == string.char(52) or Key == "4" then
- return "L-ALT"
- else
- return string.upper(Key)
- end
- end
- function CreateControlFrame(Key, Desc, Num)
- local Controls = Gui_Clone:WaitForChild("HUD"):WaitForChild("Controls")
- local C = Instance.new("Frame")
- C.BackgroundTransparency = ((Num % 2) == 1 and 0.7 or 1)
- C.BorderSizePixel = 0
- C.Name = "C"..Num
- C.Position = UDim2.new(0, 0, 0, Num * 20)
- C.Size = UDim2.new(1, 0, 0, 20)
- local K = Instance.new("TextLabel")
- K.BackgroundTransparency = 1
- K.Name = "Key"
- K.Size = UDim2.new(0, 45, 1, 0)
- K.Font = Enum.Font.ArialBold
- K.FontSize = Enum.FontSize.Size14
- K.Text = Key
- K.TextColor3 = Color3.new(1, 1, 1)
- K.TextScaled = (string.len(Key) > 5)
- K.TextWrapped = (string.len(Key) > 5)
- K.Parent = C
- local D = Instance.new("TextLabel")
- D.BackgroundTransparency = 1
- D.Name = "Desc"
- D.Position = UDim2.new(0, 50, 0, 0)
- D.Size = UDim2.new(1, -50, 1, 0)
- D.Font = Enum.Font.ArialBold
- D.FontSize = Enum.FontSize.Size14
- D.Text = "- "..Desc
- D.TextColor3 = Color3.new(85, 1, 255)
- D.TextXAlignment = Enum.TextXAlignment.Left
- D.Parent = C
- C.Parent = Controls
- end
- function SetUpGui()
- local HUD = Gui_Clone:WaitForChild("HUD")
- local Scope = Gui_Clone:WaitForChild("Scope")
- local Grenades = HUD:WaitForChild("Grenades")
- local Controls = HUD:WaitForChild("Controls")
- local CurrentNum = 1
- if S.CanChangeStance then
- local Dive = (S.DolphinDive and " / Dive" or "")
- CreateControlFrame(ConvertKey(S.LowerStanceKey), "Lower Stance"..Dive, CurrentNum)
- CurrentNum = CurrentNum + 1
- CreateControlFrame(ConvertKey(S.RaiseStanceKey), "Raise Stance", CurrentNum)
- CurrentNum = CurrentNum + 1
- end
- CreateControlFrame(ConvertKey(S.ReloadKey), "Reload", CurrentNum)
- CurrentNum = CurrentNum + 1
- if S.CanKnife then
- CreateControlFrame(ConvertKey(S.KnifeKey), "Knife", CurrentNum)
- CurrentNum = CurrentNum + 1
- end
- if S.Throwables then
- CreateControlFrame(ConvertKey(S.LethalGrenadeKey), "Throw Lethal", CurrentNum)
- CurrentNum = CurrentNum + 1
- CreateControlFrame(ConvertKey(S.TacticalGrenadeKey), "Throw Tactical", CurrentNum)
- CurrentNum = CurrentNum + 1
- else
- Grenades.Visible = false
- HUD.Position = UDim2.new(1, -200, 1, -100)
- HUD.Size = UDim2.new(0, 175, 0, 50)
- end
- CreateControlFrame(ConvertKey(S.SprintKey), "Sprint", CurrentNum)
- CurrentNum = CurrentNum + 1
- if S.ADSKey ~= "" then
- local Hold = (S.HoldMouseOrKeyToADS and "HOLD " or "")
- CreateControlFrame(Hold..ConvertKey(S.ADSKey).." OR R-MOUSE", "Aim Down Sights", CurrentNum)
- CurrentNum = CurrentNum + 1
- end
- Controls.Size = UDim2.new(1, 0, 0, CurrentNum * 20)
- Controls.Position = UDim2.new(0, 0, 0, -(CurrentNum * 20) - 80)
- if S.GuiScope then
- Scope:WaitForChild("Img").Image = S.GuiId
- Scope:WaitForChild("Steady").Text = "Hold "..ConvertKey(S.ScopeSteadyKey).." to Steady"
- end
- HUD:WaitForChild("Grenades"):WaitForChild("Lethals"):WaitForChild("Icon").Image = LethalIcons[S.LethalGrenadeType]
- HUD:WaitForChild("Grenades"):WaitForChild("Tacticals"):WaitForChild("Icon").Image = TacticalIcons[S.TacticalGrenadeType]
- end
- --------------------[ FIRING FUNCTIONS ]----------------------------------------------
- function Fire_Gun()
- local FireSound = Handle:FindFirstChild("FireSound")
- local FlashFX = Main:FindFirstChild("FlashFX")
- local FireFX = Main:FindFirstChild("Fire")
- if FireSound then FireSound:Play() end
- local MockSpread = (
- ((not Aimed) and CurrentSpread <= S.Spread.Max and Idleing)
- and CurrentSpread * S.Spread.Multiplier or CurrentSpread
- )
- CurrentSpread = (MockSpread >= S.Spread.Max and S.Spread.Max or MockSpread)
- ----------------------------------------------------------------------------------
- for _ = 1, (S.GunType.Shot and S.ShotAmount or 1) do
- local BSpread = CFANG(
- RAD(RAND(-CurrentSpread, CurrentSpread) / 20),
- RAD(RAND(-CurrentSpread, CurrentSpread) / 20),
- RAD(RAND(-CurrentSpread, CurrentSpread) / 20)
- )
- local OriginCF = (Aimed and (S.GuiScope and Head.CFrame or Handle.CFrame) or Head.CFrame)
- local OriginPos = Main.CFrame.p
- local Direction = (CF(OriginCF.p, OriginCF.p + OriginCF.lookVector) * BSpread).lookVector
- if S.InstantHit then
- local HitObj, HitPos = AdvRayCast(Main.CFrame.p, Direction, S.BulletRange)
- local HitHumanoid = nil
- if HitObj then
- if S.GunType.Explosive then
- if S.ExplosionSound ~= "" then
- local SoundPart = Instance.new("Part")
- SoundPart.Transparency = 1
- SoundPart.Anchored = true
- SoundPart.CanCollide = false
- SoundPart.CFrame = CFrame.new(HitPos)
- SoundPart.Parent = game.Workspace
- local Sound = Instance.new("Sound")
- Sound.Pitch = S.ExplosionSoundPitch
- Sound.SoundId = S.ExplosionSound
- Sound.Volume = S.ExplosionSoundVolume
- Sound.Parent = SoundPart
- Sound:Play()
- delay(1 / 20, function()
- SoundPart:Destroy()
- end)
- end
- CreateBulletHole(HitPos, HitObj)
- CreateShockwave(HitPos, S.ExplosionRadius)
- local E = Instance.new("Explosion")
- E.BlastPressure = S.ExplosionPressure
- E.BlastRadius = S.ExplosionRadius
- E.DestroyJointRadiusPercent = (S.RangeBasedDamage and 0 or 1)
- E.ExplosionType = S.ExplosionType
- E.Position = HitPos
- E.Hit:connect(function(HObj, HDist)
- if HObj.Name == "Torso" and (not HObj:IsDescendantOf(Character)) then
- if S.RangeBasedDamage then
- local Dir = (HObj.Position - HitPos).unit
- local H, P = AdvRayCast(HitPos - Dir, Dir, 999)
- local RayHitHuman = H:IsDescendantOf(HObj.Parent)
- if (S.RayCastExplosions and RayHitHuman) or (not S.RayCastExplosions) then
- local HitHumanoid = FindFirstClass(HObj.Parent, "Humanoid")
- if HitHumanoid and HitHumanoid.Health > 0 and IsEnemy(HitHumanoid) then
- local DistFactor = HDist / S.ExplosionRadius
- local DistInvert = math.max(1 - DistFactor,0)
- local NewDamage = DistInvert * S.Damage
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(NewDamage)
- MarkHit()
- end
- end
- else
- local HitHumanoid = FindFirstClass(HObj.Parent, "Humanoid")
- if HitHumanoid and HitHumanoid.Health > 0 and IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- MarkHit()
- end
- end
- end
- end)
- E.Parent = game.Workspace
- else
- HitHumanoid = Damage(HitObj, HitPos)
- end
- end
- local FinalHitPos = HitPos
- if S.Penetration > 0 and (not S.GunType.Explosive) then
- FinalHitPos = PenetrateWall(HitPos, Direction, HitHumanoid, OriginPos)
- end
- if S.BulletTrail and S.TrailTransparency ~= 1 then
- local Trail = Instance.new("Part")
- Trail.BrickColor = S.TrailColor
- Trail.Transparency = S.TrailTransparency
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.Size = VEC3(1, 1, 1)
- local Mesh = Instance.new("BlockMesh")
- Mesh.Offset = VEC3(0, 0, -(FinalHitPos - OriginPos).magnitude / 2)
- Mesh.Scale = VEC3(S.TrailThickness, S.TrailThickness, (FinalHitPos - OriginPos).magnitude)
- Mesh.Parent = Trail
- Trail.Parent = Gun_Ignore
- Trail.CFrame = CF(OriginPos, FinalHitPos)
- delay(S.TrailVisibleTime, function()
- if S.TrailDisappearTime > 0 then
- local X = 0
- while true do
- if X == 90 then break end
- if (not Selected) then break end
- local NewX = X + (1.5 / S.TrailDisappearTime)
- X = (NewX > 90 and 90 or NewX)
- local Alpha = X / 90
- Trail.Transparency = NumLerp(S.TrailTransparency, 1, Alpha)
- RS:wait()
- end
- Trail:Destroy()
- else
- Trail:Destroy()
- end
- end)
- end
- else
- local Bullet = CreateBullet(Direction)
- local LastPos = Main.CFrame.p
- local TotalDistTraveled = 0
- local HitHumanoid = nil
- spawn(function()
- while true do
- RS:wait()
- if TotalDistTraveled >= S.BulletRange then
- Bullet:Destroy()
- break
- end
- local DistTraveled = (Bullet.Position - LastPos).magnitude
- local HitObj, HitPos = AdvRayCast(LastPos, (Bullet.Position - LastPos).unit, DistTraveled)
- if HitObj then
- if S.GunType.Explosive then
- if S.ExplosionSound ~= "" then
- local Sound = Instance.new("Sound")
- Sound.Pitch = S.ExplosionSoundPitch
- Sound.SoundId = S.ExplosionSound
- Sound.Volume = S.ExplosionSoundVolume
- Sound.Parent = Bullet
- Sound:Play()
- end
- CreateBulletHole(HitPos, HitObj)
- CreateShockwave(HitPos, S.ExplosionRadius)
- local E = Instance.new("Explosion")
- E.BlastPressure = S.ExplosionPressure
- E.BlastRadius = S.ExplosionRadius
- E.DestroyJointRadiusPercent = (S.RangeBasedDamage and 0 or 1)
- E.ExplosionType = S.ExplosionType
- E.Position = HitPos
- E.Hit:connect(function(HObj, HDist)
- if HObj.Name == "Torso" and (not HObj:IsDescendantOf(Character)) then
- if S.RangeBasedDamage then
- local Dir = (HObj.Position - HitPos).unit
- local H, P = AdvRayCast(HitPos - Dir, Dir, 999)
- local RayHitHuman = H:IsDescendantOf(HObj.Parent)
- if (S.RayCastExplosions and RayHitHuman) or (not S.RayCastExplosions) then
- local HitHumanoid = FindFirstClass(HObj.Parent, "Humanoid")
- if HitHumanoid and HitHumanoid.Health > 0 and IsEnemy(HitHumanoid) then
- local DistFactor = HDist / S.ExplosionRadius
- local DistInvert = math.max(1 - DistFactor,0)
- local NewDamage = DistInvert * S.Damage
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(NewDamage)
- MarkHit()
- end
- end
- else
- local HitHumanoid = FindFirstClass(HObj.Parent, "Humanoid")
- if HitHumanoid and HitHumanoid.Health > 0 and IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- MarkHit()
- end
- end
- end
- end)
- E.Parent = game.Workspace
- else
- HitHumanoid = Damage(HitObj, HitPos)
- end
- if S.Penetration > 0 and (not S.GunType.Explosive) then
- PenetrateWall(HitPos, (Bullet.Position - LastPos).unit, HitHumanoid, OriginPos, Bullet)
- else
- Bullet:Destroy()
- end
- break
- else
- LastPos = Bullet.Position
- TotalDistTraveled = TotalDistTraveled + DistTraveled
- end
- end
- end)
- if S.BulletTrail and S.TrailTransparency ~= 1 then
- spawn(function()
- local LastPos2 = nil
- while true do
- if LastPos2 then
- if (not Bullet:IsDescendantOf(game)) then break end
- Bullet.CFrame = CFrame.new(Bullet.CFrame.p, Bullet.CFrame.p + Bullet.Velocity)
- local Trail = Instance.new("Part")
- local Flame = Instance.new("Fire")
- Flame.Parent = Bullet
- Flame.Heat = 0
- Flame.Size = 10
- Trail.BrickColor = S.TrailColor
- Trail.Transparency = S.TrailTransparency
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.Size = VEC3(1, 1, 1)
- local Mesh = Instance.new("BlockMesh")
- Mesh.Offset = VEC3(0, 0, -(Bullet.Position - LastPos2).magnitude / 2)
- Mesh.Scale = VEC3(S.TrailThickness, S.TrailThickness, (Bullet.Position - LastPos2).magnitude)
- Mesh.Parent = Trail
- Trail.Parent = Gun_Ignore
- Trail.CFrame = CF(LastPos2, Bullet.Position)
- delay(S.TrailVisibleTime, function()
- if S.TrailDisappearTime > 0 then
- local X = 0
- while true do
- if X == 90 then break end
- if (not Selected) then break end
- local NewX = X + (1.5 / S.TrailDisappearTime)
- X = (NewX > 90 and 90 or NewX)
- local Alpha = X / 90
- Trail.Transparency = NumLerp(S.TrailTransparency, 1, Alpha)
- RS:wait()
- end
- Trail:Destroy()
- else
- Trail:Destroy()
- end
- end)
- LastPos2 = Bullet.Position
- else
- LastPos2 = Main.CFrame.p
- end
- RS:wait()
- end
- end)
- end
- end
- end
- ----------------------------------------------------------------------------------
- local RecoilX = RAD(CurrentRecoil * RAND(1, 1.5, 0.1)) * StanceSway
- local RecoilY = RAD(CurrentRecoil * RAND(-2, 2, 0.1)) * StanceSway
- RotCamera(RecoilX, RecoilY, true, 0.06)
- delay(0.05, function()
- RotCamera(-RecoilX / 5, -RecoilY / 5, true, 0.1)
- end)
- if Idleing and (not Walking) and (not Aimed) then
- local SpreadScale = (CurrentSpread / S.Spread.Max) * 50
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 70 + 2 * SpreadScale, 0, 70 + 2 * SpreadScale),
- UDim2.new(0, -35 - SpreadScale, 0, -35 - SpreadScale),
- "Out", "Linear", 0.1, true
- )
- end
- local KickSide = (
- (
- {
- CurrentRecoil * (RAND(1, 5, 1) / 150);
- CurrentRecoil * (RAND(1, 5, 1) / -150)
- }
- )[math.random(1, 2)]
- ) * StanceSway
- local KickBack = CurrentRecoil * StanceSway * 0.3
- local KickUp = RAD(90 + (CurrentRecoil * RAND(1.3, 1.4, 0.01) * StanceSway))
- TweenJoint(AnimWeld, CF(KickSide, 1, -KickBack), CFANG(KickUp - RAD(90), 0, 0), Linear, 1 / 12)
- if FlashFX then FlashFX.Enabled = true end
- if FireFX then FireFX.Enabled = true end
- wait(.01)
- if FlashFX then FlashFX.Enabled = false end
- if FireFX then FireFX.Enabled = false end
- delay(1 / 30, function()
- if Idleing and (not Walking) and (not Aimed) then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 70, 0, 70),
- UDim2.new(0, -35, 0, -35),
- "Out", "Linear", S.AimSpeed, (not Aimed)
- )
- end
- if (not Aiming) and (not RunTween) then
- TweenJoint(AnimWeld, CF(0, 1, 0), CF(), Linear, 0.15)
- end
- if FlashFX then FlashFX.Enabled = false end
- if FlashGui then FlashGui.Enabled = false end
- end)
- end
- function MarkHit()
- spawn(function()
- if Gui_Clone:IsDescendantOf(game) then
- Gui_Clone.HitMarker.Visible = true
- local StartMark = tick()
- LastMark = StartMark
- wait(0.5)
- if LastMark <= StartMark then
- Gui_Clone.HitMarker.Visible = false
- end
- end
- end)
- end
- --------------------[ ADS FUNCTIONS ]-------------------------------------------------
- function AimGun()
- if (Camera.CoordinateFrame.p - Camera.Focus.p).magnitude > 1 or Reloading or Knifing or ThrowingGrenade then return end
- local Scope = Gui_Clone:WaitForChild("Scope"):WaitForChild("Img")
- local Steady = Gui_Clone:WaitForChild("Scope"):WaitForChild("Steady")
- Aimed = true
- Aiming = true
- CurrentRecoil = S.Recoil.Aimed
- CurrentSpread = S.Spread.Aimed
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(),
- UDim2.new(),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Sine,
- S.AimAnimation and S.AimSpeed or 0,
- true
- )
- if S.AimAnimation then
- local CurrentFOV = Camera.FieldOfView
- local CurrentCameraOffset = Humanoid.CameraOffset
- local CurrentTrans = Scope.BackgroundTransparency
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_Aimed.Left, Sine, S.AimSpeed)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_Aimed.Right, Sine, S.AimSpeed)
- TweenJoint(AnimWeld, CF(0, 1, 0), CF(), Sine, S.AimSpeed)
- TweenJoint(Grip, Grip.C0, Aimed_GripCF, Sine, S.AimSpeed)
- TweenJoint(LWeld2, CF(), CF(), Sine, S.AimSpeed)
- TweenJoint(RWeld2, CF(), CF(), Sine, S.AimSpeed)
- local X = 0
- while true do
- local NewX = X + 1.5 / S.AimSpeed
- X = (NewX > 90 and 90 or NewX)
- if (not Aimed) then break end
- if (not Selected) then break end
- local Alpha = 1 - COS(RAD(X))
- Camera.FieldOfView = NumLerp(CurrentFOV, S.MaxZoom, Alpha)
- if S.GuiScope then
- Scope.BackgroundTransparency = NumLerp(CurrentTrans, 0, Alpha)
- end
- if X == 90 then break end
- RS:wait()
- end
- else
- LWeld.C0, LWeld.C1 = ArmC0[1], S.ArmC1_Aimed.Left
- RWeld.C0, RWeld.C1 = ArmC0[2], S.ArmC1_Aimed.Right
- AnimWeld.C0 = CF(0, 1, 0)
- Grip.C1 = Aimed_GripCF
- LWeld2.C1, RWeld2.C1 = CF(), CF()
- Camera.FieldOfView = S.MaxZoom
- end
- Aiming = (not Aimed)
- if (not Aiming) and S.GuiScope then
- spawn(function()
- Steady.Visible = true
- Scope.BackgroundTransparency = 1
- Scope.ImageTransparency = 0
- local Gun_Model = Instance.new("Model")
- Gun_Model.Name = "Gun_Model"
- for _, Obj in pairs(Gun:GetChildren()) do
- if Obj:IsA("BasePart") then
- local ObjClone = Obj:Clone()
- ObjClone.Parent = Gun_Model
- local W = Instance.new("Weld")
- W.Part0 = ObjClone
- W.Part1 = Obj
- W.Parent = ObjClone
- local PrevTrans = Instance.new("NumberValue")
- PrevTrans.Name = "PrevTrans"
- PrevTrans.Value = Obj.Transparency
- PrevTrans.Parent = Obj
- Obj.Transparency = 1
- end
- end
- Gun_Model.Parent = Character
- end)
- spawn(function()
- while Aimed do
- local Ang = (CameraSteady and 0 or (Idleing and AnimAng[2] or AnimAng[4]))
- if CameraSway ~= 0 then
- local OffsetX, OffsetY = 0, 0
- if Idleing then
- OffsetX = (RAD(COS(Ang * 5 * (CameraSway ^ 0.4))) / 40) * (CameraSway ^ 1.2) * StanceSway * S.ScopeSway
- OffsetY = (RAD(COS(Ang * 2 * (CameraSway ^ 0.4))) / 40) * (CameraSway ^ 1.2) * StanceSway * S.ScopeSway
- else
- OffsetX = (RAD(COS(Ang * 3/2 * (CameraSway ^ 0.4))) / 25) * (CameraSway ^ 1.2) * StanceSway * S.ScopeSway
- OffsetY = (RAD(COS(Ang * 3/5 * (CameraSway ^ 0.4))) / 25) * (CameraSway ^ 1.2) * StanceSway * S.ScopeSway
- end
- RotCamera(OffsetX, OffsetY)
- end
- RS:wait()
- end
- end)
- end
- end
- function UnAimGun(Exception)
- local Scope = Gui_Clone:WaitForChild("Scope"):WaitForChild("Img")
- local Steady = Gui_Clone:WaitForChild("Scope"):WaitForChild("Steady")
- if (not Exception) then
- if (not Aimed) then return end
- if (Reloading and Exception) or Knifing and (not ThrowingGrenade) then return end
- CurrentRecoil = S.Recoil.Hipfire
- CurrentSpread = ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- if Walking and Aimed then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 150, 0, 150),
- UDim2.new(0, -75, 0, -75),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.AimAnimation and S.AimSpeed or 0,
- true
- )
- elseif Idleing then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 70, 0, 70),
- UDim2.new(0, -35, 0, -35),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.AimAnimation and S.AimSpeed or 0,
- true
- )
- end
- Aimed = false
- Aiming = true
- if S.GuiScope then
- spawn(function()
- local Gun_Model = Character:FindFirstChild("Gun_Model")
- if Gun_Model then
- Gun_Model:Destroy()
- end
- for _, Obj in pairs(Gun:GetChildren()) do
- if Obj:IsA("BasePart") then
- local PrevTrans = Obj:FindFirstChild("PrevTrans")
- Obj.Transparency = PrevTrans.Value
- PrevTrans:Destroy()
- end
- end
- end)
- end
- if S.AimAnimation then
- local CurrentFOV = Camera.FieldOfView
- local CurrentCameraOffset = Humanoid.CameraOffset
- local CurrentTrans = (Scope.BackgroundTransparency == 1 and (S.GuiScope and 0 or 1) or Scope.BackgroundTransparency)
- Scope.ImageTransparency = 1
- Steady.Visible = false
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_UnAimed.Left, Sine, S.AimSpeed)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_UnAimed.Right, Sine, S.AimSpeed)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(20), 0), Sine, S.AimSpeed)
- if S.PlayerAnimations then
- TweenJoint(LWeld2, CF(), CFANG(0, RAD(ArmTilt), 0), Sine, S.AimSpeed)
- TweenJoint(RWeld2, CF(), CFANG(0, RAD(ArmTilt), 0), Sine, S.AimSpeed)
- end
- local X = 0
- while true do
- local NewX = X + 1.5 / S.AimSpeed
- X = (NewX > 90 and 90 or NewX)
- if Aimed then break end
- if (not Selected) then break end
- local Alpha = 1 - COS(RAD(X))
- Camera.FieldOfView = NumLerp(CurrentFOV, 70, Alpha)
- Scope.BackgroundTransparency = NumLerp(CurrentTrans, 1, Alpha)
- if X == 90 then break end
- RS:wait()
- end
- else
- Scope.BackgroundTransparency = 1
- Scope.ImageTransparency = 1
- Steady.Visible = false
- LWeld.C0, LWeld.C1 = ArmC0[1], S.ArmC1_UnAimed.Left
- RWeld.C0, RWeld.C1 = ArmC0[2], S.ArmC1_UnAimed.Right
- Grip.C1 = CFANG(0, RAD(20), 0)
- LWeld2.C1, RWeld2.C1 = CFANG(0, RAD(ArmTilt), 0), CFANG(0, RAD(ArmTilt), 0)
- Camera.FieldOfView = 70
- end
- Aiming = Aimed
- else
- if S.GuiScope then
- spawn(function()
- local Gun_Model = Character:FindFirstChild("Gun_Model")
- if Gun_Model then
- Gun_Model:Destroy()
- end
- for _, Obj in pairs(Gun:GetChildren()) do
- if Obj:IsA("BasePart") then
- local PrevTrans = Obj:FindFirstChild("PrevTrans")
- Obj.Transparency = PrevTrans.Value
- PrevTrans:Destroy()
- end
- end
- end)
- end
- spawn(function()
- Aimed = false
- Aiming = false
- CurrentRecoil = S.Recoil.Hipfire
- CurrentSpread = ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- if (not Walking) then
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 70, 0, 70),
- UDim2.new(0, -35, 0, -35),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.AimAnimation and S.AimSpeed or 0,
- true
- )
- else
- Gui_Clone.CrossHair.Box:TweenSizeAndPosition(
- UDim2.new(0, 150, 0, 150),
- UDim2.new(0, -75, 0, -75),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- S.AimAnimation and S.AimSpeed or 0,
- true
- )
- end
- local CurrentFOV = Camera.FieldOfView
- local CurrentCameraOffset = Humanoid.CameraOffset
- local CurrentTrans = (Scope.BackgroundTransparency == 1 and (S.GuiScope and 0 or 1) or Scope.BackgroundTransparency)
- Scope.ImageTransparency = 1
- Steady.Visible = false
- if LWeld:FindFirstChild("TweenCode") then LWeld.TweenCode:Destroy() end
- if RWeld:FindFirstChild("TweenCode") then RWeld.TweenCode:Destroy() end
- if Grip:FindFirstChild("TweenCode") then Grip.TweenCode:Destroy() end
- if LWeld2:FindFirstChild("TweenCode") then LWeld2.TweenCode:Destroy() end
- if RWeld2:FindFirstChild("TweenCode") then RWeld2.TweenCode:Destroy() end
- if S.AimAnimation then
- local X = 0
- while true do
- local NewX = X + 1.5 / S.AimSpeed
- X = (NewX > 90 and 90 or NewX)
- if Aimed then break end
- if (not Selected) then break end
- local Alpha = 1 - COS(RAD(X))
- Camera.FieldOfView = NumLerp(CurrentFOV, 70, Alpha)
- Scope.BackgroundTransparency = NumLerp(CurrentTrans, 1, Alpha)
- if X == 90 then break end
- RS:wait()
- end
- else
- Scope.BackgroundTransparency = 1
- Scope.ImageTransparency = 1
- Steady.Visible = false
- Camera.FieldOfView = 70
- end
- end)
- end
- end
- --------------------[ TEXTURE CREATION FUNCTIONS ]------------------------------------
- function CreateBullet(Direction)
- local Origin = Gun.Main.CFrame.p
- local BulletMass = S.BulletSize.X * S.BulletSize.Y * S.BulletSize.Z
- local BulletCF = CF(Origin, Origin + Direction)
- local Bullet = Instance.new("Part")
- Bullet.BrickColor = S.BulletColor
- Bullet.Name = "Bullet"
- Bullet.CanCollide = false
- Bullet.FormFactor = "Custom"
- Bullet.Size = S.BulletSize
- Bullet.BottomSurface = "Smooth"
- Bullet.TopSurface = "Smooth"
- local Mesh = Instance.new("BlockMesh")
- Mesh.Scale = S.BulletMeshSize
- Mesh.Parent = Bullet
- local BF = Instance.new("BodyForce")
- BF.force = VEC3(0, BulletMass * (196.2 - S.BulletDropPerSecond), 0)
- BF.Parent = Bullet
- Bullet.Parent = Gun_Ignore
- Bullet.CFrame = BulletCF + Direction * 3
- Bullet.Velocity = Direction * S.BulletVelocity
- return Bullet
- end
- function CreateBulletHole(HitPos, HitObj)
- local SurfaceCF = GetHitSurfaceCFrame(HitPos, HitObj)
- local SurfaceDir = CF(HitObj.CFrame.p, SurfaceCF.p)
- local SurfaceDist = SurfaceDir.lookVector * (HitObj.CFrame.p - SurfaceCF.p).magnitude / 2
- local SurfaceOffset = HitPos - SurfaceCF.p + SurfaceDist
- local SurfaceCFrame = SurfaceDir + SurfaceDist + SurfaceOffset
- local HitMark = Instance.new("Part")
- local Fire = script.Fire
- local Dust = script.Dust
- local Light = script.Light
- local Burn = script.Burn
- HitMark.BrickColor = BrickColor.new("Black")
- HitMark.Transparency = 1
- HitMark.Anchored = true
- HitMark.CanCollide = false
- HitMark.FormFactor = "Custom"
- HitMark.Size = VEC3(10, 10, 0.2)
- HitMark.TopSurface = 0
- HitMark.BottomSurface = 0
- local FireC = Fire:clone()
- FireC.Parent = HitMark
- FireC.Enabled = true
- local DustC = Dust:clone()
- DustC.Parent = HitMark
- DustC.Enabled = true
- local LightC = Light:clone()
- LightC.Parent = HitMark
- local BurnC = Burn:clone()
- BurnC.Parent = HitMark
- BurnC.Disabled = false
- local Mesh = Instance.new("BlockMesh")
- Mesh.Offset = VEC3(0, 0, -0.05)
- Mesh.Scale = VEC3(S.BulletHoleSize, S.BulletHoleSize, 0)
- Mesh.Parent = HitMark
- local Decal = Instance.new("Decal")
- Decal.Face = Enum.NormalId.Front
- Decal.Texture = S.BulletHoleTexture
- Decal.Parent = HitMark
- HitMark.Parent = Gun_Ignore
- HitMark.CFrame = SurfaceCFrame
- if (not HitObj.Anchored) then
- local Weld = Instance.new("Weld", HitMark)
- Weld.Part0 = HitObj
- Weld.Part1 = HitMark
- Weld.C0 = HitObj.CFrame:toObjectSpace(SurfaceCFrame)
- HitMark.Anchored = false
- end
- delay(S.BulletHoleVisibleTime, function()
- if S.BulletHoleDisappearTime > 0 then
- local X = 0
- while true do
- if X == 90 then break end
- if (not Selected) then break end
- local NewX = X + (1.5 / S.BulletHoleDisappearTime)
- X = (NewX > 90 and 90 or NewX)
- local Alpha = X / 90
- Decal.Transparency = NumLerp(0, 1, Alpha)
- RS:wait()
- end
- HitMark:Destroy()
- else
- HitMark:Destroy()
- end
- end)
- end
- function CreateShockwave(Center, Radius)
- local Shockwave = Instance.new("Part")
- Shockwave.BrickColor = S.ShockwaveColor
- Shockwave.Material = Enum.Material.SmoothPlastic
- Shockwave.Name = "Shockwave"
- Shockwave.Anchored = true
- Shockwave.CanCollide = false
- Shockwave.FormFactor = Enum.FormFactor.Symmetric
- Shockwave.Size = VEC3(1, 1, 1)
- Shockwave.BottomSurface = Enum.SurfaceType.Smooth
- Shockwave.TopSurface = Enum.SurfaceType.Smooth
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = Enum.MeshType.Sphere
- Mesh.Scale = VEC3()
- Mesh.Parent = Shockwave
- Shockwave.Parent = Gun_Ignore
- Shockwave.CFrame = CF(Center)
- spawn(function()
- for i = 0, 1, (1 / (60 * S.ShockwaveDuration)) do
- local Scale = 2 * Radius * i
- Mesh.Scale = VEC3(Scale, Scale, Scale)
- Shockwave.Transparency = i
- RS:wait()
- end
- Shockwave:Destroy()
- end)
- end
- --------------------[ HIT HANDLING FUNCTIONS ]----------------------------------------
- function Damage(HitObj, HitPos)
- local HeadVal = S.Multipliers.Head
- local ChestVal = S.Multipliers.Chest
- local LimbsVal = S.Multipliers.Limbs
- if Humanoid.Health ~= 0 then
- if HitObj and HitObj.Parent then
- local HumanoidFound = false
- local HitHumanoid = nil
- if HitObj.Parent.ClassName == "Hat" then
- if FindFirstClass(HitObj.Parent.Parent, "Humanoid") then
- HitHumanoid = FindFirstClass(HitObj.Parent.Parent, "Humanoid")
- HumanoidFound = true
- if HitHumanoid.Health > 0 then
- if IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(S.Damage * RAND(HeadVal, HeadVal + 0.1, 0.01))
- MarkHit()
- end
- end
- end
- else
- if FindFirstClass(HitObj.Parent, "Humanoid") then
- HitHumanoid = FindFirstClass(HitObj.Parent, "Humanoid")
- HumanoidFound = true
- if HitHumanoid.Health > 0 then
- if IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- local ChosenDamage = 0
- if HitObj.Name == "Head" then
- ChosenDamage = S.Damage * RAND(HeadVal, HeadVal + 0.1, 0.01)
- elseif HitObj.Name == "Torso" then
- ChosenDamage = S.Damage * RAND(ChestVal, ChestVal + 0.1, 0.01)
- else
- ChosenDamage = S.Damage * RAND(LimbsVal, LimbsVal + 0.1, 0.01)
- end
- HitHumanoid:TakeDamage(ChosenDamage)
- MarkHit()
- end
- end
- end
- end
- if (not HumanoidFound) then
- if S.BulletHoles then
- CreateBulletHole(HitPos, HitObj)
- end
- if S.Shockwaves then
- CreateShockwave(HitPos, S.ShockwaveRadius)
- end
- end
- return HitHumanoid
- end
- end
- end
- function PenetrateWall(HitPos, Direction, HitHumanoid, OriginPos, Bullet)
- local HitDist = (HitPos - OriginPos).magnitude
- local Thickness, Wall, WallHitPos = 0, nil, nil
- for i = 0.1, S.Penetration, 0.1 do
- local WallRay = Ray.new(HitPos + (Direction * i), -Direction)
- local TempWall, TempWallHitPos = game.Workspace:FindPartOnRayWithIgnoreList(WallRay, Ignore)
- if TempWall then
- Thickness = i
- Wall, WallHitPos = TempWall, TempWallHitPos
- break
- end
- end
- if Wall then
- CreateBulletHole(WallHitPos, Wall)
- if S.InstantHit then
- local HitObj2, HitPos2 = nil, nil
- if HitHumanoid then
- HitObj2, HitPos2 = AdvRayCast(WallHitPos, Direction, S.BulletRange - HitDist, {HitHumanoid.Parent,unpack(Ignore)})
- else
- HitObj2, HitPos2 = AdvRayCast(WallHitPos, Direction, S.BulletRange - HitDist)
- end
- Damage(HitObj2, HitPos2)
- return HitPos2
- else
- local LastPos = WallHitPos
- local TotalDistTraveled = 0
- spawn(function()
- while true do
- RS:wait()
- if TotalDistTraveled >= S.BulletRange - HitDist then
- Bullet:Destroy()
- break
- end
- local DistTraveled = (Bullet.Position - LastPos).magnitude
- local NewDirection = (Bullet.Position - LastPos).unit
- local TempHitObj, TempHitPos = nil, nil
- if HitHumanoid then
- TempHitObj, TempHitPos = AdvRayCast(LastPos, NewDirection, DistTraveled, {HitHumanoid.Parent,unpack(Ignore)})
- else
- TempHitObj, TempHitPos = AdvRayCast(LastPos, NewDirection, DistTraveled)
- end
- if TempHitObj then
- Damage(TempHitObj, TempHitPos)
- Bullet:Destroy()
- return TempHitPos
- else
- LastPos = Bullet.Position
- TotalDistTraveled = TotalDistTraveled + DistTraveled
- end
- end
- end)
- end
- else
- if Bullet then Bullet:Destroy() end
- return HitPos
- end
- end
- function IsEnemy(Human)
- local Plyr = game.Players:GetPlayerFromCharacter(Human.Parent)
- if (not Plyr) then return S.CanDamageNPCs end
- return S.AllowFriendlyFire or (Plyr.TeamColor ~= Player.TeamColor or Plyr.Neutral)
- end
- --------------------[ RELOAD FUNCTIONS ]----------------------------------------------
- function ReloadAnim()
- TweenJoint(LWeld2, CF(), CF(), Sine, 0.15)
- TweenJoint(RWeld2, CF(), CF(), Sine, 0.15)
- local Speed = S.ReloadTime / 2
- local Mag_Parts = {}
- for _, Obj in pairs(Gun:GetChildren()) do
- if Obj.Name == "Mag" and Obj:IsA("BasePart") then
- INSERT(Mag_Parts, {Original = Obj, Clone1 = Obj:Clone(), Clone2 = Obj:Clone()})
- end
- end
- local W1 = nil
- local W2 = nil
- local SequenceTable = {
- function()
- for Index, Mag in pairs(Mag_Parts) do
- Mag.Original.Transparency = 1
- Mag.Clone1.Parent = Gun_Ignore
- Mag.Clone1.CanCollide = true
- if Index ~= 1 then
- local W = Instance.new("Weld")
- W.Part0 = Mag_Parts[1].Clone1
- W.Part1 = Mag.Clone1
- W.C0 = Mag_Parts[1].Clone1.CFrame:toObjectSpace(Mag.Clone1.CFrame)
- W.Parent = Mag_Parts[1].Clone1
- end
- end
- W1 = Instance.new("Weld")
- W1.Part0 = Mag_Parts[1].Clone1
- W1.Part1 = Handle
- W1.C0 = Mag_Parts[1].Original.CFrame:toObjectSpace(Handle.CFrame)
- W1.Parent = Mag_Parts[1].Clone1
- TweenJoint(LWeld, ArmC0[1], CF(0, 0.61, 0) * CFANG(RAD(70), 0, 0), Linear, 0.5 * Speed)
- TweenJoint(RWeld, ArmC0[2], CF(0.4, 0.09, -0.21) * CFANG(RAD(-20), RAD(3), 0), Linear, 0.5 * Speed)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(10), 0), Linear, 0.5 * Speed)
- wait(0.5 * Speed)
- end;
- function()
- TweenJoint(RWeld, ArmC0[2], CF(0.4, -0.01, -0.31) * CFANG(RAD(-22), RAD(3), 0), Sine, 0.3 * Speed)
- wait(0.2 * Speed)
- end;
- function()
- W1:Destroy()
- Mag_Parts[1].Clone1.Velocity = Handle.Velocity + Handle.CFrame:vectorToWorldSpace(VEC3(0,-1,0)) * 20
- spawn(function()
- while Mag_Parts[1].Clone1.Velocity.magnitude > 0.1 do wait() end
- for _, Mag in pairs(Mag_Parts) do
- Mag.Clone1.Anchored = true
- Mag.Clone1:BreakJoints()
- end
- end)
- for Index, Mag in pairs(Mag_Parts) do
- Mag.Clone2.Parent = Gun_Ignore
- if Index ~= 1 then
- local W = Instance.new("Weld")
- W.Part0 = Mag_Parts[1].Clone2
- W.Part1 = Mag.Clone2
- W.C0 = Mag_Parts[1].Clone2.CFrame:toObjectSpace(Mag.Clone2.CFrame)
- W.Parent = Mag_Parts[1].Clone2
- end
- end
- W2 = Instance.new("Weld")
- W2.Part0 = FakeLArm
- W2.Part1 = Mag_Parts[1].Clone2
- W2.C0 = CF(0, -1, 0) * CFANG(RAD(-90), 0, 0)
- W2.Parent = FakeLArm
- wait(0.1)
- end;
- function()
- local FakeLArmCF = LWeld.Part0.CFrame * ArmC0[1] * (CF(0.3, 1.85, -0.31) * CFANG(RAD(-20), RAD(30), RAD(-60))):inverse()
- local FakeRArmCF = RWeld.Part0.CFrame * ArmC0[2] * (CF(0.4, -0.1, -0.21) * CFANG(RAD(-20), RAD(5), RAD(10))):inverse()
- local HandleCF = FakeRArm.CFrame:toObjectSpace(Grip.Part0.CFrame * Grip.C0)
- local Mag_Original_CF = Handle.CFrame:toObjectSpace(Mag_Parts[1].Original.CFrame)
- local MagC0 = FakeLArmCF:toObjectSpace(FakeRArmCF * HandleCF * Mag_Original_CF)
- TweenJoint(LWeld, ArmC0[1], CF(0.3, 1.85, -0.31) * CFANG(RAD(-20), RAD(30), RAD(-60)), Sine, 0.6 * Speed)
- TweenJoint(RWeld, ArmC0[2], CF(0.4, -0.1, -0.21) * CFANG(RAD(-20), RAD(5), RAD(10)), Sine, 0.6 * Speed)
- TweenJoint(Grip, Grip.C0, CF(), Sine, 0.6 * Speed)
- TweenJoint(W2, MagC0, CF(), Sine, 0.6 * Speed)
- wait(0.7 * Speed)
- end;
- function()
- for _, Mag in pairs(Mag_Parts) do
- Mag.Original.Transparency = 0
- Mag.Clone2:Destroy()
- end
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_UnAimed.Left, Sine, 0.5 * Speed)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_UnAimed.Right, Sine, 0.5 * Speed)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(20), 0), Sine, 0.5 * Speed)
- wait(0.5 * Speed)
- end;
- }
- for _,ReloadFunction in pairs(SequenceTable) do
- if BreakReload then
- break
- end
- ReloadFunction()
- end
- if W1 then W1:Destroy() end
- if W2 then W2:Destroy() end
- for _, Mag in pairs(Mag_Parts) do
- Mag.Clone1:Destroy()
- Mag.Clone2:Destroy()
- end
- end
- function Reload()
- Running = false
- if Ammo.Value < ClipSize.Value and (not Reloading) and StoredAmmo.Value > 0 then
- AmmoInClip = (AmmoInClip == 0 and Ammo.Value or AmmoInClip)
- Ammo.Value = 0
- Reloading = true
- if Aimed then UnAimGun(S.ReloadAnimation) end
- Gui_Clone.CrossHair.Reload.Visible = true
- if Handle:FindFirstChild("ReloadSound") then Handle.ReloadSound:Play() end
- if S.ReloadAnimation then
- wait()
- ReloadAnim()
- else
- local StartReload = tick()
- while true do
- if BreakReload then break end
- if (tick() - StartReload) >= S.ReloadTime then break end
- RS:wait()
- end
- end
- if (not BreakReload) then
- if StoredAmmo.Value >= ClipSize.Value then
- Ammo.Value = ClipSize.Value
- if AmmoInClip > 0 then
- StoredAmmo.Value = StoredAmmo.Value - (ClipSize.Value - AmmoInClip)
- else
- StoredAmmo.Value = StoredAmmo.Value - ClipSize.Value
- end
- elseif StoredAmmo.Value < ClipSize.Value and StoredAmmo.Value > 0 then
- Ammo.Value = StoredAmmo.Value
- StoredAmmo.Value = 0
- end
- end
- BreakReload = false
- Reloading = false
- if Selected then
- AmmoInClip = 0
- Gui_Clone.CrossHair.Reload.Visible = false
- end
- end
- end
- --------------------[ EXTERNAL DATA LOCATING FUNCTIONS ]-----------------------------
- function FindFirstClass(Object, Class)
- local FoundObject = nil
- for _, Obj in pairs(Object:GetChildren()) do
- if Obj.ClassName == Class then
- FoundObject = Obj
- break
- end
- end
- return FoundObject
- end
- function IsIgnored(Obj)
- for _,v in pairs(Ignore) do
- if Obj == v or Obj:IsDescendantOf(v) then
- return true
- end
- end
- return false
- end
- function GetHitSurfaceCFrame(HitPos,Obj)
- local SurfaceCF = {
- {"Back",Obj.CFrame * CF(0,0,Obj.Size.z)};
- {"Bottom",Obj.CFrame * CF(0,-Obj.Size.y,0)};
- {"Front",Obj.CFrame * CF(0,0,-Obj.Size.z)};
- {"Left",Obj.CFrame * CF(-Obj.Size.x,0,0)};
- {"Right",Obj.CFrame * CF(Obj.Size.x,0,0)};
- {"Top",Obj.CFrame * CF(0,Obj.Size.y,0)}
- }
- local ClosestDist = HUGE
- local ClosestSurface = nil
- for _,v in pairs(SurfaceCF) do
- local SurfaceDist = (HitPos - v[2].p).magnitude
- if SurfaceDist < ClosestDist then
- ClosestDist = SurfaceDist
- ClosestSurface = v
- end
- end
- return ClosestSurface[2]
- end
- function AdvRayCast(Origin, Direction, Dist, CustomIgnore)
- local NewIgnore = (CustomIgnore and CustomIgnore or Ignore)
- local NewRay = Ray.new(Origin, Direction * (Dist > 999 and 999 or Dist))
- local HitObj, HitPos = game.Workspace:FindPartOnRayWithIgnoreList(NewRay, NewIgnore)
- local LastPos = HitPos
- local FinalHitObj, FinalHitPos = nil, nil
- local RepTimes = math.floor(Dist / 999)
- if (not HitObj) and (Dist > 999) then
- for i = 0, RepTimes do
- local NewDist = (i == RepTimes and (Dist - (LastPos - Origin).magnitude) or 999)
- local Ray2 = Ray.new(LastPos, Direction * NewDist)
- local HitObj2, HitPos2 = game.Workspace:FindPartOnRayWithIgnoreList(Ray2, NewIgnore)
- if i ~= RepTimes then
- if HitObj2 then
- FinalHitObj, FinalHitPos = HitObj2, HitPos2
- break
- end
- elseif i == RepTimes then
- FinalHitObj, FinalHitPos = HitObj2, HitPos2
- end
- LastPos = HitPos2
- end
- return FinalHitObj, FinalHitPos
- elseif HitObj or (Dist <= 999) then
- return HitObj, HitPos
- end
- end
- --------------------[ KNIFING FUNCTION ]----------------------------------------------
- function KnifeAnim()
- local Connection = nil
- local Blade = Instance.new("Part")
- Blade.BrickColor = BrickColor.new("Really black")
- Blade.Name = "Blade"
- Blade.CanCollide = false
- Blade.FormFactor = Enum.FormFactor.Custom
- Blade.Size = VEC3(0.5, 2.5, 1)
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshId = S.KnifeMeshId
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Scale = VEC3(0.7, 0.7, 0.7)
- Mesh.TextureId = S.KnifeTextureId
- Mesh.Parent = Blade
- Blade.Parent = Gun_Ignore
- local BladeWeld = Instance.new("Weld")
- BladeWeld.Part0 = Blade
- BladeWeld.Part1 = FakeLArm
- BladeWeld.C0 = CFANG(RAD(-90), 0, RAD(180))
- BladeWeld.C1 = CF(0, -1, 0.75)
- BladeWeld.Parent = Blade
- Connection = Blade.Touched:connect(function(Obj)
- if Obj then
- local HitHumanoid = FindFirstClass(Obj.Parent, "Humanoid")
- if HitHumanoid and IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Name = "creator"
- CreatorTag.Value = Player
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(HitHumanoid.MaxHealth)
- MarkHit()
- end
- end
- end)
- TweenJoint(LWeld2, CF(), CFANG(0, RAD(90), 0), Linear, 0.05)
- TweenJoint(LWeld, ArmC0[1], CF(-0.1, 0.2, -0.1) * CFANG(0, 0, RAD(-20)), Linear, 0.05)
- TweenJoint(RWeld, ArmC0[2], CFANG(RAD(-30), 0, 0), Linear, 0.1)
- TweenJoint(Grip, Grip.C0, CF(), Linear, 0.1)
- spawn(function()
- local Force = HRP.CFrame.lookVector * 8e4
- local BF = Instance.new("BodyForce")
- BF.force = Force
- BF.Parent = HRP
- delay(0.03, function()
- BF.force = -Force / 2
- wait(0.03)
- BF:Destroy()
- end)
- end)
- wait(0.05)
- RotCamera(RAD(6), 0, true, 0.1)
- delay(0.1, function()
- RotCamera(RAD(-2), 0, true, 0.05)
- end)
- TweenJoint(LWeld, ArmC0[1], CF(0.8, 1.7, 0.2) * CFANG(0, 0, RAD(-80)), Linear, 0.06)
- wait(0.2)
- Connection:disconnect()
- wait(0.2)
- TweenJoint(LWeld2, CF(), CF(), Linear, 0.15)
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_UnAimed.Left, Linear, 0.15)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_UnAimed.Right, Linear, 0.15)
- Blade:Destroy()
- end
- --------------------[ GRENADE FUNCTIONS ]---------------------------------------------
- function CreateGrenade()
- local Grenade = Instance.new("Model")
- local Center = Instance.new("Part")
- Center.BrickColor = S.GrenadeColor
- Center.Name = "Center"
- Center.CanCollide = false
- Center.Elasticity = 0
- Center.FormFactor = Enum.FormFactor.Custom
- Center.Size = S.GrenadeSize
- Center.BottomSurface = Enum.SurfaceType.Smooth
- Center.TopSurface = Enum.SurfaceType.Smooth
- Center.Parent = Grenade
- local Mesh1 = Instance.new("SpecialMesh")
- Mesh1.MeshType = Enum.MeshType.Sphere
- Mesh1.Parent = Center
- return Grenade
- end
- function CreateKnife()
- local Knife = Instance.new("Part")
- Knife.BrickColor = S.GrenadeColor
- Knife.Name = "Knife"
- Knife.CanCollide = false
- Knife.FormFactor = Enum.FormFactor.Custom
- Knife.Size = VEC3(1, 1, 3)
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshId = "http://www.roblox.com/asset/?id=12221720"
- Mesh.MeshType = Enum.MeshType.FileMesh
- Mesh.Scale = VEC3(0.5, 0.5, 0.5)
- Mesh.Parent = Knife
- return Knife
- end
- function CreateTarget()
- local Target = Instance.new("Model")
- local Center = Instance.new("Part")
- Center.BrickColor = BrickColor.new("Bright red")
- Center.Material = Enum.Material.SmoothPlastic
- Center.Transparency = 0.3
- Center.Name = "Center"
- Center.Anchored = true
- Center.CanCollide = false
- Center.FormFactor = Enum.FormFactor.Custom
- Center.Size = VEC3(4, 0.2, 4)
- Center.Parent = Target
- local CylinderMesh = Instance.new("CylinderMesh")
- CylinderMesh.Parent = Center
- local Line = Instance.new("Part")
- Line.BrickColor = BrickColor.new("Bright red")
- Line.Transparency = 0.3
- Line.Name = "Line"
- Line.CFrame = Center.CFrame * CFrame.new(0, 5.1, 0)
- Line.Anchored = true
- Line.CanCollide = false
- Line.FormFactor = Enum.FormFactor.Custom
- Line.Size = VEC3(0.4, 10, 0.4)
- Line.BottomSurface = Enum.SurfaceType.Smooth
- Line.TopSurface = Enum.SurfaceType.Smooth
- Line.Parent = Target
- return Target
- end
- function DetonateExplosive(Grenade)
- CreateShockwave(Grenade.Position, S.GrenadeBlastRadius)
- local GrenadePos = Grenade.Position
- local E = Instance.new("Explosion")
- E.BlastPressure = S.GrenadeBlastPressure
- E.BlastRadius = S.GrenadeBlastRadius
- E.DestroyJointRadiusPercent = (S.GrenadeRangeBasedDamage and 0 or 1)
- E.ExplosionType = S.GrenadeExplosionType
- E.Position = GrenadePos
- E.Hit:connect(function(HObj, HDist)
- if HObj.Name == "Torso" and (not HObj:IsDescendantOf(Character)) then
- if S.GrenadeRangeBasedDamage then
- local ClosestPart = nil
- local ClosestDist = math.huge
- for _, P in pairs(HObj.Parent:GetChildren()) do
- if P:IsA("BasePart") then
- local Dist = (GrenadePos - P.Position).magnitude
- if Dist < ClosestDist then
- ClosestPart = P
- ClosestDist = Dist
- end
- end
- end
- local Dir = (ClosestPart.Position - GrenadePos).unit
- local H, P = AdvRayCast(GrenadePos, Dir, 999)
- local RayHitHuman = H:IsDescendantOf(HObj.Parent)
- if (S.GrenadeRayCastExplosions and RayHitHuman) or (not S.GrenadeRayCastExplosions) then
- local HitHumanoid = FindFirstClass(HObj.Parent, "Humanoid")
- if HitHumanoid and HitHumanoid.Health > 0 and IsEnemy(HitHumanoid) then
- local DistFactor = ClosestDist / S.GrenadeBlastRadius
- local DistInvert = math.max(1 - DistFactor,0)
- local NewDamage = DistInvert * S.LethalGrenadeDamage
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(NewDamage)
- MarkHit()
- end
- end
- else
- local HitHumanoid = FindFirstClass(HObj.Parent, "Humanoid")
- if HitHumanoid and HitHumanoid.Health > 0 and IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Value = Player
- CreatorTag.Name = "creator"
- CreatorTag.Parent = HitHumanoid
- MarkHit()
- end
- end
- end
- end)
- E.Parent = game.Workspace
- wait()
- Grenade.Parent:Destroy()
- end
- function DetonateSmoke(Grenade)
- CreateShockwave(Grenade.Position, S.GrenadeEffectRadius)
- local GrenadePos = Grenade.Position
- spawn(function()
- for i = 1, math.floor(S.GrenadeEffectRadius / 5) + RAND(5, 10) do
- local Size = RAND(S.GrenadeEffectRadius * 0.6, S.GrenadeEffectRadius * 0.8)
- local Dist = RAND(0, S.GrenadeEffectRadius - Size)
- local XRot, YRot = RAD(RAND(0, 180, 10)), RAD(RAND(0, 360, 10))
- local RotLV = (CFANG(0, YRot, 0) * CFANG(XRot, 0, 0)).lookVector
- local Pos = GrenadePos + (RotLV * VEC3(Dist, Dist / 2, Dist))
- local Smoke = Instance.new("Part")
- Smoke.Transparency = 1
- Smoke.Name = "Smoke"
- Smoke.Anchored = true
- Smoke.CanCollide = false
- Smoke.FormFactor = Enum.FormFactor.Symmetric
- Smoke.Size = VEC3(1, 1, 1)
- Smoke.TopSurface = Enum.SurfaceType.Smooth
- Smoke.BottomSurface = Enum.SurfaceType.Smooth
- local Mesh = Instance.new("SpecialMesh")
- Mesh.MeshType = Enum.MeshType.Sphere
- Mesh.Scale = VEC3(Size, Size, Size)
- Mesh.Parent = Smoke
- Smoke.Parent = Gun_Ignore
- Smoke.CFrame = CF(Pos)
- spawn(function()
- local Trans = RAND(0.3, 0.5, 0.01)
- for X = 0, 90, 2 do
- Smoke.CFrame = CF(GrenadePos:lerp(Pos, Sine(X)))
- Smoke.Transparency = NumLerp(1, Trans, Sine(X))
- RS:wait()
- end
- wait(S.GrenadeEffectTime)
- for X = 0, 90, 0.5 do
- Smoke.CFrame = CF(Pos:lerp(Pos + VEC3(0, 20, 0), 1 - COS(RAD(X))))
- Smoke.Transparency = NumLerp(Trans, 1, Sine(X))
- RS:wait()
- end
- Smoke:Destroy()
- end)
- if i % 3 == 0 then
- RS:wait()
- end
- end
- end)
- wait()
- Grenade.Parent:Destroy()
- end
- function ThrowGrenade(Type)
- local Grenade0 = nil
- if S.TrajectoryAssist then
- spawn(function()
- local X = 0
- local Vel = (Type == 1 and S.LethalGrenadeThrowVelocity or S.TacticalGrenadeThrowVelocity)
- local GetX = function(Ang, T)
- local Vx = Vel * math.cos(Ang)
- return Vx * T
- end
- local GetY = function(Ang, T)
- local V0y = Vel * math.sin(Ang)
- local Vy = V0y + (-196.2 * T)
- return (Vy * T) - (-98.1 * T * T)
- end
- local Target = CreateTarget()
- Target.Parent = game.Workspace
- Target.PrimaryPart = Target:WaitForChild("Center")
- while (Keys[S.LethalGrenadeKey] or Keys[S.TacticalGrenadeKey]) and Selected do
- X = X + math.rad(10)
- for _,v in pairs(Target:GetChildren()) do
- v.Transparency = 0.2 + ((math.sin(X) + 1) / 5)
- end
- local Lines = {}
- local LastX, LastY = nil, nil
- for T = 0, 10, 0.1 do
- local XPos = GetX(math.rad(7) - HeadRot, T)
- local YPos = GetY(math.rad(7) - HeadRot, T)
- if LastX and LastY then
- local LookV3 = HRP.CFrame.lookVector
- local LastPos = (Head.CFrame * CF(1.5, 0, 0)).p + (LookV3 * LastX) + VEC3(0, LastY, 0)
- local NewPos = (Head.CFrame * CF(1.5, 0, 0)).p + (LookV3 * XPos) + VEC3(0, YPos, 0)
- local LineCF = CF(LastPos, NewPos)
- local Dist = (LastPos - NewPos).magnitude
- local NewDist = Dist
- local H, P = AdvRayCast(LastPos, (NewPos - LastPos), 1, {Camera, unpack(Ignore)})
- if H then
- NewDist = (P - LastPos).magnitude
- local SurfaceCF = GetHitSurfaceCFrame(P, H)
- local SurfaceDir = CF(H.CFrame.p, SurfaceCF.p)
- local SurfaceDist = SurfaceDir.lookVector * (H.CFrame.p - SurfaceCF.p).magnitude / 2
- local SurfaceOffset = P - SurfaceCF.p + SurfaceDist
- local SurfaceCFrame = SurfaceDir + SurfaceDist + SurfaceOffset
- Target:SetPrimaryPartCFrame(SurfaceCFrame * CFANG(RAD(-90), 0, 0))
- Target.Parent = Camera
- else
- Target.Parent = nil
- end
- local Line = Instance.new("Part")
- Line.BrickColor = BrickColor.Red()
- Line.Material = Enum.Material.SmoothPlastic
- Line.Transparency = 0.2 + ((math.sin(X) + 1) / 5)
- Line.Anchored = true
- Line.CanCollide = false
- Line.FormFactor = Enum.FormFactor.Custom
- Line.Size = Vector3.new(0.4, 0.4, NewDist)
- Line.TopSurface = Enum.SurfaceType.Smooth
- Line.BottomSurface = Enum.SurfaceType.Smooth
- Line.CFrame = LineCF + (LineCF.lookVector * NewDist / 2)
- Line.Parent = Camera
- table.insert(Lines, Line)
- LastX,LastY = XPos,YPos
- if H then break end
- else
- LastX,LastY = XPos,YPos
- end
- end
- wait()
- for _,Line in pairs(Lines) do
- Line:Destroy()
- end
- end
- Target:Destroy()
- end)
- end
- local AnimTable = {
- function()
- TweenJoint(LWeld, CF(-1.5, 0, 0), CF(0, 0.6, 0), Linear, 0.2)
- TweenJoint(RWeld, CF(1.5, 0, 0) * CFANG(0, 0, RAD(-10)), CF(0, 0.6, 0), Linear, 0.2)
- TweenJoint(Grip, Grip.C0, CFANG(0, RAD(10), 0), Linear, 0.2)
- wait(0.3)
- end;
- function()
- Grip.Part0 = Torso
- Grip.C1 = CF(-1, 0.5, -0.5)
- if S.LethalGrenadeType == 3 and Type == 1 then
- Grenade0 = CreateKnife()
- Grenade0.Parent = Gun_Ignore
- local Weld = Instance.new("Weld")
- Weld.Part0 = FakeRArm
- Weld.Part1 = Grenade0
- Weld.C0 = Grip.C0
- Weld.C1 = CF(0, 0, -0.5) * CFANG(RAD(90), RAD(90), 0)
- Weld.Parent = Grenade0
- TweenJoint(LWeld2, CF(), CF(), Sine, 0.3)
- TweenJoint(RWeld2, CF(), CF(), Sine, 0.3)
- TweenJoint(LWeld, ArmC0[1], CF(0, 0.5, 0.1) * CFANG(RAD(90), 0, 0), Sine, 0.3)
- TweenJoint(RWeld, ArmC0[2], CF(0, 0.4, 0.1) * CFANG(RAD(-80), 0, 0), Sine, 0.3)
- wait(0.3)
- else
- Grenade0 = CreateGrenade()
- Grenade0.Parent = Gun_Ignore
- local Weld = Instance.new("Weld")
- Weld.Part0 = FakeRArm
- Weld.Part1 = Grenade0:WaitForChild("Center")
- Weld.C0 = Grip.C0
- Weld.Parent = Grenade0:WaitForChild("Center")
- TweenJoint(LWeld2, CF(), CFANG(0, RAD(80), 0), Linear, 0.25)
- TweenJoint(RWeld2, CF(), CFANG(0, RAD(-80), 0), Linear, 0.25)
- TweenJoint(LWeld, ArmC0[1], CF(-0.2, 0.8, 0.1) * CFANG(RAD(10), 0, RAD(-30)), Linear, 0.25)
- TweenJoint(RWeld, ArmC0[2], CF(0.2, 0.8, 0.1) * CFANG(RAD(10), 0, RAD(30)), Linear, 0.25)
- wait(0.3)
- end
- end;
- function()
- repeat wait() until (not Keys[S.LethalGrenadeKey]) and (not Keys[S.TacticalGrenadeKey]) or (not Selected)
- end;
- function()
- if S.LethalGrenadeType ~= 3 or Type == 2 then
- TweenJoint(LWeld2, CF(), CFANG(0, RAD(45), 0), Sine, 0.2)
- TweenJoint(RWeld2, CF(), CFANG(0, RAD(-45), 0), Sine, 0.2)
- TweenJoint(LWeld, ArmC0[1], CF(0, 0.8, 0.1), Sine, 0.2)
- TweenJoint(RWeld, ArmC0[2], CF(0, 0.8, 0.1), Sine, 0.2)
- wait(0.2)
- end
- end;
- function()
- if S.LethalGrenadeType ~= 3 or Type == 2 then
- TweenJoint(LWeld2, CF(), CF(), Sine, 0.3)
- TweenJoint(RWeld2, CF(), CF(), Sine, 0.3)
- TweenJoint(LWeld, ArmC0[1], CF(0, 0.5, 0.1) * CFANG(RAD(90), 0, 0), Sine, 0.3)
- TweenJoint(RWeld, ArmC0[2], CF(0, 0.4, 0.1) * CFANG(RAD(-80), 0, 0), Sine, 0.3)
- wait(0.3)
- end
- end;
- function()
- TweenJoint(RWeld, ArmC0[2], CF(0, 0.8, 0.1) * CFANG(RAD(-10), 0, 0), Sine, 0.1)
- wait(0.07)
- end;
- function()
- local Main = nil
- Grenade0:Destroy()
- if S.LethalGrenadeType == 3 and Type == 1 then
- local Grenade1 = CreateKnife()
- Main = Grenade1
- Grenade1.Parent = Gun_Ignore
- Main.CFrame = FakeRArm.CFrame * Grip.C0 * CF(0, 0.5, 0) * CFANG(RAD(-90), 0, RAD(90))
- Main.Velocity = Main.Velocity + ((Head.CFrame * CFANG(RAD(7), 0, 0)).lookVector * S.LethalGrenadeThrowVelocity)
- Main.RotVelocity = (Main.CFrame * CFANG(RAD(90), 0, 0)).lookVector * 20
- else
- local Grenade1 = CreateGrenade()
- Main = Grenade1:WaitForChild("Center")
- local Sound = Instance.new("Sound")
- Sound.SoundId = (Type == 1 and "rbxassetid://180302005" or "rbxassetid://156283116")
- Sound.Volume = 1
- Sound.PlayOnRemove = true
- Sound.Parent = Main
- Grenade1.Parent = Gun_Ignore
- Main.CanCollide = true
- Main.CFrame = FakeRArm.CFrame * Grip.C0
- if Type == 1 then
- Main.Velocity = Main.Velocity + ((Head.CFrame * CFANG(RAD(7), 0, 0)).lookVector * S.LethalGrenadeThrowVelocity)
- elseif Type == 2 then
- Main.Velocity = Main.Velocity + ((Head.CFrame * CFANG(RAD(7), 0, 0)).lookVector * S.TacticalGrenadeThrowVelocity)
- end
- end
- spawn(function()
- if Type == 1 then
- if S.LethalGrenadeType == 1 then
- if S.TimerStartOnHit then
- local Detonated = false
- Main.Touched:connect(function(Obj)
- if IsIgnored(Obj) or Detonated then return end
- Main.Velocity = Main.Velocity / 4
- Detonated = true
- wait(S.DetonationTime)
- DetonateExplosive(Main)
- end)
- else
- spawn(function()
- local Touched = false
- Main.Touched:connect(function(Obj)
- if IsIgnored(Obj) or Touched then return end
- Touched = true
- Main.Velocity = Main.Velocity / 4
- end)
- end)
- wait(S.DetonationTime)
- DetonateExplosive(Main)
- end
- elseif S.LethalGrenadeType == 2 then
- local Detonated = false
- local GrenadeCF = nil
- Main.Touched:connect(function(Obj)
- if IsIgnored(Obj) or Detonated then return end
- GrenadeCF = Main.CFrame
- local W = Instance.new("Weld")
- W.Name = "Semtex"
- W.Part0 = Main
- W.Part1 = Obj
- W.C0 = GrenadeCF:toObjectSpace(Obj.CFrame)
- W.Parent = Main
- Main.ChildRemoved:connect(function(C)
- if C.Name == "Semtex" then
- local W = Instance.new("Weld")
- W.Name = "Semtex"
- W.Part0 = Main
- W.Part1 = Obj
- W.C0 = GrenadeCF:toObjectSpace(Obj.CFrame)
- W.Parent = Main
- end
- end)
- if S.TimerStartOnHit then
- Detonated = true
- wait(S.DetonationTime)
- DetonateExplosive(Main)
- end
- end)
- if (not S.TimerStartOnHit) then
- wait(S.DetonationTime)
- Detonated = true
- DetonateExplosive(Main)
- end
- elseif S.LethalGrenadeType == 3 then
- local Touched = false
- Main.Touched:connect(function(Obj)
- if IsIgnored(Obj) or Touched then return end
- Touched = true
- local W = Instance.new("Weld")
- W.Name = "Sticky"
- W.Part0 = Main
- W.Part1 = Obj
- W.C0 = Main.CFrame:toObjectSpace(Obj.CFrame)
- W.Parent = Main
- Main.ChildRemoved:connect(function(C)
- if C.Name == "Sticky" then
- local W = Instance.new("Weld")
- W.Name = "Sticky"
- W.Part0 = Main
- W.Part1 = Obj
- W.C0 = Main.CFrame:toObjectSpace(Obj.CFrame)
- W.Parent = Main
- end
- end)
- if Obj then
- if Obj.Parent.ClassName == "Hat" then
- local HitHumanoid = FindFirstClass(Obj.Parent.Parent, "Humanoid")
- if HitHumanoid and IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Name = "creator"
- CreatorTag.Value = Player
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(HitHumanoid.MaxHealth)
- MarkHit()
- end
- else
- local HitHumanoid = FindFirstClass(Obj.Parent, "Humanoid")
- if HitHumanoid and IsEnemy(HitHumanoid) then
- local CreatorTag = Instance.new("ObjectValue")
- CreatorTag.Name = "creator"
- CreatorTag.Value = Player
- CreatorTag.Parent = HitHumanoid
- HitHumanoid:TakeDamage(HitHumanoid.MaxHealth)
- MarkHit()
- end
- end
- end
- wait(3)
- Main:Destroy()
- end)
- end
- elseif Type == 2 then
- if S.TacticalGrenadeType == 1 then
- if S.TimerStartOnHit then
- local Detonated = false
- Main.Touched:connect(function(Obj)
- if IsIgnored(Obj) or Detonated then return end
- Main.Velocity = Main.Velocity / 2
- Detonated = true
- wait(S.DetonationTime)
- DetonateSmoke(Main)
- end)
- else
- spawn(function()
- local Touched = false
- Main.Touched:connect(function(Obj)
- if IsIgnored(Obj) or Touched then return end
- Touched = true
- Main.Velocity = Main.Velocity / 2
- end)
- end)
- wait(S.DetonationTime)
- DetonateSmoke(Main)
- end
- end
- end
- end)
- if S.GrenadeTrail and S.GrenadeTrailTransparency ~= 1 then
- spawn(function()
- local LastPos = nil
- while true do
- if LastPos then
- if (not Main:IsDescendantOf(game))
- or (Main.Name == "Knife" and FindFirstClass(Main, "Weld")) then
- break
- end
- local Trail = Instance.new("Part")
- Trail.BrickColor = S.GrenadeTrailColor
- Trail.Transparency = S.GrenadeTrailTransparency
- Trail.Anchored = true
- Trail.CanCollide = false
- Trail.Size = VEC3(1, 1, 1)
- local Mesh = Instance.new("BlockMesh")
- Mesh.Offset = VEC3(0, 0, -(Main.Position - LastPos).magnitude / 2)
- Mesh.Scale = VEC3(S.GrenadeTrailThickness, S.GrenadeTrailThickness, (Main.Position - LastPos).magnitude)
- Mesh.Parent = Trail
- Trail.Parent = Gun_Ignore
- Trail.CFrame = CF(LastPos, Main.Position)
- delay(S.GrenadeTrailVisibleTime, function()
- if S.GrenadeTrailDisappearTime > 0 then
- local X = 0
- while true do
- if X == 90 then break end
- if (not Selected) then break end
- local NewX = X + (1.5 / S.GrenadeTrailDisappearTime)
- X = (NewX > 90 and 90 or NewX)
- local Alpha = X / 90
- Trail.Transparency = NumLerp(S.GrenadeTrailTransparency, 1, Alpha)
- RS:wait()
- end
- Trail:Destroy()
- else
- Trail:Destroy()
- end
- end)
- LastPos = Main.Position
- else
- LastPos = Main.Position
- end
- RS:wait()
- end
- end)
- end
- wait(0.2)
- end;
- function()
- TweenJoint(RWeld, CF(1.5, 0, 0) * CFANG(0, 0, RAD(-10)), CF(0, 0.6, 0), Linear, 0.2)
- wait(0.3)
- end;
- function()
- Grip.Part0 = RArm
- Grip.C1 = CFANG(0, RAD(20), 0)
- TweenJoint(LWeld, ArmC0[1], S.ArmC1_UnAimed.Left, Linear, 0.2)
- TweenJoint(RWeld, ArmC0[2], S.ArmC1_UnAimed.Right, Linear, 0.2)
- wait(0.2)
- end;
- }
- for _,F in pairs(AnimTable) do
- if (not Selected) then
- break
- end
- F()
- end
- if (not Selected) and Grenade0 then
- Grenade0:Destroy()
- end
- end
- --------------------[ CAMERA STEADYING FUNCTIONS ]------------------------------------
- function SteadyCamera()
- Gui_Clone.Scope.Steady.Text = "Steadying..."
- Gui_Clone.Scope.Steady.TextColor3 = Color3.new(1, 1, 0)
- CameraSteady = true
- local OriginalSway = CameraSway
- for X = 0, 90, 1.5 / 0.6 do
- if (not Run_Key_Pressed) then break end
- local Alpha = SIN(RAD(X))
- CameraSway = NumLerp(OriginalSway, 0, Alpha)
- RS:wait()
- end
- while Run_Key_Pressed and Aimed do
- if CurrentSteadyTime > 0 then
- local NewSteadyTime = CurrentSteadyTime - 1
- CurrentSteadyTime = (NewSteadyTime < 0 and 0 or NewSteadyTime)
- CameraSway = 0
- elseif CurrentSteadyTime == 0 then
- break
- end
- RS:wait()
- end
- CameraSteady = false
- spawn(function()
- for X = 0, 90, 1.5 / 0.2 do
- local Alpha = math.log10(X) / math.log10(90)
- CameraSway = NumLerp(0, 3, Alpha)
- RS:wait()
- end
- for X = 0, 90, 1.5 / S.ScopeSteadyTime do
- if CameraSteady then break end
- local Alpha = SIN(RAD(X))
- CameraSway = NumLerp(3, 1, Alpha)
- RS:wait()
- end
- end)
- RetakeBreath()
- end
- function RetakeBreath()
- local Steady = Gui_Clone.Scope.Steady
- Steady.Text = "Re-taking Breath"
- Steady.TextColor3 = Color3.new(1, 0, 0)
- TakingBreath = true
- while TakingBreath do
- if CurrentSteadyTime < MaxSteadyTime then
- local NewSteadyTime = CurrentSteadyTime + (S.ScopeSteadyTime / S.SteadyCooldownTime)
- CurrentSteadyTime = (NewSteadyTime > MaxSteadyTime and MaxSteadyTime or NewSteadyTime)
- elseif CurrentSteadyTime >= MaxSteadyTime then
- break
- end
- RS:wait()
- end
- if TakingBreath then
- Steady.Text = "Hold "..ConvertKey(S.ScopeSteadyKey).." to Steady"
- Steady.TextColor3 = Color3.new(1, 1, 0)
- TakingBreath = false
- end
- end
- --------------------[ SPRINTING FUNCTIONS ]-------------------------------------------
- function MonitorStamina()
- while Run_Key_Pressed do
- if (not Aimed) and (not Aiming) then
- break
- end
- RS:wait()
- end
- while Run_Key_Pressed and (not Aiming) and (not Aimed) and (not Knifing) and (not ThrowingGrenade) do
- local Forward = (Keys["w"] or Keys[string.char(17)])
- local Backward = (Keys["s"] or Keys[string.char(18)])
- if (Forward and (not Backward))
- and Walking and (Stamina > 0) then
- if Stance == 1 or Stance == 2 then Stand() end
- local NewStamina = Stamina - 1
- Stamina = (NewStamina < 0 and 0 or NewStamina)
- Running = true
- elseif (not (Forward and (not Backward)))
- or (not Walking) or (Stamina == 0) then
- break
- end
- RS:wait()
- end
- Running = false
- RechargeStamina()
- end
- function RechargeStamina()
- ChargingStamina = true
- while ((not Run_Key_Pressed) or (Stamina < MaxStamina)) and (not Running) do
- if Stamina < MaxStamina then
- local NewStamina = Stamina + (S.SprintTime / S.StaminaCoolTime)
- Stamina = (NewStamina > MaxStamina and MaxStamina or NewStamina)
- elseif Stamina >= MaxStamina then
- break
- end
- RS:wait()
- end
- ChargingStamina = false
- end
- --------------------[ STANCE FUNCTIONS ]----------------------------------------------
- function Stand(OnDeselected)
- local LHip = Torso["Left Hip"]
- local RHip = Torso["Right Hip"]
- local Root = HRP.RootJoint
- Stance = 0
- if S.StanceAnimation and (not OnDeselected) then
- spawn(function()
- local PreviousOffset = Humanoid.CameraOffset
- local PreviousRootP = Root.C0.p
- for X = 0, 90, 1.5 / S.StanceChangeSpeed do
- if Stance ~= 0 then break end
- local Alpha = Sine(X)
- Humanoid.CameraOffset = PreviousOffset:lerp(StanceOffset[1], Alpha)
- Root.C0 = CF(PreviousRootP:lerp(VEC3(), Alpha)) * CFANG(RAD(-90), 0, RAD(180))
- RS:wait()
- end
- end)
- TweenJoint(ABWeld, CF(), CF(), Sine, S.StanceChangeSpeed)
- TweenJoint(LHip, CF(-1, -1, 0) * CFANG(0, RAD(-90), 0), CF(-0.5, 1, 0) * CFANG(0, RAD(-90), 0), Sine, S.StanceChangeSpeed)
- TweenJoint(RHip, CF(1, -1, 0) * CFANG(RAD(-180), RAD(90), 0), CF(0.5, 1, 0) * CFANG(RAD(-180), RAD(90), 0), Sine, S.StanceChangeSpeed)
- elseif OnDeselected then
- Humanoid.CameraOffset = StanceOffset[1]
- ABWeld.C0 = CF()
- ABWeld.C1 = CF()
- LHip.C0 = CF(-1, -1, 0) * CFANG(0, RAD(-90), 0)
- LHip.C1 = CF(-0.5, 1, 0) * CFANG(0, RAD(-90), 0)
- RHip.C0 = CF(1, -1, 0) * CFANG(RAD(-180), RAD(90), 0)
- RHip.C1 = CF(0.5, 1, 0) * CFANG(RAD(-180), RAD(90), 0)
- Root.C0 = CFANG(RAD(-90), 0, RAD(180))
- end
- end
- function Crouch()
- local LHip = Torso["Left Hip"]
- local RHip = Torso["Right Hip"]
- local Root = HRP.RootJoint
- Stance = 1
- if S.StanceAnimation then
- spawn(function()
- local PreviousOffset = Humanoid.CameraOffset
- local PreviousRootP = Root.C0.p
- for X = 0, 90, 1.5 / S.StanceChangeSpeed do
- if Stance ~= 1 then break end
- local Alpha = Sine(X)
- Humanoid.CameraOffset = PreviousOffset:lerp(StanceOffset[2], Alpha)
- Root.C0 = CF(PreviousRootP:lerp(VEC3(0, -1, 0), Alpha)) * CFANG(RAD(-90), 0, RAD(180))
- RS:wait()
- end
- end)
- TweenJoint(ABWeld, CF(0, 0, -1 / 16), CF(), Sine, S.StanceChangeSpeed)
- TweenJoint(LHip, CF(-1, -0.5, 0) * CFANG(0, RAD(-90), 0), CF(-0.5, 0.5, 1) * CFANG(0, RAD(-90), RAD(-90)), Sine, S.StanceChangeSpeed)
- TweenJoint(RHip, CF(1, -0.5, 0.25) * CFANG(RAD(-180), RAD(90), 0), CF(0.5, 0.5, 1) * CFANG(RAD(-180), RAD(90), 0), Sine, S.StanceChangeSpeed)
- else
- Humanoid.CameraOffset = StanceOffset[2]
- ABWeld.C0 = CF(0, 0, -1 / 16)
- ABWeld.C1 = CF()
- LHip.C0 = CF(-1, -0.5, 0) * CFANG(0, RAD(-90), 0)
- LHip.C1 = CF(-0.5, 0.5, 1) * CFANG(0, RAD(-90), RAD(-90))
- RHip.C0 = CF(1, -0.5, 0.25) * CFANG(RAD(-180), RAD(90), 0)
- RHip.C1 = CF(0.5, 0.5, 1) * CFANG(RAD(-180), RAD(90), 0)
- Root.C0 = CF(0, -1, 0) * CFANG(RAD(-90), 0, RAD(180))
- end
- end
- function Prone()
- local LHip = Torso["Left Hip"]
- local RHip = Torso["Right Hip"]
- local Root = HRP.RootJoint
- Stance = 2
- if S.StanceAnimation then
- spawn(function()
- local PreviousOffset = Humanoid.CameraOffset
- local PreviousRootP = Root.C0.p
- for X = 0, 90, 1.5 / S.StanceChangeSpeed do
- if Stance ~= 2 then break end
- local Alpha = Sine(X)
- Humanoid.CameraOffset = PreviousOffset:lerp(StanceOffset[3], Alpha)
- Root.C0 = CF(PreviousRootP:lerp(VEC3(0, -2.5, 1), Alpha)) * CFANG(RAD(180), 0, RAD(180))
- RS:wait()
- end
- end)
- TweenJoint(ABWeld, CF(0, 0, -1 / 8), CF(), Sine, S.StanceChangeSpeed)
- TweenJoint(LHip, CF(-1, -1, 0) * CFANG(0, RAD(-90), 0), CF(-0.5, 1, 0) * CFANG(0, RAD(-90), 0), Sine, S.StanceChangeSpeed)
- TweenJoint(RHip, CF(1, -1, 0) * CFANG(RAD(-180), RAD(90), 0), CF(0.5, 1, 0) * CFANG(RAD(-180), RAD(90), 0), Sine, S.StanceChangeSpeed)
- else
- Humanoid.CameraOffset = StanceOffset[3]
- ABWeld.C0 = CF(0, 0, -1 / 8)
- ABWeld.C1 = CF()
- LHip.C0 = CF(-1, -1, 0) * CFANG(0, RAD(-90), 0)
- LHip.C1 = CF(-0.5, 1, 0) * CFANG(0, RAD(-90), 0)
- RHip.C0 = CF(1, -1, 0) * CFANG(RAD(-180), RAD(90), 0)
- RHip.C1 = CF(0.5, 1, 0) * CFANG(RAD(-180), RAD(90), 0)
- Root.C0 = CF(0, -2.5, 1) * CFANG(RAD(180), 0, RAD(180))
- end
- end
- function Dive(Speed)
- local DiveVelocity = (HRP.CFrame * CFANG(RAD(18),0,0)).lookVector * Speed * (35 / 16) * 4e3
- HRP.Velocity = VEC3()
- Torso.Velocity = VEC3()
- local BF = Instance.new("BodyForce")
- BF.force = DiveVelocity
- BF.Parent = HRP
- delay(0.05, function()
- Prone()
- local Start = tick()
- while true do
- wait()
- if (tick() - Start) > 0.1 then break end
- BF.force = -HRP.Velocity * 700
- end
- BF:Destroy()
- end)
- end
- --------------------[ KEYBOARD FUNCTIONS ]--------------------------------------------
- function KeyDown(K)
- local Key = string.lower(K)
- if Key == S.LowerStanceKey and S.CanChangeStance then
- if (not Running) then
- if Stance == 0 then
- Crouch()
- elseif Stance == 1 then
- Prone()
- end
- elseif S.DolphinDive then
- delay(1 / 30,function()
- CanRun = false
- Dive(S.BaseWalkSpeed)
- Run_Key_Pressed = false
- wait(S.DiveRechargeTime)
- CanRun = true
- end)
- end
- end
- if Key == S.RaiseStanceKey and S.CanChangeStance then
- if (not Running) then
- if Stance == 2 then
- Crouch()
- elseif Stance == 1 then
- Stand()
- end
- end
- end
- if Key == S.ADSKey then
- if S.HoldMouseOrKeyToADS then
- if (not AimingIn) and (not Aimed) then
- AimingIn = true
- AimGun()
- AimingIn = false
- end
- else
- if Aimed then
- UnAimGun()
- else
- AimGun()
- end
- end
- end
- if Key == S.ReloadKey then
- if (not Reloading) and (not Running) then
- Reload()
- end
- end
- if Key == S.KnifeKey and S.CanKnife then
- if KnifeReady and (not Knifing) and (not ThrowingGrenade) then
- if Aimed then UnAimGun(true) end
- BreakReload = true
- Knifing = true
- KnifeReady = false
- KnifeAnim()
- BreakReload = false
- Knifing = false
- delay(S.KnifeCooldown, function()
- KnifeReady = true
- end)
- end
- end
- if Key == S.LethalGrenadeKey and S.Throwables then
- if (not Knifing) and (not Running) and (not Aimed) and (not Aiming) and (not ThrowingGrenade) then
- if LethalGrenades.Value > 0 then
- LethalGrenades.Value = LethalGrenades.Value - 1
- ThrowingGrenade = true
- ThrowGrenade(1)
- ThrowingGrenade = false
- end
- end
- end
- if Key == S.TacticalGrenadeKey and S.Throwables then
- if (not Knifing) and (not Running) and (not Aimed) and (not Aiming) and (not ThrowingGrenade) then
- if TacticalGrenades.Value > 0 then
- TacticalGrenades.Value = TacticalGrenades.Value - 1
- ThrowingGrenade = true
- ThrowGrenade(2)
- ThrowingGrenade = false
- end
- end
- end
- if Key == S.SprintKey then
- Run_Key_Pressed = true
- if Aimed and (not Aiming) then
- TakingBreath = false
- SteadyCamera()
- end
- if CanRun then
- if (not Idleing) and Walking and (not Running) and (not Knifing) and (not ThrowingGrenade) then
- if Reloading then BreakReload = true end
- MonitorStamina()
- end
- end
- end
- end
- function KeyUp(K)
- local Key = string.lower(K)
- if Key == S.ADSKey then
- if S.HoldMouseOrKeyToADS then
- if (not AimingOut) and Aimed then
- AimingOut = true
- UnAimGun()
- AimingOut = false
- end
- end
- end
- if Key == S.SprintKey then
- Run_Key_Pressed = false
- Running = false
- if (not ChargingStamina) then
- RechargeStamina()
- end
- end
- end
- --------------------[ END FUNCTIONS ]-------------------------------------------------
- --------------------------------------------------------------------------------------
- --------------------[ TOOL SELECTION AND DESELECTION ]--------------------------------
- --------------------------------------------------------------------------------------
- function OnEquipped(M_Icon)
- wait(math.random(10, 40) / 100)
- if Humanoid.Health ~= 0 and (not Selected) and Gun.Parent == Character then
- Selected = true
- BreakReload = false
- --------------------[ FAILSAFE RESETING ]-------------------------------------
- for _, GM in pairs(Ignore_Model:GetChildren()) do
- if GM.Name == "Gun_Ignore_"..Player.Name then
- GM:Destroy()
- end
- end
- for _,c in pairs(Connections) do
- c:disconnect()
- end
- Connections = {}
- --------------------[ CREATING IGNORE MODELS ]--------------------------------
- Gun_Ignore = Instance.new("Model")
- Gun_Ignore.Name = "Gun_Ignore_"..Player.Name
- Gun_Ignore.Parent = Ignore_Model
- --------------------[ MODIFYING THE PLAYER ]----------------------------------
- M_Icon.Icon = "rbxasset://textures\\Blank.png"
- Gui_Clone = Main_Gui:Clone()
- Gui_Clone.Parent = Player.PlayerGui
- SetUpGui()
- Shoulders.Right.Part1 = nil
- Shoulders.Left.Part1 = nil
- PrevNeckCF.C0 = Neck.C0
- PrevNeckCF.C1 = Neck.C1
- BG = Instance.new("BodyGyro", HRP)
- BG.maxTorque = VEC3(HUGE, HUGE, HUGE)
- BG.Name = "BG"
- BG.P = 1e5
- BG.cframe = CF(Torso.CFrame.p, Torso.CFrame.p + Torso.CFrame.lookVector)
- local PlayerFolder = Instance.new("Model")
- PlayerFolder.Name = "PlayerFolder"
- PlayerFolder.Parent = Gun_Ignore
- local AnimBase = Instance.new("Part")
- AnimBase.Transparency = 1
- AnimBase.Name = "AnimBase"
- AnimBase.CanCollide = false
- AnimBase.FormFactor = Enum.FormFactor.Custom
- AnimBase.Size = VEC3(0.2, 0.2, 0.2)
- AnimBase.BottomSurface = Enum.SurfaceType.Smooth
- AnimBase.TopSurface = Enum.SurfaceType.Smooth
- AnimBase.Parent = PlayerFolder
- AnimWeld = Instance.new("Weld")
- AnimWeld.Part0 = AnimBase
- AnimWeld.Part1 = Head
- AnimWeld.C0 = CF(0, 1, 0)
- AnimWeld.Parent = AnimBase
- local ArmBase = Instance.new("Part")
- ArmBase.Transparency = 1
- ArmBase.Name = "ArmBase"
- ArmBase.CanCollide = false
- ArmBase.FormFactor = Enum.FormFactor.Custom
- ArmBase.Size = VEC3(0.2, 0.2, 0.2)
- ArmBase.BottomSurface = Enum.SurfaceType.Smooth
- ArmBase.TopSurface = Enum.SurfaceType.Smooth
- ArmBase.Parent = PlayerFolder
- ABWeld = Instance.new("Weld")
- ABWeld.Part0 = ArmBase
- ABWeld.Part1 = AnimBase
- ABWeld.Parent = ArmBase
- local LArmBase = Instance.new("Part")
- LArmBase.Transparency = 1
- LArmBase.Name = "LArmBase"
- LArmBase.CanCollide = false
- LArmBase.FormFactor = Enum.FormFactor.Custom
- LArmBase.Size = VEC3(0.2, 0.2, 0.2)
- LArmBase.BottomSurface = Enum.SurfaceType.Smooth
- LArmBase.TopSurface = Enum.SurfaceType.Smooth
- LArmBase.Parent = PlayerFolder
- local RArmBase = Instance.new("Part")
- RArmBase.Transparency = 1
- RArmBase.Name = "RArmBase"
- RArmBase.CanCollide = false
- RArmBase.FormFactor = Enum.FormFactor.Custom
- RArmBase.Size = VEC3(0.2, 0.2, 0.2)
- RArmBase.BottomSurface = Enum.SurfaceType.Smooth
- RArmBase.TopSurface = Enum.SurfaceType.Smooth
- RArmBase.Parent = PlayerFolder
- LWeld = Instance.new("Weld")
- LWeld.Name = "LWeld"
- LWeld.Part0 = ArmBase
- LWeld.Part1 = LArmBase
- LWeld.C0 = ArmC0[1]
- LWeld.C1 = S.ArmC1_UnAimed.Left
- LWeld.Parent = ArmBase
- RWeld = Instance.new("Weld")
- RWeld.Name = "RWeld"
- RWeld.Part0 = ArmBase
- RWeld.Part1 = RArmBase
- RWeld.C0 = ArmC0[2]
- RWeld.C1 = S.ArmC1_UnAimed.Right
- RWeld.Parent = ArmBase
- LWeld2 = Instance.new("Weld")
- LWeld2.Name = "LWeld"
- LWeld2.Part0 = LArmBase
- LWeld2.Part1 = LArm
- LWeld2.Parent = LArmBase
- RWeld2 = Instance.new("Weld")
- RWeld2.Name = "RWeld"
- RWeld2.Part0 = RArmBase
- RWeld2.Part1 = RArm
- RWeld2.Parent = RArmBase
- if S.PlayerArms then
- FakeLArm = LArm:Clone()
- FakeLArm.Parent = PlayerFolder
- FakeLArm.Transparency = S.FakeArmTransparency
- FakeLArm:BreakJoints()
- LArm.Transparency = 1
- local FakeLWeld = Instance.new("Weld")
- FakeLWeld.Part0 = FakeLArm
- FakeLWeld.Part1 = LArm
- FakeLWeld.Parent = FakeLArm
- FakeRArm = RArm:Clone()
- FakeRArm.Parent = PlayerFolder
- FakeRArm.Transparency = S.FakeArmTransparency
- FakeRArm:BreakJoints()
- RArm.Transparency = 1
- local FakeRWeld = Instance.new("Weld")
- FakeRWeld.Part0 = FakeRArm
- FakeRWeld.Part1 = RArm
- FakeRWeld.Parent = FakeRArm
- Instance.new("Humanoid", PlayerFolder)
- for _,Obj in pairs(Character:GetChildren()) do
- if Obj:IsA("CharacterMesh") or Obj:IsA("Shirt") then
- Obj:Clone().Parent = PlayerFolder
- end
- end
- else
- local ArmTable = CreateArms()
- ArmTable[1].Model.Parent = PlayerFolder
- ArmTable[2].Model.Parent = PlayerFolder
- FakeLArm = ArmTable[1].ArmPart
- LArm.Transparency = 1
- local FakeLWeld = Instance.new("Weld")
- FakeLWeld.Part0 = FakeLArm
- FakeLWeld.Part1 = LArm
- FakeLWeld.Parent = FakeLArm
- FakeRArm = ArmTable[2].ArmPart
- RArm.Transparency = 1
- local FakeRWeld = Instance.new("Weld")
- FakeRWeld.Part0 = FakeRArm
- FakeRWeld.Part1 = RArm
- FakeRWeld.Parent = FakeRArm
- end
- --------------------[ MODIFYING THE GUN ]-------------------------------------
- for _, Tab in pairs(Parts) do
- local Weld = Instance.new("Weld")
- Weld.Name = "MainWeld"
- Weld.Part0 = Handle
- Weld.Part1 = Tab.Obj
- Weld.C0 = Tab.Obj.WeldCF.Value
- Weld.Parent = Handle
- Tab.Weld = Weld
- end
- Grip = RArm:WaitForChild("RightGrip")
- local HandleCF = ArmBase.CFrame * ArmC0[2] * S.ArmC1_Aimed.Right:inverse() * CF(0, -1, 0, 1, 0, 0, 0, 0, 1, 0, -1, 0)
- local HandleOffset = AimPart.CFrame:toObjectSpace(Handle.CFrame)
- Aimed_GripCF = (Head.CFrame * HandleOffset):toObjectSpace(HandleCF)
- --------------------[ CONNECTIONS ]-------------------------------------------
- INSERT(Connections, Humanoid.Died:connect(function()
- OnUnequipped(true)
- end))
- INSERT(Connections, M2.Button1Down:connect(function()
- MB1_Down = true
- if S.GunType.Auto and (not S.GunType.Semi) and (not S.GunType.Burst) then
- if (not CanFire) then return end
- CanFire = false
- if (not Running) and (not Knifing) and (not ThrowingGrenade) then
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- while MB1_Down and (not Reloading) do
- if Knifing and (not ThrowingGrenade) then break end
- if Running then break end
- if Ammo.Value > 0 then
- Ammo.Value = Ammo.Value - 1
- if Humanoid.Health ~= 0 then
- if Aimed and Run_Key_Pressed and S.UnSteadyOnFire then
- Run_Key_Pressed = false
- CurrentSteadyTime = 0
- end
- Fire_Gun()
- end
- end
- if Ammo.Value == 0 and S.AutoReload then
- wait(0.2)
- Reload()
- end
- wait(60 / S.FireRate)
- end
- end
- CanFire = true
- elseif (not S.GunType.Auto) and S.GunType.Burst then
- if (not CanFire) then return end
- CanFire = false
- if (not Running) and (not Knifing) and (not ThrowingGrenade) then
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- for i = 1, S.BurstAmount do
- if Ammo.Value > 0 then
- Ammo.Value = Ammo.Value - 1
- if Humanoid.Health ~= 0 then
- if Aimed and Run_Key_Pressed and S.UnSteadyOnFire then
- Run_Key_Pressed = false
- CurrentSteadyTime = 0
- end
- Fire_Gun()
- end
- end
- if Ammo.Value == 0 and S.AutoReload then
- wait(0.2)
- Reload()
- break
- end
- wait(S.BurstTime / S.BurstAmount)
- end
- end
- wait(S.BurstWait)
- CanFire = true
- elseif (not S.GunType.Auto) and S.GunType.Semi then
- if (not CanFire) then return end
- CanFire = false
- if (not Running) and (not Knifing) and (not ThrowingGrenade) then
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- if Ammo.Value > 0 then
- Ammo.Value = Ammo.Value - 1
- if Humanoid.Health ~= 0 then
- if Aimed and Run_Key_Pressed and S.UnSteadyOnFire then
- Run_Key_Pressed = false
- CurrentSteadyTime = 0
- end
- Fire_Gun()
- end
- end
- if Ammo.Value == 0 and S.AutoReload then
- wait(0.2)
- Reload()
- end
- wait(60 / S.FireRate)
- end
- CanFire = true
- elseif (not S.GunType.Auto) and (not S.GunType.Semi) and (not S.GunType.Burst) and S.GunType.Shot then
- if (not CanFire) then return end
- CanFire = false
- if (not Running) and (not Knifing) and (not ThrowingGrenade) then
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- if Ammo.Value > 0 then
- Ammo.Value = Ammo.Value - 1
- if Humanoid.Health ~= 0 then
- if Aimed and Run_Key_Pressed and S.UnSteadyOnFire then
- Run_Key_Pressed = false
- CurrentSteadyTime = 0
- end
- Fire_Gun()
- end
- end
- if Ammo.Value == 0 and S.AutoReload then
- wait(0.2)
- Reload()
- end
- wait(60 / S.FireRate)
- end
- CanFire = true
- elseif (not S.GunType.Auto) and (not S.GunType.Semi) and S.GunType.Burst and (not S.GunType.Shot) then
- if (not CanFire) then return end
- CanFire = false
- if (not Running) and (not Knifing) and (not ThrowingGrenade) then
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- for i = 1, S.BurstAmount do
- if Ammo.Value > 0 then
- Ammo.Value = Ammo.Value - 1
- if Humanoid.Health ~= 0 then
- if Aimed and Run_Key_Pressed and S.UnSteadyOnFire then
- Run_Key_Pressed = false
- CurrentSteadyTime = 0
- end
- Fire_Gun()
- end
- end
- if Ammo.Value == 0 and S.AutoReload then
- wait(0.2)
- Reload()
- break
- end
- wait(S.BurstTime / S.BurstAmount)
- end
- end
- wait(S.BurstWait)
- CanFire = true
- elseif (not S.GunType.Auto) and (not S.GunType.Burst) and (not S.GunType.Shot) and S.GunType.Explosive then
- if (not CanFire) then return end
- CanFire = false
- if (not Running) and (not Knifing) and (not ThrowingGrenade) then
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- if Ammo.Value > 0 then
- Ammo.Value = Ammo.Value - 1
- if Humanoid.Health ~= 0 then
- if Aimed and Run_Key_Pressed and S.UnSteadyOnFire then
- Run_Key_Pressed = false
- CurrentSteadyTime = 0
- end
- Fire_Gun()
- end
- end
- if Ammo.Value == 0 and S.AutoReload then
- wait(0.2)
- Reload()
- end
- wait(60 / S.FireRate)
- end
- CanFire = true
- end
- end))
- INSERT(Connections, M2.Button1Up:connect(function()
- MB1_Down = false
- CurrentSpread = (
- Aimed and S.Spread.Aimed or
- ((Idleing and (not Walking)) and S.Spread.Hipfire or S.Spread.Walking)
- )
- end))
- INSERT(Connections, M2.Button2Down:connect(function()
- if S.HoldMouseOrKeyToADS then
- if (not AimingIn) and (not Aimed) then
- AimingIn = true
- AimGun()
- AimingIn = false
- end
- else
- if Aimed then
- UnAimGun()
- else
- AimGun()
- end
- end
- end))
- INSERT(Connections, M2.Button2Up:connect(function()
- if S.HoldMouseOrKeyToADS then
- if (not AimingOut) and Aimed then
- AimingOut = true
- UnAimGun()
- AimingOut = false
- end
- end
- end))
- INSERT(Connections, M2.KeyDown:connect(KeyDown))
- INSERT(Connections, M2.KeyUp:connect(KeyUp))
- INSERT(Connections, RS:connect(function()
- local CrossHair = Gui_Clone:WaitForChild("CrossHair")
- local HitMarker = Gui_Clone:WaitForChild("HitMarker")
- local HUD = Gui_Clone:WaitForChild("HUD")
- CrossHair.Position = UDim2.new(0, M2.X, 0, M2.Y)
- HitMarker.Position = UDim2.new(0, M2.X - 13, 0, M2.Y - 13)
- local Clip_Ammo_L = HUD:WaitForChild("Ammo"):WaitForChild("Clip")
- local Stored_Ammo_L = HUD:WaitForChild("Ammo"):WaitForChild("Stored")
- Clip_Ammo_L.Text = Ammo.Value
- Clip_Ammo_L.TextColor3 = (Ammo.Value <= (ClipSize.Value / 3) and Color3.new(1, 0, 0) or Color3.new(1, 1, 1))
- Stored_Ammo_L.Text = StoredAmmo.Value
- Stored_Ammo_L.TextColor3 = (StoredAmmo.Value <= (ClipSize.Value * 2) and Color3.new(1, 0, 0) or Color3.new(1, 1, 1))
- local Lethal_Grenade_Num_L = HUD:WaitForChild("Grenades"):WaitForChild("Lethals"):WaitForChild("Num")
- Lethal_Grenade_Num_L.Text = LethalGrenades.Value
- Lethal_Grenade_Num_L.TextColor3 = (LethalGrenades.Value < 3 and Color3.new(1, 0, 0) or Color3.new(1, 1, 1))
- local Tactical_Grenade_Num_L = HUD:WaitForChild("Grenades"):WaitForChild("Tacticals"):WaitForChild("Num")
- Tactical_Grenade_Num_L.Text = TacticalGrenades.Value
- Tactical_Grenade_Num_L.TextColor3 = (TacticalGrenades.Value < 3 and Color3.new(1, 0, 0) or Color3.new(1, 1, 1))
- local Mode = HUD:WaitForChild("Mode"):WaitForChild("Main")
- if S.GunType.Auto
- and (not S.GunType.Semi)
- and (not S.GunType.Burst)
- and (not S.GunType.Explosive) then
- Mode.Text = "Auto"
- elseif (not S.GunType.Auto)
- and S.GunType.Burst
- and (not S.GunType.Explosive) then
- Mode.Text = "Burst"
- elseif (not S.GunType.Auto)
- and S.GunType.Semi
- and (not S.GunType.Explosive) then
- Mode.Text = "Semi"
- elseif (not S.GunType.Auto)
- and (not S.GunType.Semi)
- and (not S.GunType.Burst)
- and S.GunType.Shot
- and (not S.GunType.Explosive) then
- Mode.Text = "Shotgun"
- elseif (not S.GunType.Auto)
- and (not S.GunType.Semi)
- and S.GunType.Burst
- and (not S.GunType.Shot)
- and (not S.GunType.Explosive) then
- Mode.Text = "Burst"
- elseif S.GunType.Explosive then
- Mode.Text = "Explosive"
- end
- if tick() - LastBeat > (Humanoid.Health / 75) then
- LastBeat = tick()
- HUD.Health.Tray.Beat:TweenPosition(
- UDim2.new(0, -21, 0, 0),
- Enum.EasingDirection.Out,
- Enum.EasingStyle.Linear,
- 0.7 - ((100 - Humanoid.Health) / 400),
- false,
- function()
- HUD.Health.Tray.Beat.Position = UDim2.new(1, 0, 0, 0)
- end
- )
- end
- HUD.Health.Num.Text = CEIL(Humanoid.Health).."%"
- HUD.Health.Num.TextColor3 = (
- (Humanoid.Health > 200 / 3) and Color3.new(1, 1, 1) or
- (Humanoid.Health <= 200 / 3 and Humanoid.Health > 100 / 3) and Color3.new(1, 1, 0) or
- (Humanoid.Health <= 100 / 3) and Color3.new(1, 0, 0)
- )
- end))
- INSERT(Connections, RS:connect(function()
- local MDir = M2.UnitRay.Direction.unit
- local HRPCF = HRP.CFrame * CF(0, 1.5, 0) * CF(Humanoid.CameraOffset)
- Neck.C0 = Torso.CFrame:toObjectSpace(HRPCF)
- if MDir.y == MDir.y then
- HeadRot = -math.asin(MDir.y)
- Neck.C1 = CFANG(HeadRot,0,0)
- local RotTarget = VEC3(MDir.x,0,MDir.z)
- local Rotation = CF(Torso.Position,Torso.Position + RotTarget)
- BG.cframe = Rotation
- local MouseX = FLOOR((M2.X - M2.ViewSizeX / 2) + 0.5)
- local MouseY = FLOOR((M2.Y - M2.ViewSizeY / 2) + 0.5)
- local AppliedMaxTorque = nil
- if (Camera.CoordinateFrame.p - Head.Position).magnitude < 0.6 then
- if (MouseX >= 50 or MouseX <= -50)
- or (MouseY >= 50 or MouseY <= -50) then
- AppliedMaxTorque = VEC3()
- else
- AppliedMaxTorque = VEC3(HUGE,HUGE,HUGE)
- end
- else
- AppliedMaxTorque = VEC3(HUGE,HUGE,HUGE)
- end
- if (not S.RotateWhileSitting) and Humanoid.Sit then
- AppliedMaxTorque = VEC3()
- end
- BG.maxTorque = AppliedMaxTorque
- end
- end))
- INSERT(Connections, RS:connect(function()
- local Forward = (Keys["w"] or Keys[string.char(17)])
- local Backward = (Keys["s"] or Keys[string.char(18)])
- local Right = (Keys["d"] or Keys[string.char(19)])
- local Left = (Keys["a"] or Keys[string.char(20)])
- local WalkingForward = (Forward and (not Backward))
- local WalkingBackward = ((not Forward) and Backward)
- local WalkingRight = (Right and (not Left))
- local WalkingLeft = ((not Right) and Left)
- ArmTilt = (
- ((WalkingForward or WalkingBackward) and WalkingRight) and 5 or
- ((WalkingForward or WalkingBackward) and WalkingLeft) and -5 or
- ((not (WalkingForward and WalkingBackward)) and WalkingRight) and 10 or
- ((not (WalkingForward and WalkingBackward)) and WalkingLeft) and -10 or 0
- )
- end))
- INSERT(Connections, RS:connect(function()
- if (not Idleing) and Walking then
- if Running then
- Humanoid.WalkSpeed = S.SprintSpeed
- else
- local SpeedRatio = (S.AimedWalkSpeed / S.BaseWalkSpeed)
- if Stance == 0 then
- Humanoid.WalkSpeed = (Aimed and S.AimedWalkSpeed or S.BaseWalkSpeed)
- elseif Stance == 1 then
- Humanoid.WalkSpeed = (Aimed and S.CrouchWalkSpeed * SpeedRatio or S.CrouchWalkSpeed)
- elseif Stance == 2 then
- Humanoid.WalkSpeed = (Aimed and S.ProneWalkSpeed * SpeedRatio or S.ProneWalkSpeed)
- end
- end
- else
- Humanoid.WalkSpeed = 16
- end
- StanceSway = 1 - (0.25 * Stance)
- end))
- --------------------[ ANIMATE GUN ]-------------------------------------------
- Animate()
- end
- end
- function OnUnequipped(DeleteTool)
- if Selected then
- Selected = false
- BreakReload = true
- --------------------[ MODIFYING THE PLAYER ]----------------------------------
- Camera.FieldOfView = 70
- game:GetService("UserInputService").MouseIconEnabled = true
- Gui_Clone:Destroy()
- BG:Destroy()
- RArm.Transparency = 0
- LArm.Transparency = 0
- Shoulders.Right.Part1 = RArm
- Shoulders.Left.Part1 = LArm
- Neck.C0 = PrevNeckCF.C0
- Neck.C1 = PrevNeckCF.C1
- Humanoid.WalkSpeed = 16
- --------------------[ RESETING THE TOOL ]-------------------------------------
- Gun_Ignore:Destroy()
- Aimed = false
- for _, Tab in pairs(Parts) do
- Tab.Weld:Destroy()
- Tab.Weld = nil
- end
- for _,c in pairs(Connections) do
- c:disconnect()
- end
- Connections = {}
- if DeleteTool then
- Camera:ClearAllChildren()
- Gun:Destroy()
- end
- if S.StandOnDeselect and Stance ~= 0 then Stand(true) end
- end
- end
- Gun.Equipped:connect(OnEquipped)
- Gun.Unequipped:connect(function() OnUnequipped(false) end)
- --------------------------------------------------------------------------------------
- --------------------[ END PROGRAM ]---------------------------------------------------
- --------------------------------------------------------------------------------------
- end))
- IntValue6.Name = "Ignore_Code"
- IntValue6.Parent = LocalScript5
- ScreenGui7.Name = "Main_Gui"
- ScreenGui7.Parent = LocalScript5
- ImageLabel8.Name = "HitMarker"
- ImageLabel8.Parent = ScreenGui7
- ImageLabel8.Transparency = 1
- ImageLabel8.Size = UDim2.new(0, 26, 0, 26)
- ImageLabel8.Position = UDim2.new(0.5, -13, 0.5, -13)
- ImageLabel8.Visible = false
- ImageLabel8.BackgroundTransparency = 1
- ImageLabel8.ZIndex = 10
- ImageLabel8.Image = "http://www.roblox.com/asset/?id=121173757"
- ImageLabel8.ImageColor3 = Color3.new(1, 0, 0)
- Frame9.Name = "CrossHair"
- Frame9.Parent = ScreenGui7
- Frame9.Position = UDim2.new(0.5, 0, 0.5, 0)
- Frame9.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame9.BorderColor3 = Color3.new(0, 0, 0)
- Frame9.BorderSizePixel = 0
- ImageLabel10.Parent = Frame9
- ImageLabel10.Transparency = 1
- ImageLabel10.Size = UDim2.new(0, 300, 0, 300)
- ImageLabel10.Position = UDim2.new(0, -150, 0, -150)
- ImageLabel10.Visible = false
- ImageLabel10.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel10.BackgroundTransparency = 1
- ImageLabel10.ZIndex = 2
- ImageLabel10.Image = "http://www.roblox.com/asset/?id=68308747"
- Frame11.Name = "Box"
- Frame11.Parent = Frame9
- Frame11.Transparency = 1
- Frame11.Size = UDim2.new(0, 70, 0, 70)
- Frame11.Position = UDim2.new(0, -35, 0, -35)
- Frame11.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame11.BackgroundTransparency = 1
- Frame11.ClipsDescendants = true
- TextLabel12.Name = "Line"
- TextLabel12.Parent = Frame11
- TextLabel12.Size = UDim2.new(0, 2, 0, 25)
- TextLabel12.Text = ""
- TextLabel12.Position = UDim2.new(0.5, -1, 1, -25)
- TextLabel12.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel12.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel12.BorderSizePixel = 0
- TextLabel12.Font = Enum.Font.SourceSans
- TextLabel12.FontSize = Enum.FontSize.Size14
- TextLabel13.Name = "Line"
- TextLabel13.Parent = Frame11
- TextLabel13.Size = UDim2.new(0, 2, 0, 25)
- TextLabel13.Text = ""
- TextLabel13.Position = UDim2.new(0.5, -1, 0, 0)
- TextLabel13.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel13.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel13.BorderSizePixel = 0
- TextLabel13.Font = Enum.Font.SourceSans
- TextLabel13.FontSize = Enum.FontSize.Size14
- TextLabel14.Name = "Line"
- TextLabel14.Parent = Frame11
- TextLabel14.Size = UDim2.new(0, 25, 0, 2)
- TextLabel14.Text = ""
- TextLabel14.Position = UDim2.new(1, -25, 0.5, -1)
- TextLabel14.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel14.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel14.BorderSizePixel = 0
- TextLabel14.Font = Enum.Font.SourceSans
- TextLabel14.FontSize = Enum.FontSize.Size14
- TextLabel15.Name = "Line"
- TextLabel15.Parent = Frame11
- TextLabel15.Size = UDim2.new(0, 25, 0, 2)
- TextLabel15.Text = ""
- TextLabel15.Position = UDim2.new(0, 0, 0.5, -1)
- TextLabel15.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel15.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel15.BorderSizePixel = 0
- TextLabel15.Font = Enum.Font.SourceSans
- TextLabel15.FontSize = Enum.FontSize.Size14
- TextLabel16.Name = "Reload"
- TextLabel16.Parent = Frame9
- TextLabel16.Transparency = 1
- TextLabel16.Size = UDim2.new(0, 100, 0, 20)
- TextLabel16.Text = "Reloading..."
- TextLabel16.Position = UDim2.new(0, -50, 0, 70)
- TextLabel16.Visible = false
- TextLabel16.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel16.BackgroundTransparency = 1
- TextLabel16.ZIndex = 2
- TextLabel16.Font = Enum.Font.ArialBold
- TextLabel16.FontSize = Enum.FontSize.Size18
- TextLabel16.TextColor3 = Color3.new(1, 1, 1)
- TextLabel16.TextStrokeTransparency = 0.5
- Frame17.Name = "HUD"
- Frame17.Parent = ScreenGui7
- Frame17.Transparency = 0.30000001192093
- Frame17.Size = UDim2.new(0, 175, 0, 75)
- Frame17.Position = UDim2.new(1, -200, 1, -125)
- Frame17.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Frame17.BackgroundTransparency = 0.30000001192093
- Frame17.BorderColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Frame17.BorderSizePixel = 5
- Frame18.Name = "Ammo"
- Frame18.Parent = Frame17
- Frame18.Transparency = 1
- Frame18.Size = UDim2.new(0, 175, 0, 50)
- Frame18.BackgroundTransparency = 1
- TextLabel19.Name = "Slash"
- TextLabel19.Parent = Frame18
- TextLabel19.Transparency = 1
- TextLabel19.Size = UDim2.new(0, 10, 0, 30)
- TextLabel19.Text = "/"
- TextLabel19.Position = UDim2.new(0, 95, 0, 0)
- TextLabel19.BackgroundTransparency = 1
- TextLabel19.ZIndex = 10
- TextLabel19.Font = Enum.Font.ArialBold
- TextLabel19.FontSize = Enum.FontSize.Size36
- TextLabel19.TextColor3 = Color3.new(1, 1, 1)
- TextLabel20.Name = "Stored"
- TextLabel20.Parent = Frame18
- TextLabel20.Transparency = 1
- TextLabel20.Size = UDim2.new(0, 55, 0, 30)
- TextLabel20.Text = "124"
- TextLabel20.Position = UDim2.new(0, 115, 0, 0)
- TextLabel20.BackgroundTransparency = 1
- TextLabel20.ZIndex = 10
- TextLabel20.Font = Enum.Font.Arial
- TextLabel20.FontSize = Enum.FontSize.Size36
- TextLabel20.TextColor3 = Color3.new(1, 1, 1)
- TextLabel20.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel21.Name = "Clip"
- TextLabel21.Parent = Frame18
- TextLabel21.Transparency = 1
- TextLabel21.Size = UDim2.new(0, 85, 0, 50)
- TextLabel21.Text = "100"
- TextLabel21.BackgroundTransparency = 1
- TextLabel21.ZIndex = 10
- TextLabel21.FontSize = Enum.FontSize.Size36
- TextLabel21.TextColor3 = Color3.new(1, 1, 1)
- TextLabel21.TextXAlignment = Enum.TextXAlignment.Right
- Frame22.Name = "Mode"
- Frame22.Parent = Frame17
- Frame22.Transparency = 1
- Frame22.Size = UDim2.new(0, 80, 0, 20)
- Frame22.Position = UDim2.new(0, 95, 0, 27)
- Frame22.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame22.BackgroundTransparency = 1
- TextLabel23.Name = "Bracket"
- TextLabel23.Parent = Frame22
- TextLabel23.Transparency = 1
- TextLabel23.Size = UDim2.new(0, 5, 0, 20)
- TextLabel23.Text = "["
- TextLabel23.BackgroundTransparency = 1
- TextLabel23.ZIndex = 10
- TextLabel23.Font = Enum.Font.ArialBold
- TextLabel23.FontSize = Enum.FontSize.Size18
- TextLabel23.TextColor3 = Color3.new(0.333333, 0, 1)
- TextLabel23.TextWrapped = true
- TextLabel23.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel24.Name = "Bracket"
- TextLabel24.Parent = Frame22
- TextLabel24.Transparency = 1
- TextLabel24.Size = UDim2.new(0, 5, 0, 20)
- TextLabel24.Text = "]"
- TextLabel24.Position = UDim2.new(1, -5, 0, 0)
- TextLabel24.BackgroundTransparency = 1
- TextLabel24.ZIndex = 10
- TextLabel24.Font = Enum.Font.ArialBold
- TextLabel24.FontSize = Enum.FontSize.Size18
- TextLabel24.TextColor3 = Color3.new(0.333333, 0, 1)
- TextLabel24.TextWrapped = true
- TextLabel24.TextXAlignment = Enum.TextXAlignment.Left
- TextLabel25.Name = "Main"
- TextLabel25.Parent = Frame22
- TextLabel25.Transparency = 1
- TextLabel25.Size = UDim2.new(1, 0, 0, 20)
- TextLabel25.Text = "Auto"
- TextLabel25.BackgroundTransparency = 1
- TextLabel25.ZIndex = 10
- TextLabel25.Font = Enum.Font.SourceSansBold
- TextLabel25.FontSize = Enum.FontSize.Size18
- TextLabel25.TextColor3 = Color3.new(1, 1, 1)
- TextLabel25.TextWrapped = true
- Frame26.Name = "Health"
- Frame26.Parent = Frame17
- Frame26.Transparency = 0.30000001192093
- Frame26.Size = UDim2.new(1, 0, 0, 25)
- Frame26.Position = UDim2.new(0, 0, 0, -40)
- Frame26.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Frame26.BackgroundTransparency = 0.30000001192093
- Frame26.BorderColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Frame26.BorderSizePixel = 5
- TextLabel27.Name = "Num"
- TextLabel27.Parent = Frame26
- TextLabel27.Transparency = 1
- TextLabel27.Size = UDim2.new(0, 50, 1, 0)
- TextLabel27.Text = "100%"
- TextLabel27.Position = UDim2.new(1, -50, 0, 0)
- TextLabel27.BackgroundColor3 = Color3.new(0, 0, 0)
- TextLabel27.BackgroundTransparency = 1
- TextLabel27.BorderColor3 = Color3.new(0, 0, 0)
- TextLabel27.BorderSizePixel = 0
- TextLabel27.ZIndex = 10
- TextLabel27.Font = Enum.Font.ArialBold
- TextLabel27.FontSize = Enum.FontSize.Size24
- TextLabel27.TextColor3 = Color3.new(1, 1, 1)
- TextLabel27.TextXAlignment = Enum.TextXAlignment.Right
- Frame28.Name = "Tray"
- Frame28.Parent = Frame26
- Frame28.Transparency = 1
- Frame28.Size = UDim2.new(1, -60, 0, 20)
- Frame28.Position = UDim2.new(0, 2, 0.5, -10)
- Frame28.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame28.BackgroundTransparency = 1
- Frame28.BorderColor3 = Color3.new(0, 0, 0)
- Frame28.BorderSizePixel = 0
- Frame28.ZIndex = 10
- Frame28.ClipsDescendants = true
- Frame29.Name = "Beat"
- Frame29.Parent = Frame28
- Frame29.Transparency = 1
- Frame29.Size = UDim2.new(0, 21, 1, 0)
- Frame29.Position = UDim2.new(1, 0, 0, 0)
- Frame29.BackgroundColor3 = Color3.new(0, 0, 0)
- Frame29.BackgroundTransparency = 1
- Frame29.BorderColor3 = Color3.new(0, 0, 0)
- Frame29.BorderSizePixel = 0
- Frame29.ZIndex = 10
- Frame30.Name = "00"
- Frame30.Parent = Frame29
- Frame30.Size = UDim2.new(0.0476190485, 0, 0, 3)
- Frame30.Position = UDim2.new(0, 0, 0.5, -2)
- Frame30.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame30.BorderColor3 = Color3.new(0, 0, 0)
- Frame30.BorderSizePixel = 0
- Frame30.ZIndex = 10
- Frame31.Name = "01"
- Frame31.Parent = Frame29
- Frame31.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame31.Position = UDim2.new(0.0476190485, 0, 0.423076928, -2)
- Frame31.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame31.BorderColor3 = Color3.new(0, 0, 0)
- Frame31.BorderSizePixel = 0
- Frame31.ZIndex = 10
- Frame32.Name = "02"
- Frame32.Parent = Frame29
- Frame32.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame32.Position = UDim2.new(0.095238097, 0, 0.346153855, -2)
- Frame32.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame32.BorderColor3 = Color3.new(0, 0, 0)
- Frame32.BorderSizePixel = 0
- Frame32.ZIndex = 10
- Frame33.Name = "03"
- Frame33.Parent = Frame29
- Frame33.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame33.Position = UDim2.new(0.142857149, 0, 0.269230783, -2)
- Frame33.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame33.BorderColor3 = Color3.new(0, 0, 0)
- Frame33.BorderSizePixel = 0
- Frame33.ZIndex = 10
- Frame34.Name = "04"
- Frame34.Parent = Frame29
- Frame34.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame34.Position = UDim2.new(0.190476194, 0, 0.192307696, -2)
- Frame34.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame34.BorderColor3 = Color3.new(0, 0, 0)
- Frame34.BorderSizePixel = 0
- Frame34.ZIndex = 10
- Frame35.Name = "05"
- Frame35.Parent = Frame29
- Frame35.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame35.Position = UDim2.new(0.238095239, 0, 0.115384616, -2)
- Frame35.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame35.BorderColor3 = Color3.new(0, 0, 0)
- Frame35.BorderSizePixel = 0
- Frame35.ZIndex = 10
- Frame36.Name = "06"
- Frame36.Parent = Frame29
- Frame36.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame36.Position = UDim2.new(0.285714298, 0, 0.0384615399, -2)
- Frame36.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame36.BorderColor3 = Color3.new(0, 0, 0)
- Frame36.BorderSizePixel = 0
- Frame36.ZIndex = 10
- Frame37.Name = "07"
- Frame37.Parent = Frame29
- Frame37.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame37.Position = UDim2.new(0.333333343, 0, 0, -2)
- Frame37.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame37.BorderColor3 = Color3.new(0, 0, 0)
- Frame37.BorderSizePixel = 0
- Frame37.ZIndex = 10
- Frame38.Name = "08"
- Frame38.Parent = Frame29
- Frame38.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame38.Position = UDim2.new(0.380952388, 0, 0.142857149, -2)
- Frame38.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame38.BorderColor3 = Color3.new(0, 0, 0)
- Frame38.BorderSizePixel = 0
- Frame38.ZIndex = 10
- Frame39.Name = "09"
- Frame39.Parent = Frame29
- Frame39.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame39.Position = UDim2.new(0.428571433, 0, 0.285714298, -2)
- Frame39.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame39.BorderColor3 = Color3.new(0, 0, 0)
- Frame39.BorderSizePixel = 0
- Frame39.ZIndex = 10
- Frame40.Name = "10"
- Frame40.Parent = Frame29
- Frame40.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame40.Position = UDim2.new(0.476190478, 0, 0.428571433, -2)
- Frame40.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame40.BorderColor3 = Color3.new(0, 0, 0)
- Frame40.BorderSizePixel = 0
- Frame40.ZIndex = 10
- Frame41.Name = "11"
- Frame41.Parent = Frame29
- Frame41.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame41.Position = UDim2.new(0.523809552, 0, 0.571428597, -2)
- Frame41.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame41.BorderColor3 = Color3.new(0, 0, 0)
- Frame41.BorderSizePixel = 0
- Frame41.ZIndex = 10
- Frame42.Name = "12"
- Frame42.Parent = Frame29
- Frame42.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame42.Position = UDim2.new(0.571428597, 0, 0.714285731, -2)
- Frame42.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame42.BorderColor3 = Color3.new(0, 0, 0)
- Frame42.BorderSizePixel = 0
- Frame42.ZIndex = 10
- Frame43.Name = "13"
- Frame43.Parent = Frame29
- Frame43.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame43.Position = UDim2.new(0.619047642, 0, 0.857142866, -2)
- Frame43.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame43.BorderColor3 = Color3.new(0, 0, 0)
- Frame43.BorderSizePixel = 0
- Frame43.ZIndex = 10
- Frame44.Name = "14"
- Frame44.Parent = Frame29
- Frame44.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame44.Position = UDim2.new(0.666666687, 0, 0.916666687, -2)
- Frame44.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame44.BorderColor3 = Color3.new(0, 0, 0)
- Frame44.BorderSizePixel = 0
- Frame44.ZIndex = 10
- Frame45.Name = "15"
- Frame45.Parent = Frame29
- Frame45.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame45.Position = UDim2.new(0.714285731, 0, 0.833333313, -2)
- Frame45.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame45.BorderColor3 = Color3.new(0, 0, 0)
- Frame45.BorderSizePixel = 0
- Frame45.ZIndex = 10
- Frame46.Name = "16"
- Frame46.Parent = Frame29
- Frame46.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame46.Position = UDim2.new(0.761904776, 0, 0.75, -2)
- Frame46.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame46.BorderColor3 = Color3.new(0, 0, 0)
- Frame46.BorderSizePixel = 0
- Frame46.ZIndex = 10
- Frame47.Name = "17"
- Frame47.Parent = Frame29
- Frame47.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame47.Position = UDim2.new(0.809523821, 0, 0.666666687, -2)
- Frame47.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame47.BorderColor3 = Color3.new(0, 0, 0)
- Frame47.BorderSizePixel = 0
- Frame47.ZIndex = 10
- Frame48.Name = "18"
- Frame48.Parent = Frame29
- Frame48.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame48.Position = UDim2.new(0.857142866, 0, 0.583333313, -2)
- Frame48.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame48.BorderColor3 = Color3.new(0, 0, 0)
- Frame48.BorderSizePixel = 0
- Frame48.ZIndex = 10
- Frame49.Name = "19"
- Frame49.Parent = Frame29
- Frame49.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame49.Position = UDim2.new(0.90476191, 0, 0.5, -2)
- Frame49.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame49.BorderColor3 = Color3.new(0, 0, 0)
- Frame49.BorderSizePixel = 0
- Frame49.ZIndex = 10
- Frame50.Name = "20"
- Frame50.Parent = Frame29
- Frame50.Size = UDim2.new(0.0476190485, 0, 0, 4)
- Frame50.Position = UDim2.new(0.952000022, 0, 0.49000001, -2)
- Frame50.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame50.BorderColor3 = Color3.new(0, 0, 0)
- Frame50.BorderSizePixel = 0
- Frame50.ZIndex = 10
- Frame51.Name = "Line"
- Frame51.Parent = Frame29
- Frame51.Size = UDim2.new(0, 200, 0, 3)
- Frame51.Position = UDim2.new(1, 0, 0.5, -2)
- Frame51.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame51.BorderColor3 = Color3.new(0, 0, 0)
- Frame51.BorderSizePixel = 0
- Frame51.ZIndex = 10
- Frame52.Name = "Line"
- Frame52.Parent = Frame29
- Frame52.Size = UDim2.new(0, 200, 0, 3)
- Frame52.Position = UDim2.new(0, -200, 0.5, -2)
- Frame52.BackgroundColor3 = Color3.new(0, 0.666667, 0)
- Frame52.BorderColor3 = Color3.new(0, 0, 0)
- Frame52.BorderSizePixel = 0
- Frame52.ZIndex = 10
- Frame53.Name = "Grenades"
- Frame53.Parent = Frame17
- Frame53.Transparency = 1
- Frame53.Size = UDim2.new(0, 175, 0, 25)
- Frame53.Position = UDim2.new(0, 0, 0, 50)
- Frame53.BackgroundTransparency = 1
- Frame54.Name = "Lethals"
- Frame54.Parent = Frame53
- Frame54.Transparency = 1
- Frame54.Size = UDim2.new(0.5, -2, 1, 0)
- Frame54.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame54.BackgroundTransparency = 1
- ImageLabel55.Name = "Icon"
- ImageLabel55.Parent = Frame54
- ImageLabel55.Transparency = 1
- ImageLabel55.Size = UDim2.new(0, 21, 0, 21)
- ImageLabel55.Position = UDim2.new(0, 7, 0, 2)
- ImageLabel55.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel55.BackgroundTransparency = 1
- TextLabel56.Name = "Dash"
- TextLabel56.Parent = Frame54
- TextLabel56.Size = UDim2.new(0, 16, 0, 2)
- TextLabel56.Text = ""
- TextLabel56.Position = UDim2.new(0.5, -8, 0.5, -1)
- TextLabel56.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel56.BorderSizePixel = 0
- TextLabel56.Font = Enum.Font.ArialBold
- TextLabel56.FontSize = Enum.FontSize.Size18
- TextLabel56.TextColor3 = Color3.new(1, 1, 1)
- TextLabel57.Name = "Num"
- TextLabel57.Parent = Frame54
- TextLabel57.Transparency = 1
- TextLabel57.Size = UDim2.new(0, 0, 1, 0)
- TextLabel57.Text = "0"
- TextLabel57.Position = UDim2.new(1, -7, 0, 0)
- TextLabel57.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel57.BackgroundTransparency = 1
- TextLabel57.Font = Enum.Font.ArialBold
- TextLabel57.FontSize = Enum.FontSize.Size18
- TextLabel57.TextColor3 = Color3.new(1, 1, 1)
- TextLabel57.TextXAlignment = Enum.TextXAlignment.Right
- Frame58.Name = "Lines"
- Frame58.Parent = Frame54
- Frame58.Transparency = 1
- Frame58.Size = UDim2.new(1, 0, 1, 0)
- Frame58.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame58.BackgroundTransparency = 1
- TextLabel59.Name = "Line"
- TextLabel59.Parent = Frame58
- TextLabel59.Size = UDim2.new(1, 0, 0, 2)
- TextLabel59.Text = ""
- TextLabel59.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel59.BorderSizePixel = 0
- TextLabel59.Font = Enum.Font.SourceSans
- TextLabel59.FontSize = Enum.FontSize.Size14
- TextLabel60.Name = "Line"
- TextLabel60.Parent = Frame58
- TextLabel60.Size = UDim2.new(1, 0, 0, 2)
- TextLabel60.Text = ""
- TextLabel60.Position = UDim2.new(0, 0, 1, -2)
- TextLabel60.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel60.BorderSizePixel = 0
- TextLabel60.Font = Enum.Font.SourceSans
- TextLabel60.FontSize = Enum.FontSize.Size14
- TextLabel61.Name = "Line"
- TextLabel61.Parent = Frame58
- TextLabel61.Size = UDim2.new(0, 2, 1, 0)
- TextLabel61.Text = ""
- TextLabel61.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel61.BorderSizePixel = 0
- TextLabel61.Font = Enum.Font.SourceSans
- TextLabel61.FontSize = Enum.FontSize.Size14
- TextLabel62.Name = "Line"
- TextLabel62.Parent = Frame58
- TextLabel62.Size = UDim2.new(0, 2, 1, 0)
- TextLabel62.Text = ""
- TextLabel62.Position = UDim2.new(1, -2, 0, 0)
- TextLabel62.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel62.BorderSizePixel = 0
- TextLabel62.Font = Enum.Font.SourceSans
- TextLabel62.FontSize = Enum.FontSize.Size14
- Frame63.Name = "Tacticals"
- Frame63.Parent = Frame53
- Frame63.Transparency = 1
- Frame63.Size = UDim2.new(0.5, -2, 1, 0)
- Frame63.Position = UDim2.new(0.5, 2, 0, 0)
- Frame63.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame63.BackgroundTransparency = 1
- Frame64.Name = "Lines"
- Frame64.Parent = Frame63
- Frame64.Transparency = 1
- Frame64.Size = UDim2.new(1, 0, 1, 0)
- Frame64.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame64.BackgroundTransparency = 1
- TextLabel65.Name = "Line"
- TextLabel65.Parent = Frame64
- TextLabel65.Size = UDim2.new(1, 0, 0, 2)
- TextLabel65.Text = ""
- TextLabel65.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel65.BorderSizePixel = 0
- TextLabel65.Font = Enum.Font.SourceSans
- TextLabel65.FontSize = Enum.FontSize.Size14
- TextLabel66.Name = "Line"
- TextLabel66.Parent = Frame64
- TextLabel66.Size = UDim2.new(1, 0, 0, 2)
- TextLabel66.Text = ""
- TextLabel66.Position = UDim2.new(0, 0, 1, -2)
- TextLabel66.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel66.BorderSizePixel = 0
- TextLabel66.Font = Enum.Font.SourceSans
- TextLabel66.FontSize = Enum.FontSize.Size14
- TextLabel67.Name = "Line"
- TextLabel67.Parent = Frame64
- TextLabel67.Size = UDim2.new(0, 2, 1, 0)
- TextLabel67.Text = ""
- TextLabel67.Position = UDim2.new(1, -2, 0, 0)
- TextLabel67.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel67.BorderSizePixel = 0
- TextLabel67.Font = Enum.Font.SourceSans
- TextLabel67.FontSize = Enum.FontSize.Size14
- TextLabel68.Name = "Line"
- TextLabel68.Parent = Frame64
- TextLabel68.Size = UDim2.new(0, 2, 1, 0)
- TextLabel68.Text = ""
- TextLabel68.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel68.BorderSizePixel = 0
- TextLabel68.Font = Enum.Font.SourceSans
- TextLabel68.FontSize = Enum.FontSize.Size14
- ImageLabel69.Name = "Icon"
- ImageLabel69.Parent = Frame63
- ImageLabel69.Transparency = 1
- ImageLabel69.Size = UDim2.new(0, 21, 0, 21)
- ImageLabel69.Position = UDim2.new(0, 7, 0, 2)
- ImageLabel69.BackgroundColor3 = Color3.new(1, 1, 1)
- ImageLabel69.BackgroundTransparency = 1
- TextLabel70.Name = "Dash"
- TextLabel70.Parent = Frame63
- TextLabel70.Size = UDim2.new(0, 16, 0, 2)
- TextLabel70.Text = ""
- TextLabel70.Position = UDim2.new(0.5, -8, 0.5, -1)
- TextLabel70.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel70.BorderSizePixel = 0
- TextLabel70.Font = Enum.Font.ArialBold
- TextLabel70.FontSize = Enum.FontSize.Size18
- TextLabel70.TextColor3 = Color3.new(1, 1, 1)
- TextLabel71.Name = "Num"
- TextLabel71.Parent = Frame63
- TextLabel71.Transparency = 1
- TextLabel71.Size = UDim2.new(0, 0, 1, 0)
- TextLabel71.Text = "0"
- TextLabel71.Position = UDim2.new(1, -7, 0, 0)
- TextLabel71.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel71.BackgroundTransparency = 1
- TextLabel71.Font = Enum.Font.ArialBold
- TextLabel71.FontSize = Enum.FontSize.Size18
- TextLabel71.TextColor3 = Color3.new(1, 1, 1)
- TextLabel71.TextXAlignment = Enum.TextXAlignment.Right
- TextLabel72.Name = "Calibre"
- TextLabel72.Parent = Frame17
- TextLabel72.Transparency = 1
- TextLabel72.Size = UDim2.new(1, 0, 0, 15)
- TextLabel72.Text = "Pressurized Gasoline"
- TextLabel72.Position = UDim2.new(0, 0, 1, 25)
- TextLabel72.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel72.BackgroundTransparency = 1
- TextLabel72.Font = Enum.Font.ArialBold
- TextLabel72.FontSize = Enum.FontSize.Size14
- TextLabel72.TextColor3 = Color3.new(1, 1, 1)
- TextLabel72.TextStrokeTransparency = 0
- TextLabel72.TextWrapped = true
- TextLabel72.TextXAlignment = Enum.TextXAlignment.Right
- TextLabel73.Name = "Gun"
- TextLabel73.Parent = Frame17
- TextLabel73.Transparency = 1
- TextLabel73.Size = UDim2.new(1, 0, 0, 20)
- TextLabel73.Text = "Mod. XI Scorcher Flamethrower"
- TextLabel73.Position = UDim2.new(0, 0, 1, 5)
- TextLabel73.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel73.BackgroundTransparency = 1
- TextLabel73.Font = Enum.Font.ArialBold
- TextLabel73.FontSize = Enum.FontSize.Size14
- TextLabel73.TextColor3 = Color3.new(1, 1, 1)
- TextLabel73.TextStrokeTransparency = 0
- TextLabel73.TextWrapped = true
- TextLabel73.TextXAlignment = Enum.TextXAlignment.Right
- Frame74.Name = "Controls"
- Frame74.Parent = Frame17
- Frame74.Transparency = 0.30000001192093
- Frame74.Size = UDim2.new(1, 0, 0, 120)
- Frame74.Position = UDim2.new(0, 0, 0, -200)
- Frame74.Visible = false
- Frame74.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Frame74.BackgroundTransparency = 0.30000001192093
- Frame74.BorderColor3 = Color3.new(0.156863, 0.156863, 0.156863)
- Frame74.BorderSizePixel = 5
- TextLabel75.Name = "Title"
- TextLabel75.Parent = Frame74
- TextLabel75.Transparency = 1
- TextLabel75.Size = UDim2.new(1, 0, 0, 15)
- TextLabel75.Text = "Controls"
- TextLabel75.Visible = false
- TextLabel75.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel75.BackgroundTransparency = 1
- TextLabel75.Font = Enum.Font.SourceSansBold
- TextLabel75.FontSize = Enum.FontSize.Size14
- TextLabel75.TextColor3 = Color3.new(1, 1, 1)
- TextLabel76.Name = "Line"
- TextLabel76.Parent = TextLabel75
- TextLabel76.Size = UDim2.new(1, 0, 0, 2)
- TextLabel76.Text = ""
- TextLabel76.Position = UDim2.new(0, 0, 1, 1)
- TextLabel76.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel76.BorderSizePixel = 0
- TextLabel76.Font = Enum.Font.SourceSans
- TextLabel76.FontSize = Enum.FontSize.Size14
- Frame77.Name = "Scope"
- Frame77.Parent = ScreenGui7
- Frame77.Transparency = 1
- Frame77.Size = UDim2.new(1, 0, 1, 0)
- Frame77.BackgroundColor3 = Color3.new(1, 1, 1)
- Frame77.BackgroundTransparency = 1
- ImageLabel78.Name = "Img"
- ImageLabel78.Parent = Frame77
- ImageLabel78.Transparency = 1
- ImageLabel78.Size = UDim2.new(1, 0, 1, 0)
- ImageLabel78.BackgroundColor3 = Color3.new(0, 0, 0)
- ImageLabel78.BackgroundTransparency = 1
- ImageLabel78.BorderSizePixel = 0
- ImageLabel78.ImageTransparency = 1
- TextLabel79.Name = "Steady"
- TextLabel79.Parent = Frame77
- TextLabel79.Transparency = 1
- TextLabel79.Size = UDim2.new(0, 120, 0, 20)
- TextLabel79.Text = ""
- TextLabel79.Position = UDim2.new(0.5, -60, 0.5, 50)
- TextLabel79.Visible = false
- TextLabel79.BackgroundColor3 = Color3.new(1, 1, 1)
- TextLabel79.BackgroundTransparency = 1
- TextLabel79.ZIndex = 2
- TextLabel79.Font = Enum.Font.ArialBold
- TextLabel79.FontSize = Enum.FontSize.Size14
- TextLabel79.TextColor3 = Color3.new(1, 1, 1)
- TextLabel79.TextStrokeTransparency = 0
- Script80.Name = "Burn"
- Script80.Parent = LocalScript5
- Script80.Disabled = true
- table.insert(cors,sandbox(Script80,function()
- local Bin = script.Parent
- local Burning = {}
- local function FindObject(Object)
- for _,v in pairs(Burning) do
- if v.Object == Object then
- return true
- end
- end
- return false
- end
- local function BurnCharacter(Character)
- local FireObjects = {}
- for _,Limb in pairs({"Head", "Torso", "Left Arm", "Right Arm","Left Leg", "Right Leg"}) do
- if Character:FindFirstChild(Limb) ~= nil then
- local Fire = Instance.new("Fire")
- Fire.Parent = Character[Limb]
- FireObjects[#FireObjects+1] = Fire
- end
- end
- local Connection = Character.Humanoid.Died:connect(function()
- for _,Limb in pairs({"Head", "Torso", "Left Arm", "Right Arm","Left Leg", "Right Leg"}) do
- if Character:FindFirstChild(Limb) ~= nil then
- Character[Limb].Material = Enum.Material.Concrete
- Character[Limb].BrickColor = BrickColor.new("Really black")
- end
- end
- end)
- Burning[#Burning+1] = {
- Object = Character,
- FireObjects = FireObjects,
- FireStarted = tick(),
- Connection = Connection,
- }
- end
- Bin.Touched:connect(function(Hit)
- if Hit ~= nil and Hit.Parent ~= nil then
- if Hit.Parent:FindFirstChild("Humanoid") ~= nil and not FindObject(Hit.Parent) then
- BurnCharacter(Hit.Parent)
- end
- end
- end)
- while true do
- for Index = 1, #Burning do
- local v = Burning[Index]
- if v ~= nil then
- if tick() - v.FireStarted > 20 then
- for _,flame in pairs(v.FireObjects) do
- flame:Destroy()
- end
- if v.Connection ~= nil then
- v.Connection:disconnect()
- end
- table.remove(Burning, Index)
- else
- if v.Object:FindFirstChild("Humanoid") then
- v.Object.Humanoid:TakeDamage(10)
- end
- end
- end
- end
- wait(0.5)
- end
- end))
- ParticleEmitter81.Name = "Dust"
- ParticleEmitter81.Parent = LocalScript5
- ParticleEmitter81.Transparency = NumberSequence.new(0,1)
- ParticleEmitter81.Size = NumberSequence.new(4,4)
- ParticleEmitter81.Color = ColorSequence.new(Color3.new(1, 0.827451, 0.380392),Color3.new(1, 0.407843, 0.133333))
- ParticleEmitter81.Enabled = false
- ParticleEmitter81.LightEmission = 1
- ParticleEmitter81.Texture = "http://www.roblox.com/asset/?id=278539903"
- ParticleEmitter81.ZOffset = 2
- ParticleEmitter81.Lifetime = NumberRange.new(2, 3)
- ParticleEmitter81.Rate = 10
- ParticleEmitter81.Speed = NumberRange.new(4, 4)
- ParticleEmitter81.Color = ColorSequence.new(Color3.new(1, 0.827451, 0.380392),Color3.new(1, 0.407843, 0.133333))
- ParticleEmitter82.Name = "Fire"
- ParticleEmitter82.Parent = LocalScript5
- ParticleEmitter82.Transparency = NumberSequence.new(0,0.28749996423721,1)
- ParticleEmitter82.Rotation = NumberRange.new(-45, -45)
- ParticleEmitter82.Size = NumberSequence.new(3.1318683624268,5.1098899841309)
- ParticleEmitter82.Color = ColorSequence.new(Color3.new(1, 0.827451, 0.380392),Color3.new(1, 0.407843, 0.133333))
- ParticleEmitter82.Enabled = false
- ParticleEmitter82.LightEmission = 0.80000001192093
- ParticleEmitter82.Texture = "http://www.roblox.com/asset/?id=241936182"
- ParticleEmitter82.ZOffset = 1
- ParticleEmitter82.Lifetime = NumberRange.new(1, 1)
- ParticleEmitter82.Rate = 60
- ParticleEmitter82.Speed = NumberRange.new(2, 6)
- ParticleEmitter82.Color = ColorSequence.new(Color3.new(1, 0.827451, 0.380392),Color3.new(1, 0.407843, 0.133333))
- PointLight83.Name = "Light"
- PointLight83.Parent = LocalScript5
- PointLight83.Color = Color3.new(1, 0.8, 0.333333)
- PointLight83.Range = 20
- PointLight83.Shadows = true
- PointLight83.Color = Color3.new(1, 0.8, 0.333333)
- Script84.Name = "[[ README ]] (Don't Delete)"
- Script84.Parent = Tool0
- table.insert(cors,sandbox(Script84,function()
- --[[
- VERSION: v0.0.3
- ----------[ UPDATES ]----------------------------------------------------
- Pre-Release: -Added a copyright
- -fixed the issue where you couldn't run when you selected the tool
- -Added an ADS key and allowed ADS to either be toggle or hold
- -Made the Ammo values external so they can be changed by outside scripts
- v0.0.2: -Created new arms for the gun
- -Fixed an issue where the arms would glitch if PlayerAnimations was set to false and the gun was fired
- -Updated credit security
- -Put the Arm cframes in the SETTINGS
- -Made the stance changing animations slightly smoother
- -Added bullet drop
- -Fixed some bullet hit handling code
- -Made the torso being able to rotate while sitting down a setting
- -Added bullet settings
- -Added shockwave settings
- -Added an Explosive guntype
- -Added a version label in the Gui
- v0.0.3: -Added an option to have player arms
- -Added grenades / throwables
- -Fixed the issue where if a player left a server without deselecting the gun, the bullet trails still remained
- -Added Gui Scopes
- -Fixed the issue where the guns would glitch if you switched weapons too fast
- -------------------------------------------------------------------------
- Hello there!
- Glad to know you're using my one and only Gun Kit!
- Even though this kit has many features and is rather advanced, it's pretty easy to use
- There are 4 things that this gun needs in order to function:
- One brick called "AimPart"
- At least one brick called "Mag"
- One brick called "Handle"
- One brick called "Main"
- The AimPart is what the gun will use to aim down the sights. When you aim down your sights, this brick will be in the center
- of the player's head. It basically allows the gun to have any type of sight, which can be placed anywhere on the gun. As long as
- the AimPart is aligned with the sight, the gun will aim down the sights properly.
- (NOTE: Make sure the AimPart is behind the Sight and the FRONT of the AimPart is facing the Sight)
- The Mag is what the gun will move around when you reload the gun. If the mag is made up of more than one brick, make sure those
- bricks are also called "Mag" so that the gun will move them around. If you set ReloadAnimation to false in the SETTINGS, you don't
- need any bricks called "Mag". But if ReloadAnimation is set to true, the gun needs at least one brick called "Mag" or it will break
- The Handle is obviously the most important part of the Gun. Without it, the tool itself wouldn't work. It's that simple
- (NOTE: If you want a sound to play when you fire, name it "FireSound" and place it in the Handle. If you want a sound to play when
- you reload, name it "ReloadSound" and place it in the Handle)
- The Main is the brick where the bullets will originate from. It's also the brick where the flash effects are kept.
- (NOTE: If you want a flash billboardgui to appear when you fire, name it "FlashGui" and place it in the Main. If you want a light
- to flash when you fire, name it "FlashFX" and place it in the Main)
- ----------[ INSTRUCTIONS ]-----------------------------------------------
- HOW TO USE THIS KIT:
- 1) If the gun already has a Handle, make sure it is facing forward. If the gun doesn't have a Handle, create one and place
- it wherever you like, and make sure it is facing forward
- 2) If the gun already has a brick called "AimPart", move it to where you would like, and make sure it is facing the sight.
- If the gun doesn't have a brick called "AimPart", create one and move it where you would like it to be, and make sure
- it is facing the sight
- 3) If the gun already has a brick called "Main", move it to the very front of the gun. If the gun doesn't have a brick
- called "Main", create one and move it to the very front of the gun
- 4) If ReloadAnimation is set to true in the SETTINGS, make sure the gun has at least one brick called "Mag". If
- ReloadAnimation is set to false, the gun doesn't need any bricks called "Mag".
- 5) Open the SETTINGS and edit them however you like
- That's it! Only 5 steps! It's not that complicated, just follow the Directions and it should work fine. If you have any questions /
- comments / concerns, message me.
- ______ ______ __ ______ _ ______
- / _/ _/ /_ __/_ _______/ /_ ____ / ____/_ _______(_)___ ____ / / /
- / // / / / / / / / ___/ __ \/ __ \/ /_ / / / / ___/ / __ \/ __ \ / // /
- / // / / / / /_/ / / / /_/ / /_/ / __/ / /_/ (__ ) / /_/ / / / / / // /
- / // / /_/ \__,_/_/ /_.___/\____/_/ \__,_/____/_/\____/_/ /_/ _/ // /
- /__/__/ /__/__/
- --]]
- wait(math.random(0, 200) / 200) --This is to prevent more than one Ignore_Model from being created
- if _G.Ignore_Code then --If the Ignore_Code already exists, then the script creates the Ignore_Model
- --[[
- The purpose of this is so that every gun in a game that uses this gun kit will share one Ignore_Model. That way,
- bullet trails, bullet holes, and other fake arms will be ignored by the gun which makes the bullets more likely to
- hit a character part
- --]]
- if (not game.Workspace:FindFirstChild("Ignore_Model_".._G.Ignore_Code)) then
- local Ignore_Model = Instance.new("Model")
- Ignore_Model.Name = "Ignore_Model_".._G.Ignore_Code
- Ignore_Model.Parent = game.Workspace
- spawn(function()
- while true do
- Ignore_Model.Parent = game.Workspace
- wait(1 / 20)
- end
- end)
- end
- script.Parent:WaitForChild("Gun_Main"):WaitForChild("Ignore_Code").Value = _G.Ignore_Code
- else
- --[[
- If there isn't already an Ignore_Code, then this creates one. The purpose of it being random is so that if there is
- an Ignore_Model for something else in the game, the script won't end up placing the ignored objects in that Ignore_Model
- --]]
- _G.Ignore_Code = math.random(1, 1e4)
- if (not game.Workspace:FindFirstChild("Ignore_Model_".._G.Ignore_Code)) then
- local Ignore_Model = Instance.new("Model")
- Ignore_Model.Name = "Ignore_Model_".._G.Ignore_Code
- Ignore_Model.Parent = game.Workspace
- spawn(function()
- while true do
- Ignore_Model.Parent = game.Workspace
- wait(1 / 20)
- end
- end)
- end
- script.Parent:WaitForChild("Gun_Main"):WaitForChild("Ignore_Code").Value = _G.Ignore_Code
- end
- spawn(function()
- repeat wait() until _G.Ignore_Code
- local Ignore_Model = game.Workspace:WaitForChild("Ignore_Model_".._G.Ignore_Code)
- while true do
- for _, Gun_Ignore in pairs(Ignore_Model:GetChildren()) do
- if (not game.Players:FindFirstChild(Gun_Ignore.Name:sub(12))) then
- Gun_Ignore:Destroy()
- end
- end
- wait(1 / 20)
- end
- end)
- end))
- IntValue85.Name = "TacticalGrenades"
- IntValue85.Parent = Tool0
- IntValue85.Value = 2
- IntValue86.Name = "ClipSize"
- IntValue86.Parent = Tool0
- IntValue86.Value = 200
- IntValue87.Name = "StoredFire"
- IntValue87.Parent = Tool0
- IntValue87.Value = 800
- Part88.Name = "Camo"
- Part88.Parent = Tool0
- Part88.Material = Enum.Material.Metal
- Part88.BrickColor = BrickColor.new("Dusty Rose")
- Part88.Anchored = true
- Part88.CanCollide = false
- Part88.FormFactor = Enum.FormFactor.Custom
- Part88.Size = Vector3.new(0.200000003, 1, 1)
- Part88.CFrame = CFrame.new(24.0999756, 1.189996, 46.3001709, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part88.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part88.Color = Color3.new(0.639216, 0.294118, 0.294118)
- Part88.Position = Vector3.new(24.0999756, 1.189996, 46.3001709)
- Part88.Color = Color3.new(0.639216, 0.294118, 0.294118)
- SpecialMesh89.Parent = Part88
- SpecialMesh89.MeshType = Enum.MeshType.Sphere
- Part90.Name = "Tube"
- Part90.Parent = Tool0
- Part90.Material = Enum.Material.SmoothPlastic
- Part90.BrickColor = BrickColor.new("Black")
- Part90.Rotation = Vector3.new(-71.0400009, -73.3300018, 152.679993)
- Part90.Anchored = true
- Part90.CanCollide = false
- Part90.FormFactor = Enum.FormFactor.Custom
- Part90.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part90.CFrame = CFrame.new(22.5713501, 1.981902, 45.9355621, -0.254845113, -0.131637111, -0.957980096, -0.655851305, -0.704464436, 0.271273047, -0.710572362, 0.697425067, 0.0931949541)
- Part90.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part90.Position = Vector3.new(22.5713501, 1.981902, 45.9355621)
- Part90.Orientation = Vector3.new(-15.7399998, -84.4399948, -137.050003)
- Part90.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh91.Parent = Part90
- CylinderMesh91.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh91.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part92.Name = "Tube"
- Part92.Parent = Tool0
- Part92.Material = Enum.Material.SmoothPlastic
- Part92.BrickColor = BrickColor.new("Black")
- Part92.Rotation = Vector3.new(143.220001, 47.0299988, 99.8399963)
- Part92.Anchored = true
- Part92.CanCollide = false
- Part92.FormFactor = Enum.FormFactor.Custom
- Part92.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part92.CFrame = CFrame.new(24.3755798, 0.436780989, 45.8866119, -0.116514929, -0.671544135, 0.731746376, -0.864073873, -0.294723868, -0.408061594, 0.489694476, -0.679828167, -0.545924008)
- Part92.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part92.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part92.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part92.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part92.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part92.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part92.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part92.Position = Vector3.new(24.3755798, 0.436780989, 45.8866119)
- Part92.Orientation = Vector3.new(24.0799999, 126.729996, -108.829994)
- Part92.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh93.Parent = Part92
- SpecialMesh93.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh93.MeshType = Enum.MeshType.Sphere
- SpecialMesh93.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part94.Name = "Tube"
- Part94.Parent = Tool0
- Part94.Material = Enum.Material.SmoothPlastic
- Part94.BrickColor = BrickColor.new("Black")
- Part94.Rotation = Vector3.new(166, 55.9799995, -108.279999)
- Part94.Anchored = true
- Part94.CanCollide = false
- Part94.FormFactor = Enum.FormFactor.Custom
- Part94.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part94.CFrame = CFrame.new(22.5581989, 1.91143894, 46.0052795, -0.175444052, 0.531269014, 0.82883817, 0.858454168, 0.494700611, -0.135380358, -0.481950104, 0.687767863, -0.542862296)
- Part94.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part94.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part94.Position = Vector3.new(22.5581989, 1.91143894, 46.0052795)
- Part94.Orientation = Vector3.new(7.77999973, 123.219994, 60.0499992)
- Part94.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh95.Parent = Part94
- SpecialMesh95.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh95.MeshType = Enum.MeshType.Sphere
- SpecialMesh95.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part96.Name = "Tube"
- Part96.Parent = Tool0
- Part96.Material = Enum.Material.SmoothPlastic
- Part96.BrickColor = BrickColor.new("Black")
- Part96.Rotation = Vector3.new(-43.5999985, -67.4700012, -52.7999992)
- Part96.Anchored = true
- Part96.CanCollide = false
- Part96.FormFactor = Enum.FormFactor.Custom
- Part96.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part96.CFrame = CFrame.new(24.2810364, 0.407572001, 45.7128143, 0.231679901, 0.305178195, -0.923683345, -0.191700906, 0.945221305, 0.264211416, 0.953716516, 0.115858458, 0.277491689)
- Part96.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part96.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part96.Position = Vector3.new(24.2810364, 0.407572001, 45.7128143)
- Part96.Orientation = Vector3.new(-15.3199997, -73.2799988, -11.46)
- Part96.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh97.Parent = Part96
- SpecialMesh97.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh97.MeshType = Enum.MeshType.Sphere
- SpecialMesh97.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part98.Name = "Tube"
- Part98.Parent = Tool0
- Part98.Material = Enum.Material.SmoothPlastic
- Part98.BrickColor = BrickColor.new("Black")
- Part98.Rotation = Vector3.new(-145, -60, 95)
- Part98.Anchored = true
- Part98.CanCollide = false
- Part98.FormFactor = Enum.FormFactor.Custom
- Part98.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part98.CFrame = CFrame.new(22.6343384, 2.0946939, 45.7901459, -0.0435770266, -0.498098165, -0.86602509, -0.859328508, -0.423447192, 0.286787629, -0.509564281, 0.756697297, -0.40957737)
- Part98.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part98.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part98.Position = Vector3.new(22.6343384, 2.0946939, 45.7901459)
- Part98.Orientation = Vector3.new(-16.6700001, -115.309998, -116.229996)
- Part98.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh99.Parent = Part98
- CylinderMesh99.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh99.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part100.Name = "Detail"
- Part100.Parent = Tool0
- Part100.Material = Enum.Material.Metal
- Part100.BrickColor = BrickColor.new("Dark stone grey")
- Part100.Rotation = Vector3.new(-180, 0, 120)
- Part100.Anchored = true
- Part100.CanCollide = false
- Part100.FormFactor = Enum.FormFactor.Custom
- Part100.Size = Vector3.new(0.800000012, 0.200000092, 0.800000012)
- Part100.CFrame = CFrame.new(23.8464069, 0.889997005, 45.4002075, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part100.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part100.Position = Vector3.new(23.8464069, 0.889997005, 45.4002075)
- Part100.Orientation = Vector3.new(0, 180, -60)
- Part100.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh101.Parent = Part100
- CylinderMesh101.Scale = Vector3.new(1.04999995, 0.600000024, 1.5)
- CylinderMesh101.Scale = Vector3.new(1.04999995, 0.600000024, 1.5)
- Part102.Name = "Handle"
- Part102.Parent = Tool0
- Part102.Transparency = 1
- Part102.Rotation = Vector3.new(0, -90, 0)
- Part102.Anchored = true
- Part102.FormFactor = Enum.FormFactor.Custom
- Part102.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part102.CFrame = CFrame.new(22.8999939, 1.98999703, 46.3001556, -5.96046377e-08, -4.54753422e-13, -1, 5.82076748e-11, 1, -4.54756892e-13, 1, -5.82076748e-11, -5.96046377e-08)
- Part102.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part102.Position = Vector3.new(22.8999939, 1.98999703, 46.3001556)
- Part102.Orientation = Vector3.new(0, -90, 0)
- BlockMesh103.Parent = Part102
- Sound104.Name = "FireSound"
- Sound104.Parent = Part102
- Sound104.Pitch = 1.5
- Sound104.SoundId = "rbxassetid://496932723"
- Part105.Name = "Tube"
- Part105.Parent = Tool0
- Part105.Material = Enum.Material.SmoothPlastic
- Part105.BrickColor = BrickColor.new("Black")
- Part105.Rotation = Vector3.new(108.959999, 73.3300018, -62.6800003)
- Part105.Anchored = true
- Part105.CanCollide = false
- Part105.FormFactor = Enum.FormFactor.Custom
- Part105.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part105.CFrame = CFrame.new(22.5845184, 2.05233312, 45.865799, 0.131633997, 0.254844904, 0.957980573, 0.704465985, 0.655850589, -0.271270543, -0.697423995, 0.710573077, -0.0931973383)
- Part105.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part105.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part105.Position = Vector3.new(22.5845184, 2.05233312, 45.865799)
- Part105.Orientation = Vector3.new(15.7399998, 95.5599976, 47.0499992)
- Part105.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh106.Parent = Part105
- SpecialMesh106.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh106.MeshType = Enum.MeshType.Sphere
- SpecialMesh106.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part107.Name = "Tube"
- Part107.Parent = Tool0
- Part107.Material = Enum.Material.SmoothPlastic
- Part107.BrickColor = BrickColor.new("Black")
- Part107.Rotation = Vector3.new(139.62999, 58.0099983, 116.849998)
- Part107.Anchored = true
- Part107.CanCollide = false
- Part107.FormFactor = Enum.FormFactor.Custom
- Part107.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part107.CFrame = CFrame.new(24.3282928, 0.422170997, 45.7996979, -0.239283934, -0.472709268, 0.848109245, -0.92784375, -0.146050423, -0.343183994, 0.286092937, -0.869031191, -0.403652847)
- Part107.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part107.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part107.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part107.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part107.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part107.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part107.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part107.Position = Vector3.new(24.3282928, 0.422170997, 45.7996979)
- Part107.Orientation = Vector3.new(20.0699997, 115.449997, -98.9499969)
- Part107.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh108.Parent = Part107
- CylinderMesh108.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh108.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part109.Name = "Tube"
- Part109.Parent = Tool0
- Part109.Material = Enum.Material.SmoothPlastic
- Part109.BrickColor = BrickColor.new("Black")
- Part109.Rotation = Vector3.new(108.959999, 73.3300018, -62.6800003)
- Part109.Anchored = true
- Part109.CanCollide = false
- Part109.FormFactor = Enum.FormFactor.Custom
- Part109.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part109.CFrame = CFrame.new(22.5581989, 1.91144204, 46.0052795, 0.131633997, 0.254844904, 0.957980573, 0.704465985, 0.655850589, -0.271270543, -0.697423995, 0.710573077, -0.0931973383)
- Part109.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part109.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part109.Position = Vector3.new(22.5581989, 1.91144204, 46.0052795)
- Part109.Orientation = Vector3.new(15.7399998, 95.5599976, 47.0499992)
- Part109.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh110.Parent = Part109
- SpecialMesh110.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh110.MeshType = Enum.MeshType.Sphere
- SpecialMesh110.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part111.Name = "Mag"
- Part111.Parent = Tool0
- Part111.Material = Enum.Material.Metal
- Part111.BrickColor = BrickColor.new("Pastel light blue")
- Part111.Rotation = Vector3.new(0, 0, -30)
- Part111.Anchored = true
- Part111.CanCollide = false
- Part111.FormFactor = Enum.FormFactor.Custom
- Part111.Size = Vector3.new(0.200000003, 0.400000006, 0.400000006)
- Part111.CFrame = CFrame.new(23.8865967, 1.51961005, 45.6002045, 0.866025269, 0.500000238, 0, -0.500000238, 0.866025269, 0, 0, 0, 1)
- Part111.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part111.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part111.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part111.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part111.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part111.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part111.Color = Color3.new(0.686275, 0.866667, 1)
- Part111.Position = Vector3.new(23.8865967, 1.51961005, 45.6002045)
- Part111.Orientation = Vector3.new(0, 0, -30)
- Part111.Color = Color3.new(0.686275, 0.866667, 1)
- SpecialMesh112.Parent = Part111
- SpecialMesh112.MeshType = Enum.MeshType.Sphere
- Part113.Name = "Tube"
- Part113.Parent = Tool0
- Part113.Material = Enum.Material.SmoothPlastic
- Part113.BrickColor = BrickColor.new("Black")
- Part113.Rotation = Vector3.new(35, 60, -5)
- Part113.Anchored = true
- Part113.CanCollide = false
- Part113.FormFactor = Enum.FormFactor.Custom
- Part113.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part113.CFrame = CFrame.new(22.6841431, 2.13702512, 45.7144623, 0.498097062, 0.0435770936, 0.866025627, 0.423447073, 0.859328866, -0.286786854, -0.756698132, 0.509563684, 0.409576535)
- Part113.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part113.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part113.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part113.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part113.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part113.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part113.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part113.Position = Vector3.new(22.6841431, 2.13702512, 45.7144623)
- Part113.Orientation = Vector3.new(16.6700001, 64.6899948, 26.2299995)
- Part113.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh114.Parent = Part113
- SpecialMesh114.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh114.MeshType = Enum.MeshType.Sphere
- SpecialMesh114.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part115.Name = "Detail"
- Part115.Parent = Tool0
- Part115.Material = Enum.Material.Metal
- Part115.BrickColor = BrickColor.new("Dark stone grey")
- Part115.Rotation = Vector3.new(-180, 0, 120)
- Part115.Anchored = true
- Part115.CanCollide = false
- Part115.FormFactor = Enum.FormFactor.Custom
- Part115.Size = Vector3.new(0.400000036, 0.200000003, 0.400000006)
- Part115.CFrame = CFrame.new(23.7999878, 1.56961, 45.6002045, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part115.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part115.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part115.Position = Vector3.new(23.7999878, 1.56961, 45.6002045)
- Part115.Orientation = Vector3.new(0, 180, -60)
- Part115.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh116.Parent = Part115
- CylinderMesh116.Scale = Vector3.new(1.10000002, 0.5, 1.10000002)
- CylinderMesh116.Scale = Vector3.new(1.10000002, 0.5, 1.10000002)
- Part117.Name = "Detail"
- Part117.Parent = Tool0
- Part117.Material = Enum.Material.Metal
- Part117.BrickColor = BrickColor.new("Dark stone grey")
- Part117.Rotation = Vector3.new(-180, 0, 120)
- Part117.Anchored = true
- Part117.CanCollide = false
- Part117.FormFactor = Enum.FormFactor.Custom
- Part117.Size = Vector3.new(0.800000012, 0.200000003, 0.800000012)
- Part117.CFrame = CFrame.new(22.9803772, 1.38999605, 45.4002228, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part117.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part117.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part117.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part117.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part117.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part117.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part117.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part117.Position = Vector3.new(22.9803772, 1.38999605, 45.4002228)
- Part117.Orientation = Vector3.new(0, 180, -60)
- Part117.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh118.Parent = Part117
- CylinderMesh118.Scale = Vector3.new(1.04999995, 0.600000024, 1.5)
- CylinderMesh118.Scale = Vector3.new(1.04999995, 0.600000024, 1.5)
- Part119.Name = "Tube"
- Part119.Parent = Tool0
- Part119.Material = Enum.Material.SmoothPlastic
- Part119.BrickColor = BrickColor.new("Black")
- Part119.Rotation = Vector3.new(38.3199997, -46.2199974, -97.3899994)
- Part119.Anchored = true
- Part119.CanCollide = false
- Part119.FormFactor = Enum.FormFactor.Custom
- Part119.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
- Part119.CFrame = CFrame.new(22.8357849, 1.11572003, 46.4872894, -0.0889890417, 0.686199963, -0.72194922, -0.720455348, -0.544842422, -0.429058254, -0.68776834, 0.481950611, 0.542861342)
- Part119.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part119.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part119.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part119.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part119.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part119.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part119.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part119.Position = Vector3.new(22.8357849, 1.11572003, 46.4872894)
- Part119.Orientation = Vector3.new(25.4099998, -53.0599976, -127.099998)
- Part119.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh120.Parent = Part119
- CylinderMesh120.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh120.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part121.Name = "Tube"
- Part121.Parent = Tool0
- Part121.Material = Enum.Material.SmoothPlastic
- Part121.BrickColor = BrickColor.new("Black")
- Part121.Rotation = Vector3.new(-141.679993, 46.2199974, -172.610001)
- Part121.Anchored = true
- Part121.CanCollide = false
- Part121.FormFactor = Enum.FormFactor.Custom
- Part121.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part121.CFrame = CFrame.new(22.6985474, 1.22465897, 46.3908386, -0.686200917, 0.088989079, 0.721948326, 0.544841945, 0.720455289, 0.429058939, -0.481949925, 0.68776834, -0.542862058)
- Part121.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part121.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part121.Position = Vector3.new(22.6985474, 1.22465897, 46.3908386)
- Part121.Orientation = Vector3.new(-25.4099998, 126.939995, 37.0999985)
- Part121.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh122.Parent = Part121
- SpecialMesh122.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh122.MeshType = Enum.MeshType.Sphere
- SpecialMesh122.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part123.Name = "Tube"
- Part123.Parent = Tool0
- Part123.Material = Enum.Material.SmoothPlastic
- Part123.BrickColor = BrickColor.new("Black")
- Part123.Rotation = Vector3.new(165, 35, 120)
- Part123.Anchored = true
- Part123.CanCollide = false
- Part123.FormFactor = Enum.FormFactor.Custom
- Part123.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part123.CFrame = CFrame.new(24.0928345, 0.516793013, 45.4002075, -0.409576088, -0.709406495, 0.57357645, -0.910742521, 0.354399264, -0.212012231, -0.0528722554, -0.609215617, -0.791240096)
- Part123.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part123.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part123.Position = Vector3.new(24.0928345, 0.516793013, 45.4002075)
- Part123.Orientation = Vector3.new(12.2399998, 144.059998, -68.7399979)
- Part123.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh124.Parent = Part123
- SpecialMesh124.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh124.MeshType = Enum.MeshType.Sphere
- SpecialMesh124.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part125.Name = "Tube"
- Part125.Parent = Tool0
- Part125.Material = Enum.Material.SmoothPlastic
- Part125.BrickColor = BrickColor.new("Black")
- Part125.Rotation = Vector3.new(136.410004, 67.4700012, 142.800003)
- Part125.Anchored = true
- Part125.CanCollide = false
- Part125.FormFactor = Enum.FormFactor.Custom
- Part125.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part125.CFrame = CFrame.new(24.2347107, 0.445914, 45.5220642, -0.305171013, -0.231679425, 0.92368573, -0.945223212, 0.191700548, -0.264204234, -0.115860403, -0.953716695, -0.277490228)
- Part125.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part125.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part125.Position = Vector3.new(24.2347107, 0.445914, 45.5220642)
- Part125.Orientation = Vector3.new(15.3199997, 106.720001, -78.5400009)
- Part125.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh126.Parent = Part125
- SpecialMesh126.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh126.MeshType = Enum.MeshType.Sphere
- SpecialMesh126.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part127.Name = "Grip"
- Part127.Parent = Tool0
- Part127.Material = Enum.Material.Metal
- Part127.BrickColor = BrickColor.new("Black")
- Part127.Rotation = Vector3.new(-180, 0, 0)
- Part127.Anchored = true
- Part127.CanCollide = false
- Part127.FormFactor = Enum.FormFactor.Custom
- Part127.Size = Vector3.new(0.539999962, 0.200000003, 0.200000003)
- Part127.CFrame = CFrame.new(22.8899536, 1.68995798, 46.3000641, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part127.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part127.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part127.Position = Vector3.new(22.8899536, 1.68995798, 46.3000641)
- Part127.Orientation = Vector3.new(0, 180, 180)
- Part127.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh128.Parent = Part127
- BlockMesh128.Scale = Vector3.new(1, 0.400000006, 0.800000012)
- BlockMesh128.Scale = Vector3.new(1, 0.400000006, 0.800000012)
- Part129.Name = "Metal"
- Part129.Parent = Tool0
- Part129.Material = Enum.Material.Metal
- Part129.BrickColor = BrickColor.new("Mid gray")
- Part129.Rotation = Vector3.new(90, -90, 0)
- Part129.Anchored = true
- Part129.CanCollide = false
- Part129.FormFactor = Enum.FormFactor.Custom
- Part129.Size = Vector3.new(0.600000024, 0.200000003, 0.600000024)
- Part129.CFrame = CFrame.new(23.5, 1.189996, 46.900177, 0, 0, -1, -1, 0, 0, 0, 1, 0)
- Part129.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part129.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part129.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part129.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part129.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part129.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part129.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part129.Position = Vector3.new(23.5, 1.189996, 46.900177)
- Part129.Orientation = Vector3.new(0, -90, -90)
- Part129.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh130.Parent = Part129
- CylinderMesh130.Scale = Vector3.new(1.20000005, 0.400000006, 1.20000005)
- CylinderMesh130.Scale = Vector3.new(1.20000005, 0.400000006, 1.20000005)
- Part131.Name = "Detail"
- Part131.Parent = Tool0
- Part131.Material = Enum.Material.Metal
- Part131.BrickColor = BrickColor.new("Dark stone grey")
- Part131.Rotation = Vector3.new(90, -90, 0)
- Part131.Anchored = true
- Part131.CanCollide = false
- Part131.FormFactor = Enum.FormFactor.Custom
- Part131.Size = Vector3.new(0.600000024, 0.400000036, 0.600000024)
- Part131.CFrame = CFrame.new(23.5, 1.189996, 46.7001648, 0, 0, -1, -1, 0, 0, 0, 1, 0)
- Part131.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part131.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part131.Position = Vector3.new(23.5, 1.189996, 46.7001648)
- Part131.Orientation = Vector3.new(0, -90, -90)
- Part131.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh132.Parent = Part131
- Part133.Name = "Tube"
- Part133.Parent = Tool0
- Part133.Material = Enum.Material.SmoothPlastic
- Part133.BrickColor = BrickColor.new("Black")
- Part133.Rotation = Vector3.new(143.220001, 47.0299988, 99.8399963)
- Part133.Anchored = true
- Part133.CanCollide = false
- Part133.FormFactor = Enum.FormFactor.Custom
- Part133.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part133.CFrame = CFrame.new(24.5770264, 0.525196016, 46.0905457, -0.116509013, -0.671542883, 0.731748581, -0.864068091, -0.29473719, -0.408064216, 0.489706069, -0.679823697, -0.54591924)
- Part133.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part133.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part133.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part133.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part133.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part133.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part133.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part133.Position = Vector3.new(24.5770264, 0.525196016, 46.0905457)
- Part133.Orientation = Vector3.new(24.0799999, 126.719994, -108.829994)
- Part133.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh134.Parent = Part133
- CylinderMesh134.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh134.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part135.Name = "Tube"
- Part135.Parent = Tool0
- Part135.Material = Enum.Material.SmoothPlastic
- Part135.BrickColor = BrickColor.new("Black")
- Part135.Rotation = Vector3.new(-40.3699989, -58.0099983, -26.8499985)
- Part135.Anchored = true
- Part135.CanCollide = false
- Part135.FormFactor = Enum.FormFactor.Custom
- Part135.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part135.CFrame = CFrame.new(24.3755798, 0.436780989, 45.8866119, 0.472708762, 0.239286005, -0.848108888, 0.146049932, 0.927843213, 0.343185812, 0.869031608, -0.286093175, 0.403651863)
- Part135.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part135.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part135.Position = Vector3.new(24.3755798, 0.436780989, 45.8866119)
- Part135.Orientation = Vector3.new(-20.0699997, -64.5499954, 8.94999981)
- Part135.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh136.Parent = Part135
- SpecialMesh136.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh136.MeshType = Enum.MeshType.Sphere
- SpecialMesh136.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part137.Name = "Tube"
- Part137.Parent = Tool0
- Part137.Material = Enum.Material.SmoothPlastic
- Part137.BrickColor = BrickColor.new("Black")
- Part137.Rotation = Vector3.new(165, 35, 120)
- Part137.Anchored = true
- Part137.CanCollide = false
- Part137.FormFactor = Enum.FormFactor.Custom
- Part137.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part137.CFrame = CFrame.new(24.1637421, 0.481350005, 45.4611359, -0.40957579, -0.709405839, 0.573577404, -0.910742581, 0.354399949, -0.21201098, -0.0528739728, -0.609215856, -0.791239858)
- Part137.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part137.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part137.Position = Vector3.new(24.1637421, 0.481350005, 45.4611359)
- Part137.Orientation = Vector3.new(12.2399998, 144.059998, -68.7399979)
- Part137.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh138.Parent = Part137
- CylinderMesh138.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh138.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part139.Name = "Tube"
- Part139.Parent = Tool0
- Part139.Material = Enum.Material.SmoothPlastic
- Part139.BrickColor = BrickColor.new("Black")
- Part139.Rotation = Vector3.new(-180, 0, 120)
- Part139.Anchored = true
- Part139.CanCollide = false
- Part139.FormFactor = Enum.FormFactor.Custom
- Part139.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part139.CFrame = CFrame.new(24.0062256, 0.566792011, 45.4002075, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part139.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part139.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part139.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part139.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part139.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part139.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part139.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part139.Position = Vector3.new(24.0062256, 0.566792011, 45.4002075)
- Part139.Orientation = Vector3.new(0, 180, -60)
- Part139.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh140.Parent = Part139
- CylinderMesh140.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh140.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part141.Name = "Metal"
- Part141.Parent = Tool0
- Part141.Material = Enum.Material.Metal
- Part141.BrickColor = BrickColor.new("Mid gray")
- Part141.Rotation = Vector3.new(180, 0, 90)
- Part141.Anchored = true
- Part141.CanCollide = false
- Part141.FormFactor = Enum.FormFactor.Custom
- Part141.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part141.CFrame = CFrame.new(22.8999939, 1.13999605, 46.4701691, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part141.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part141.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part141.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part141.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part141.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part141.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part141.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part141.Position = Vector3.new(22.8999939, 1.13999605, 46.4701691)
- Part141.Orientation = Vector3.new(0, -180, -90)
- Part141.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh142.Parent = Part141
- Part143.Name = "Tube"
- Part143.Parent = Tool0
- Part143.Material = Enum.Material.SmoothPlastic
- Part143.BrickColor = BrickColor.new("Black")
- Part143.Rotation = Vector3.new(-14, -55.9799995, -161.729996)
- Part143.Anchored = true
- Part143.CanCollide = false
- Part143.FormFactor = Enum.FormFactor.Custom
- Part143.Size = Vector3.new(0.200000003, 0.800000012, 0.200000003)
- Part143.CFrame = CFrame.new(22.6283722, 1.56807005, 46.1980896, -0.531269133, 0.175441235, -0.828838646, -0.494700104, -0.858453989, 0.135382965, -0.687768161, 0.481951356, 0.542860866)
- Part143.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part143.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part143.Position = Vector3.new(22.6283722, 1.56807005, 46.1980896)
- Part143.Orientation = Vector3.new(-7.77999973, -56.7799988, -150.050003)
- Part143.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh144.Parent = Part143
- CylinderMesh144.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh144.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part145.Name = "Tube"
- Part145.Parent = Tool0
- Part145.Material = Enum.Material.SmoothPlastic
- Part145.BrickColor = BrickColor.new("Black")
- Part145.Rotation = Vector3.new(166, 55.9799995, -108.279999)
- Part145.Anchored = true
- Part145.CanCollide = false
- Part145.FormFactor = Enum.FormFactor.Custom
- Part145.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part145.CFrame = CFrame.new(22.6985474, 1.22467601, 46.3908386, -0.175444052, 0.531269014, 0.82883817, 0.858454168, 0.494700611, -0.135380358, -0.481950104, 0.687767863, -0.542862296)
- Part145.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part145.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part145.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part145.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part145.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part145.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part145.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part145.Position = Vector3.new(22.6985474, 1.22467601, 46.3908386)
- Part145.Orientation = Vector3.new(7.77999973, 123.219994, 60.0499992)
- Part145.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh146.Parent = Part145
- SpecialMesh146.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh146.MeshType = Enum.MeshType.Sphere
- SpecialMesh146.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part147.Name = "Mag"
- Part147.Parent = Tool0
- Part147.Material = Enum.Material.Metal
- Part147.BrickColor = BrickColor.new("Bright red")
- Part147.Rotation = Vector3.new(-180, 0, 120)
- Part147.Anchored = true
- Part147.CanCollide = false
- Part147.FormFactor = Enum.FormFactor.Custom
- Part147.Size = Vector3.new(0.800000012, 1.4000001, 0.800000012)
- Part147.CFrame = CFrame.new(23.4133911, 1.13999605, 45.4002075, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part147.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part147.Color = Color3.new(0.768628, 0.156863, 0.109804)
- Part147.Position = Vector3.new(23.4133911, 1.13999605, 45.4002075)
- Part147.Orientation = Vector3.new(0, 180, -60)
- Part147.Color = Color3.new(0.768628, 0.156863, 0.109804)
- CylinderMesh148.Parent = Part147
- Part149.Name = "Detail"
- Part149.Parent = Tool0
- Part149.Material = Enum.Material.Metal
- Part149.BrickColor = BrickColor.new("Dark stone grey")
- Part149.Rotation = Vector3.new(-35, 0, 0)
- Part149.Anchored = true
- Part149.CanCollide = false
- Part149.FormFactor = Enum.FormFactor.Custom
- Part149.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part149.CFrame = CFrame.new(23.4999847, 1.73574197, 46.1280975, 1, 0, 0, 0, 0.819151819, 0.573576868, 0, -0.573576868, 0.819151819)
- Part149.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part149.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part149.Position = Vector3.new(23.4999847, 1.73574197, 46.1280975)
- Part149.Orientation = Vector3.new(-35, 0, 0)
- Part149.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh150.Parent = Part149
- BlockMesh150.Scale = Vector3.new(1, 1, 0.150000006)
- BlockMesh150.Scale = Vector3.new(1, 1, 0.150000006)
- Part151.Name = "Tube"
- Part151.Parent = Tool0
- Part151.Material = Enum.Material.SmoothPlastic
- Part151.BrickColor = BrickColor.new("Black")
- Part151.Rotation = Vector3.new(-180, 0, 120)
- Part151.Anchored = true
- Part151.CanCollide = false
- Part151.FormFactor = Enum.FormFactor.Custom
- Part151.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part151.CFrame = CFrame.new(22.93396, 2.06961012, 45.6002045, -0.500000298, -0.866025388, 0, -0.866025388, 0.500000298, 0, 0, 0, -1)
- Part151.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part151.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part151.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part151.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part151.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part151.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part151.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part151.Position = Vector3.new(22.93396, 2.06961012, 45.6002045)
- Part151.Orientation = Vector3.new(0, 180, -60)
- Part151.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh152.Parent = Part151
- CylinderMesh152.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh152.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part153.Name = "Tube"
- Part153.Parent = Tool0
- Part153.Material = Enum.Material.SmoothPlastic
- Part153.BrickColor = BrickColor.new("Black")
- Part153.Rotation = Vector3.new(136.399994, 67.4700012, 142.800003)
- Part153.Anchored = true
- Part153.CanCollide = false
- Part153.FormFactor = Enum.FormFactor.Custom
- Part153.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part153.CFrame = CFrame.new(24.2578449, 0.426735997, 45.6174316, -0.305177152, -0.231680334, 0.923683465, -0.945221484, 0.191701338, -0.264210194, -0.115859054, -0.953716397, -0.277492106)
- Part153.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part153.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part153.Position = Vector3.new(24.2578449, 0.426735997, 45.6174316)
- Part153.Orientation = Vector3.new(15.3199997, 106.720001, -78.5400009)
- Part153.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh154.Parent = Part153
- CylinderMesh154.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh154.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part155.Name = "Tube"
- Part155.Parent = Tool0
- Part155.Material = Enum.Material.SmoothPlastic
- Part155.BrickColor = BrickColor.new("Black")
- Part155.Rotation = Vector3.new(-145, -60, 95)
- Part155.Anchored = true
- Part155.CanCollide = false
- Part155.FormFactor = Enum.FormFactor.Custom
- Part155.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part155.CFrame = CFrame.new(22.5845184, 2.05233312, 45.865799, -0.0435778797, -0.49809733, -0.866025448, -0.859328032, -0.423447788, 0.286788195, -0.509564996, 0.756697476, -0.409575999)
- Part155.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part155.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part155.Position = Vector3.new(22.5845184, 2.05233312, 45.865799)
- Part155.Orientation = Vector3.new(-16.6700001, -115.309998, -116.229996)
- Part155.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh156.Parent = Part155
- SpecialMesh156.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh156.MeshType = Enum.MeshType.Sphere
- SpecialMesh156.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part157.Name = "Tube"
- Part157.Parent = Tool0
- Part157.Material = Enum.Material.SmoothPlastic
- Part157.BrickColor = BrickColor.new("Black")
- Part157.Rotation = Vector3.new(0, 0, -30)
- Part157.Anchored = true
- Part157.CanCollide = false
- Part157.FormFactor = Enum.FormFactor.Custom
- Part157.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part157.CFrame = CFrame.new(24.0928345, 0.516793013, 45.4002075, 0.866025269, 0.500000238, 0, -0.500000238, 0.866025269, 0, 0, 0, 1)
- Part157.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part157.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part157.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part157.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part157.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part157.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part157.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part157.Position = Vector3.new(24.0928345, 0.516793013, 45.4002075)
- Part157.Orientation = Vector3.new(0, 0, -30)
- Part157.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh158.Parent = Part157
- SpecialMesh158.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh158.MeshType = Enum.MeshType.Sphere
- SpecialMesh158.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part159.Name = "Tube"
- Part159.Parent = Tool0
- Part159.Material = Enum.Material.SmoothPlastic
- Part159.BrickColor = BrickColor.new("Black")
- Part159.Rotation = Vector3.new(-180, -35, 95)
- Part159.Anchored = true
- Part159.CanCollide = false
- Part159.FormFactor = Enum.FormFactor.Custom
- Part159.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part159.CFrame = CFrame.new(22.7657471, 2.12832403, 45.6573334, -0.0713939816, -0.816034913, -0.57357651, -0.99619478, 0.0871556029, 5.16581906e-07, 0.0499899872, 0.571393967, -0.819152057)
- Part159.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part159.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part159.Position = Vector3.new(22.7657471, 2.12832403, 45.6573334)
- Part159.Orientation = Vector3.new(0, -145, -85)
- Part159.Color = Color3.new(0.105882, 0.164706, 0.207843)
- CylinderMesh160.Parent = Part159
- CylinderMesh160.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- CylinderMesh160.Scale = Vector3.new(0.600000024, 1, 0.600000024)
- Part161.Name = "Mag"
- Part161.Parent = Tool0
- Part161.Material = Enum.Material.Metal
- Part161.BrickColor = BrickColor.new("Mid gray")
- Part161.Rotation = Vector3.new(-180, 0, 120)
- Part161.Anchored = true
- Part161.CanCollide = false
- Part161.FormFactor = Enum.FormFactor.Custom
- Part161.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part161.CFrame = CFrame.new(23.1071625, 1.96960998, 45.6002045, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part161.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part161.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part161.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part161.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part161.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part161.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part161.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part161.Position = Vector3.new(23.1071625, 1.96960998, 45.6002045)
- Part161.Orientation = Vector3.new(0, 180, -60)
- Part161.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh162.Parent = Part161
- Part163.Name = "Metal"
- Part163.Parent = Tool0
- Part163.Material = Enum.Material.Metal
- Part163.BrickColor = BrickColor.new("Mid gray")
- Part163.Rotation = Vector3.new(-180, 0, 120)
- Part163.Anchored = true
- Part163.CanCollide = false
- Part163.FormFactor = Enum.FormFactor.Custom
- Part163.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part163.CFrame = CFrame.new(23.8330078, 0.666790009, 45.4002075, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part163.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part163.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part163.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part163.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part163.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part163.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part163.Color = Color3.new(0.803922, 0.803922, 0.803922)
- Part163.Position = Vector3.new(23.8330078, 0.666790009, 45.4002075)
- Part163.Orientation = Vector3.new(0, 180, -60)
- Part163.Color = Color3.new(0.803922, 0.803922, 0.803922)
- CylinderMesh164.Parent = Part163
- CylinderMesh164.Scale = Vector3.new(1, 1.29999995, 1)
- CylinderMesh164.Scale = Vector3.new(1, 1.29999995, 1)
- Part165.Name = "Mag"
- Part165.Parent = Tool0
- Part165.Material = Enum.Material.Metal
- Part165.BrickColor = BrickColor.new("Pastel light blue")
- Part165.Rotation = Vector3.new(0, 0, -30)
- Part165.Anchored = true
- Part165.CanCollide = false
- Part165.FormFactor = Enum.FormFactor.Custom
- Part165.Size = Vector3.new(0.200000003, 0.400000006, 0.400000006)
- Part165.CFrame = CFrame.new(23.1937561, 1.91960895, 45.6002045, 0.866025269, 0.500000238, 0, -0.500000238, 0.866025269, 0, 0, 0, 1)
- Part165.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part165.Color = Color3.new(0.686275, 0.866667, 1)
- Part165.Position = Vector3.new(23.1937561, 1.91960895, 45.6002045)
- Part165.Orientation = Vector3.new(0, 0, -30)
- Part165.Color = Color3.new(0.686275, 0.866667, 1)
- SpecialMesh166.Parent = Part165
- SpecialMesh166.MeshType = Enum.MeshType.Sphere
- Part167.Name = "Mag"
- Part167.Parent = Tool0
- Part167.Material = Enum.Material.Metal
- Part167.BrickColor = BrickColor.new("Pastel light blue")
- Part167.Rotation = Vector3.new(-180, 0, 120)
- Part167.Anchored = true
- Part167.CanCollide = false
- Part167.FormFactor = Enum.FormFactor.Custom
- Part167.Size = Vector3.new(0.400000036, 0.800000072, 0.400000006)
- Part167.CFrame = CFrame.new(23.5401764, 1.71960998, 45.6002045, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part167.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part167.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part167.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part167.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part167.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part167.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part167.Color = Color3.new(0.686275, 0.866667, 1)
- Part167.Position = Vector3.new(23.5401764, 1.71960998, 45.6002045)
- Part167.Orientation = Vector3.new(0, 180, -60)
- Part167.Color = Color3.new(0.686275, 0.866667, 1)
- CylinderMesh168.Parent = Part167
- Part169.Name = "Tube"
- Part169.Parent = Tool0
- Part169.Material = Enum.Material.SmoothPlastic
- Part169.BrickColor = BrickColor.new("Black")
- Part169.Rotation = Vector3.new(139.62999, 58.0099983, 116.849998)
- Part169.Anchored = true
- Part169.CanCollide = false
- Part169.FormFactor = Enum.FormFactor.Custom
- Part169.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part169.CFrame = CFrame.new(24.2810364, 0.407572001, 45.7128143, -0.239278033, -0.472705692, 0.848112822, -0.927844048, -0.146058172, -0.343179852, 0.286096871, -0.869031787, -0.403648674)
- Part169.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part169.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part169.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part169.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part169.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part169.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part169.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part169.Position = Vector3.new(24.2810364, 0.407572001, 45.7128143)
- Part169.Orientation = Vector3.new(20.0699997, 115.449997, -98.9499969)
- Part169.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh170.Parent = Part169
- SpecialMesh170.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh170.MeshType = Enum.MeshType.Sphere
- SpecialMesh170.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part171.Name = "Detail"
- Part171.Parent = Tool0
- Part171.Material = Enum.Material.Metal
- Part171.BrickColor = BrickColor.new("Dark stone grey")
- Part171.Rotation = Vector3.new(-180, 0, 120)
- Part171.Anchored = true
- Part171.CanCollide = false
- Part171.FormFactor = Enum.FormFactor.Custom
- Part171.Size = Vector3.new(0.400000036, 0.200000003, 0.400000006)
- Part171.CFrame = CFrame.new(23.2803631, 1.869609, 45.6002045, -0.500000238, -0.866025388, 0, -0.866025388, 0.500000238, 0, 0, 0, -1)
- Part171.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part171.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part171.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part171.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part171.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part171.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part171.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part171.Position = Vector3.new(23.2803631, 1.869609, 45.6002045)
- Part171.Orientation = Vector3.new(0, 180, -60)
- Part171.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh172.Parent = Part171
- CylinderMesh172.Scale = Vector3.new(1.10000002, 0.5, 1.10000002)
- CylinderMesh172.Scale = Vector3.new(1.10000002, 0.5, 1.10000002)
- Part173.Name = "Tube"
- Part173.Parent = Tool0
- Part173.Material = Enum.Material.SmoothPlastic
- Part173.BrickColor = BrickColor.new("Black")
- Part173.Rotation = Vector3.new(0, 0, -30)
- Part173.Anchored = true
- Part173.CanCollide = false
- Part173.FormFactor = Enum.FormFactor.Custom
- Part173.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part173.CFrame = CFrame.new(22.8473511, 2.11960912, 45.6001892, 0.866025329, 0.500000179, -3.37950929e-08, -0.500000238, 0.866025388, 1.06985254e-09, 1.22690587e-08, -1.32650975e-08, 1)
- Part173.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part173.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part173.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part173.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part173.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part173.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part173.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part173.Position = Vector3.new(22.8473511, 2.11960912, 45.6001892)
- Part173.Orientation = Vector3.new(0, 0, -30)
- Part173.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh174.Parent = Part173
- SpecialMesh174.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh174.MeshType = Enum.MeshType.Sphere
- SpecialMesh174.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part175.Name = "Tube"
- Part175.Parent = Tool0
- Part175.Material = Enum.Material.SmoothPlastic
- Part175.BrickColor = BrickColor.new("Black")
- Part175.Rotation = Vector3.new(0, 35, -5)
- Part175.Anchored = true
- Part175.CanCollide = false
- Part175.FormFactor = Enum.FormFactor.Custom
- Part175.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part175.CFrame = CFrame.new(22.8473511, 2.1195941, 45.6001892, 0.816034794, 0.0713938177, 0.57357657, -0.0871559754, 0.996194661, 3.00977092e-07, -0.571393907, -0.0499908738, 0.819151998)
- Part175.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part175.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part175.Position = Vector3.new(22.8473511, 2.1195941, 45.6001892)
- Part175.Orientation = Vector3.new(0, 35, -5)
- Part175.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh176.Parent = Part175
- SpecialMesh176.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh176.MeshType = Enum.MeshType.Sphere
- SpecialMesh176.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- ParticleEmitter177.Name = "Dust"
- ParticleEmitter177.Parent = mas
- ParticleEmitter177.Transparency = NumberSequence.new(0,1)
- ParticleEmitter177.Size = NumberSequence.new(0.050000000745058,0.050000000745058)
- ParticleEmitter177.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter177.LightEmission = 1
- ParticleEmitter177.Texture = "http://www.roblox.com/asset/?id=278539903"
- ParticleEmitter177.ZOffset = 1
- ParticleEmitter177.Lifetime = NumberRange.new(0.20000000298023, 0.5)
- ParticleEmitter177.Rate = 50
- ParticleEmitter177.Speed = NumberRange.new(0.30000001192093, 1)
- ParticleEmitter177.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter178.Name = "Fire"
- ParticleEmitter178.Parent = mas
- ParticleEmitter178.Transparency = NumberSequence.new(0,0.28749996423721,1)
- ParticleEmitter178.Rotation = NumberRange.new(-45, -45)
- ParticleEmitter178.Size = NumberSequence.new(0.050000000745058,0.050000000745058)
- ParticleEmitter178.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0, 0.666667, 1))
- ParticleEmitter178.LightEmission = 1
- ParticleEmitter178.Texture = "http://www.roblox.com/asset/?id=241936182"
- ParticleEmitter178.ZOffset = 1
- ParticleEmitter178.Lifetime = NumberRange.new(0.10000000149012, 0.30000001192093)
- ParticleEmitter178.Rate = 50
- ParticleEmitter178.Speed = NumberRange.new(0.30000001192093, 1)
- ParticleEmitter178.Color = ColorSequence.new(Color3.new(0.666667, 1, 1),Color3.new(0, 0.666667, 1))
- Part179.Name = "Barrel"
- Part179.Parent = Tool0
- Part179.Material = Enum.Material.Neon
- Part179.BrickColor = BrickColor.new("Really black")
- Part179.Rotation = Vector3.new(0, 0, -20)
- Part179.Anchored = true
- Part179.CanCollide = false
- Part179.FormFactor = Enum.FormFactor.Custom
- Part179.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part179.CFrame = CFrame.new(27.7342072, 0.683966994, 46.3001709, 0.939692736, 0.342019826, 0, -0.342019826, 0.939692736, 0, 0, 0, 1)
- Part179.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part179.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part179.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part179.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part179.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part179.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part179.Position = Vector3.new(27.7342072, 0.683966994, 46.3001709)
- Part179.Orientation = Vector3.new(0, 0, -20)
- Part179.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh180.Parent = Part179
- CylinderMesh180.Scale = Vector3.new(0.5, 1.00999999, 0.5)
- CylinderMesh180.Scale = Vector3.new(0.5, 1.00999999, 0.5)
- Part181.Name = "Camo"
- Part181.Parent = Tool0
- Part181.Material = Enum.Material.Metal
- Part181.BrickColor = BrickColor.new("Dusty Rose")
- Part181.Anchored = true
- Part181.CanCollide = false
- Part181.FormFactor = Enum.FormFactor.Custom
- Part181.Size = Vector3.new(0.200000003, 1, 1)
- Part181.CFrame = CFrame.new(22.8999939, 1.189996, 46.3001709, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part181.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part181.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part181.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part181.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part181.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part181.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part181.Color = Color3.new(0.639216, 0.294118, 0.294118)
- Part181.Position = Vector3.new(22.8999939, 1.189996, 46.3001709)
- Part181.Color = Color3.new(0.639216, 0.294118, 0.294118)
- SpecialMesh182.Parent = Part181
- SpecialMesh182.MeshType = Enum.MeshType.Sphere
- Part183.Name = "Detail"
- Part183.Parent = Tool0
- Part183.Material = Enum.Material.Metal
- Part183.BrickColor = BrickColor.new("Dark stone grey")
- Part183.Rotation = Vector3.new(180, 0, 90)
- Part183.Anchored = true
- Part183.CanCollide = false
- Part183.FormFactor = Enum.FormFactor.Custom
- Part183.Size = Vector3.new(0.200000003, 0.400000006, 0.200000003)
- Part183.CFrame = CFrame.new(23.2000122, 0.58999902, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part183.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part183.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part183.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part183.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part183.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part183.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part183.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part183.Position = Vector3.new(23.2000122, 0.58999902, 46.3001709)
- Part183.Orientation = Vector3.new(0, -180, -90)
- Part183.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh184.Parent = Part183
- Part185.Name = "Detail"
- Part185.Parent = Tool0
- Part185.Material = Enum.Material.Metal
- Part185.BrickColor = BrickColor.new("Dark stone grey")
- Part185.Rotation = Vector3.new(180, 0, 90)
- Part185.Anchored = true
- Part185.CanCollide = false
- Part185.FormFactor = Enum.FormFactor.Custom
- Part185.Size = Vector3.new(0.200000003, 3, 0.200000003)
- Part185.CFrame = CFrame.new(25.6999817, 0.989997029, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part185.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part185.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part185.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part185.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part185.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part185.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part185.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part185.Position = Vector3.new(25.6999817, 0.989997029, 46.3001709)
- Part185.Orientation = Vector3.new(0, -180, -90)
- Part185.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh186.Parent = Part185
- Part187.Name = "Detail"
- Part187.Parent = Tool0
- Part187.Material = Enum.Material.Metal
- Part187.BrickColor = BrickColor.new("Dark stone grey")
- Part187.Rotation = Vector3.new(180, 0, 90)
- Part187.Anchored = true
- Part187.CanCollide = false
- Part187.FormFactor = Enum.FormFactor.Custom
- Part187.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part187.CFrame = CFrame.new(27.1999817, 0.989997029, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part187.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part187.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part187.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part187.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part187.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part187.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part187.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part187.Position = Vector3.new(27.1999817, 0.989997029, 46.3001709)
- Part187.Orientation = Vector3.new(0, -180, -90)
- Part187.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh188.Parent = Part187
- CylinderMesh188.Scale = Vector3.new(1.29999995, 1, 1.29999995)
- CylinderMesh188.Scale = Vector3.new(1.29999995, 1, 1.29999995)
- Part189.Name = "Detail"
- Part189.Parent = Tool0
- Part189.Material = Enum.Material.Metal
- Part189.BrickColor = BrickColor.new("Dark stone grey")
- Part189.Anchored = true
- Part189.CanCollide = false
- Part189.FormFactor = Enum.FormFactor.Custom
- Part189.Size = Vector3.new(0.200000033, 0.400000006, 0.200000003)
- Part189.CFrame = CFrame.new(26.6999817, 0.789997995, 46.3001556, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part189.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part189.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part189.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part189.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part189.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part189.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part189.Position = Vector3.new(26.6999817, 0.789997995, 46.3001556)
- Part189.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh190.Parent = Part189
- BlockMesh190.Scale = Vector3.new(0.600000024, 1, 0.300000012)
- BlockMesh190.Scale = Vector3.new(0.600000024, 1, 0.300000012)
- Part191.Name = "Detail"
- Part191.Parent = Tool0
- Part191.Material = Enum.Material.Metal
- Part191.BrickColor = BrickColor.new("Dark stone grey")
- Part191.Anchored = true
- Part191.CanCollide = false
- Part191.FormFactor = Enum.FormFactor.Custom
- Part191.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003)
- Part191.CFrame = CFrame.new(23.1999969, 0.689997971, 46.3001556, 1, 0, 0, 0, 1, 0, 0, 0, 1)
- Part191.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part191.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part191.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part191.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part191.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part191.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part191.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part191.Position = Vector3.new(23.1999969, 0.689997971, 46.3001556)
- Part191.Color = Color3.new(0.388235, 0.372549, 0.384314)
- BlockMesh192.Parent = Part191
- Part193.Name = "Tube"
- Part193.Parent = Tool0
- Part193.Material = Enum.Material.SmoothPlastic
- Part193.BrickColor = BrickColor.new("Black")
- Part193.Rotation = Vector3.new(180, -35, 95)
- Part193.Anchored = true
- Part193.CanCollide = false
- Part193.FormFactor = Enum.FormFactor.Custom
- Part193.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part193.CFrame = CFrame.new(22.6841431, 2.13702512, 45.7144623, -0.0713938251, -0.816034973, -0.57357645, -0.99619472, 0.0871558189, -7.1612547e-08, 0.0499905795, 0.571393847, -0.819152057)
- Part193.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part193.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part193.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part193.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part193.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part193.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part193.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part193.Position = Vector3.new(22.6841431, 2.13702512, 45.7144623)
- Part193.Orientation = Vector3.new(0, -145, -85)
- Part193.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh194.Parent = Part193
- SpecialMesh194.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh194.MeshType = Enum.MeshType.Sphere
- SpecialMesh194.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part195.Name = "Grip"
- Part195.Parent = Tool0
- Part195.Material = Enum.Material.Metal
- Part195.BrickColor = BrickColor.new("Black")
- Part195.Rotation = Vector3.new(-180, 0, 0)
- Part195.Anchored = true
- Part195.CanCollide = false
- Part195.FormFactor = Enum.FormFactor.Custom
- Part195.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003)
- Part195.CFrame = CFrame.new(22.7399731, 2.06998205, 46.3000793, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part195.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part195.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part195.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part195.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part195.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part195.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part195.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part195.Position = Vector3.new(22.7399731, 2.06998205, 46.3000793)
- Part195.Orientation = Vector3.new(0, 180, 180)
- Part195.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh196.Parent = Part195
- BlockMesh196.Scale = Vector3.new(1.20000005, 1, 0.800000012)
- BlockMesh196.Scale = Vector3.new(1.20000005, 1, 0.800000012)
- WedgePart197.Name = "Grip"
- WedgePart197.Parent = Tool0
- WedgePart197.Material = Enum.Material.Metal
- WedgePart197.BrickColor = BrickColor.new("Black")
- WedgePart197.Rotation = Vector3.new(180, 90, 0)
- WedgePart197.Anchored = true
- WedgePart197.CanCollide = false
- WedgePart197.FormFactor = Enum.FormFactor.Custom
- WedgePart197.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- WedgePart197.CFrame = CFrame.new(22.5999908, 1.80996895, 46.3000641, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- WedgePart197.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart197.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart197.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart197.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart197.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart197.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart197.Color = Color3.new(0.105882, 0.164706, 0.207843)
- WedgePart197.Position = Vector3.new(22.5999908, 1.80996895, 46.3000641)
- WedgePart197.Orientation = Vector3.new(0, 90, 180)
- WedgePart197.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh198.Parent = WedgePart197
- SpecialMesh198.Scale = Vector3.new(0.800000012, 1.60000002, 0.200000003)
- SpecialMesh198.MeshType = Enum.MeshType.Wedge
- SpecialMesh198.Scale = Vector3.new(0.800000012, 1.60000002, 0.200000003)
- WedgePart199.Name = "Grip"
- WedgePart199.Parent = Tool0
- WedgePart199.Material = Enum.Material.Metal
- WedgePart199.BrickColor = BrickColor.new("Black")
- WedgePart199.Rotation = Vector3.new(0, -90, 0)
- WedgePart199.Anchored = true
- WedgePart199.CanCollide = false
- WedgePart199.FormFactor = Enum.FormFactor.Custom
- WedgePart199.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- WedgePart199.CFrame = CFrame.new(22.8900146, 1.79998803, 46.3001404, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- WedgePart199.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart199.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart199.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart199.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart199.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart199.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart199.Color = Color3.new(0.105882, 0.164706, 0.207843)
- WedgePart199.Position = Vector3.new(22.8900146, 1.79998803, 46.3001404)
- WedgePart199.Orientation = Vector3.new(0, -90, 0)
- WedgePart199.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh200.Parent = WedgePart199
- SpecialMesh200.Scale = Vector3.new(0.800000012, 0.300000012, 0.300000012)
- SpecialMesh200.MeshType = Enum.MeshType.Wedge
- SpecialMesh200.Scale = Vector3.new(0.800000012, 0.300000012, 0.300000012)
- Part201.Name = "Grip"
- Part201.Parent = Tool0
- Part201.Material = Enum.Material.Metal
- Part201.BrickColor = BrickColor.new("Black")
- Part201.Rotation = Vector3.new(-180, 0, 0)
- Part201.Anchored = true
- Part201.CanCollide = false
- Part201.FormFactor = Enum.FormFactor.Custom
- Part201.Size = Vector3.new(0.200000003, 0.400000036, 0.200000003)
- Part201.CFrame = CFrame.new(22.5999603, 2.17000294, 46.3000488, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part201.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part201.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part201.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part201.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part201.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part201.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part201.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part201.Position = Vector3.new(22.5999603, 2.17000294, 46.3000488)
- Part201.Orientation = Vector3.new(0, 180, 180)
- Part201.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh202.Parent = Part201
- BlockMesh202.Scale = Vector3.new(0.200000003, 1, 0.800000012)
- BlockMesh202.Scale = Vector3.new(0.200000003, 1, 0.800000012)
- Part203.Name = "Grip"
- Part203.Parent = Tool0
- Part203.Material = Enum.Material.Metal
- Part203.BrickColor = BrickColor.new("Black")
- Part203.Rotation = Vector3.new(-180, 0, 0)
- Part203.Anchored = true
- Part203.CanCollide = false
- Part203.FormFactor = Enum.FormFactor.Custom
- Part203.Size = Vector3.new(0.5, 0.200000003, 0.200000003)
- Part203.CFrame = CFrame.new(22.8699646, 1.74995899, 46.3000641, 1, 0, 0, 0, -1, 0, 0, 0, -1)
- Part203.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part203.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part203.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part203.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part203.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part203.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part203.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part203.Position = Vector3.new(22.8699646, 1.74995899, 46.3000641)
- Part203.Orientation = Vector3.new(0, 180, 180)
- Part203.Color = Color3.new(0.105882, 0.164706, 0.207843)
- BlockMesh204.Parent = Part203
- BlockMesh204.Scale = Vector3.new(1, 0.200000003, 0.800000012)
- BlockMesh204.Scale = Vector3.new(1, 0.200000003, 0.800000012)
- WedgePart205.Name = "Grip"
- WedgePart205.Parent = Tool0
- WedgePart205.Material = Enum.Material.Metal
- WedgePart205.BrickColor = BrickColor.new("Black")
- WedgePart205.Rotation = Vector3.new(0, -90, 0)
- WedgePart205.Anchored = true
- WedgePart205.CanCollide = false
- WedgePart205.FormFactor = Enum.FormFactor.Custom
- WedgePart205.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- WedgePart205.CFrame = CFrame.new(23.1400146, 1.74995899, 46.3000641, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- WedgePart205.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart205.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart205.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart205.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart205.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart205.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart205.Color = Color3.new(0.105882, 0.164706, 0.207843)
- WedgePart205.Position = Vector3.new(23.1400146, 1.74995899, 46.3000641)
- WedgePart205.Orientation = Vector3.new(0, -90, 0)
- WedgePart205.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh206.Parent = WedgePart205
- SpecialMesh206.Scale = Vector3.new(0.800000012, 0.200000003, 0.200000003)
- SpecialMesh206.MeshType = Enum.MeshType.Wedge
- SpecialMesh206.Scale = Vector3.new(0.800000012, 0.200000003, 0.200000003)
- Part207.Name = "Tube"
- Part207.Parent = Tool0
- Part207.Material = Enum.Material.SmoothPlastic
- Part207.BrickColor = BrickColor.new("Black")
- Part207.Rotation = Vector3.new(-15, -35, -30)
- Part207.Anchored = true
- Part207.CanCollide = false
- Part207.FormFactor = Enum.FormFactor.Custom
- Part207.Size = Vector3.new(0.200000003, 0.200000018, 0.200000018)
- Part207.CFrame = CFrame.new(24.2347107, 0.445914, 45.5220642, 0.709407032, 0.40957579, -0.573576033, -0.354399025, 0.91074276, 0.212012038, 0.609215081, 0.0528719202, 0.791240513)
- Part207.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part207.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part207.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part207.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part207.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part207.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part207.Color = Color3.new(0.105882, 0.164706, 0.207843)
- Part207.Position = Vector3.new(24.2347107, 0.445914, 45.5220642)
- Part207.Orientation = Vector3.new(-12.2399998, -35.9399986, -21.2600002)
- Part207.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh208.Parent = Part207
- SpecialMesh208.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- SpecialMesh208.MeshType = Enum.MeshType.Sphere
- SpecialMesh208.Scale = Vector3.new(0.600000024, 0.600000024, 0.600000024)
- Part209.Name = "Detail"
- Part209.Parent = Tool0
- Part209.Material = Enum.Material.Metal
- Part209.BrickColor = BrickColor.new("Dark stone grey")
- Part209.Rotation = Vector3.new(180, 0, 90)
- Part209.Anchored = true
- Part209.CanCollide = false
- Part209.FormFactor = Enum.FormFactor.Custom
- Part209.Size = Vector3.new(0.200000003, 0.399999976, 0.200000003)
- Part209.CFrame = CFrame.new(24.8000183, 0.58999902, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part209.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part209.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part209.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part209.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part209.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part209.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part209.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part209.Position = Vector3.new(24.8000183, 0.58999902, 46.3001709)
- Part209.Orientation = Vector3.new(0, -180, -90)
- Part209.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh210.Parent = Part209
- WedgePart211.Name = "Grip"
- WedgePart211.Parent = Tool0
- WedgePart211.Material = Enum.Material.Metal
- WedgePart211.BrickColor = BrickColor.new("Black")
- WedgePart211.Rotation = Vector3.new(180, 90, 0)
- WedgePart211.Anchored = true
- WedgePart211.CanCollide = false
- WedgePart211.FormFactor = Enum.FormFactor.Custom
- WedgePart211.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- WedgePart211.CFrame = CFrame.new(22.75, 1.58997405, 46.3000641, 0, 0, 1, 0, -1, 0, 1, 0, -0)
- WedgePart211.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart211.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart211.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart211.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart211.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart211.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- WedgePart211.Color = Color3.new(0.105882, 0.164706, 0.207843)
- WedgePart211.Position = Vector3.new(22.75, 1.58997405, 46.3000641)
- WedgePart211.Orientation = Vector3.new(0, 90, 180)
- WedgePart211.Color = Color3.new(0.105882, 0.164706, 0.207843)
- SpecialMesh212.Parent = WedgePart211
- SpecialMesh212.Scale = Vector3.new(0.800000012, 0.600000024, 1.29999995)
- SpecialMesh212.MeshType = Enum.MeshType.Wedge
- SpecialMesh212.Scale = Vector3.new(0.800000012, 0.600000024, 1.29999995)
- Part213.Name = "AimPart"
- Part213.Parent = Tool0
- Part213.BrickColor = BrickColor.new("Sand blue")
- Part213.Transparency = 1
- Part213.Rotation = Vector3.new(0, -90, 0)
- Part213.Anchored = true
- Part213.CanCollide = false
- Part213.FormFactor = Enum.FormFactor.Custom
- Part213.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part213.CFrame = CFrame.new(22.2999878, 3.18999791, 45.7001343, -5.96046377e-08, -4.54753422e-13, -1, 5.82076748e-11, 1, -4.54756892e-13, 1, -5.82076748e-11, -5.96046377e-08)
- Part213.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part213.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part213.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part213.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part213.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part213.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part213.Color = Color3.new(0.454902, 0.52549, 0.615686)
- Part213.Position = Vector3.new(22.2999878, 3.18999791, 45.7001343)
- Part213.Orientation = Vector3.new(0, -90, 0)
- Part213.Color = Color3.new(0.454902, 0.52549, 0.615686)
- BlockMesh214.Parent = Part213
- Part215.Name = "Barrel"
- Part215.Parent = Tool0
- Part215.Material = Enum.Material.Neon
- Part215.BrickColor = BrickColor.new("Really black")
- Part215.Rotation = Vector3.new(180, 0, 90)
- Part215.Anchored = true
- Part215.CanCollide = false
- Part215.FormFactor = Enum.FormFactor.Custom
- Part215.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part215.CFrame = CFrame.new(27.4999847, 0.989997029, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part215.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part215.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part215.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part215.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part215.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part215.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part215.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- Part215.Position = Vector3.new(27.4999847, 0.989997029, 46.3001709)
- Part215.Orientation = Vector3.new(0, -180, -90)
- Part215.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
- CylinderMesh216.Parent = Part215
- CylinderMesh216.Scale = Vector3.new(0.800000012, 1.00999999, 0.800000012)
- CylinderMesh216.Scale = Vector3.new(0.800000012, 1.00999999, 0.800000012)
- Part217.Name = "Main"
- Part217.Parent = Tool0
- Part217.BrickColor = BrickColor.new("Bright orange")
- Part217.Transparency = 1
- Part217.Rotation = Vector3.new(0, -90, 0)
- Part217.Anchored = true
- Part217.CanCollide = false
- Part217.FormFactor = Enum.FormFactor.Custom
- Part217.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
- Part217.CFrame = CFrame.new(27.7000122, 0.989997029, 46.3001404, -5.96046377e-08, -4.54753422e-13, -1, 5.82076748e-11, 1, -4.54756892e-13, 1, -5.82076748e-11, -5.96046377e-08)
- Part217.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part217.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part217.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part217.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part217.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part217.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part217.Color = Color3.new(0.854902, 0.521569, 0.254902)
- Part217.Position = Vector3.new(27.7000122, 0.989997029, 46.3001404)
- Part217.Orientation = Vector3.new(0, -90, 0)
- Part217.Color = Color3.new(0.854902, 0.521569, 0.254902)
- BlockMesh218.Parent = Part217
- SpotLight219.Name = "FlashFX"
- SpotLight219.Parent = Part217
- SpotLight219.Color = Color3.new(1, 0.478431, 0.0235294)
- SpotLight219.Enabled = false
- SpotLight219.Brightness = 5
- SpotLight219.Range = 30
- SpotLight219.Angle = 40
- SpotLight219.Color = Color3.new(1, 0.478431, 0.0235294)
- ParticleEmitter220.Name = "Fire"
- ParticleEmitter220.Parent = Part217
- ParticleEmitter220.Transparency = NumberSequence.new(0,1,1,0.5,0.80000001192093,0.94999998807907,1)
- ParticleEmitter220.Rotation = NumberRange.new(-45, 45)
- ParticleEmitter220.Size = NumberSequence.new(0.30000001192093,0.5,2.75,7.75,10)
- ParticleEmitter220.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- ParticleEmitter220.Enabled = false
- ParticleEmitter220.LightEmission = 1
- ParticleEmitter220.Texture = "http://www.roblox.com/asset/?id=241936182"
- ParticleEmitter220.ZOffset = 1
- ParticleEmitter220.Lifetime = NumberRange.new(2, 2)
- ParticleEmitter220.Rate = 50
- ParticleEmitter220.RotSpeed = NumberRange.new(0, 5)
- ParticleEmitter220.Speed = NumberRange.new(10, 10)
- ParticleEmitter220.Color = ColorSequence.new(Color3.new(0, 0.666667, 1),Color3.new(1, 0.666667, 0),Color3.new(1, 0.666667, 0))
- Part221.Name = "Camo"
- Part221.Parent = Tool0
- Part221.Material = Enum.Material.Metal
- Part221.BrickColor = BrickColor.new("Dusty Rose")
- Part221.Rotation = Vector3.new(180, 0, 90)
- Part221.Anchored = true
- Part221.CanCollide = false
- Part221.FormFactor = Enum.FormFactor.Custom
- Part221.Size = Vector3.new(1, 1.20000005, 1)
- Part221.CFrame = CFrame.new(23.5, 1.189996, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part221.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part221.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part221.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part221.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part221.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part221.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part221.Color = Color3.new(0.639216, 0.294118, 0.294118)
- Part221.Position = Vector3.new(23.5, 1.189996, 46.3001709)
- Part221.Orientation = Vector3.new(0, -180, -90)
- Part221.Color = Color3.new(0.639216, 0.294118, 0.294118)
- CylinderMesh222.Parent = Part221
- Part223.Name = "Detail"
- Part223.Parent = Tool0
- Part223.Material = Enum.Material.Metal
- Part223.BrickColor = BrickColor.new("Dark stone grey")
- Part223.Rotation = Vector3.new(180, 0, 90)
- Part223.Anchored = true
- Part223.CanCollide = false
- Part223.FormFactor = Enum.FormFactor.Custom
- Part223.Size = Vector3.new(0.200000003, 4.00000048, 0.200000003)
- Part223.CFrame = CFrame.new(25.2999878, 0.58999902, 46.3001709, 0, -1, -0, -1, 0, -0, 0, 0, -1)
- Part223.BackSurface = Enum.SurfaceType.SmoothNoOutlines
- Part223.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
- Part223.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
- Part223.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
- Part223.RightSurface = Enum.SurfaceType.SmoothNoOutlines
- Part223.TopSurface = Enum.SurfaceType.SmoothNoOutlines
- Part223.Color = Color3.new(0.388235, 0.372549, 0.384314)
- Part223.Position = Vector3.new(25.2999878, 0.58999902, 46.3001709)
- Part223.Orientation = Vector3.new(0, -180, -90)
- Part223.Color = Color3.new(0.388235, 0.372549, 0.384314)
- CylinderMesh224.Parent = Part223
- CylinderMesh224.Scale = Vector3.new(0.699999988, 1, 0.600000024)
- CylinderMesh224.Scale = Vector3.new(0.699999988, 1, 0.600000024)
- for i,v in pairs(mas:GetChildren()) do
- v.Parent = game:GetService("Players").LocalPlayer.Backpack
- pcall(function() v:MakeJoints() end)
- end
- mas:Destroy()
- for i,v in pairs(cors) do
- spawn(function()
- pcall(v)
- end)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement