In Roblox Studio, I have this code in a script file:
while true do wait(0.01) local PlayersService = game:GetService("Players") local players = PlayersService:GetPlayers() for i, player in pairs(players) do print(player.Name) end end
This successfully prints the player's name many times per second. However, I would like to know how I can get other properties, such as the player's position.
player.Position doesn't work, and I have no idea what options are available because autocomplete is not working when I type
player.. What properties are available on
player and how do I get the position?