Hi,
I’m trying to mimic this effect of changing the text:
So far I’ve tried using string manipulation however I can’t find a way to randomize the text in this way.
Thanks for any suggestions!
Hi,
I’m trying to mimic this effect of changing the text:
So far I’ve tried using string manipulation however I can’t find a way to randomize the text in this way.
Thanks for any suggestions!
local RandomWords = {"WordHere","WordHere"}
while true do
task.wait(5)
script.Parent.Text = RandomWords[(math.random(1,#RandomWords)]
end
Thanks, however I am trying to imitate the “animation” of the LED display actually changing the letters.
local RandomWords = {"WordHere","WordHere"}
while true do
script.Parent.Text = ""
task.wait(5)
script.Parent.Text = Writer(RandomWords[(math.random(1,#RandomWords)])
end
function Writer(Text)
script.Parent.Text = string.sub(Text,1,i)
wait(0.05)
end
This is still really far from the effect I am trying to achieve,
here is a random video I found on YouTube where the text change can be seen better:
i don’t think it’s possible with just string manipulation because it’s not actually randomising the text but rather preserving the pixels(i think) from the previous text that are present in the new text.
And do you think there is a way to do this any other way without string manipulation, maybe placing multiple TextLabels on top of each other?
You would need to edit a matrix of pixels, and when you change the pixel text from one state to another, you change each pixel in a random order.
You can’t replicate this effect using TextLabels, unless you are using the TextLabels to represent each pixel
Okay, thank you, is there any way I could make an actual LED display in Roblox?
You could use frames, and write a script that stores each letter with it’s own pixels, there have already been some detailed pixel screens, you can find them in the Toolbox in some detailed fire alams
Okay, thank you for your help!