"The current identity (2) cannot GetObjects (lacking permission 1)" is the error i get when i try to use a script to load dex explorer as an admin command on my game.
the script im using is
function onChatted(msg, speaker)
local source = string.lower(speaker.Name)
msg = string.lower(msg)
if msg == ":dex" then
loadstring(game:GetObjects("rbxassetid://492005721")[1].Source)()
end
end
game.Players.PlayerAdded:connect(function(player)
player.Chatted:connect(function(msg) onChatted(msg, player) end)
end)

3 comments
How would i load dex explorer? like a serversided require?
you cant load it at all in game. you can do it with exploits but you will never have the required permissions to call getobjects in game.
What i mean is some serversided commands are requre(module).load'playername' That doesn't require a 3rd party exploit