local expurgationText = {"YOU AREN'T HANK", "WHERE IS HANK", "WHY CAN'T I KILL?????", "MIDGET", "SYSTEM UNRESPONSIVE", "THIS ISN'T RIGHT", "WHERE AM I", "WHO ARE YOU", "HANK???"}
local text = script.Parent.Texts
function changeText()
local randomMessgaes = expurgationText[math.random(#expurgationText)]
while wait() do
text.Text = expurgationText
end
end
while wait() do
script.Parent.Texts.Rotation = math.random(-5,3)
end
local randomMessgaes - expurgationText[math.random(1,#expurgationText)]
Input 1 is the lowest value, Input 2 is the max.
Also, “text.Text = randomMessgaes”, Because that’s the random text that’s been chosen.
in short;
local expurgationText = {"YOU AREN'T HANK", "WHERE IS HANK", "WHY CAN'T I KILL?????", "MIDGET", "SYSTEM UNRESPONSIVE", "THIS ISN'T RIGHT", "WHERE AM I", "WHO ARE YOU", "HANK???"}
local text = script.Parent.Texts
function changeText()
local randomMessgaes = expurgationText[math.random(1, #expurgationText)]
while wait() do
text.Text = randomMessgaes
end
end
while wait() do
script.Parent.Texts.Rotation = math.random(-5,3)
end
one more question, I’m trying to make it so the text gets changed each second BUT when i put it into the original loop for the text rotation it makes it go really fast but i don’t want that to happen so i made a second loop which will change the text each second and still will keep the fast rotation going
while wait() do
script.Parent.Texts.Rotation = math.random(-5,3)
end
while true do
wait(1)
changeText()
end
im really sleepy so dont mind my bad grammar and scripting