How to get characters if CharacterOf is deprecated

it says use Instance.Character but that does not exist

by instance i think it means player.Character ?

“Instance” is supposed to mean the literal variable acting as the instance for your code. So if you had:

local mySoul = game.Players.LocalPlayer

Or

game.Players.PlayerAdded:Connect(function (mySoul: Instance)
--...
end)

You can get the character by doing:

local myCharacter = mySoul.Character

Or go in reverse by doing:

local mySoulAgain = game.Players.FromCharacter(myCharacter)

or:

local mySoulAgain = game.Players.Get(myCharacter.OwnerUserId)

Instance.OwnerUserId actually also seems to be the new way of doing the now-depreciated game.Players.BindCharacter():

local frankenstein = game.Prefabs.spawn("Character")
frankenstein.OwnerUserId = mySoul.UserId