#What are Getservices, how many are there, and when to use them?

1 messages · Page 1 of 1 (latest)

marble zephyr
#

Title is pretty self explanatory, but basically I don't know what the heck get services are. I don't know when to use them. And it seems there's thousands of get services. i look up some tutorials and there's get services for EVERYTHING. (it seems)

formal shoalBOT
#

studio** You are now Level 1! **studio

round acorn
#

A service is a collection of code roblox has written and made accessible to you the developer.

game:GetService() is a method of obtaining those services

There are a lot of services, you can read the docs to see a full list and learn about whatever ones you want. Its a good idea to skim through so you know what you can use.

You should use them whenever they are useful. For example if you need to store data between player play sessions, use DataStoreService

cosmic epoch
#

It gets you a service

worthy badge
#

you only really need to use them whenever you realize you need to do a "specific thing" code or studio as a whole normally can't do

#

i wouldn't try to learn every one especially if you're starting out because there is a LOT of them

marble zephyr
#

"A service enables you to do this" is basically what I'm hearing. Okay. So uh, when do I really use services. What's the most common service that I will be using

cosmic epoch
#

Why do you want to memorize services 😭

worthy badge
#

"What's the most common service that I will be using" probably TweenService

#

but again memorizing services is just a waste of time seriously

#

you don't need to know all of them. you just use one when you need to

marble zephyr
#

flaming a mf that doesn't know how to script... 😞 Anyway, I didn't really know what a get service was, so how in the hell am I going to know that im not supposed to remember them, and that there isn't really a common one, you just use them all.

worthy badge
#

you use it when you need to idrk what else there is to say

#

"how in the hell am I going to know that im not supposed to remember them"
because... we told you?