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

Studio displays local name while game doesn't?

Asked by 6 years ago

Hi, again with another question. I'm trying to make the text label display the local player's name, in studio the script works fine and displays the name. but in game this doesn't happen, why?

script.Parent.Settings.Title1.Text = game.Players.LocalPlayer.Name
0
Are you using a server sided script? (ClassName: Script) If so, they don't have access to any of the client's components that a client script does. (ClassName: LocalScript) Try using a client script if you're not using one. :) TheeDeathCaster 2368 — 6y

Answer this question