--// Functions

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

	local L_144_ = Instance.new("Humanoid")
	L_144_.MaxHealth = 0
	L_144_.Health = 0
	L_144_.Name = ""
	L_144_.Parent = Arms
		
	if L_3_:FindFirstChild("Shirt") then
		local L_149_ = L_3_:FindFirstChild("Shirt"):clone()
		L_149_.Parent = Arms
	end
	
	local L_145_ = L_3_:FindFirstChild("Right Arm"):clone()
	for L_150_forvar1, L_151_forvar2 in pairs(L_145_:GetChildren()) do
		if L_151_forvar2:IsA('Motor6D') then
			L_151_forvar2:Destroy()
		end
	end
	L_145_.Name = "Right Arm"
	L_145_.FormFactor = "Custom"
	L_145_.Size = Vector3.new(0.8, 2.5, 0.8)
	L_145_.Transparency = 0.0
	
	local L_146_ = Instance.new("Motor6D")
	L_146_.Part0 = L_145_
	L_146_.Part1 = L_3_:FindFirstChild("Right Arm")
	L_146_.C0 = CFrame.new()
	L_146_.C1 = CFrame.new()
	L_146_.Parent = L_145_	
	L_145_.Parent = Arms
		
	local L_147_ = L_3_:FindFirstChild("Left Arm"):clone()
	L_147_.Name = "Left Arm"
	L_147_.FormFactor = "Custom"
	L_147_.Size = Vector3.new(0.8, 2.5, 0.8)
	L_147_.Transparency = 0.0	
	
	local L_148_ = Instance.new("Motor6D")
	L_148_.Part0 = L_147_
	L_148_.Part1 = L_3_:FindFirstChild("Left Arm")
	L_148_.C0 = CFrame.new()
	L_148_.C1 = CFrame.new()
	L_148_.Parent = L_147_	
	L_147_.Parent = Arms
end

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

local L_107_

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