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

Locating a player not working?

Asked by 7 years ago

I want it so this PlayerGui will activate once it gets to the point in the script, but I cannot figure out what to use as a child of Players. LocalPlayer only worked in studio, Player didn't work, and the only thing that did was when you put the actual name of the Player. Probably some super easy way to figure this out but I'm distracted and can't focus very well.

game.Players.Player.PlayerGui.PlayAgain.Frame.Visible = true
0
LocalPlayer only works in a LocalScript. In studio, all scripts act like LocalScripts, even if they're not. Also, you can't edit PlayerGui through a normal script, it has to be a local script. User#8349 0 — 7y
0
thank you CardboardedCharacter 53 — 7y
0
But I'm really trying to figure out what would you use as a child of Players? CardboardedCharacter 53 — 7y

Answer this question