I wanted to remove health, playerlist, and backpack. But it won't allow me to put it in there without me having to start a server and won't save. I used a script to switch the parent to playergui. Can you help me?
✓ ANSWER ACCEPTED
How do you insert a local script into player gui?
2 answers
✓ Accepted answer
You could put the Script in StartGui, if you mean the Player's PlayerGui, or you could make a script;
game.Players.PlayerAdded:connect(function(plr)
if plr and plr.PlayerGui then
find=script:FindFirstChild("LOCALSCRIPTNAMEHERE")
if find then
find:Clone()
find.Parent=plr.PlayerGui
end end end)
But if you mean a ScreenGui, that I can't really help with that, learning ScreenGui's myself. :P
I hope this helped!
Anything located in the StarterGui service will be cloned into a player's PlayerGui whenever they spawn (this can be edited, but doesn't need to be right now, so no worries). Simply just put your script in there and it'll work just fine.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Very thank you!
No problem bro. ;)
But its saying that playergui is not valid member of player :L
If you have FilteringEnabled on, then thats what causing it, I dont know how and why it does that, but thats one of the main things that mess up scripts like this, if its not that, then I'm surely confused. :L