object.PrimaryPart.Transparency = hitboxTransparency
stackable = stk
smartRot = r
✓ ANSWER ACCEPTED
attempt to index nil with 'Transparency'?
1 answer
✓ Accepted answer
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
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Can you elaborate more on the issue?