Available since Version 1.15.2.
Checks whether a hack is loaded.
Syntax
IsHackLoaded( hack_name )Arguments
- hack_name (string): The
InternalNameof the hack.
Return Values
- (boolean): Whether the hack is loaded.
Examples
-- Will always return true because Hack Support is always enabled
print(IsHackLoaded("HackSupport"))
-- Check if CustomShopSupport is loaded
print(IsHackLoaded("CustomShopSupport"))
-- Mod Hacks can be checked with this or IsModEnabled
print(IsHackLoaded("DebugText"))