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.