Could you show the code, so we can help you? Right now, I don’t even know what I’m trying to do. The error could be because you’re indexing the wrong player, object, or because of something else entirely.
for i, v in ipairs(game.Players:GetChildren()) do
print(v)
end
check if there is duplicate objects with the same name.
(if so then the error is that as said above from mejackdaawesome “you’re indexing the wrong player, object”)
It’s Player.Character, The player can only have one character and that is the one displayed on screen. I have redone this test with the specific parts indexed from workspace, and the result is the same. There are no other instances named either “ScotWARE” or “Rytimiscuristin” on the map
I know this is random but have you tried doing this in a script instead of the command bar? It could be that the command bar is just acting weird when in game.
Try with 2 random objects first, that way we know if the problem is with magnitude or just this one situation. Also, do you know if this works in the code itself or not? Sometimes there can be disparencies between local and server if you use localscripts.
That sounds like you are trying to find the magnitude of something other than the players, since different areas of the map are closer to it, but I may be wrong.
Try moving a Part to the positions you are passing in to find the positions that you are using for the magnitude. It seems unlikely that roblox’s own services would have an error.
I was thinking of using humanoidrootpart, as that would probably be more accurate. I’m just worried that this issue is an underlying issue with the game and I would simply be covering it.