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?
You could put the Script in StartGui, if you mean the Player's PlayerGui, or you could make a script;
1 | game.Players.PlayerAdded:connect( function (plr) |
2 | if plr and plr.PlayerGui then |
3 | find = script:FindFirstChild( "LOCALSCRIPTNAMEHERE" ) |
4 | if find then |
5 | find:Clone() |
6 | find.Parent = plr.PlayerGui |
7 | 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.