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

[Help] Trying to create a screengui inside of a player that is nil?

Asked by
qzkr 0
9 years ago

Hm. I'm really not sure on how to do this, but I'm pretty sure that you can't do it with the service 'Players' because if you are kicked out, it would remove you out of Players.

The only service I know that maybe I could use is NetworkServer, still not sure about it though.

For example, I tried doing

Instance.new('ScreenGui', game.Players.localPlayer.PlayerGui); --obviously doesn't work
--also this was in a localscript

Halp?

0
Also I'm terribly sorry for my scripting style, I know it is ugly. I just script like this. qzkr 0 — 9y
0
Sorry, but this is impossible. Once you're nil all Player objects are removed (Backpack, PlayerGuis). Unless you're able to access the RobloxLocked CoreGuis then providing a GUI to nil'ed players is not possible. M39a9am3R 3210 — 9y
0
noliCAIKS was able to do it? Without accessing the coreguis. qzkr 0 — 9y
0
Perhaps that was before RobloxLocked(Which I have no clue when this existed) but GUI's can be basically "Nothing" if you set it to Visible = false instead of true. You will not see it and no events such as MouseButton1Click will work. alphawolvess 1784 — 9y
0
@Alpha, no GUIs can not be nil'ed when you turn off their visibility property... -_-. And RobloxLocked has been around for a long time, probably since they let player make games to keep from messing with vital aspects of the game. @qzkr, do you have an example when it worked? M39a9am3R 3210 — 9y

Answer this question