script
Key Required

script

Elected Admin 🗳️alexkkork123alexkkork123 2.5K views 1.1K executesUpdated Apr 5, 2026
3.8/ 5(4 votes)
3175% Positive
Lua Script•276 lines (9704 chars)
local Rayfield = loadstring(game:HttpGet('https://raw.githubusercontent.com/SiriusSoftwareLtd/Rayfield/main/source.lua'))()

local ReplicatedStorage_upvr = game:GetService("ReplicatedStorage")
local workspace = game:GetService("Workspace")
local player = game.Players.LocalPlayer
local adminium = workspace:FindFirstChild("Adminium")
local Players = game:GetService("Players")
local StarterGui_upvr = game:GetService("StarterGui")
local TweenService_upvr = game:GetService("TweenService")

workspace:SetAttribute("MineSpeed", 0.1)

wait(3)
local LocalPlayer = Players.LocalPlayer
local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
local MessageFrame = PlayerGui:FindFirstChild("Gui") and PlayerGui.Gui:FindFirstChild("MessageFrame")

if not MessageFrame then
    warn("MessageFrame not found")
end

local MessageClient = MessageFrame and MessageFrame:FindFirstChild("MessageClient")
local AnimateModule_upvr = MessageClient and require(MessageClient:FindFirstChild("AnimateModule"))

if StarterGui_upvr:GetAttribute("AdminTutorial") and MessageFrame then
    MessageFrame.Visible = true
    local music = MessageClient:FindFirstChild("Music")
    if music then
        music:Play()
        local musicTween = TweenService_upvr:Create(music, TweenInfo.new(1), { Volume = 0.5 })
        musicTween:Play()
    end
    AnimateModule_upvr:TransparencyTween(MessageFrame, 0)
    task.wait(1)
    local textLabel = MessageFrame:FindFirstChild("TextLabel")
    if textLabel then
        AnimateModule_upvr:TextTransparencyTween(textLabel)
        AnimateModule_upvr:TypeWrite(
            textLabel,
            "<stroke color='#181824' joins='miter' thickness='3'>Hello, <font color='rgb(200, 200, 255)'>@" ..
            tostring(LocalPlayer.Name) .. "</font>.</stroke>",
            0.05
        )
        task.wait(2)
        AnimateModule_upvr:TextTransparencyTween(textLabel)
        AnimateModule_upvr:TypeWrite(
            textLabel,
            "<stroke color='#181824' joins='miter' thickness='3' >Thanks For Execute Script <font color='rgb(130, 130, 198)'>'Elected Admin'</font> lol \n\n This my first script, <font color='rgb(200, 200, 255)'>Thanks Again </font>XD</stroke>",
            0.025
        )
    end
    task.wait(3.9)
    AnimateModule_upvr:TransparencyTween(MessageFrame, 1)
    if music then
        local fadeOutTween = TweenService_upvr:Create(music, TweenInfo.new(1), { Volume = 0 })
        fadeOutTween:Play()
        fadeOutTween.Completed:Wait()
        music:Stop()
    end
    MessageFrame.Visible = false
end

-- rayfield window
local Window = Rayfield:CreateWindow({
    Name = "EA Hub",
    Icon = 0,
    LoadingTitle = "EA Hub",
    LoadingSubtitle = "by Alex",
    Theme = "DarkBlue",
    DisableRayfieldPrompts = false,
    DisableBuildWarnings = false,
    ConfigurationSaving = {
        Enabled = true,
        FileName = "EA_Hub"
    },
    Discord = {
        Enabled = true,
        Invite = "none",
        RememberJoins = true
    }
})

local Tab = Window:CreateTab("Auto", 4483362458)
local Tabss = Window:CreateTab("Bypasses", 4483362458)
local Tabs = Window:CreateTab("Misc", 4483362458)

-- adminium autofarm
local targetPos = Vector3.new(-3.47625732, 3.31440401, 0.270684868)
local targetCF = CFrame.new(targetPos, targetPos + Vector3.new(-0.124756418, 0.0027975454, -0.992183447))
local farmingEnabled = false

local function teleportToAdminium()
    local char = player.Character
    local hrp = char and char:FindFirstChild("HumanoidRootPart")
    if hrp then
        hrp.CFrame = targetCF
    end
end

-- toggle
Tab:CreateToggle({
    Name = "Enable Adminium Autofarm",
    CurrentValue = false,
    Flag = "FarmToggle",
    Callback = function(Value)
        farmingEnabled = Value
        if Value then
            teleportToAdminium()
        end
    end,
})

-- teleport to adminium button
Tab:CreateButton({
    Name = "Teleport to Adminium",
    Callback = function()
        teleportToAdminium()
    end,
})

-- mine loop
task.spawn(function()
    local CollectionService = game:GetService("CollectionService")
    
    -- remote setup from rep storage
    local NetworkFolder = ReplicatedStorage_upvr:FindFirstChild("Shared")
    if not NetworkFolder then
        warn("Shared folder not found – autofarm may not work")
        return
    end
    local NetworkModule = NetworkFolder:FindFirstChild("Network")
    if not NetworkModule then
        warn("Network module not found – autofarm may not work")
        return
    end
    local Network = require(NetworkModule)
    local mineRemote = Network.Event("MineAdminium"):Client()
    
    while true do
        task.wait(0.1)
        if farmingEnabled then
            -- adminium ores
            for _, ore in ipairs(CollectionService:GetTagged("Adminium")) do
                if not farmingEnabled then break end
                if ore and ore.Parent then
                    if ore:HasTag("FakeOre") then
                        mineRemote:Fire(ore.OrePart.Value, ore.Position)
                    else
                        mineRemote:Fire(ore)
                    end
                end
            end
            -- adminium blocks
            for _, ore in ipairs(CollectionService:GetTagged("AdminiumBlock")) do
                if not farmingEnabled then break end
                if ore and ore.Parent then
                    mineRemote:Fire(ore)
                end
            end
        end
    end
end)

-- misc tab
local Button1 = Tabs:CreateButton({
    Name = "Teleport to Mar (In Space)",
    Callback = function()
        local player = game.Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()
        if character then
            character:SetPrimaryPartCFrame(CFrame.new(-15425.5186, 30002.3125, -6022.82861,
                0.309293032, -3.00018996e-08, -0.950966775,
                8.47761361e-10, 1, -3.12731139e-08,
                0.950966775, 8.86636364e-09, 0.309293032))
        end
    end,
})

local Button2 = Tabs:CreateButton({
    Name = "Teleport to Moon (In Space)",
    Callback = function()
        local player = game.Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()
        if character then
            character:SetPrimaryPartCFrame(CFrame.new(
                15252.7266, 20126.2578, 5869.2627,
                0.999961436, -7.14466805e-05, 0.00877863541,
                -1.85425519e-09, 0.99996686, 0.00813864078,
                -0.00877892599, -0.00813832693, 0.999928296
            ))
        else
            Rayfield:Notify({
                Title = "Error",
                Content = "Teleport to Moon Not working...",
                Duration = 6.5,
                Image = 4483362458,
            })
        end
    end,
})

local Button3 = Tabs:CreateButton({
    Name = "Teleport to Spawn",
    Callback = function()
        local player = game.Players.LocalPlayer
        local character = player.Character or player.CharacterAdded:Wait()
        local humanoidRootPart = character:WaitForChild("HumanoidRootPart")
        local position = Vector3.new(21.791317, 2.3144083, 0.637120187)
        local orientation = Vector3.new(-0.0224121027, -0.000665124273, 0.999748588)
        humanoidRootPart.CFrame = CFrame.new(position, position + orientation)
    end,
})

-- bypasses tab
local Toggle3 = Tabss:CreateToggle({
    Name = "Anti Jail",
    CurrentValue = false,
    Flag = "AntiJail",
    Callback = function(Value)
        local player = game.Players.LocalPlayer
        local isRunning = Value
        if Value then
            task.spawn(function()
                while isRunning do
                    task.wait(0.1)
                    local adminObjects = workspace:FindFirstChild("AdminObjects")
                    if adminObjects then
                        local jailObject = adminObjects:FindFirstChild(player.Name .. "Jail")
                        if jailObject then
                            jailObject:Destroy()
                            print("Deleted: " .. jailObject.Name)
                        end
                    end
                end
            end)
        else
            isRunning = false
        end
    end,
})

local Toggle4 = Tabss:CreateToggle({
    Name = "Anti Fling",
    CurrentValue = false,
    Flag = "AntiFling",
    Callback = function(Value)
        local player = game.Players.LocalPlayer
        local position = Vector3.new(21.791317, 2.3144083, 0.637120187)
        local orientation = Vector3.new(-0.0224121027, -0.000665124273, 0.999748588)
        if Value then
            task.spawn(function()
                while Value do
                    task.wait(0.1)
                    local character = player.Character
                    if character then
                        local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
                        local humanoid = character:FindFirstChildOfClass("Humanoid")
                        if humanoidRootPart and humanoid and humanoidRootPart.Velocity.Magnitude > 100 then
                            humanoid.Sit = false
                            humanoidRootPart.Velocity = Vector3.new(0, 0, 0)
                            humanoidRootPart.RotVelocity = Vector3.new(0, 0, 0)
                            humanoidRootPart.CFrame = CFrame.new(position) * CFrame.Angles(math.rad(orientation.X), math.rad(orientation.Y), math.rad(orientation.Z))
                        end
                    end
                end
            end)
        end
    end,
})

Rayfield:SetNotification({
    Title = "Loaded",
    Content = "EA Hub loaded successfully!",
    Duration = 3,
    Image = 4483362458,
})

Features & Information

auto mine tp to adminium tp to mars tp to moon tp to span anti jail anti fling

Community Comments (9)

RicheRicheApr 5, 2026

works

JUANKO_MODS_YTJUANKO_MODS_YTApr 5, 2026

Script Credits: Chat GPT

Replying to @JUANKO_MODS_YT
PotatoGuyPotatoGuyApr 15, 2026

@JUANKO_MODS_YT how?

Replying to @PotatoGuy
nikkysnikkysApr 24, 2026

@YolkEggerMan he skidded a script and posted saing its his

tr0lltr0llApr 18, 2026

kinda empty.. we need more stuff 🔥

nikkysnikkysApr 24, 2026

niceee, you skidded an script dude

bruhssuperbruhssuperApr 25, 2026

Wow, you just stole a script from a player who wrote it himself. That's bad.

skidded, probably doesn't work, report.

alexkkork123alexkkork123Jun 14, 2026

not skidded i made this btw

More Scripts for Elected Admin 🗳️