local R=require(game.ReplicatedStorage:WaitForChild("\082\101\115\111\117\114\099\101\115"))while not R.Loaded do(game:GetService("\082\117\110\083\101\114\118\105\099\101")).Heartbeat:Wait()end function lerp(R,M,e)return R+(M-R)*e end function quadBezier(R,M,e,l)return lerp(lerp(M,e,R),lerp(e,l,R),R)end function ShootFire(M,e,l)local r=workspace:GetServerTimeNow();(coroutine.wrap(function()local Z=R.Assets.Models.PickupParticle:Clone()Z.Parent=workspace local F=(e+Vector3.new(0,math.random(0,25),0))+(e-l).Unit:Cross(Vector3.yAxis)*math.random(-40,40)R.Functions.Util.RenderLoop(M-r,function(M,r,P)if Z then Z.CFrame=CFrame.new(R.Functions.Util.QuadBezier(P,e,F,l),R.Functions.Util.QuadBezier(P+.01,e,F,l))end end)local P=R.Assets.Models.HitParticle:Clone()P.CFrame=Z.CFrame P.Parent=workspace for R,M in pairs(P.Attachment:GetChildren())do if R then else break end if M.ClassName=="\080\097\114\116\105\099\108\101\069\109\105\116\116\101\114"then M:Emit(tonumber(string.gsub(M.Name,"\037\068","")))end end Z:Destroy()task.delay(1,P.Destroy,P)end))()end function FireAt(...)ShootFire(...)R.Network.Fire("\083\104\111\111\116 \070\105\114\101 \065\116",...)end R.Signal.Fired("\082\101\112\108\105\099\097\116\101 \083\104\111\111\116 \070\105\114\101",FireAt)R.Network.Fired("\082\101\112\108\105\099\097\116\101 \083\104\111\111\116 \070\105\114\101",FireAt)


local v1 = require(game.ReplicatedStorage:WaitForChild("Resources"));
while not v1.Loaded do
	game:GetService("RunService").Heartbeat:Wait();
end;
function lerp(p1, p2, p3)
	return p1 + (p2 - p1) * p3;
end;
function quadBezier(p4, p5, p6, p7)
	return lerp(lerp(p5, p6, p4), lerp(p6, p7, p4), p4);
end;
function ShootFire(p8, p9, p10)
	local u1 = workspace:GetServerTimeNow();
	coroutine.wrap(function()
		local v2 = v1.Assets.Models.PickupParticle:Clone();
		v2.Parent = workspace;
		local u2 = p9 + Vector3.new(0, math.random(0, 25), 0) + (p9 - p10).Unit:Cross(Vector3.yAxis) * math.random(-40, 40);
		v1.Functions.Util.RenderLoop(p8 - u1, function(p11, p12, p13)
			if v2 then
				v2.CFrame = CFrame.new(v1.Functions.Util.QuadBezier(p13, p9, u2, p10), v1.Functions.Util.QuadBezier(p13 + 0.01, p9, u2, p10));
			end;
		end);
		local v3 = v1.Assets.Models.HitParticle:Clone();
		v3.CFrame = v2.CFrame;
		v3.Parent = workspace;

			for v7, v8 in pairs(v3.Attachment:GetChildren()) do
			if v7 then

			else
				break;
			end;
			if v8.ClassName == "ParticleEmitter" then
				v8:Emit(tonumber(string.gsub(v8.Name, "%D", "")));
			end;		
		end;
		v2:Destroy();
		task.delay(1, v3.Destroy, v3);
	end)();
end;
function FireAt(...)
	ShootFire(...);
	v1.Network.Fire("Shoot Fire At", ...);
end;
v1.Signal.Fired("Replicate Shoot Fire", FireAt);
v1.Network.Fired("Replicate Shoot Fire", FireAt);

