Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 24 Jul 2016 11:55 PM |
Last List: (nil) Updated: 7/24/16
I was just doing some stuff, and decided to figure out all the children of game, or in other words, the "Services".
(If there are any others *THAT ARE ACCESSABLE* then please tell me in the comments below.)
Currently Accessible ROBLOX Services Count: 54 Currently Un-Accessible ROBLOX Services Count: 3
------- Services -------
Workspace RunService ContentProvider LogService ContentFilter KeyframeSequenceProvider GuiService Chat MarketplaceService Players PointsService AdService NotificationService ReplicatedFirst HttpRbxApiService StarterPlayer StarterPack StarterGui TeleportService SoundService JointsService CollectionService PhysicsService BadgeService Geometry FriendService RenderHooksService InsertService SocialService GamePassService Debris TimerService ScriptInformationProvider CookiesService PersonalServerService UserInputService ContextActionService ScriptService AssetService
Selection
ServerScriptService ServerStorage ReplicatedStorage LuaWebService MeshContentProvider Lighting SolidModelContentProvider TextService ControllerService ScriptContext RuntimeScriptService HttpService ChangeHistoryService
HapticService
------- |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 12:03 AM |
There are WAY more un - accessable services than three.
--[[ rip roblox inception ]]-- |
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:03 AM |
Edit: By Inaccessible, I meant Services that are Hidden until called with the "GetService()" function.
DataStoreService PathfindingService Team*
Notes:
For "Team" GetService() will access this, but you can also insert a colored spawn location to access it.. thus making visible.
|
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:05 AM |
| **Actually** Inaccessible Services Count: 36 |
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 25 Jul 2016 12:05 AM |
Oh yeah true. You could just do print(game.RunService)
Though, I like to use GetService() just in case later down the road ROBLOX decides you can't do that anymore O_e |
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:19 AM |
@Crimsonal
When you use the "GetService()" function, not only does it compare it to the list of hidden, and visible services, it also checks the classnames of the service. (or in the case of an odd 3, it just adds it to the game.)
For Example, if you check the ClassName of "Workspace", its ClassName is "Workspace".
As such, the "GetService()" function just checks the ClassName of each external service. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 12:20 AM |
| Taryo, you can access hidden services with game.(Service) too. print(game["Run Service"]) |
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:26 AM |
@African_Black
What you just stated is exactly what I said.
Accessing the Run Service can be accessed through \"game["RunService"]\", however... this is because it is not hidden.
What you said is wrong, as an example, try using:
DataStoreService,
print(game["DataStoreService"]) returns an error in Output. This is because it is hidden service.
There are also Internal Services, which are inaccessible... but that on another time.
On your note, print(game:GetService("DataStoreService")) will actually work, proving what you have said, wrong. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 12:28 AM |
| You're not proving him wrong, you just don't realize a lot of the NAMES of the services are just "Instance" |
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 25 Jul 2016 12:31 AM |
I figured it out guys. Most services are hidden to regular scripts (level 2)
workspace, and run service are the only services visible to regular scripts that can be accessed by game.Service
Other services, you must use GetService.
Command bar (level 5) on the other hand has access to them.
Command bar: > print(game["DataStoreService"]) DataStoreService
Regular script: DataStoreService is not a valid member of DataModel
source: http://wiki.roblox.com/index.php?title=User:Anaminus/Identity |
|
|
| Report Abuse |
|
|
Crimsonal
|
  |
| Joined: 23 Apr 2011 |
| Total Posts: 1795 |
|
|
| 25 Jul 2016 12:33 AM |
| Forget what I said. I don't even know what I'm doing. I feel like I just found a cure for cancer and I didn't. Made myself look like a fool XD |
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:34 AM |
@Flux_Capacitor
What I said is reasonable enough to come to this conclusion, however... Try using the following code:
for _,service in ipairs(game:GetChildren()) do local success, classname = pcall(function() return service.ClassName end) if success and classname ~= nil then print(classname) end end
It will print all of the viewable Services that are in the game. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 12:35 AM |
^^^
It's okay, I've done that a lot of times. Believe me or not, I've been banned on this account for like more than 5 times. |
|
|
| Report Abuse |
|
|
|
| 25 Jul 2016 12:35 AM |
Lol your idea was wrong on every level.
--[[ rip roblox inception ]]-- |
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:37 AM |
@Crimsonal
Hehe,
The Command bar cannot access this either way... as it is not there.
Using the following code in the command bar, it shows that once DataStoreService is added using the "GetService()" function, you can access it with game["DataStoreService"]
> print(game:GetService("DataStoreService")) ; print(game["DataStoreService"])
However, without calling the "GetService()" function at-least once, you cannot access it that way, as shown above.
Anyways, yup... Hope that helps. |
|
|
| Report Abuse |
|
|
Taryo
|
  |
| Joined: 06 Aug 2011 |
| Total Posts: 496 |
|
|
| 25 Jul 2016 12:49 PM |
@Lateral
To whom are you referring? |
|
|
| Report Abuse |
|
|