DisableMove()IceForm=Instance.new("\083\111\117\110\100")IceForm.Name="\073\099\101\070\111\114\109"IceForm.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..formSounds[math.random(1,#formSounds)]IceForm.Parent=Head IceForm.PlaybackSpeed=1 IceForm.Volume=1.5 game.Debris:AddItem(IceForm,10)delay(0,function()IceForm:Play()end)for z=1,#charParts,1 do local h=icePart:Clone()h.Size=Vector3.new(charParts[z].Size.x+.1,charParts[z].Size.y+.1,charParts[z].Size.z+.1)h.CFrame=charParts[z].CFrame h.Parent=character local U=Instance.new("\087\101\108\100")U.Part0=charParts[z]U.Part1=h U.C0=charParts[z].CFrame:inverse()U.C1=h.CFrame:inverse()U.Parent=h table.insert(iceParts,h)end for z=1,#accessoryParts,1 do local h=accessoryParts[z]:Clone()h.Name="\073\099\101\080\097\114\116"h.formFactor="\067\117\115\116\111\109"h.Color=Color3.fromRGB(128,187,219)h.CanCollide=false h.Anchored=false h.Transparency=.5 h.BottomSurface="\083\109\111\111\116\104"h.TopSurface="\083\109\111\111\116\104"h.Material=Enum.Material.SmoothPlastic h.Mesh.TextureId=""h.Mesh.Scale=Vector3.new(h.Mesh.Scale.x+.1,h.Mesh.Scale.y+.1,h.Mesh.Scale.z+.1)h.CFrame=accessoryParts[z].CFrame h.Parent=character local U=Instance.new("\087\101\108\100")U.Part0=accessoryParts[z]U.Part1=h U.C0=accessoryParts[z].CFrame:inverse()U.C1=h.CFrame:inverse()U.Parent=h table.insert(iceParts2,h)end wait(script.Duration.Value)
--freeze the character
DisableMove()

IceForm = Instance.new("Sound")
IceForm.Name = "IceForm"
IceForm.SoundId = "rbxassetid://" .. formSounds[math.random(1, #formSounds)]
IceForm.Parent = Head
IceForm.PlaybackSpeed = 1
IceForm.Volume = 1.5
game.Debris:AddItem(IceForm, 10)
delay(0, function()
	IceForm:Play()
end)

for i = 1, #charParts do
	local newIcePart = icePart:Clone()
	--newIcePart.IceMesh.Scale = newIcePart.IceMesh.Scale * charParts[i].Size
	newIcePart.Size = Vector3.new(charParts[i].Size.x + 0.1, charParts[i].Size.y + 0.1, charParts[i].Size.z + 0.1)
	newIcePart.CFrame = charParts[i].CFrame
	newIcePart.Parent = character

	local Weld = Instance.new("Weld")
	Weld.Part0 = charParts[i]
	Weld.Part1 = newIcePart
	Weld.C0 = charParts[i].CFrame:inverse()
	Weld.C1 = newIcePart.CFrame:inverse()
	Weld.Parent = newIcePart

	table.insert(iceParts, newIcePart)
end

for i = 1, #accessoryParts do
	local newIcePart2 = accessoryParts[i]:Clone()
	newIcePart2.Name = "IcePart"
	newIcePart2.formFactor = "Custom"
	newIcePart2.Color = Color3.fromRGB(128, 187, 219)
	newIcePart2.CanCollide = false
	newIcePart2.Anchored = false
	newIcePart2.Transparency = 0.5
	newIcePart2.BottomSurface = "Smooth"
	newIcePart2.TopSurface = "Smooth"
	newIcePart2.Material = Enum.Material.SmoothPlastic
	newIcePart2.Mesh.TextureId = ""
	newIcePart2.Mesh.Scale =
		Vector3.new(newIcePart2.Mesh.Scale.x + 0.1, newIcePart2.Mesh.Scale.y + 0.1, newIcePart2.Mesh.Scale.z + 0.1)
	newIcePart2.CFrame = accessoryParts[i].CFrame
	newIcePart2.Parent = character

	local Weld2 = Instance.new("Weld")
	Weld2.Part0 = accessoryParts[i]
	Weld2.Part1 = newIcePart2
	Weld2.C0 = accessoryParts[i].CFrame:inverse()
	Weld2.C1 = newIcePart2.CFrame:inverse()
	Weld2.Parent = newIcePart2

	table.insert(iceParts2, newIcePart2)
end

wait(script.Duration.Value)
