Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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!

2 comments

0

Or most preferably cloning from the ReplicatedStorage service

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.

This discussion is preserved as it was. New answers, comments, and votes are closed.