local a=script.Parent local z=a:WaitForChild("\072\097\110\100\108\101")local U=a:WaitForChild("\065\105\109\080\097\114\116")local c=a:WaitForChild("\077\097\105\110")local Q=a:WaitForChild("\065\109\109\111")local O=a:WaitForChild("\067\108\105\112\083\105\122\101")local R=a:WaitForChild("\083\116\111\114\101\100\065\109\109\111")local C=a:WaitForChild("\076\101\116\104\097\108\071\114\101\110\097\100\101\115")local h=a:WaitForChild("\084\097\099\116\105\099\097\108\071\114\101\110\097\100\101\115")local I=require(a:WaitForChild("\083\069\084\084\073\078\071\083"))local X=game.Players.LocalPlayer local P=X.Character local Z=P:WaitForChild("\072\117\109\097\110\111\105\100")local m=P:WaitForChild("\084\111\114\115\111")local x=P:WaitForChild("\072\101\097\100")local L=P:WaitForChild("\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116")local F=m:WaitForChild("\078\101\099\107")local E=P:WaitForChild("\076\101\102\116 \065\114\109")local i=P:WaitForChild("\082\105\103\104\116 \065\114\109")local d=P:WaitForChild("\076\101\102\116 \076\101\103")local o=P:WaitForChild("\082\105\103\104\116 \076\101\103")local T=X:GetMouse()local w=script:WaitForChild("\077\097\105\110\095\071\117\105")local j=(game:GetService("\082\117\110\083\101\114\118\105\099\101")).RenderStepped local n=game.Workspace.CurrentCamera local u,l,v,s=math.abs,math.huge,math.floor,math.ceil local y,H,W,V=math.rad,math.sin,math.atan2,math.cos local S=Vector3.new local b,N=CFrame.new,CFrame.Angles local J=table.insert local M=I.SprintTime*60 local q=I.ScopeSteadyTime*60 local K={"\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\057\052\056\052\057\056\056\048","\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\057\053\055\050\055\055\057\049";"\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\057\053\055\050\056\049\051\055"}local g={"\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\057\053\055\050\056\052\055\051";"\104\116\116\112\058\047\047\119\119\119\046\114\111\098\108\111\120\046\099\111\109\047\097\115\115\101\116\047\063\105\100\061\049\057\053\055\050\056\054\057\051"}local A={P;Ignore_Model}local Y={S(0,0,0),S(0,-1,0);S(0,-3,0)}local e={Right=m:WaitForChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114"),Left=m:WaitForChild("\076\101\102\116 \083\104\111\117\108\100\101\114")}local f={b(-1.5,0,0)*N(y(90),0,0);b(1.5,0,0)*N(y(90),0,0)}local r=function(a)return H(y(a))end local t=function(a)return a/90 end


local Gun = script.Parent
local Handle = Gun:WaitForChild("Handle")
local AimPart = Gun:WaitForChild("AimPart")
local Main = Gun:WaitForChild("Main")

local Ammo = Gun:WaitForChild("Ammo")
local ClipSize = Gun:WaitForChild("ClipSize")
local StoredAmmo = Gun:WaitForChild("StoredAmmo")

local LethalGrenades = Gun:WaitForChild("LethalGrenades")
local TacticalGrenades = Gun:WaitForChild("TacticalGrenades")

local S = require(Gun:WaitForChild("SETTINGS"))

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
