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
game.Players.PlayerAdded:connect(function(plr) plr:WaitForChild("PlayerGui").ScreenGui.Frame.TextLabel.Text = "Example on a way to manipulate a gui a when a player enters!" 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...
Game.Players.PlayerAdded:connect(function(player) --code here-- end end) --if you want an example of one that's being used then pm me at AllianceScripter--