This Script is in the text button and I don't know why its not working I want to make sure it happens when a player joins the game
1 | game.Players.PlayerAdded:connect( function () |
2 | if hum then |
3 | wait() |
4 | hum = game:FindFirstChild( "Humanoid" ) |
5 | script.Parent.Visible = true |
6 | else |
7 | print ( "No Humanoid Yet" ) |
8 | end |
9 | end ) |
I think you're just over thinking a simple problem.
What I would use is put a local script in a text button, and make sure the button is invisible before I run a game. In the local script I would put a wait(3)
then make it visible.
1 | local gui = script.Parent |
2 | wait( 3 ) |
3 | gui.Visible = true |