local O=script.Parent local X=O:WaitForChild("\072\097\110\100\108\101")local w=X:WaitForChild("\069\113\117\105\112\083\111\117\110\100")local G=X:WaitForChild("\082\101\108\111\097\100\083\111\117\110\100")local m=require(script.Parent:WaitForChild("\082\101\115\111\117\114\099\101\115"))local v=require(m:GetResource("\073\110\112\117\116\072\097\110\100\108\101\114"))local k=require(m:GetResource("\065\110\105\109\097\116\105\111\110\080\108\097\121\101\114"))local C=require(m:GetResource("\066\117\102\102\101\114\067\114\101\097\116\111\114"))local r=require(m:GetResource("\082\101\109\111\116\101\069\118\101\110\116\067\114\101\097\116\111\114"))local c=require(m:GetResource("\067\111\110\102\105\103\117\114\097\116\105\111\110"))local M=c.IGNORE_LIST local a=c.ROCKET_RELOAD_WAIT_TO_SHOW_TIME local N=c.ROCKET_RELOAD_VISIBLE_TIME local z=c.ROCKET_LAUNCH_SPEED local A=C:CreateClientBuffer("\082\111\099\107\101\116\066\117\102\102\101\114")local u=r:GetRemoteEvent("\070\105\114\101\082\111\099\107\101\116")local y,P local F,U local J local B=false local D,E=w.Volume,G.Volume local f=0
--TheNexusAvenger
--Runs the client-side rocket launcher.

local Tool = script.Parent
local Handle = Tool:WaitForChild("Handle")
local EquipSound = Handle:WaitForChild("EquipSound")
local ReloadSound = Handle:WaitForChild("ReloadSound")

local Resources = require(script.Parent:WaitForChild("Resources"))
local InputHandler = require(Resources:GetResource("InputHandler"))
local AnimationPlayer = require(Resources:GetResource("AnimationPlayer"))
local BufferCreator = require(Resources:GetResource("BufferCreator"))
local RemoteEventCreator = require(Resources:GetResource("RemoteEventCreator"))
local Configuration = require(Resources:GetResource("Configuration"))

local IGNORE_LIST = Configuration.IGNORE_LIST
local ROCKET_RELOAD_WAIT_TO_SHOW_TIME = Configuration.ROCKET_RELOAD_WAIT_TO_SHOW_TIME
local ROCKET_RELOAD_VISIBLE_TIME = Configuration.ROCKET_RELOAD_VISIBLE_TIME
local ROCKET_LAUNCH_SPEED = Configuration.ROCKET_LAUNCH_SPEED

local RocketBuffer = BufferCreator:CreateClientBuffer("RocketBuffer")
local FireRocketEvent = RemoteEventCreator:GetRemoteEvent("FireRocket")

local LocalEquipSound, LocalReloadSound
local CurrentAnimation, CurrentHandRocket
local CurrentMouse
local Equipped = false
local EquipVolume, ReloadVolume = EquipSound.Volume, ReloadSound.Volume
local LastReloadTime = 0
