GetService (Method)

From Legacy Roblox Wiki
Revision as of 13:48, 30 August 2010 by >Camoy (added/more info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
GetService( String service name )
Returns Service queried service
Description: Returns the service which was requested.
Member of: [[RBX.lua.DataModel (Object)|DataModel]]

Description

The GetService method returns a service that you ask it for. Send it the name of a service (such as Debris) and it will return a value of the service. Useful for hidden services. If the service you requested is valid, but does not exist, then it will create it and return it.