Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I get the position of all players Upper-Torsos?

Asked by 6 years ago
Edited 6 years ago

I only know how to get it locally for one player.

1 answer

Log in to vote
0
Answered by 6 years ago
for _, v in pairs(game.Players:GetPlayers()) do 

    localuppertorso.Position=v.Character.UpperTorso.Position
    --This will go through all the players and give you all the upper torsos positions 
end

0
Storing them in a table could possibly be cleaner than printing them all at once, and allows easy access to positions. Fifkee 2017 — 6y
0
hmm, ok Revisedy 23 — 6y
Ad

Answer this question