for i=1,#target do
    game.Players.target[i].Character:BreakJoints()
end

Is incorrect, if "target" contains "FakeNameHereSoNoStalkers" then the run code would be:

game.Players.target.1.Character:BreakJoints()

Which is completely incorrect.


c = game.Players:GetChildren()

Never use "Players:GetChildren()", it is not guaranteed to return only players.

Instead use:

c = Game.Players:GetPlayers()

if msg:lower()=="me" then
    table.insert(people, source)
    return people

Here you add the player's name in the list "people", where you in the other places adds the player object.


Fixed code:

local Admins = {"FakeNameHereSoNoStalkers"}

function Kill(Players)
    for i,Player in ipairs(Players) do
        if Player.Character then
            Player.Character:BreakJoints()
        end
    end
end

function IsAdmin(Player)
    for i,AdminName in ipairs(Admins) do
        if Player.Name:lower() == AdminName:lower() then return true end
    end
    return false
end

function GetPlayers(Player,Msg)
    local Targets = {}
    local Players = Game.Players:GetPlayers()

    if Msg:lower() == "me" then
        Targets = { Player }
    elseif Msg:lower() == "all" then
        Targets = Players
    elseif Msg:lower() == "others" then
        for i,Plr in ipairs(Players) do
            if Plr ~= Player then
                table.insert(Targets,Plr)
            end
        end
    else
        for i,Plr in ipairs(Players) do
            if Plr.Name:lower():sub(1,Msg:len()) == Msg then
                table.insert(Targets,Plr)
            end
        end
    end
    return Targets
end

Game.Players.PlayerAdded:connect(function(Player)
    if IsAdmin(Player) then
        Player.Chatted:connect(function(Msg)
            if Msg:lower():sub(1,6) == ":kill " then
                Kill(GetPlayers(Player,Msg:sub(7)))
            end
        end)
    end
end)
Answer from ZombieSpy on Stack Overflow
Top answer
1 of 1
1
for i=1,#target do
    game.Players.target[i].Character:BreakJoints()
end

Is incorrect, if "target" contains "FakeNameHereSoNoStalkers" then the run code would be:

game.Players.target.1.Character:BreakJoints()

Which is completely incorrect.


c = game.Players:GetChildren()

Never use "Players:GetChildren()", it is not guaranteed to return only players.

Instead use:

c = Game.Players:GetPlayers()

if msg:lower()=="me" then
    table.insert(people, source)
    return people

Here you add the player's name in the list "people", where you in the other places adds the player object.


Fixed code:

local Admins = {"FakeNameHereSoNoStalkers"}

function Kill(Players)
    for i,Player in ipairs(Players) do
        if Player.Character then
            Player.Character:BreakJoints()
        end
    end
end

function IsAdmin(Player)
    for i,AdminName in ipairs(Admins) do
        if Player.Name:lower() == AdminName:lower() then return true end
    end
    return false
end

function GetPlayers(Player,Msg)
    local Targets = {}
    local Players = Game.Players:GetPlayers()

    if Msg:lower() == "me" then
        Targets = { Player }
    elseif Msg:lower() == "all" then
        Targets = Players
    elseif Msg:lower() == "others" then
        for i,Plr in ipairs(Players) do
            if Plr ~= Player then
                table.insert(Targets,Plr)
            end
        end
    else
        for i,Plr in ipairs(Players) do
            if Plr.Name:lower():sub(1,Msg:len()) == Msg then
                table.insert(Targets,Plr)
            end
        end
    end
    return Targets
end

Game.Players.PlayerAdded:connect(function(Player)
    if IsAdmin(Player) then
        Player.Chatted:connect(function(Msg)
            if Msg:lower():sub(1,6) == ":kill " then
                Kill(GetPlayers(Player,Msg:sub(7)))
            end
        end)
    end
end)
🌐
RbxScript
rbxscript.com › post › RobloxAdminCommandsFE-m1uI6
Roblox. Admin Commands. [FE] Scripts | RbxScript
26/08/2022 · 35600 · Roblox. New cool admin commands script. Example:: type in chat .fly, .noclip, .xray and more! Enjoy! How to download: 1) Click the get button. 2) Then allow notifications. 3) You will see the website and click "Proceed ro target". 4) Close the ad window and click the get button again.
People also ask

Who was the first person to create admin commands in Roblox?

The first Roblox user to create admin commands was known as "Person299." He created a command script in 2008, and it was the most used script in Roblox. However, the actual commands he made are no longer active.

🌐
alphr.com
alphr.com › home › popular roblox admin commands (2023)
Popular Roblox Admin Commands (2023)
What does Roblox Endorsed mean?

Endorsed models, images, meshes, audio, video, and plugins found in the Toolkit library are items that Roblox reviewed and approved for safe and reliable use. Each endorsed item was thoroughly tested to be bug-free, virus-free, error-free, lag-free, and more.

🌐
alphr.com
alphr.com › home › popular roblox admin commands (2023)
Popular Roblox Admin Commands (2023)
Can other players hack the admin commands?

Some admins are worried that another player could hack their commands and take over the game, but that shouldn't be a concern because it's almost impossible. Another player can only use the codes if the original creator provides them with access to the commands list, whether by script or game library options.

🌐
alphr.com
alphr.com › home › popular roblox admin commands (2023)
Popular Roblox Admin Commands (2023)
🌐
RobloxScripts
robloxscripts.com › home › roblox anti admin script 2022
roblox anti admin script 2022 Archives | robloxscripts.com
Created by viper#8627 Features: ANTI ADMIN DEV NOTES: so basically what this does is prevent you from being in the same game as a roblox admin / qa testers. PUT IN YOUR AUTO EXECUTE Download JOIN THE FORUMS FOR MORE DAILY SCRIPTS Read More →
🌐
Roblox Developer Forum
devforum.roblox.com › help and feedback › code review
Admin commands script - Code Review - Developer Forum | Roblox
July 2, 2024 - Since this is for already working code I will use this category. it says to include rblx file: Place1.rbxl (52.4 KB) here is my code local command = "/admin" game.Players.PlayerAdded:Connect(function(player) player.Chatted:Connect(function(msg) ...
🌐
ScriptRB
scriptrb.com › post.php
Admin Script (Infinite Yield) - ScriptRB
May 6, 2022 - Infinite Yield is deemed the best admin command script for ROBLOX exploiters. Stability and performance aren't the only thing it contains. 383.0K · 06.05.2022 · Get · XCDTO Report · Copy · Download · loadstring(game:HttpGet('https://r...
🌐
GitHub
github.com › fatesc › fates-admin
GitHub - fatesc/fates-admin: a roblox admin script with fe features undetected to the client
a roblox admin script with fe features undetected to the client - fatesc/fates-admin
Starred by 62 users
Forked by 60 users
Languages   Lua
Find elsewhere
🌐
10Scopes
10scopes.com › home › game guides › roblox › roblox admin commands list [obtain & use free commands]
ROBLOX Admin Commands List [Obtain & Use Free Commands]
July 16, 2023 - Open Roblox Studio > Select a template > Go to View > Toolbox. Search for Kohl’s admin infinite in the model category on the toolbox search option. Sort the search results by Most Taken and select Kohls Admin by Script.
🌐
Alphr
alphr.com › home › popular roblox admin commands (2023)
Popular Roblox Admin Commands (2023)
July 6, 2023 - This article discusses the hottest Roblox admin commands in 2022.
🌐
Roblox Developer Forum
devforum.roblox.com › help and feedback › code review
Simple Admin Script - Code Review - Developer Forum | Roblox
July 1, 2020 - I’m looking for feedback on my code. ServerScript local server = require(script.MainModule) game.Players.PlayerAdded:Connect(function(player) local settings = { ["General"] = { Prefix = ":" }, ["Ranks"] = { Moderators = {}, Administrators = {}, Owners = {}, Creators = {"blvckjakey"}, } } spawn(function() server.run(player, settings) end) end) Module local admin = {} admin.run = function(...) local arguments = {...}; local player = arguments[1] local settin...
🌐
Stack Overflow
stackoverflow.com › questions › 72889035 › lua-admin-script-for-roblox
Lua admin script for roblox - Stack Overflow
Try insert ModuleChat into Chat library then copy this code to the script · local AdminCommands = require(1163352238) local Utilities = AdminCommands.Utilities function killPlayer(commandData) game.Players.LocalPlayer.Character.Humanoid.Health = 0 end AdminCommands:BindCommand({"kill"}, killPlayer, 1, "Kill the user") return AdminCommands.Run · Then type /kill. Your command should ready now. I got it from Roblox Developer Article.
🌐
Rscripts.net
rscripts.net › script › ak-admin-universal-FpBm
AK ADMIN (UNIVERSAL) - Roblox Scripts | Rscripts.net
• Universal Features: Switch avatar types, copy appearances, and teleport seamlessly . • Game-Specific Commands: Enjoy targeted commands for MIC UP and SFOTH, crafted for enhanced experiences.
🌐
GitHub
github.com › RezTheChez › AdminCommands
GitHub - RezTheChez/AdminCommands: Roblox admin command script
Roblox admin command script. Contribute to RezTheChez/AdminCommands development by creating an account on GitHub.
Author   RezTheChez
🌐
Roblox Developer Forum
devforum.roblox.com › help and feedback › creations feedback
Advanced Admin Script Showcase - Creations Feedback - Developer Forum | Roblox
September 30, 2020 - Hello! Today I will showcasing my admin that I have been working on for around a month now. I didn’t give it a name because I can’t think of one. It has features other admins don’t have. Let’s get started! So let’s star…
🌐
Roblox Developer Forum
devforum.roblox.com › resources › community tutorials
Super basic admin commands tutorial that should fit all your needs - Community Tutorials - Developer Forum | Roblox
January 1, 2021 - Hello, I am SpacePuppy2! Anyways, this is going to be a super basic tutorial on admin commands. In this tutorial, you will learn about string:split() and more. Without any delay, lets get started. ▶ 1: Inserting our Script. ▶ 2: Setting up our script. ▶ 3: Scripting our first functions!
🌐
Get Droid Tips
getdroidtips.com › games › list of roblox admin commands – updated in 2022
List Of Roblox Admin Commands - Updated in 2022
December 11, 2023 - From this comprehensive post, you could get a list of all the latest Roblox Admin Commands for 2021 and the steps to successfully use them.
🌐
GitHub
github.com › arnavs56 › roblox-admin-suite
GitHub - arnavs56/roblox-admin-suite: Ultimate Roblox Admin Panel Script Guide: Unlock Powerful Game Control Features
This repository is a trusted resource for anyone seeking a robust Roblox admin panel script to streamline moderation, empower server admins, and configure gameplay settings with ease.
Author   arnavs56
🌐
Roblox Developer Forum
devforum.roblox.com › help and feedback › scripting support
How I make a Admin Script? - Scripting Support - Developer Forum | Roblox
March 6, 2022 - Hi, i was scripting and i wanted to make a admin script. I already made one but i think is easily bypass, here the code: local admins = { require(script.Parent.Settings).Ranks } function IsAdmin(player) for _,Admin in pairs(admins) do if player == Admin and string.lower(Admin) then return true end end return false end game.Players.PlayerAdded:Connect(function(plr) if IsAdmin(plr.Name) then script.AdminGUI:Clone().Parent = plr.PlayerGui end end) If you know to make one advanced...