Minigame hub BETA
Key RequiredUniversal

Minigame hub BETA

Universal ScriptCD_kakkakakaCD_kakkakaka 3.6K views 113 executesUpdated Mar 4, 2025
2.5/ 5(2 votes)
1150% Positive
Lua Script•111 lines (3604 chars)
local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()

local Window = Rayfield:CreateWindow({
    Name = "Mini Game Hub",
    LoadingTitle = "Carregando...",
    LoadingSubtitle = "Criado por cubodegelo",
    ConfigurationSaving = {
        Enabled = false
    }
})

local MiniGamesTab = Window:CreateTab("Minigames", 4483362458)

local function startBlockScape()
    local player = game.Players.LocalPlayer
    local character = player.Character or player.CharacterAdded:Wait()
    local rootPart = character:FindFirstChild("HumanoidRootPart")
    
    if not rootPart then return end
    
    local block = Instance.new("Part")
    block.Size = Vector3.new(2, 5, 2)
    block.Color = Color3.fromRGB(255, 0, 0)
    block.Material = Enum.Material.Neon
    block.Anchored = true
    block.CanCollide = false
    block.Parent = workspace
    
    local function getRandomPosition()
        local mapSize = 100
        return Vector3.new(math.random(-mapSize, mapSize), 5, math.random(-mapSize, mapSize))
    end
    
    block.Position = getRandomPosition()
    
    game:GetService("RunService").Heartbeat:Connect(function()
        if character and rootPart then
            block.Position = block.Position:Lerp(rootPart.Position, 0.05)
            if (block.Position - rootPart.Position).Magnitude < 2 then
                player:Kick("voce encostou no bloco")
            end
        end
    end)
end

MiniGamesTab:CreateButton({
    Name = "Block Scape",
    Callback = function()
        startBlockScape()
    end
})

local function startFindAPlayer()
    local players = game.Players:GetPlayers()
    if #players < 2 then
        Rayfield:Notify({Title = "Find a Player", Content = "Não há jogadores suficientes!"})
        return
    end
    
    local targetPlayer = players[math.random(1, #players)]
    while targetPlayer == game.Players.LocalPlayer do
        targetPlayer = players[math.random(1, #players)]
    end
    
    local UI = Instance.new("ScreenGui")
    local Frame = Instance.new("Frame")
    local Label = Instance.new("TextLabel")
    
    UI.Parent = game.Players.LocalPlayer:FindFirstChild("PlayerGui")
    Frame.Parent = UI
    Label.Parent = Frame
    
    Frame.Size = UDim2.new(0.3, 0, 0.2, 0)
    Frame.Position = UDim2.new(0.35, 0, 0.1, 0)
    Frame.BackgroundColor3 = Color3.new(0, 0, 0)
    
    Label.Size = UDim2.new(1, 0, 1, 0)
    Label.Text = "Ache o(a) " .. targetPlayer.Name
    Label.TextColor3 = Color3.new(1, 1, 1)
    Label.TextScaled = true
    Label.BackgroundTransparency = 1
    
    local highlight = Instance.new("Highlight")
    highlight.Parent = targetPlayer.Character
    highlight.FillColor = Color3.fromRGB(255, 255, 0)
    highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
    highlight.DepthMode = Enum.HighlightDepthMode.AlwaysOnTop
    
    local function checkTouch(otherPart)
        local character = game.Players.LocalPlayer.Character
        if character and character:FindFirstChild("HumanoidRootPart") and otherPart:IsDescendantOf(targetPlayer.Character) then
            Label.Text = "Parabéns! Você encontrou " .. targetPlayer.Name
            highlight:Destroy()
            wait(2)
            UI:Destroy()
        end
    end
    
    local character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
    local rootPart = character:FindFirstChild("HumanoidRootPart")
    if rootPart then
        rootPart.Touched:Connect(checkTouch)
    end
end

MiniGamesTab:CreateButton({
    Name = "Find a Player",
    Callback = function()
        startFindAPlayer()
    end
})

Features & Information

A scripthub with minigames for you to do something :/, this is a beta version, if you want more minigames tell me which one you want Current minigames: escape block and find player

Community Comments (1)

DeowlDeowlApr 16, 2026

Can you make auto mini game that auto click on choose an ability for the piano game

More Scripts for Universal Scripts