local v=script.Parent local R=v:WaitForChild("\072\097\110\100\108\101")local E=R:WaitForChild("\069\113\117\105\112\083\111\117\110\100")local e=R:WaitForChild("\082\101\108\111\097\100\083\111\117\110\100")local U=require(script.Parent:WaitForChild("\082\101\115\111\117\114\099\101\115"))local Z=require(U:GetResource("\082\111\099\107\101\116\067\114\101\097\116\111\114"))local a=require(U:GetResource("\066\117\102\102\101\114\067\114\101\097\116\111\114"))local F=require(U:GetResource("\082\101\109\111\116\101\069\118\101\110\116\067\114\101\097\116\111\114"))local k=require(U:GetResource("\067\111\110\102\105\103\117\114\097\116\105\111\110"))local B=k.ROCKET_RELOAD_TIME local x=a:CreateServerBuffer("\082\111\099\107\101\116\066\117\102\102\101\114")local g=F:CreateRemoteEvent("\070\105\114\101\082\111\099\107\101\116")local J,I local H,V local l=false local b=true
--TheNexusAvenger
--Runs the server-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 RocketCreator = require(Resources:GetResource("RocketCreator"))
local BufferCreator = require(Resources:GetResource("BufferCreator"))
local RemoteEventCreator = require(Resources:GetResource("RemoteEventCreator"))
local Configuration = require(Resources:GetResource("Configuration"))

local ROCKET_RELOAD_TIME = Configuration.ROCKET_RELOAD_TIME

local RocketBuffer = BufferCreator:CreateServerBuffer("RocketBuffer")
local FireRocketEvent = RemoteEventCreator:CreateRemoteEvent("FireRocket")

local CurrentPlayer, CurrentCharacter
local CurrentHandRocket, CurrentRocket
local Equipped = false
local ToolEnabled = true
