local M=require(script:WaitForChild("\067\111\110\102\105\103\117\114\097\116\105\111\110"))local L=M.FORCE_GRANULARITY local o=M.BLAST_RADIUS local F=M.BLAST_PRESSURE*L local d=M.ROCKET_DECAY_TIME local R=M.MAX_DAMAGE local U=M.MIN_DAMAGE local N=M.IGNORE_LIST local C=script.Parent local c=C:WaitForChild("\083\119\111\111\115\104\083\111\117\110\100")local j=game:GetService("\068\101\098\114\105\115")local t=game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")local g=Instance.new("\082\101\109\111\116\101\069\118\101\110\116")g.Name="\069\120\112\108\111\100\101"g.Parent=C local h=require(script:WaitForChild("\080\108\097\121\101\114\068\097\109\097\103\101\114"))local S=C:WaitForChild("\070\105\114\101\100\066\121",1e+99)while S.Value==nil do S.Changed:Wait()end local A=S.Value local u=A.Character local z=false c:Play()j:AddItem(C,d)for M,L in pairs(N)do if type(M)=="\115\116\114\105\110\103"then N[string.lower(M)]=L end end
--TheNexusAvenger
--Runs the rocket projectile.

local Configuration = require(script:WaitForChild("Configuration"))

local FORCE_GRANULARITY = Configuration.FORCE_GRANULARITY
local BLAST_RADIUS = Configuration.BLAST_RADIUS
local BLAST_PRESSURE = Configuration.BLAST_PRESSURE * FORCE_GRANULARITY
local ROCKET_DECAY_TIME = Configuration.ROCKET_DECAY_TIME
local MAX_DAMAGE = Configuration.MAX_DAMAGE
local MIN_DAMAGE = Configuration.MIN_DAMAGE
local IGNORE_LIST = Configuration.IGNORE_LIST

local Rocket = script.Parent
local SwooshSound = Rocket:WaitForChild("SwooshSound")

local Debris = game:GetService("Debris")
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local ExplodeEvent = Instance.new("RemoteEvent")
ExplodeEvent.Name = "Explode"
ExplodeEvent.Parent = Rocket

local PlayerDamager = require(script:WaitForChild("PlayerDamager"))
local FiredByValue = Rocket:WaitForChild("FiredBy", 10 ^ 99)
while FiredByValue.Value == nil do
	FiredByValue.Changed:Wait()
end

local FiredPlayer = FiredByValue.Value
local FiredCharacter = FiredPlayer.Character
local Exploded = false

SwooshSound:Play()
Debris:AddItem(Rocket, ROCKET_DECAY_TIME)

for Key, Value in pairs(IGNORE_LIST) do
	if type(Key) == "string" then
		IGNORE_LIST[string.lower(Key)] = Value
	end
end
