Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Use .Random( ) to change font of text randomly?

while wait(0.1) do
local Gui = script.Parent
Gui.Frame.TextLabel.Font.Random()
end

2 answers

✓ Accepted answer

You have to set the property you want to change equal to something. There are 45 values for the font enumeration so you want to get a random number between 1-45.

Gui.Frame.TextLabel.Font = math.random(1,45) 

Let me know if this works for you.

1 comment

0

Thanks

You could try:

while wait (0.1) do
local Gui = script.Parent
Gui.Frame.TextLabel.Font = math.random(1,10) --In the brackets, write your smallest and largest random number
end

Try this - it could work! Let me know if it is useful!

This discussion is preserved as it was. New answers, comments, and votes are closed.