--Body Variables

local myHuman = script.Parent:WaitForChild("Humanoid")
local myTorso = script.Parent:WaitForChild("Torso")
local myHead = script.Parent:WaitForChild("Head")
local neck = myTorso:WaitForChild("Neck")
local headWeld = myTorso:WaitForChild("Head Weld")
local rArm = script.Parent:WaitForChild("Right Arm")
local lArm = script.Parent:WaitForChild("Left Arm")
local lShoulder = myTorso:WaitForChild("Left Shoulder")
local rShoulder = myTorso:WaitForChild("Right Shoulder")
local lArmWeld = myTorso:WaitForChild("Left Arm Weld")
local rArmWeld = myTorso:WaitForChild("Right Arm Weld")

local outfits = game:GetService("ServerStorage").Outfits:GetChildren()
local outfit = outfits[math.random(1,#outfits)]:Clone()
for i, v in pairs(outfit:GetChildren()) do
	v.Parent = script.Parent
end
outfit:Destroy()

local raycastParams = RaycastParams.new()
raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
raycastParams.FilterDescendantsInstances = {script.Parent}
local FastCast = require(game:GetService("ReplicatedStorage"):WaitForChild("FastCastRedux"))
FastCast.DebugLogging = false
FastCast.VisualizeCasts = false
local Caster = FastCast.new()
Caster.WorldRoot = workspace
local FastStats = FastCast.newBehavior()
FastStats.HitEventOnTermination = true
FastStats.Lifetime = 5
FastStats.MaxDistance = 1000
FastStats.TravelType = "Lifetime"
FastStats.Acceleration = Vector3.new(0,0,0)
FastStats.RaycastParams = raycastParams
FastStats.CosmeticBulletTemplate = game:GetService("ReplicatedStorage"):WaitForChild("Miscs"):WaitForChild("Projectiles"):WaitForChild("Bullet")
