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

Is GetService even necessary?

I don't use it for Players, or ServerScriptService, or ReplicatedStorage, or any of that really. Why use it?

2 comments

2

Not sure...I don't use it either. I believe it's just another method of accessing the service.

2

Yes, Actually there are some services that are not listed that you can use :GetService() to obtain.

1 answer

✓ Accepted answer

It's not necessary in the same way that FindFirstChild is not necessary. I'm not sure if it's possible any more, but you used to be able to directly rename Services (i.e. game.Lighting.Name = "sasuage"), which would break all scripts trying to directly access it by assuming its name.

GetService is simply a 'safer' way to get Services from game.

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