i want to rich text a random selected child of a table but its not working
heres my script i tried to concatenate it but it didnt work
local RandomName = names[math.random(1, #names)]
script.Parent.Text = '<mark><font color="rgb(18, 195, 255)">.. RandomName ..</font></mark> Donated <mark><font color="rgb(18, 195, 255)">500$</font></mark>'
1 Like
3YbuKtOp
(Alex_Kornilov)
#2
You didn’t insert the variable correctly
local RandomName = names[math.random(1, #names)]
script.Parent.Text = '<mark><font color="rgb(18, 195, 255)">'.. RandomName ..'</font></mark> Donated <mark><font color="rgb(18, 195, 255)">500$</font></mark>'
1 Like
system
(system)
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.