i seriously give up on this player added event, i make a function that works for every other method like mousebutton1down, but the moment i connect to playeradded, the script doesnt work can someone make a free model ofa gui that connects with the playeradded event, i know this is not a request site so if you cant do that can you give me a script, i tried and it does not work
1 | game.Players.PlayerAdded:connect( function (plr) |
2 | plr:WaitForChild( "PlayerGui" ).ScreenGui.Frame.TextLabel.Text = "Example on a way to manipulate a gui a when a player enters!" |
3 |
4 |
5 | end ) |
This is a way to access the playergui when the player joins, but note whats up there is a complete example,k? Enjoy :P
Also WaitForChild()
Wait's until so and so is ready, so the script doesn't load before PlayerGui loads.
+1 if this helped, check mark if this answered :)
Here is the simple event...
1 | Game.Players.PlayerAdded:connect( function (player) |
2 | --code here-- |
3 | end end ) |
4 |
5 | --if you want an example of one that's being used then pm me at AllianceScripter-- |