Question with a plugin script

How Can I get a current player name using a plugin script

This should work.

local ID= game:GetService("StudioService"):GetUserId()
local PlayerName = game:GetService("Players"):GetNameFromUserIdAsync(ID)

print(PlayerName)

Make sure to mark it as a Solution if it Helped!

1 Like

Big W and Thanks for helping me

1 Like