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
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 Object in the Class Explorer. You have to call it with :<br><code>game:GetService("<Service name>")</code></div>

Revision as of 08:37, 20 September 2021

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