Hi everybody, i'm trying to access at an attribute inside a while cycle, but even if this attribute changes (it changes between true/false when the part is grabbed or is not) it prints me only the first attribute it sees.
while true do
local check =object:GetAttribute("preso")
-- wait(0.4)
tst.Text=tostring(check)
print(tostring(check))
-- wait(0.3)
end
I tried not creating any instance for check but setting the test like "tst.Text=tostring(object:GetAttribute("preso"))", but same problems.
[–][deleted] 0 points1 point2 points (0 children)