localplayer roblox code example
Example: localplayer lua
local localplayer = game.Players.LocalPlayer
print(localplayer.Name) -- prints localplayer name
local localplayer = game.Players.LocalPlayer
print(localplayer.Name) -- prints localplayer name