Template talk:Service

From Legacy Roblox Wiki
Revision as of 17:59, 18 April 2010 by >Mr Doom Bringer (→‎One big flaw)
Jump to navigationJump to search

One big flaw

"you have to call it with ..."
'...' is nothing. Wouldn't our viewers want to know what to call it with? --Blocco 21:19, 14 April 2010 (UTC)

That better? ---Mr Doom Bringer 20:01, 16 April 2010 (UTC)
Yeah. Thanks. --Blocco 20:36, 16 April 2010 (UTC)
Except that it's wrong. How about "Game:GetService(...)"? :) --GoldenUrg 03:40, 17 April 2010 (UTC)
Hmm... didn't see that. GoldenUrg is right. It's either Game:Service("name") or Game:GetService("name"). --Blocco 16:08, 17 April 2010 (UTC)
RunService creates a new service, which you must do in order to create the service. This is what I thought we were referencing as opposed to "Instance.new", which will not work with a Service. GetService will return a service with the name argument, however the service must be running first. For example, the Debris service is not by default running, therefore to create it in a script you must call it with RunService. ---Mr Doom Bringer 17:59, 18 April 2010 (UTC)