This is supposed to put another GUI at the correct position, but this keeps on messing me up:
local name = "text"
userLabel = C:WaitForChild("user")
userLabel.Text = name
local q = 20 + userLabel.TextBounds.X
-- q returns at 20 when it should go to the text size + 20.
I've also tried to find out this issue in different ways.
local name = "text"
userLabel = C:WaitForChild("user")
userLabel.Text = name
while true do
if userLabel.TextBounds.X ~= 0 then
break;
end
print("Waiting for TextBounds..")
wait();
end
local q = 20 + userLabel.TextBounds.X
But the number stays at 0 and it won't change. Help is much appreciated.
- Fighter169mobile

1 comment
Thanks!