For example:

–Determine whether it is creative mode

local result=World:isCreativeMode() --- Get the result for comparison
if result==0 then--if it is creative mode
	Chat:sendSystemMsg("Currently in creative mode!")
else--if it is not creative mode
	Chat:sendSystemMsg("Currently not in creative mode!")
end

If you have any questions about Developer Tools, feel free to join our official discord server Mini World Global DEV discord