Available since Version 1.23.10.
Checks if the user is playing the demo version of the game.
Syntax
IsDemo()Arguments
No arguments.
Return Values
- (boolean): Whether the user is playing the demo version of the game.
Examples
if IsDemo() then
-- Do demo specific stuff
end