Rays mod Utility Panel
Keyless

Rays mod Utility Panel

Ray's ModHydro_GenHydro_Gen 1.9K views 7.3K executesUpdated Sep 2, 2026
5.0/ 5(2 votes)
20100% Positive
Lua Script•283 lines (8179 chars)
-- # Original source: https://raw.githubusercontent.com/minhReal/mainS/refs/heads/main/Other_Script/RaysMod/Admin_Panel.lua

--// MAIN SCRIPT
local Players = game:GetService("Players")
local StarterGui = game:GetService("StarterGui")
local player = Players.LocalPlayer

game:GetService("StarterGui"):SetCore("SendNotification", {
      Title = "Notification",
      Text = "Have fun!",
      Icon = "rbxassetid://12077531181",
      Duration = 10
})

--// GUI CREATION
local gui = Instance.new("ScreenGui")
gui.Name = "ADMIN GUI"
gui.Parent = game.CoreGui

-- Header for AD
local header = Instance.new("Frame")
header.Size = UDim2.new(0.2, 0, 0.07, 0)
header.Position = UDim2.new(0.15, 0, 0.1, 0)
header.BackgroundColor3 = Color3.new(0,0,0)
header.BackgroundTransparency = 1
header.BorderSizePixel = 0
header.Parent = gui

local AD = Instance.new("TextLabel")
AD.Size = UDim2.new(1, 0, 1, 0)
AD.Position = UDim2.new(0, 0, 0, 0)
AD.BackgroundTransparency = 1
AD.Text = "HYDRO - UTILITY PANEL"
AD.TextSize = 20
AD.TextColor3 = Color3.new(1, 1, 1)
AD.Font = Enum.Font.Code
AD.Parent = header

-- Main
local main = Instance.new("ScrollingFrame")
main.Size = UDim2.new(0.2, 0, 0.63, 0)
main.Position = UDim2.new(0.15, 0, 0.17, 0) 
main.BackgroundColor3 = Color3.new(0,0,0)
main.BorderSizePixel = 0
main.Active = true
main.BackgroundTransparency = 0.5
main.Draggable = false
main.Parent = gui
main.CanvasSize = UDim2.new(0, 0, 2, 0) 
main.ScrollBarThickness = 10

local Ee = Instance.new("UICorner")
Ee.CornerRadius = UDim.new(0, 10)
Ee.Parent = main

-- Layout
local layout = Instance.new("UIListLayout")
layout.Padding = UDim.new(0, 7)
layout.FillDirection = Enum.FillDirection.Vertical
layout.HorizontalAlignment = Enum.HorizontalAlignment.Center
layout.SortOrder = Enum.SortOrder.LayoutOrder
layout.Parent = main

local TweenService = game:GetService("TweenService")

-- Quickly create a function to make a button
local function createButton(text)
    local btn = Instance.new("TextButton")
    btn.Size = UDim2.new(0.8, 0, 0.08, 0) 
    btn.BackgroundColor3 = Color3.new(0, 0, 0)
    btn.BorderColor3 = Color3.new(0, 0, 0)
    btn.Text = text
    btn.TextSize = 24
    btn.TextColor3 = Color3.new(1, 1, 1)
    btn.Font = Enum.Font.Code
    btn.Parent = main

    local corner = Instance.new("UICorner")
    corner.CornerRadius = UDim.new(0, 10)
    corner.Parent = btn

    btn.MouseEnter:Connect(function()
        TweenService:Create(btn, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
            BackgroundColor3 = Color3.fromRGB(40, 40, 40)
        }):Play()
    end)

    btn.MouseLeave:Connect(function()
        TweenService:Create(btn, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
            BackgroundColor3 = Color3.new(0, 0, 0)
        }):Play()
    end)

    return btn
end

-- Buttons
local Votekick = createButton("Vote Kick")
local Vote = createButton("+2 Voter")
local G = createButton("+100 HP")
local Nuke = createButton("Nuke")
local Weather = createButton("Weather")
local Tele = createButton("Telekinesis")
local HP = createButton("Golden Gun")
local AK = createButton("Golden AK-47")
local MNL = createButton("M.N Launcher")
local HR = createButton("HallowenRoped")
local AS = createButton("Get Addons")

-- Toggle
local To = Instance.new("TextButton")
To.Size = UDim2.new(0.05, 0, 0.11, 0)
To.Position = UDim2.new(0.05, 0, 0.6, 0)
To.BackgroundColor3 = Color3.new(0, 0, 0)
To.BorderColor3 = Color3.new(0, 0, 0)
To.Text = "P"
To.TextSize = 29
To.BackgroundTransparency = 0 
To.TextColor3 = Color3.new(1, 1, 1)
To.Font = Enum.Font.Code
To.Draggable = true
To.Parent = gui

local isVisible = true
To.MouseButton1Click:Connect(function()
    isVisible = not isVisible
    main.Visible = isVisible
    header.Visible = isVisible
end)

--// FUNCTION BINDINGS //--  

-- VoteKick Script
Votekick.MouseButton1Click:Connect(function()
    local Players = game:GetService("Players")
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local LocalPlayer = Players.LocalPlayer

    local inProgress = false
    if inProgress then return end
    inProgress = true

    local voteKick = ReplicatedStorage:WaitForChild("VoteKickInProgress")
    local playersCount = #Players:GetPlayers()

    if voteKick.Value then
        warn("Voting in progress")
        task.wait(3)
        inProgress = false
        return
    end

    if playersCount < 0 then
        warn("something wrong")
        task.wait(3)
        inProgress = false
        return
    end

    local playerGui = LocalPlayer:WaitForChild("PlayerGui")
    local oldList = playerGui:FindFirstChild("VoteKickList")
    if oldList then
        oldList:Destroy()
    end

    local cloneList = voteKick:WaitForChild("VoteKickList"):Clone()
    cloneList.Parent = playerGui

    print("Voting initiated")
    task.wait(3)
    inProgress = false
end)

-- Vote Script
Vote.MouseButton1Click:Connect(function()
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    for _, player in ipairs(game:GetService("Players"):GetPlayers()) do
        ReplicatedStorage:WaitForChild("VoteKickInProgress"):WaitForChild("VoteAdded"):FireServer()
    end
    print("Added votes")
end)

-- +100 HP
G.MouseButton1Click:Connect(function()
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    local moreHealthEvent = ReplicatedStorage:WaitForChild("MoreHealth")

    local inProgress = false
    if inProgress then return end
    inProgress = true

    moreHealthEvent:FireServer()
    print("Requested +100 HP")

    for i = 60, 0, -1 do
        print(i)
        task.wait(1)
    end
    inProgress = false
end)

-- Nuke
Nuke.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage").SpawnObject:FireServer("Nuke")
end)

-- Weather (Tornado, Meteors, Flood, Blackhole)
Weather.MouseButton1Click:Connect(function()
    local ReplicatedStorage = game:GetService("ReplicatedStorage")
    ReplicatedStorage.SpawnObject:FireServer("Tornado")
    ReplicatedStorage.SpawnObject:FireServer("Meteors")
    ReplicatedStorage.SpawnObject:FireServer("Flood")
    ReplicatedStorage.SpawnObject:FireServer("Blackhole")
    ReplicatedStorage.SpawnObject:FireServer("bigbadblizzard")
end)

-- Telekinesis
Tele.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage").WeaponEvent:FireServer("Telekinesis")
end)

-- Golden Gun
HP.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage").WeaponEvent:FireServer("Golden Gun")
end)

-- Golden AK-47
AK.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage").WeaponEvent:FireServer("Golden AK-47")
end)

-- Mini Nuke Launcher
MNL.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage").WeaponEvent:FireServer("Mini Nuke Launcher")
end)

-- Halloween Roped
HR.MouseButton1Click:Connect(function()
    game:GetService("ReplicatedStorage").WeaponEvent:FireServer("HalloweenRoped")
end)

-- Get Addons
AS.MouseButton1Click:Connect(function()
    local Players = game:GetService("Players")
    local ReplicatedStorage = game:GetService("ReplicatedStorage")

    local LocalPlayer = Players.LocalPlayer
    local localAddons = LocalPlayer.PlayerGui.Spawner.SpawnFrame.Addons
    local RSAddons = ReplicatedStorage:WaitForChild("AddonStorage"):GetChildren()

    for _, addon in ipairs(RSAddons) do
        local clonedAddon = addon:Clone()
        clonedAddon.Parent = localAddons
    end
end)

--// Anti-Kick
local LocalPlayer = Players.LocalPlayer

local function Notify(title, text, duration)
    StarterGui:SetCore("SendNotification", {
        Title = title,
        Text = text,
        Duration = duration or 5
    })
end

local mt = getrawmetatable(game)
setreadonly(mt, false)
local old = mt.__namecall

mt.__namecall = newcclosure(function(self, ...)
    local method = getnamecallmethod()
    if self == LocalPlayer and (method == "Kick" or method == "kick") then
        Notify("🚫 Anti-kick", "A Kick Command Blocked!", 5)
        return nil
    end
    return old(self, ...)
end)

LocalPlayer.Kick = function(...)
    Notify("🚫 Anti-Kick", "A direct kick command was blocked!", 5)
end

Features & Information

The problem is this script was created months ago(like 5-7 months ago), If it doesn't work, dont blame me Open Source ofc FEATURES: • Vote Kick • +2 Voter • +100 HP • Nuke (Spawn a Nuke) • Telekinesis • Golden Gun • Golden AK-47 • M.N Launcher • Halloween Roped • Weathers • Get Addons
#rays mod#ray s mod#raysmod#ray smod

Community Comments (1)

Hydro_GenHydro_GenSep 11, 2026

this might be my last script lol

More Scripts for Ray's Mod