Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

TextBox not detecting correct input text?

Asked by 1 year ago

Was doing a bit of TextBox practice.

game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(plr)
    print(1)
    if plr.PlayerGui.Game.TextBox.Text == "a" then
        print(2)
    else
        print(4)
    end
end)

It prints 1 and 4 even though the text is correct. Nothing wrong with the remote event because it fires perfectly and the TextBox is correct, no errors.

1 answer

Log in to vote
0
Answered by 1 year ago

nvm you can only check the text client side

Ad

Answer this question