local Players = game:GetService("Players") local RunService = game:GetService("RunService") local Workspace = game:GetService("Workspace") local localPlayer = Players.LocalPlayer local character = localPlayer.Character or localPlayer.CharacterAdded:Wait() local hrp = character:WaitForChild("HumanoidRootPart") local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))() local Window = Rayfield:CreateWindow({ Name = "Gubbzly Hub", LoadingTitle = "Injecting Gubbz Magic...", LoadingSubtitle = "Seeking Perfection", ConfigurationSaving = { Enabled = true, FolderName = "GubbzHideSeek", FileName = "Settings" } }) local function getDistance(pos1, pos2) return (pos1 - pos2).Magnitude end local function getTaggers() local taggers = {} for _, plr in ipairs(Players:GetPlayers()) do if plr.Character and plr.Character:FindFirstChild("ItScript") then table.insert(taggers, plr) end end return taggers end local function getHidingSpots() return Workspace:FindFirstChild("Map") and Workspace.Map:FindFirstChild("NoCollision") and Workspace.Map.NoCollision:GetDescendants() or {} end local function getCredits() return Workspace:FindFirstChild("GameObjects") and Workspace.GameObjects:GetChildren() or {} end local Tab = Window:CreateTab("AutoFarm", 4483362458) Tab:CreateParagraph({ Title = "⚠️ Warning", Content = "This AutoFarm is VERY noticeable and could get you banned fast.\nUse at your own risk." }) getgenv().autoCatch = false getgenv().autoHide = false getgenv().autoCollect = false getgenv().coinDelay = 0.5 getgenv().hideDistance = 100 Tab:CreateToggle({ Name = "Auto Catch", CurrentValue = false, Flag = "AutoCatch", Callback = function(v) getgenv().autoCatch = v end, }) Tab:CreateToggle({ Name = "Auto Hide", CurrentValue = false, Flag = "AutoHide", Callback = function(v) getgenv().autoHide = v end, }) Tab:CreateToggle({ Name = "Auto Collect Credits", CurrentValue = false, Flag = "AutoCollect", Callback = function(v) getgenv().autoCollect = v end, }) Tab:CreateSlider({ Name = "Coin Collect Delay (seconds)", Range = {0.1, 5}, Increment = 0.1, CurrentValue = 0.5, Flag = "CoinDelay", Callback = function(v) getgenv().coinDelay = v end, }) Tab:CreateSlider({ Name = "Distance to Change Hiding Spot", Range = {10, 200}, Increment = 5, CurrentValue = 100, Flag = "HideDistance", Callback = function(v) getgenv().hideDistance = v end, }) local SpeedTab = Window:CreateTab("SpeedHacks", 4483362458) getgenv().customTaggerSpeed = false getgenv().taggerSpeed = 24 getgenv().customHiderSpeed = false getgenv().hiderSpeed = 16 SpeedTab:CreateToggle({ Name = "Custom Tagger Speed", Flag = "CustomTaggerSpeed", CurrentValue = false, Callback = function(v) getgenv().customTaggerSpeed = v end, }) SpeedTab:CreateSlider({ Name = "Tagger Speed", Flag = "TaggerSpeed", Range = {16, 100}, Increment = 1, CurrentValue = 24, Callback = function(v) getgenv().taggerSpeed = v end, }) SpeedTab:CreateToggle({ Name = "Custom Hider Speed", Flag = "CustomHiderSpeed", CurrentValue = false, Callback = function(v) getgenv().customHiderSpeed = v end, }) SpeedTab:CreateSlider({ Name = "Hider Speed", Flag = "HiderSpeed", Range = {16, 100}, Increment = 1, CurrentValue = 16, Callback = function(v) getgenv().hiderSpeed = v end, }) local EspTab = Window:CreateTab("ESP", 4483362458) getgenv().espEnabled = false getgenv().espShowSelf = false getgenv().espTransparency = 0.5 getgenv().espBillboards = false EspTab:CreateToggle({ Name = "Toggle ESP", CurrentValue = false, Flag = "ToggleESP", Callback = function(v) getgenv().espEnabled = v end, }) EspTab:CreateToggle({ Name = "Highlight Self", CurrentValue = false, Flag = "HighlightSelf", Callback = function(v) getgenv().espShowSelf = v end, }) EspTab:CreateSlider({ Name = "Highlight Transparency", Range = {0, 1}, Increment = 0.05, CurrentValue = 0.5, Flag = "ESPTransparency", Callback = function(v) getgenv().espTransparency = v for _, v in ipairs(Workspace:GetDescendants()) do if v:IsA("Highlight") and v.Name == "GubbzESP" then v.FillTransparency = getgenv().espTransparency end end end, }) EspTab:CreateToggle({ Name = "Billboard GUIs", CurrentValue = false, Flag = "BillboardGUIs", Callback = function(v) getgenv().espBillboards = v end, }) local function getOrCreateHighlight(obj, color) local existing = obj:FindFirstChild("GubbzESP") if not existing then local h = Instance.new("Highlight") h.Name = "GubbzESP" h.Adornee = obj h.FillColor = color h.FillTransparency = getgenv().espTransparency h.OutlineColor = Color3.new() h.OutlineTransparency = 0 h.Parent = obj return h else existing.FillTransparency = getgenv().espTransparency return existing end end local function getOrCreateBillboard(obj, label) local existing = obj:FindFirstChild("GubbzBillboard") if not existing then local bb = Instance.new("BillboardGui") bb.Name = "GubbzBillboard" bb.Size = UDim2.new(0, 200, 0, 50) bb.AlwaysOnTop = true bb.Adornee = obj bb.StudsOffset = Vector3.new(0, 3, 0) local txt = Instance.new("TextLabel", bb) txt.Size = UDim2.new(1, 0, 1, 0) txt.BackgroundTransparency = 1 txt.TextColor3 = Color3.new(1, 1, 1) txt.TextStrokeTransparency = 0 txt.TextScaled = true txt.Font = Enum.Font.GothamBold txt.Text = label bb.Parent = obj return bb else existing.TextLabel.Text = label return existing end end task.spawn(function() while true do task.wait(0.5) pcall(function() if not getgenv().espEnabled then return end for _, plr in ipairs(Players:GetPlayers()) do if plr.Character and (plr ~= localPlayer or getgenv().espShowSelf) then getOrCreateHighlight(plr.Character, Color3.fromRGB(255, 200, 0)) if getgenv().espBillboards and plr.Character:FindFirstChild("HumanoidRootPart") then getOrCreateBillboard(plr.Character.HumanoidRootPart, plr.Name) end end end for _, part in ipairs(getHidingSpots()) do if part:IsA("BasePart") then getOrCreateHighlight(part, Color3.fromRGB(100, 255, 100)) if getgenv().espBillboards then getOrCreateBillboard(part, "Hiding Spot") end end end for _, credit in ipairs(getCredits()) do if credit:IsA("BasePart") and credit.Name == "Credit" then getOrCreateHighlight(credit, Color3.fromRGB(50, 200, 255)) if getgenv().espBillboards then getOrCreateBillboard(credit, "Credit") end end end end) end end) task.spawn(function() while true do task.wait() pcall(function() character = localPlayer.Character or localPlayer.CharacterAdded:Wait() hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return end if getgenv().autoCatch and character:FindFirstChild("ItScript") then for _, plr in ipairs(Players:GetPlayers()) do if plr ~= localPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then plr.Character:MoveTo(hrp.Position) end end end if getgenv().autoHide and not character:FindFirstChild("ItScript") then for _, tagger in ipairs(getTaggers()) do local taggerHRP = tagger.Character and tagger.Character:FindFirstChild("HumanoidRootPart") if taggerHRP and getDistance(hrp.Position, taggerHRP.Position) <= getgenv().hideDistance then local farthest, maxDist = nil, 0 for _, spot in ipairs(getHidingSpots()) do if spot:IsA("BasePart") then local dist = getDistance(spot.Position, taggerHRP.Position) if dist > maxDist then maxDist = dist farthest = spot end end end if farthest then hrp.CFrame = CFrame.new(farthest.Position + Vector3.new(0, 3, 0)) end end end end end) end end) task.spawn(function() while true do task.wait(getgenv().coinDelay) pcall(function() if not getgenv().autoCollect then return end character = localPlayer.Character or localPlayer.CharacterAdded:Wait() hrp = character:FindFirstChild("HumanoidRootPart") if not hrp then return end local closest, closestDist = nil, math.huge for _, coin in ipairs(getCredits()) do if coin:IsA("BasePart") and coin.Name == "Credit" then local dist = getDistance(hrp.Position, coin.Position) if dist < closestDist then closestDist = dist closest = coin end end end if closest then hrp.CFrame = CFrame.new(closest.Position + Vector3.new(0, 2, 0)) end end) end end) task.spawn(function() while true do task.wait(0.1) local char = localPlayer.Character local humanoid = char and char:FindFirstChildWhichIsA("Humanoid") if not humanoid then continue end local isTagger = char:FindFirstChild("ItScript") ~= nil if isTagger and getgenv().customTaggerSpeed then humanoid.WalkSpeed = getgenv().taggerSpeed elseif not isTagger and getgenv().customHiderSpeed then humanoid.WalkSpeed = getgenv().hiderSpeed else humanoid.WalkSpeed = 16 end end end) local VisualTab = Window:CreateTab("Visual", 4483362458) getgenv().customFOV = false getgenv().FOVValue = 70 getgenv().fullBright = false VisualTab:CreateToggle({ Name = "Custom FOV", CurrentValue = false, Flag = "CustomFOV", Callback = function(v) getgenv().customFOV = v if not v then game.Workspace.CurrentCamera.FieldOfView = 70 else game.Workspace.CurrentCamera.FieldOfView = getgenv().FOVValue end end, }) VisualTab:CreateSlider({ Name = "FOV", Range = {50, 120}, Increment = 1, CurrentValue = 70, Flag = "FOVSlider", Callback = function(v) getgenv().FOVValue = v if getgenv().customFOV then game.Workspace.CurrentCamera.FieldOfView = v end end, }) VisualTab:CreateToggle({ Name = "Full Bright", CurrentValue = false, Flag = "FullBright", Callback = function(v) getgenv().fullBright = v if v then game.Lighting.Ambient = Color3.new(1,1,1) game.Lighting.Brightness = 2 game.Lighting.ClockTime = 12 else game.Lighting.Ambient = Color3.new(0.5,0.5,0.5) game.Lighting.Brightness = 1 game.Lighting.ClockTime = 14 end end, }) local AimTab = Window:CreateTab("Aim", 4483362458) getgenv().charAimEnabled = false getgenv().camAimEnabled = false getgenv().prediction = 0 getgenv().smoothness = 0.1 AimTab:CreateToggle({ Name = "Character Aimbot", CurrentValue = false, Flag = "CharAim", Callback = function(v) getgenv().charAimEnabled = v end, }) AimTab:CreateToggle({ Name = "Camera Aimbot", CurrentValue = false, Flag = "CamAim", Callback = function(v) getgenv().camAimEnabled = v end, }) AimTab:CreateSlider({ Name = "Prediction", Range = {0, 1}, Increment = 0.01, CurrentValue = 0, Flag = "PredictionSlider", Callback = function(v) getgenv().prediction = v end, }) AimTab:CreateSlider({ Name = "Smoothness", Range = {0.01, 1}, Increment = 0.01, CurrentValue = 0.1, Flag = "SmoothnessSlider", Callback = function(v) getgenv().smoothness = v end, }) local function getNearestPlayer() local nearest = nil local nearestDist = math.huge local hrp = localPlayer.Character and localPlayer.Character:FindFirstChild("HumanoidRootPart") if not hrp then return nil end for _, plr in ipairs(Players:GetPlayers()) do if plr ~= localPlayer and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then local targetHRP = plr.Character.HumanoidRootPart local dist = (targetHRP.Position - hrp.Position).Magnitude if dist < nearestDist then nearestDist = dist nearest = plr end end end return nearest end RunService.RenderStepped:Connect(function(deltaTime) if not localPlayer.Character or not localPlayer.Character:FindFirstChild("HumanoidRootPart") then return end local hrp = localPlayer.Character.HumanoidRootPart local cam = workspace.CurrentCamera if getgenv().charAimEnabled or getgenv().camAimEnabled then local target = getNearestPlayer() if target and target.Character and target.Character:FindFirstChild("HumanoidRootPart") then local targetHRP = target.Character.HumanoidRootPart local velocity = targetHRP.AssemblyLinearVelocity or Vector3.new() local predictionOffset = velocity * getgenv().prediction local aimPos = targetHRP.Position + predictionOffset if getgenv().charAimEnabled then local lookVector = (Vector3.new(aimPos.X, hrp.Position.Y, aimPos.Z) - hrp.Position).Unit local currentLook = hrp.CFrame.LookVector local lerpedLook = currentLook:Lerp(lookVector, getgenv().smoothness) hrp.CFrame = CFrame.new(hrp.Position, hrp.Position + lerpedLook) end if getgenv().camAimEnabled then local camPos = cam.CFrame.Position local direction = (aimPos - camPos).Unit local targetCFrame = CFrame.new(camPos, camPos + direction) cam.CFrame = cam.CFrame:Lerp(targetCFrame, getgenv().smoothness) end end end end) local SettingsTab = Window:CreateTab("Settings", 4483362458) SettingsTab:CreateDropdown({ Name = "Select Theme", Options = {"Default", "Dark", "Light", "Midnight"}, CurrentOption = "Default", Flag = "ThemeDropdown", Callback = function(theme) pcall(function() Rayfield:ChangeTheme(theme) end) end, }) SettingsTab:CreateButton({ Name = "Save Settings", Callback = function() pcall(function() Rayfield:SaveConfiguration() end) end, }) SettingsTab:CreateButton({ Name = "Load Settings", Callback = function() pcall(function() Rayfield:LoadConfiguration() end) end, }) SettingsTab:CreateButton({ Name = "Reset Settings", Callback = function() pcall(function() Rayfield:Destroy() wait(0.5) loadstring(game:HttpGet('https://sirius.menu/rayfield'))() end) end, }) Rayfield:LoadConfiguration()