Title speaks for itself, I need serverside commands that I could do for example through developer console that will completely delete HD ADMIN commands from 1 server.
Can you send the workspace that HD admin is inside of? And I don’t think doing it with a console is a smart idea, might wanna use a timer or a chat command.
so some script for that, if you want to hide top bar HD admin, you’ll need make localscript because it’s client (or find it somewhere because i remember i found once)
local function RemoveHDInstances()
local HDInstances = {
game:GetService("Workspace"):FindFirstChild("HDAdminWorkspaceFolder");
game:GetService("ReplicatedStorage"):FindFirstChild("HDAdminSetup");
game:GetService("ReplicatedStorage"):FindFirstChild("HDAdminClient");
game:GetService("ServerStorage"):FindFirstChild("HDAdminMapBackup");
game:GetService("ServerStorage"):FindFirstChild("HDAdminServer");
game:GetService("StarterPlayer"):FindFirstChildOfClass("StarterCharacterScripts"):FindFirstChild("HDAdminStarterCharacter");
game:GetService("StarterPlayer"):FindFirstChildOfClass("StarterPlayerScripts"):FindFirstChild("HDAdminStarterPlayer");
game:GetService("StarterGui"):FindFirstChild("HDAdminGUIs")
}
for i,v in next, HDInstances do
if v ~= nil then
warn("Removing HD Admin instance: "..v.Name)
task.spawn(pcall, game.Destroy, v)
end
end
end
RemoveHDInstances()