FireRocketEvent.OnServerEvent:Connect(function(y)if y==CurrentPlayer and ToolEnabled then ToolEnabled=false Tool.Enabled=false CurrentRocket=RocketBuffer:PopItem()or CurrentRocket local k=Instance.new("\079\098\106\101\099\116\086\097\108\117\101")k.Name="\070\105\114\101\100\066\121"k.Value=y k.Parent=CurrentRocket wait(ROCKET_RELOAD_TIME)AddBufferRocket()ToolEnabled=true Tool.Enabled=true end end)
--Set up firing the rocket.
FireRocketEvent.OnServerEvent:Connect(function(Player)
	if Player == CurrentPlayer and ToolEnabled then
		ToolEnabled = false
		Tool.Enabled = false
		CurrentRocket = RocketBuffer:PopItem() or CurrentRocket

		local FiredBy = Instance.new("ObjectValue")
		FiredBy.Name = "FiredBy"
		FiredBy.Value = Player
		FiredBy.Parent = CurrentRocket

		wait(ROCKET_RELOAD_TIME)
		AddBufferRocket()
		ToolEnabled = true
		Tool.Enabled = true
	end
end)
