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 })