Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I print the current player locally? This doesn't work apparently..

Asked by
Qorm 100
9 years ago
if game.Players.NumPlayers~=nil then
script.Parent.Text="hi, "..game.Players.LocalPlayer.Name --works in studio
end

How would I do this in online mode? And is LocalPlayer for studio only?

Help would be appreciated...

0
Making it a LocalScript doesn't work for Studio OR Online mode, FYI. Qorm 100 — 9y

Answer this question