#random textlabel showing up on screen

10 messages · Page 1 of 1 (latest)

odd geyser
#

hello, can anybody help me make a textlabel show up randomly out of my 5?

dusky dawn
#

(Yes it would be better to save the index in a var and use #parent:GetChildren() instead of 5…)

odd geyser
#

works tysm!

#

and do you know how to eg if the number is 2 that it changes a stat to 2?

late cedar
#

local randIndex = math.random(1,5)

-- find the textLabel
stat.Value = randIndex

odd geyser
#

ah ty

#

sry for the many questions but i have 2 numbers to display how do i display the same numbers

turbid starBOT
#

studio** You are now Level 1! **studio

late cedar
#

try to figure out 👍 you need to practice