Can player.PlayerAdded be used in local script or only normal script

i just want to know because im scriping something for team

Only Scripts, Local scripts are executed after the player joins

1 Like

It can be used in both local scripts and server scripts.

This should give you all the info you need:
https://developer.roblox.com/api-reference/event/Players/PlayerAdded

1 Like

but what if its for a gui intro?
like when the player is added wait 1 then the frame is visible

The local script won’t run before the local player joins. Only use PlayerAdded for handling the joins of other players.

1 Like