compareinstances
his is primarily used for instances which have been cloneref'd, where the normal equality check with == fails.
function compareinstances(object1: Instance, object2: Instance): booleanParameters
Example
print(compareinstances(game, game)) -- true
print(compareinstances(game, workspace)) -- false
print(compareinstances(game, cloneref(game))) -- true
print(game == cloneref(game)) -- falseLast updated