Whats the difference between game.Service and game:GetService()

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    Find the best way of getting a service

  2. What is the issue? Include screenshots / videos if possible!
    I dont know whether i should use game: GetService(“ReplicatedStorage”) or game.ReplicatedStorage

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

My topic was deleted, so i am rewriting the question in a way that complies with the community guidelines.

I am wondering if there is a difference between game.ReplicatedStorage and game:GetService(“ReplicatedStorage”). Which one is better to refer to replicated storage in lua script, in compatibility and such. Let me know!

I also recommend you search online (even on the forum) before asking. This has been asked before.

1 Like

game.Service just references the Service if the service is offline or for whatever reason broken it will error.
So effectively speaking using game:GetService(“Service”) is better because it checks if the service is online and handle any errors with the service.

1 Like