-- [[ Rscripts Risk Notice ]] -- This script is not verified by rscripts.net. Deal with caution. -- -- Stay safe: -- • Never log in on unofficial Roblox sites or lookalike domains. -- • Real Roblox links use roblox.com (check the .com ending). -- • Treat fake Roblox login / "claim reward" pages as phishing. -- [[ End Rscripts Risk Notice ]] -- ========================================== -- Main Script with Integrated GUI & Toggles -- ========================================== local CoreGui = game:GetService("CoreGui") local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local UserInputService = game:GetService("UserInputService") local LocalPlayer = Players.LocalPlayer -- GUI Setup local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "AutoFarmGUI" ScreenGui.Parent = CoreGui:FindFirstChild("RobloxGui") or CoreGui ScreenGui.ResetOnSpawn = false local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 220, 0, 190) -- تم زيادة الطول قليلاً ليناسب الحقوق MainFrame.Position = UDim2.new(0.5, -110, 0.4, -95) MainFrame.BackgroundColor3 = Color3.fromRGB(25, 25, 30) MainFrame.BorderSizePixel = 0 MainFrame.Active = true MainFrame.Draggable = true MainFrame.Parent = ScreenGui local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 8) UICorner.Parent = MainFrame local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 35) Title.BackgroundColor3 = Color3.fromRGB(35, 35, 42) Title.Text = "Auto Farm Controller" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.Font = Enum.Font.SourceSansBold Title.Parent = MainFrame local TitleCorner = Instance.new("UICorner") TitleCorner.CornerRadius = UDim.new(0, 8) TitleCorner.Parent = Title -- Button 1: Auto Coins local CoinBtn = Instance.new("TextButton") CoinBtn.Size = UDim2.new(0.85, 0, 0, 40) CoinBtn.Position = UDim2.new(0.075, 0, 0.25, 0) CoinBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) CoinBtn.Text = "Auto Coins: OFF" CoinBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CoinBtn.TextSize = 13 CoinBtn.Font = Enum.Font.SourceSansSemibold CoinBtn.Parent = MainFrame local CoinCorner = Instance.new("UICorner") CoinCorner.CornerRadius = UDim.new(0, 6) CoinCorner.Parent = CoinBtn -- Button 2: Auto Teleport local TPBtn = Instance.new("TextButton") TPBtn.Size = UDim2.new(0.85, 0, 0, 40) TPBtn.Position = UDim2.new(0.075, 0, 0.52, 0) TPBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) TPBtn.Text = "Auto Teleport: OFF" TPBtn.TextColor3 = Color3.fromRGB(255, 255, 255) TPBtn.TextSize = 13 TPBtn.Font = Enum.Font.SourceSansSemibold TPBtn.Parent = MainFrame local TPCorner = Instance.new("UICorner") TPCorner.CornerRadius = UDim.new(0, 6) TPCorner.Parent = TPBtn -- Watermark: By 7s31 x gimni local Credit = Instance.new("TextLabel") Credit.Size = UDim2.new(1, 0, 0, 20) Credit.Position = UDim2.new(0, 0, 1, -25) Credit.BackgroundTransparency = 1 Credit.Text = "By 7s31 x gimni" Credit.TextColor3 = Color3.fromRGB(150, 150, 150) Credit.TextSize = 12 Credit.Font = Enum.Font.SourceSansItalic Credit.Parent = MainFrame -- Global States getgenv().AutoCollectCoins = false _G.AutoTeleport = false -- 1. Auto Collect Coins Logic (Teleports Player to Coins directly) task.spawn(function() while true do if getgenv().AutoCollectCoins then local character = LocalPlayer.Character local root = character and character:FindFirstChild("HumanoidRootPart") local Remotes = ReplicatedStorage:FindFirstChild("GameSystems") and ReplicatedStorage.GameSystems:FindFirstChild("Remotes") local coinRemote = Remotes and Remotes:FindFirstChild("CoinRequest") local collectiblesFolder = workspace:FindFirstChild("Collectibles") if root and collectiblesFolder and coinRemote then for _, coin in ipairs(collectiblesFolder:GetChildren()) do if not getgenv().AutoCollectCoins then break end if coin:IsA("BasePart") or coin:IsA("Model") then local coinPosition = coin:IsA("Model") and coin:GetPivot().Position or coin.Position -- الانتقال بشخصيتك فوراً بقرب العملة root.CFrame = CFrame.new(coinPosition + Vector3.new(0, 2, 0)) task.wait(0.50) -- إرسال طلب الجمع coinRemote:FireServer(coin) task.wait(0.50) end end end end task.wait(0.50) end end) -- 2. Auto Teleport Logic task.spawn(function() while true do if _G.AutoTeleport then local character = LocalPlayer.Character local hrp = character and character:FindFirstChild("HumanoidRootPart") if hrp then hrp.CFrame = CFrame.new(-71469.2266, 1902.47852, 5.01947784, 0, 0, 1, 0, 1, -0, -1, 0, 0) end task.wait(0.01) else task.wait(0.3) end end end) -- Button Actions CoinBtn.MouseButton1Click:Connect(function() getgenv().AutoCollectCoins = not getgenv().AutoCollectCoins if getgenv().AutoCollectCoins then CoinBtn.BackgroundColor3 = Color3.fromRGB(50, 180, 80) CoinBtn.Text = "Auto Coins: ON" else CoinBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) CoinBtn.Text = "Auto Coins: OFF" end end) TPBtn.MouseButton1Click:Connect(function() _G.AutoTeleport = not _G.AutoTeleport if _G.AutoTeleport then TPBtn.BackgroundColor3 = Color3.fromRGB(50, 180, 80) TPBtn.Text = "Auto Teleport: ON" else TPBtn.BackgroundColor3 = Color3.fromRGB(180, 50, 50) TPBtn.Text = "Auto Teleport: OFF" end end) -- Toggle GUI Visibility with RightShift Key UserInputService.InputBegan:Connect(function(input, gpe) if not gpe and input.KeyCode == Enum.KeyCode.RightShift then MainFrame.Visible = not MainFrame.Visible end end) -- By 7s31 x gimni