Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How Would i find players position?

if there a way to find a players position?

1 answer

The Player object itself does not contain a Position property so the next best thing would be either of the two;

1) Use the GetPrimaryPartCFrame function on the Character model

local player --Define the player

local playerPos = player.Character:GetPrimaryPartCFrame()

2) Index the Position or CFrame property of the Character's Torso.

local player --Define the player

local playerPos = player.Character.Torso.Position

2 comments

0

thanks for your help buddy

0

Accept answer if this helped, it helps distribute rep to appropriate users. Thanks.

This discussion is preserved as it was. New answers, comments, and votes are closed.