You can use this export to make your anti-exploit code into one of your scripts.
Whitelisted/Blacklisted Areas Configuration
["Locations"] = { ["System"] = "blacklisted", -- Possible Values: whitelisted | blacklisted (Define if you want to blacklisted areas and whitelist the other map locations or whitelist areas and block the other map locations)
["WhitelistedLocations"] = { -- The only locations where loot bags can be dropped { AreaName = "Test1", AreaCoordinates = vector3(0.0, 0.0, 0.0), AreaRange = 10.0 }, -- Area Name is not used, but it is recommended to fill so you know which areas are whitelisted.
{ AreaName = "Test2", AreaCoordinates = vector3(0.0, 0.0, 0.0), AreaRange = 5.0 } -- Area Name is not used, but it is recommended to fill so you know which areas are whitelisted.
}, ["BlacklistedLocations"] = { -- Location that loot bags won't be dropped even if the function is triggered. { AreaName = "Test1", AreaCoordinates = vector3(0.0, 0.0, 0.0), AreaRange = 10.0 }, -- Area Name is not used, but it is recommended to fill so you know which areas are blacklisted.
{ AreaName = "Test2", AreaCoordinates = vector3(0.0, 0.0, 0.0), AreaRange = 5.0 } -- Area Name is not used, but it is recommended to fill so you know which areas are blacklisted.
}, },
Firstly, you must select how the location restriction system will work.
In ["System"] value, change between whitelisted and blacklisted values.
Then, you will add your own blacklisted/whitelisted locations just like the examples above.