PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

FindService

Returns the service specified by the given className if it’s already created, errors for an invalid name.

Parameters

Name Type Default Description

Returns

Return Type Summary

Code Samples


ServiceProvider:FindService

print(game:FindService("Part"))
--> nil

print(game:FindService("Workspace"))
--> Workspace