So I want a script where it picks a random number out of the number I gave it.
Script so far:
local x = 0 local function random() x = math.random(685421 or 529394 or 592048 or 90000) end while true do script.Parent.Text = x wait(1) end
Thank you, if you help.
local numbers = {685421,529394,592048,90000} local function getRandom() return numbers[math.random(1,#numbers)] end while wait(1) do script.Parent.Text = getRandom() end