Try it in your browserpreview Source

Get ServiceRoblox✎

A Roblox service, as a top-level local. Pure: it needs no execution wire, and asking for the same service twice reuses one local.

Pending review

Get ServicePlayersService
  • needs the Roblox engine — its datatypes, its DataModel or its scheduler
  • pure — no execution pins, wire it anywhere

Inputs

  • Service:string= "Players"from a list
    Pick a service, or type one the list has not caught up with. Offers 43 values to pick from, and takes anything else typed in.

Outputs

  • service:Players

What it compiles to

Script StartGet ServicePlayersServicePrintValue
The graph this output was compiled from.
luau
local Players = game:GetService("Players")

print(Players)

Info

Note where the service went: hoisted to the top of the file, as a hand-written Roblox script would have it.

Not reviewed yet