while true do
for _, player in pairs(game:GetService("Players"):GetPlayers()) do
print(player:DistanceFromCharacter(Vector3.new(workspace.Part.Position)))
end
wait(0.1)
end
Whenever I join the game, and move the brick, nothing changes. When I walk, the position is fixed to a fixed point I believe, that is not the brick.

3 comments
dude just find it the normal way
Show me the "normal way". As far as I know, this is the only way.
Maybe your error comes from the way you used the Vector3 constructor? The part’s position is already a Vector3, you don’t need to use a Vector3.new(). Try DistanceFromCharacter(workspace.Part.Position)