local function Ice()
local extra = math.random(-1.1,1.1)
local Shard = game.ReplicatedStorage.IceShard:clone()
local side = math.random(-sideval,sideval)
up = Shard.Size.Y/2
local rotate = math.random(0,180)
local MRo = math.Random(99,100)
if MRo == 99 then
SRo = math.random(8/10)/10
URo = MRo + SRo
else
SRo = math.random(1,3)/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.from.EulerAnglesXYZ(URo,rotate,0.4)
i honestly dont know whats wrong with this line its this line thats making every

3 comments
I can post the entire script if needed..
What line is it? Do you see any errors or warnings in the output? If so, then copy and paste exactly what it says in the output.
https://www.youtube.com/watch?v=l_efAWwUkWY, you copied this script from this video