Hey!
I don’t want my players to be able to mess with the map.
So I have locked it, but then their endless creativity enabled them to find explorer - which i’d rather not remove altogether.
At the moment I have this:
local ServerEndpoint = script.Parent;
local SyncAPI = ServerEndpoint.Parent;
local Tool = SyncAPI.Parent;
-- Start the server-side sync module
SyncModule = require(SyncAPI:WaitForChild 'SyncModule');
-- Provide functionality to the server API endpoint instance
ServerEndpoint.OnServerInvoke = function (Client, ...)
print(...)
args = table.pack(...)
if args[1] == "SetLocked" then
return false
end
return SyncModule.PerformAction(Client, ...);
end;
How do I get the instance(s) that are passed, so I can check if one is locked and if it is then I can not PerformAction. The ...'s value seems to vary for each function.