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

How can I make my Gui only show up when the player enters the game?

Asked by
pwnd64 106
9 years ago

I have tried googling around and haven't found anything that works, I've tried putting it in lighting and cloning it into the player's PlayerGui when they join using game.Players.PlayerAdded etc. I've pretty much given up, and I need to have this done soon because it's for a group I'm helping out because they freemodel a lot.

Thanks for checking this out, and double thanks if you can fix it.

Thank you to Wizzy11 for helping me out, if you are also having this issue I put what I did in a comment below him.

1 answer

Log in to vote
1
Answered by
Wizzy011 245 Moderation Voter
9 years ago

What you've done is exactly correct, if you do put the Gui in Lighting and then Clone it into the player's PlayerGui when they first join it should work.

game.Players.PlayerAdded:connect(function(player)
    game.Lighting.GUINAME:Clone().Parent = player.PlayerGui
end)

A simple script such as this should do the trick fine!

0
Or most preferably cloning from the ReplicatedStorage service ImageLabel 1541 — 9y
0
lol I did it, if anyone else is having this problem I added a script to workspace that would do that, changed the name and then it ran! Thank you so much dude, for some reason it wasn't working before. pwnd64 106 — 9y
Ad

Answer this question