Why are there specific Player Events that can only be Accessed on the Command Line?

So this is something I noticed a long time ago, but im making a Topic about it just now.
I’m probably not aware of what they are exactly so please let me know.

But while using the Command Line, I noticed game.Players has some extra Events than PlayerAdded and PlayerRemoving, from what I gathered, they are: PlayerChatted, PlayerRejoining, PlayerConnecting, PlayerDisconnecting

They cant be accessed in Scripts, and They Appear to only be available on the Command Line (and likely CoreScripts), why are they there?

Those events are marked with the LocalUserSecurity tag, which means that those events can only be accessed by certain scripts that have access to this, such as the Command Bar.
Have a look at the Roblox API Reference:

Yeah, I got that, but its not my question.

Im asking why are they there, are they ever used?

Yes they are actually used quite alot e.g saving or loading data when a player leaves or joins, adding stuff in thats required per play and more bits like that. Unfortunatly there are a fair few cases where the documentation is quite clear, but does not cover its full usage.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.