if gdt.LedButton0.ButtonState
then gdt.Lcd0.Text = Random
else gdt.Lcd0.Text = Text
end
Random = ( myTable[ math.random( #myTable ) ] )
I want the code to continue to pick a random value from the table when a button is pressed. Currently, it picks a value the first time it is pressed and sticks with that value until the program is reset
I have tried looping the code, but the problem persists