Need help with finding user using GetPlayerByUserId

hey, I just tried the code you did, and it works! thank you for helping me.

1 Like

Mark their code as the solution for others as well please!

1 Like

For those wondering I just changed these lines of code:

-- // Before //
local user = Players:GetPlayerByUserId(userId)
Review.Contents.Headshot.Image = thumbnail
Review.Contents.Description.Text = review.Review 
Review.Contents.User.Text = "@" .. user.Name

-- // After //
local name = Players:GetNameFromUserIdAsync(userId)
Review.Contents.Headshot.Image = thumbnail
Review.Contents.Description.Text = review.Review 
Review.Contents.User.Text = "@" .. name

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.