localplayer lua
snippet in lua

localplayer lua

user7407

local localplayer = game.Players.LocalPlayer
print(localplayer.Name) -- prints localplayer name