You cant index a Dictionary with a number. Instead first you have to remove ALL the keys in the dictionary as they are all just Res1, Res2, Res3.
Both methods will work, choose which one better fits your situation
With the Keys
Res = {
Res1 = “I AM LIKE THIS GAME!.”;
Res2 = “LETS PLAY MORE.”;
Res3 = “Zzz”;
Res4 = “Lets Eat Someting…”;
}
while wait(5) do
script.Parent.Text = Res["Res"..math.random(1, 4)] --//You cant use #Dict to get the number of items in a dictionary
end
Without The Keys
Res = {
“I AM LIKE THIS GAME!.”;
“LETS PLAY MORE.”;
“Zzz”;
“Lets Eat Someting…”;
}
while wait(5) do
script.Parent.Text = Res[math.random(1, #Res)]
end