I have a game where you have to type words (just started today) and I want to make sure people type the word in order. I have them on separate TextLabels, and when they type the letter, it turns red So the first word is Type. (Note is some text on the screen saying to type them in order) Before they press t it is fine, but then after that or after you press y you can type e and p any way you want. Here is the code for one of the letters:
if key == "p" then
p.TextColor3 = Color3.new(235, 0, 0)
if t.TextColor3 ~= Color3.new(235, 0, 0) then
if y.TextColor3 ~= Color3.new(235, 0, 0) then
p.TextColor3 = y.TextColor3
for i = 1,10 do
wait(0.1)
Note.TextTransparency = Note.TextTransparency - 0.1
end
wait(1)
for i = 1,10 do
wait(0.1)
Note.TextTransparency = Note.TextTransparency + 0.1
end
end
end
end
I tried many other things too!
