local player = game:GetService("Players") local Lplayer = tostring(player.LocalPlayer) print(Lplayer)
It dosen't print out the LocalPlayer's username. Help please!
If this is via a Local Script, you can simply do
local player = game.Players.LocalPlayer print(player.Name)
However if this is in a server script, I'm pretty sure you cannot do this. You can only get a player by using Events I believe. eg: A PlayerAdded event, etc.
local player = game.Players.LocalPlayer print(player.Name)
wait(0.5) local plr = game.Players.LocalPlayer print(plr.Name)