Error with text funtion(code) I ned help fixin' the script t

-hat I have
what is the error?
here is a picture of the Error:
- Code: Select all
if (LoginName.text == Name & LoginPass.text == Pass)
{
SendActivationEvent("Work");
what is the error?
here is a picture of the Error: