Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Difference between "Game" and "game?"

Asked by
2Loos 168
4 years ago

What is the difference between "Game" and "game" in Lua? Apparently "Game" is deprecated. Does anyone know the history between "Game" and "game," and what is the difference? Thank you in advance, just wondering!

Game.Players.looloo314.leaderstats.Money.Value = 90000

"Game" gets underlined with red, and a label says "Global 'Game' is deprecated, use 'game' instead"

0
there is no difference, as stated Game is depricated, so you should use game. JesseSong 3916 — 4y
0
deprecated means that it still can be used but it will be removed soon (1-2 maybe years) for example .Draggable on a screen gui frame misha123 83 — 4y

1 answer

Log in to vote
0
Answered by
2Loos 168
4 years ago

So it's just capitalization that comes into play here? I was thinking Game was used in older LUA, and game just refers to the parent of Workspace. Looks like Game just used to be an older version of 'game.'

Ad

Answer this question