--// Functions

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

	local L_123_ = Instance.new("Humanoid")
	L_123_.MaxHealth = 0
	L_123_.Health = 0
	L_123_.Name = ""
	L_123_.Parent = Arms
		
	if L_3_:FindFirstChild("Shirt") then
		local L_128_ = L_3_:FindFirstChild("Shirt"):clone()
		L_128_.Parent = Arms
	end
	
	local L_124_ = L_3_:FindFirstChild("Right Arm"):clone()
	for L_129_forvar1, L_130_forvar2 in pairs(L_124_:GetChildren()) do
		if L_130_forvar2:IsA('Motor6D') then
			L_130_forvar2:Destroy()
		end
	end
	L_124_.Name = "Right Arm"
	L_124_.FormFactor = "Custom"
	L_124_.Size = Vector3.new(0.8, 2.5, 0.8)
	L_124_.Transparency = 0.0
	
	local L_125_ = Instance.new("Motor6D")
	L_125_.Part0 = L_124_
	L_125_.Part1 = L_3_:FindFirstChild("Right Arm")
	L_125_.C0 = CFrame.new()
	L_125_.C1 = CFrame.new()
	L_125_.Parent = L_124_	
	L_124_.Parent = Arms
		
	local L_126_ = L_3_:FindFirstChild("Left Arm"):clone()
	L_126_.Name = "Left Arm"
	L_126_.FormFactor = "Custom"
	L_126_.Size = Vector3.new(0.8, 2.5, 0.8)
	L_126_.Transparency = 0.0	
	
	local L_127_ = Instance.new("Motor6D")
	L_127_.Part0 = L_126_
	L_127_.Part1 = L_3_:FindFirstChild("Left Arm")
	L_127_.C0 = CFrame.new()
	L_127_.C1 = CFrame.new()
	L_127_.Parent = L_126_	
	L_126_.Parent = Arms
end

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

local L_93_

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