local repstore = game:WaitForChild("ReplicatedStorage")
local Remote = repstore:WaitForChild("IceStart")

Remote.OnServerEvent:connect(function(player)
    local char = player.Character
    local folder = workspace:FindFirstChild("DebrisFolder") or Instance.new("Folder",workspace)
    
    local Sound = Instance.new("Sound",char.HumanoidRootPart)
    Sound.SoundId = "rbxassetid://747238556"
    Sound.MaxDistance = 200
    Sound.PlaybackSpeed = 1
    Sound:Play()
    game.Debris:AddItem(Sound,3)
    
    local Anim = Instance.new("Animation")
    Anim.AnimationId = "rbxassetid://2817465431"
    local Move = char.Humanoid:LoadAnimation(Anim)
    Move:Play()

    local position = Instance.new("BodyVelocity", char.HumanoidRootPart)
    position.MaxForce = Vector3.new(999999999999,999999999999,999999999999,999999999999)
    position.P = 300
    position.Velocity = char.HumanoidRootPart.CFrame.LookVector * 1
    game.Debris:AddItem(position, 2)
    
    local function Ice()
	    val = 4
	    sizez = 3
	    sizex = 10
	    sideval = .5
	    
	    local function Ice()
		    local extra = math.random(-1.1,1.1)
		    local Shard = game.ReplicatedStorage.IceShard:clone()
		    local side = math.random(0,180)
		    local MRo = math.random(-sideval,sideval)
		    if Mro == 99 then
			    SRo = math.random(8/10)/10
			    URo = MRo + SRo
		    end
	    
		    local lean = math.random(4,4)/10
		    Shard.Size = Vector3.new(sizez,sizex,sizez)
		    Shard.CFrame = char.HumanoidRootPart.CFrame * CFrame.new(side,up,val + extra)
		    Shard.Parent = folder
		    Shard.CFrame = Shard.CFrame * CFrame.fromEulerAnglesXYZ(URo,rotate,0.4)
		    val = val - 2
		    sizex = sizez + 1
		    sizex = sizex + 1
		    sideval = sideval + 5
		    game.Debris:AddItem(Shard,3)

		    local Tweenservice = game:GetService("TweenService")
		    local TweenInform = TweenInfo.new(.2, Enum.EasingStyle.Linear, Enum.EasingDirectiob.Out, 0, false, 0)
		    local properties = {CFrame = Shard.CFrame * CFrame.new(0,Up * 1.5,0)}
		    local Tween = Tweenservice:Create(Shard,TweenInform,properties)
		    Tween:Play()

		    local Dmg = script.Dmg:clone()
		    Dmg.Parent = Shard
	    end
    end

    for o = 1, 50 do
	    wait()
    end
end)

[SerpentineKing]: Input Correct Code Format