How to enable Api Services from script?

Something like this:

gameSettings.ApiServices.Enabled = true

Also how do I verify if they already have it enabled?
Something like this:

if apiServices == true then
 print("Wow")
else
 gameSettings.ApiServices.Enabled = true
end

Just pcall any datastore request to see if its enabled.

local enabled, notEnabled = pcall(function()
print(DataStoreService:GetDataStore("This"):GetAsync("This"));
end)
if enabled then
warn(" ALREADY ENABLED ");
else
warn("!! NOT ENABLED !!");
end

As far as enabling it in the script, not sure this is possible.

Pretty sure you can’t to avoid exploiting. Like how you can’t change movement because you “don’t have permission”