--// Functions

function MakeFakeArms()
	Arms = Instance.new("Model")
	Arms.Name = "Arms"
	Arms.Parent = L_5_

	local L_161_ = Instance.new("Humanoid")
	L_161_.MaxHealth = 0
	L_161_.Health = 0
	L_161_.Name = ""
	L_161_.Parent = Arms
		
	if L_3_:FindFirstChild("Shirt") then
		local L_166_ = L_3_:FindFirstChild("Shirt"):clone()
		L_166_.Parent = Arms
	end
	
	local L_162_ = L_3_:FindFirstChild("Right Arm"):clone()
	for L_167_forvar1, L_168_forvar2 in pairs(L_162_:GetChildren()) do
		if L_168_forvar2:IsA('Motor6D') then
			L_168_forvar2:Destroy()
		end
	end
	L_162_.Name = "Right Arm"
	L_162_.FormFactor = "Custom"
	L_162_.Size = Vector3.new(0.8, 2.5, 0.8)
	L_162_.Transparency = 0.0
	
	local L_163_ = Instance.new("Motor6D")
	L_163_.Part0 = L_162_
	L_163_.Part1 = L_3_:FindFirstChild("Right Arm")
	L_163_.C0 = CFrame.new()
	L_163_.C1 = CFrame.new()
	L_163_.Parent = L_162_	
	L_162_.Parent = Arms
		
	local L_164_ = L_3_:FindFirstChild("Left Arm"):clone()
	L_164_.Name = "Left Arm"
	L_164_.FormFactor = "Custom"
	L_164_.Size = Vector3.new(0.8, 2.5, 0.8)
	L_164_.Transparency = 0.0	
	
	local L_165_ = Instance.new("Motor6D")
	L_165_.Part0 = L_164_
	L_165_.Part1 = L_3_:FindFirstChild("Left Arm")
	L_165_.C0 = CFrame.new()
	L_165_.C1 = CFrame.new()
	L_165_.Parent = L_164_	
	L_164_.Parent = Arms
end

function RemoveArmModel()
	if Arms then
		Arms:Destroy()
		Arms = nil
	end
end

local L_124_

function CreateShell()
	L_124_ = time()
	local L_169_ = L_1_.Shell:clone()
	if L_169_:FindFirstChild('Shell') then
		L_169_.Shell:Destroy()
	end
	L_169_.CFrame =  L_1_.Chamber.CFrame
	L_169_.Velocity = L_1_.Chamber.CFrame.lookVector * 30 + Vector3.new(0, 4, 0)
	--shell.RotVelocity = Vector3.new(-10,40,30)
	L_169_.Parent = L_93_
	L_169_.CanCollide = false
	game:GetService("Debris"):addItem(L_169_, 1)
end
