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

How would I get the local player user id?

Asked by 3 years ago

I am making a group rank bot (I have done most of the api stuff) but I need the local player's user ID

here's the script I got rn:

local UserId = game.Players.LocalPlayer.PlayerID

1 answer

Log in to vote
0
Answered by 3 years ago

You almost had it

local UserId = game.Players.LocalPlayer.UserId
Ad

Answer this question