"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)
A simple lookup on the dev wiki nets these results. You cannot call GetObjects
from scripts, but it can be done from the command bar and plugins.
As for the loadstring, as long as loadstrings are enabled you should be good to go. Be very careful with loadstrings tho :)