for V=1,#iceParts,1 do local K=iceParts[V]:GetChildren()for V=1,#K,1 do if K[V].className=="\087\101\108\100"then K[V]:Destroy()end end local q=((iceParts[V].Position-iceParts[V].CFrame.p)+Vector3.new(0,1,0)).unit iceParts[V].Velocity=(q+Vector3.new(math.random()-.5,1,math.random()-.5))*20 iceParts[V].RotVelocity=(q+Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5))*10 local I=Instance.new("\066\111\100\121\070\111\114\099\101")I.Force=(q*50)*iceParts[V]:GetMass()I.Parent=iceParts[V]delay(.25,function()I:Destroy()end)end for V=1,#iceParts2,1 do local K=iceParts2[V]:GetChildren()for V=1,#K,1 do if K[V].className=="\087\101\108\100"then K[V]:Destroy()end end local q=((iceParts2[V].Position-iceParts2[V].CFrame.p)+Vector3.new(0,1,0)).unit iceParts2[V].Velocity=(q+Vector3.new(math.random()-.5,1,math.random()-.5))*20 iceParts2[V].RotVelocity=(q+Vector3.new(math.random()-.5,math.random()-.5,math.random()-.5))*10 local I=Instance.new("\066\111\100\121\070\111\114\099\101")I.Force=(q*50)*iceParts2[V]:GetMass()I.Parent=iceParts2[V]delay(.25,function()I:Destroy()end)end EnableMove()IceShatter=Instance.new("\083\111\117\110\100")IceShatter.Name="\073\099\101\083\104\097\116\116\101\114"IceShatter.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..shatterSounds[math.random(1,#shatterSounds)]IceShatter.Parent=Head IceShatter.PlaybackSpeed=1 IceShatter.Volume=1.5 game.Debris:AddItem(IceShatter,10)delay(0,function()IceShatter:Play()end)IceShatter.Ended:connect(function()if script then script:Destroy()end end)

for i = 1, #iceParts do
	local C = iceParts[i]:GetChildren()
    for ii = 1,#C do
        if C[ii].className == "Weld" then
            C[ii]:Destroy()
        end
    end
	local dir = (iceParts[i].Position-iceParts[i].CFrame.p+Vector3.new(0, 1, 0)).unit
	iceParts[i].Velocity = (dir+Vector3.new(math.random()-.5, 1, math.random()-.5))*20
	iceParts[i].RotVelocity = (dir+Vector3.new(math.random()-.5, math.random()-.5, math.random()-.5))*10
	local force = Instance.new("BodyForce")
	force.Force = dir * 50 * iceParts[i]:GetMass()
	force.Parent = iceParts[i]
	delay(.25, function() force:Destroy() end)
end

for i = 1, #iceParts2 do
	local C = iceParts2[i]:GetChildren()
    for ii = 1,#C do
        if C[ii].className == "Weld" then
            C[ii]:Destroy()
        end
    end
	local dir = (iceParts2[i].Position-iceParts2[i].CFrame.p+Vector3.new(0, 1, 0)).unit
	iceParts2[i].Velocity = (dir+Vector3.new(math.random()-.5, 1, math.random()-.5))*20
	iceParts2[i].RotVelocity = (dir+Vector3.new(math.random()-.5, math.random()-.5, math.random()-.5))*10
	local force = Instance.new("BodyForce")
	force.Force = dir * 50 * iceParts2[i]:GetMass()
	force.Parent = iceParts2[i]
	delay(.25, function() force:Destroy() end)
end

EnableMove()

IceShatter = Instance.new("Sound")
IceShatter.Name = "IceShatter"
IceShatter.SoundId = "rbxassetid://"..shatterSounds[math.random(1,#shatterSounds)]
IceShatter.Parent = Head
IceShatter.PlaybackSpeed = 1
IceShatter.Volume = 1.5
game.Debris:AddItem(IceShatter, 10)
delay(0, function() IceShatter:Play() end)
IceShatter.Ended:connect(function()
	if script then
		script:Destroy()
	end
end)
