object.PrimaryPart.Transparency = hitboxTransparency stackable = stk smartRot = r
First make sure hitboxTransparency is between 0 and 1 or anything in between as the .Transparency
attribute must be between those. Next I would recommend changing object.PrimaryPart.Transparency = hitboxTransparency
to object:WaitForChild("PrimaryPart").Transparency = hitboxTransparency