So I'm trying to check if the player is friends with the Owner. I am getting the error: Unable to cast string to int64. I have this code as my if statement and I don't know what I should do to fix it.
if Player:IsFriendsWith(Owner) == false then --DoWhatever end
The parameter for the IsFriendsWith function has to be an int64, aka the owner's UserId. Simply go to the owner's profile page and copy and paste their Id into the parentheses or the value for local variable.