Hey Devs! I have a more advanced question. I want to make a table with scripts that are randomly chosen when the timer hits 0. (I already have a timer and an event needs to be fired from a localscript) I’m not asking for full scripts, but for how it could be done. Thanks!
GUI Localscript timer (if helps):
local seconds = 30
while wait(1) do
if seconds > 0 then
seconds = seconds - 1
script.Parent.Text = seconds
elseif seconds <= 0 then
seconds = 30
script.Parent.Text = seconds
-- chosen script
end
end