Let's say that I want to move a cloned text to a random UDim2 position.
local randomX = math.random(0.158,0.616)
local randomY = math.random(0.09,-0.091)
textClone.Position = UDim2(randomX,0,randomY,0)
Looks fine, until the output said:
Players.rayhansatria.PlayerGui.StrengthAddGui.LocalScript:9: attempt to call a table value
I was calling a random number value, not a table value. Any ideas?

1 comment
Thanks!