For example, I have an ObjectValue that represents my character, and in a script I want to find the player of the character using the ObjectValue.Value how would I do this?
Every time I search through the players using the ObjectValue.Value it always returns “Instance”
But if I print(ObjectValue.Value) I get the players name as it should, I just cannot use that value to search elsewhere for that player.
Well it’s returning the character which is of course an instance, when you printed ObjectValue.Value it might have been printing the name of the object, which is the players name in the workspace. Use the GetPlayerFromCharacter function so you’re able to get the player from the character. An example would be:
local player = game.Players:GetPlayerFromCharacter(ObjectValue.Value)
You then have your player object so can do whatever you want, ie print(player.Name).