Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What's the difference between game.Players and game:GetService("Players")?

I have been thinking about this, and couldn't find an exact answer about the difference between getting the Players service from game.Players and game:GetService("Players")

2 answers

✓ Accepted answer

Using :GetService() is often times more reliable than directly referencing a service (such as game.Players). What I mean by this is that sometimes if the Service doesn't show up (or hasn't been created) yet in the game, it's always safe to use GetService, just so you know that it will work no matter what. Good question and I hope this answers it!

1 comment

0

Thank you!

This discussion is preserved as it was. New answers, comments, and votes are closed.