I want to get an image of the player's head using the endpoints here.
Not sure how to link a player to the endpoint, as I just keep getting a basic Roblox user headshot instead of my own. The localScript needs to link to the player currently in the game (1plr game)
My code:
local player = game.Players.LocalPlayer
script.Parent.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=1&width=420&height=420&format=png" .. player.UserId
Thanks, -Mex

1 comment
He beat me ;)