I want to make it where the random number outputted by the script is put into a textlabel in text form, but how??

local numbers = {}
for i = 1, 100 do
table.insert(numbers, i)
end

function chooserandom()
local sel = numbers[math.random(1, #numbers)]
for i,v in pairs(numbers) do
if v == sel then
table.remove(numbers, i)
end
end
return sel
end

1 comment

0

Um, I don't see any attempt at accessing or creating a TextLabel? Try it.