Template:Service: Difference between revisions

From Goodblox Wiki
Jump to navigationJump to search
(Created page with "<div style="border: solid #a00 1px; background: #f9f9f9; padding: 4px; text-align: left;"> '''Note:''' This is a Game Service, and therefore isn't like other Object in the...")
 
mNo edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="border: solid #a00 1px; background: #f9f9f9; padding: 4px; text-align: left;">
<div style="border: solid #a00 1px; background: #f9f9f9; padding: 4px; text-align: left;">
'''Note:''' This is a [[Game Service]], and therefore isn't like other Object in the Class Explorer. You have to call it with :<br><code>game:RunService("<Service name>")</code></div>
'''Note:''' This is a [[Game Service]], and therefore isn't like other Objects in the Class Explorer. You have to call it with :<br><code>game:GetService("<Service name>")</code></div>
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 23:25, 21 September 2021

Note: This is a Game Service, and therefore isn't like other Objects in the Class Explorer. You have to call it with :
game:GetService("<Service name>")