Ray's Mod
9.9k Views
391 Executions

Admin commands open source

Ray's Mod
swagdoge316
swagdoge316Published 5
2 years ago
Please login to perform these actions:

Admin commands open source is a Ray's Mod script for Roblox, uploaded to ScriptBlox on Apr 12, 2025.

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Press F9 for commands kick/kickall when using kick has to be kick [ExactPlayername] not display Health All addons win vote size changer Only made these for fun Added a gui no more need for /e just type directly "HP 10000" in the gui that appears

View Raw

local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LocalPlayer = Players.LocalPlayer
local CoreGui = game:GetService("CoreGui")


local function kickPlayer(targetName, reason)
    local args = {
        [1] = targetName,
        [2] = reason or "No reason provided."
    }
    ReplicatedStorage:WaitForChild("VoteKickInProgress"):WaitForChild("VoteEvent"):FireServer(unpack(args))
end

local function scaleplayer(size)
    local allsizes = size
    for _, part in ipairs({"Depth", "Width", "Height", "Head"}) do
        local args = {[1] = allsizes}
        ReplicatedStorage:WaitForChild("PlayerScale"):WaitForChild(part):FireServer(unpack(args))
        task.wait()
    end
end

local function winVote()
    for _, player in ipairs(Players:GetPlayers()) do
        ReplicatedStorage:WaitForChild("VoteKickInProgress"):WaitForChild("VoteAdded"):FireServer()
    end
end

local function kickAll(reason)
    local excludeLocalPlayer = {
        [LocalPlayer.Name] = true
    }

    for _, player in ipairs(Players:GetPlayers()) do
        if not excludeLocalPlayer[player.Name] then
            kickPlayer(player.Name, reason)
            for _, p in ipairs(Players:GetPlayers()) do
                task.wait()


Comments

10
Log in to join the conversation. Login
lawrencethee3rdd's profile picture
lawrencethee3rdd2 years ago

Works, thanks

3
ababeti's profile picture
ababeti2 years ago

Doesn't worl

2
swagdoge316's profile picture
swagdoge316Uploader2 years ago(edited)

Try pressing enter 2 times fast when you enter the command or try it again right after

2
polisukmark29's profile picture
polisukmark2910 months ago

It pacthed i think

1
Hydro_Gen's profile picture
Hydro_GenKeyless Creator
Keyless Script Creator Badge
Keyless Script Creator
1 year ago

i think/e addons are not working

1
swagdoge316's profile picture
swagdoge316Uploader2 years ago

I don't think it needs specific maps, just try multiplayer rm_construct

1
lawrencethee3rdd's profile picture
lawrencethee3rdd2 years ago

Tried, how do you even play this game, like do I have to choose a specific map for this script to work on?

1

Tags

More Ray's Mod scripts

See all
Ray's Mod
61.8k
512
5 years ago
Key System
Ray's Mod
15.2k
8.0k
1 year ago
Ray's Mod
2.4k
9.3k
2 months ago
Ray's Mod
5.9k
683
1 year ago
Ray's Mod
9.6k
1.7k
2 years ago