-- Sylex Farm local Players = game:GetService("Players") local RS = game:GetService("ReplicatedStorage") local Player = Players.LocalPlayer local StartEvent = RS.Net.Challenge_RequestStart local ClickEvent = RS.Net.Challenge_Click local Running = false -- GUI local GUI = Instance.new("ScreenGui") GUI.Name = "SylexFarm" GUI.ResetOnSpawn = false GUI.IgnoreGuiInset = true GUI.DisplayOrder = 999999 GUI.ZIndexBehavior = Enum.ZIndexBehavior.Global GUI.Parent = Player:WaitForChild("PlayerGui") -- Frame local Frame = Instance.new("Frame") Frame.Size = UDim2.new(0, 220, 0, 125) Frame.Position = UDim2.new(0.5, -110, 0.5, -62) Frame.BackgroundColor3 = Color3.fromRGB(20, 25, 35) Frame.BorderSizePixel = 0 Frame.Active = true Frame.Draggable = true Frame.ZIndex = 10 Frame.Parent = GUI local Corner = Instance.new("UICorner") Corner.CornerRadius = UDim.new(0, 12) Corner.Parent = Frame -- Title local Title = Instance.new("TextLabel") Title.Size = UDim2.new(1, 0, 0, 40) Title.BackgroundTransparency = 1 Title.Text = "Sylex Farm" Title.TextColor3 = Color3.fromRGB(0, 255, 130) Title.TextSize = 23 Title.Font = Enum.Font.GothamBold Title.ZIndex = 11 Title.Parent = Frame -- Button local Button = Instance.new("TextButton") Button.Size = UDim2.new(0, 180, 0, 45) Button.Position = UDim2.new(0.5, -90, 0, 60) Button.BackgroundColor3 = Color3.fromRGB(180, 45, 45) Button.Text = "OFF" Button.TextColor3 = Color3.new(1, 1, 1) Button.TextSize = 20 Button.Font = Enum.Font.GothamBold Button.ZIndex = 11 Button.Parent = Frame local ButtonCorner = Instance.new("UICorner") ButtonCorner.CornerRadius = UDim.new(0, 9) ButtonCorner.Parent = Button -- Toggle Button.MouseButton1Click:Connect(function() Running = not Running if Running then Button.Text = "ON" Button.BackgroundColor3 = Color3.fromRGB(0, 170, 90) task.spawn(function() while Running do StartEvent:FireServer(CFrame.new( 3.5311164855957031, 1.8795547485351562, 109.879638671875, -1.1920928955078125e-07, 0, 1.0000001192092896, 0, 1, 0, -1.0000001192092896, 0, -1.1920928955078125e-07 )) task.wait(11.07) end end) task.spawn(function() while Running do ClickEvent:FireServer(2) task.wait(0.1) end end) else Button.Text = "OFF" Button.BackgroundColor3 = Color3.fromRGB(180, 45, 45) end end)