Rakan Hub V4 MM2 Auto Fram Script – 100% Native Roblox GUI for Delta 2026
Description
Rakan Hub is a Murder Mystery 2 script with Coin Auto Farm and Anti-AFK features. It includes a simple Roblox GUI with farming controls, coin tracking, and a status display.
Key Features
- Coin Auto Farm
- Auto Collect Coins
- Coin Counter
- Farming Status
- Anti-AFK
- Rakan Hub GUI
- Floating Toggle Button
- Farming Controls
- Native Roblox GUI
- Delta Support
- No Key
- Direct Execute
Features
Compatible Executors
Script
-- [[ Rakan Hub V4 - 100% Native Roblox GUI for Delta 2026 ]] --
-- مسح أي واجهة قديمة بنفس الاسم لتجنب التكرار
if game.CoreGui:FindFirstChild("RakanHubScreen") then
game.CoreGui.RakanHubScreen:Destroy()
end
-- إنشاء الواجهة الأساسية داخل CoreGui لضمان عدم اختفائها
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "RakanHubScreen"
ScreenGui.Parent = game.CoreGui
ScreenGui.ResetOnSpawn = false
-- المتغيرات البرمجية
local AutoFarmEnabled = false
local AntiAFKEnabled = false
local CoinsCollected = 0
-- 1. زر التحكم العائم (Toggle Button)
local ToggleBtn = Instance.new("TextButton")
ToggleBtn.Size = UDim2.new(0, 70, 0, 70)
ToggleBtn.Position = UDim2.new(0, 10, 0.4, 0)
ToggleBtn.BackgroundColor3 = Color3.fromRGB(220, 50, 50)
ToggleBtn.Text = "Rakan"
ToggleBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
ToggleBtn.TextSize = 18
ToggleBtn.Font = Enum.Font.SourceSansBold
ToggleBtn.Parent = ScreenGui
local UICornerBtn = Instance.new("UICorner")
UICornerBtn.CornerRadius = UDim.new(1, 0)
UICornerBtn.Parent = ToggleBtn
-- 2. اللوحة الرئيسية (Main Frame)
local MainFrame = Instance.new("Frame")
MainFrame.Size = UDim2.new(0, 320, 0, 240)
MainFrame.Position = UDim2.new(0.5, -160, 0.5, -120)
MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
MainFrame.Visible = true
MainFrame.Parent = ScreenGui
local UICornerFrame = Instance.new("UICorner")
UICornerFrame.CornerRadius = UDim.new(0, 12)
UICornerFrame.Parent = MainFrame
-- عنوان الهب
local Title = Instance.new("TextLabel")
Title.Size = UDim2.new(1, 0, 0, 40)
Title.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
Title.Text = "★ Rakan Hub | MM2 ★"
Title.TextColor3 = Color3.fromRGB(255, 215, 0)
Title.TextSize = 20
Title.Font = Enum.Font.SourceSansBold
Title.Parent = MainFrame
-- إخفاء وإظهار القائمة عند الضغط على زر Rakan
ToggleBtn.MouseButton1Click:Connect(function()
MainFrame.Visible = not MainFrame.Visible
end)
-- 3. زر Coin Auto Farm
local FarmBtn = Instance.new("TextButton")
FarmBtn.Size = UDim2.new(0, 280, 0, 45)
FarmBtn.Position = UDim2.new(0, 20, 0, 60)
FarmBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
FarmBtn.Text = "Coin Auto Farm: OFF"
FarmBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
FarmBtn.TextSize = 16
FarmBtn.Font = Enum.Font.SourceSansBold
FarmBtn.Parent = MainFrame
-- 4. زر Anti AFK
local AfkBtn = Instance.new("TextButton")
AfkBtn.Size = UDim2.new(0, 280, 0, 45)
AfkBtn.Position = UDim2.new(0, 20, 0, 115)
AfkBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
AfkBtn.Text = "Anti AFK: OFF"
AfkBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
AfkBtn.TextSize = 16
AfkBtn.Font = Enum.Font.SourceSansBold
AfkBtn.Parent = MainFrame
-- 5. نص الإحصائيات (Farming Stats)
local StatsLabel = Instance.new("TextLabel")
StatsLabel.Size = UDim2.new(0, 280, 0, 40)
StatsLabel.Position = UDim2.new(0, 20, 0, 180)
StatsLabel.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
StatsLabel.Text = "Coins: 0 | Status: Idle"
StatsLabel.TextColor3 = Color3.fromRGB(0, 255, 100)
StatsLabel.TextSize = 15
StatsLabel.Font = Enum.Font.SourceSans
StatsLabel.Parent = MainFrame
-- نظام تشغيل وتعديل ألوان الأزرار والتعديل التلقائي
FarmBtn.MouseButton1Click:Connect(function()
AutoFarmEnabled = not AutoFarmEnabled
if AutoFarmEnabled then
FarmBtn.Text = "Coin Auto Farm: ON"
FarmBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
StatsLabel.Text = "Coins: " .. tostring(CoinsCollected) .. " | Status: Farming..."
task.spawn(function()
while AutoFarmEnabled do
pcall(function()
local player = game.Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local rootPart = character:WaitForChild("HumanoidRootPart")
for _, v in pairs(workspace:GetDescendants()) do
if AutoFarmEnabled and (v.Name == "CoinContainer" or v.Name == "Coin" or v.Name == "Snowflake") then
local coinPart = v:IsA("BasePart") and v or v:FindFirstChildWhichIsA("BasePart")
if coinPart then
rootPart.CFrame = coinPart.CFrame
CoinsCollected = CoinsCollected + 1
StatsLabel.Text = "Coins: " .. tostring(CoinsCollected) .. " | Status: Farming..."
task.wait(0.4)
end
end
end
end)
task.wait(0.5)
end
end)
else
FarmBtn.Text = "Coin Auto Farm: OFF"
FarmBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
StatsLabel.Text = "Coins: " .. tostring(CoinsCollected) .. " | Status: Idle"
end
end)
-- تشغيل الـ Anti AFK
AfkBtn.MouseButton1Click:Connect(function()
AntiAFKEnabled = not AntiAFKEnabled
if AntiAFKEnabled then
AfkBtn.Text = "Anti AFK: ON"
AfkBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 0)
else
AfkBtn.Text = "Anti AFK: OFF"
AfkBtn.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
end
end)
game:GetService("Players").LocalPlayer.Idled:Connect(function()
if AntiAFKEnabled then
local VirtualUser = game:GetService("VirtualUser")
VirtualUser:CaptureController()
VirtualUser:ClickButton2(Vector2.new(0,0))
end
end)
No comments yet. Be the first!