get the local player position roblox code example
Example: How To Get Player Postion Roblox
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
while humanoidRootPart do
print(player.Name,"is at",tostring(humanoidRootPart.Position))
wait(4)
end
end)
end)