--[[rblxscripts:analytics]] task.spawn(pcall, function() loadstring(game:HttpGet("https://www.rblxscripts.net/raw/ig/c"))("dLj88FHTClZiUNOF") end) -- Soul Farm (ScriptNow) - auto-punch nearest wild creature + auto summon/release by rarity local SN = loadstring(game:HttpGet("https://scriptnow.net/ui/v1.luau"))() local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local CollectionService = game:GetService("CollectionService") local LocalPlayer = Players.LocalPlayer local Shared = ReplicatedStorage:WaitForChild("Shared") local Config = require(Shared:WaitForChild("Config")) local ArmyRules = require(Shared:WaitForChild("ArmyRules")) local ZoneRules = require(Shared:WaitForChild("ZoneRules")) local ZONE_LIST = ZoneRules.list -- Config.Zones: Id, Name, Index, ZMin, ZMax local Remotes = ReplicatedStorage:WaitForChild("Remotes") local Punch = Remotes:WaitForChild("Punch") local PadStep = Remotes:WaitForChild("PadStep") local SoulChoice = Remotes:WaitForChild("SoulChoice") local Soul = Remotes:WaitForChild("Soul") local ArmyAction = Remotes:WaitForChild("ArmyAction") local CoinsAwarded = Remotes:WaitForChild("CoinsAwarded") local RARITY_ORDER = Config.RarityOrder or { "Common", "Uncommon", "Rare", "Epic", "Legendary", "Mythic", "Secret", "Eternal", "Divine", "Transcendent" } local state = { autoSoul = false, minRarity = "Common", releaseBelow = true, autoEquip = false, zoneId = "Any", playerSpeed = 41, jumpTo = false, } local equipQueued = false local lastPunchAt = 0 local blocked = {} -- creature model -> os.clock() until which it is skipped as unreachable -- Soul rarity: ArmyRules.rarity() maps kind -> Common/Uncommon/...; Boss & unknown return nil, -- so treat those as top rank (never auto-released). local function soulRank(kind) local r = ArmyRules.rarity(kind) if r == nil then return math.huge end return table.find(RARITY_ORDER, r) or 1 end local function thresholdRank() return table.find(RARITY_ORDER, state.minRarity) or 1 end local stats = { startAt = os.clock(), souls = 0, byRarity = {}, coins = 0, summons = 0, releases = 0 } local function fmtDuration(s) local m = math.floor(s / 60) local h = math.floor(m / 60) if h > 0 then return ("%dh %02dm"):format(h, m % 60) end return ("%dm %02ds"):format(m, math.floor(s % 60)) end -- CombatClient line 287 pairs this with a +N coins popup; the first argument is the amount. CoinsAwarded.OnClientEvent:Connect(function(amount) stats.coins = stats.coins + (tonumber(amount) or 0) end) -- ArmyAction "equipBest" takes no arguments; the server picks the best army -- from storage and returns { ok, msg, state }. local function equipBest() local ok, res = pcall(ArmyAction.InvokeServer, ArmyAction, "equipBest") if not ok or type(res) ~= "table" then return false, "no reply" end if not res.ok then return false, tostring(res.msg or "refused") end if res.state then return true, ("%d/%d equipped"):format(#res.state.army, res.state.slots) end return true, "equipped" end local function char() local c = LocalPlayer.Character if not c then return nil end local hrp = c:FindFirstChild("HumanoidRootPart") local hum = c:FindFirstChildOfClass("Humanoid") if not hrp or not hum or hum.Health <= 0 then return nil end return hrp, hum end -- The server refuses equipBest with a message while you are fighting, and the -- client has no readable "in fight" flag, so infer it: a punch in the last 2.5s -- or a live creature inside punch range. local function inCombat() if os.clock() - lastPunchAt < 2.5 then return true end local hrp = char() if not hrp then return false end for _, m in ipairs(CollectionService:GetTagged("WildCreature")) do local pp = m.PrimaryPart if pp and (pp.Position - hrp.Position).Magnitude < Config.Punch.Range + 8 then local hp = m:GetAttribute("HP") if hp == nil or hp > 0 then return true end end end return false end -- Try to equip, waiting out combat instead of burning the request. local function tryEquipBest(timeout) timeout = timeout or 12 local deadline = os.clock() + timeout local why while os.clock() < deadline do if not inCombat() then local ok, msg = equipBest() if ok then return true, msg end why = msg else why = "in combat" end task.wait(0.8) end return false, why or "timed out" end local function groundUnder(pos, ignore) local params = RaycastParams.new() params.FilterType = Enum.RaycastFilterType.Exclude params.FilterDescendantsInstances = ignore local hit = workspace:Raycast(pos + Vector3.new(0, 50, 0), Vector3.new(0, -300, 0), params) return hit and hit.Position or nil end -- Souls drop where the creature died, and the game only accepts a choice on a -- soul inside its pick range. Firing blind from across the zone gets refused and -- the soul just times out, so queue it, walk to it, then choose. local SOUL_RANGE = 10 local pending = {} -- id -> { kind, pos, action, born, deadline, sentAt, walkAt } local function soulPending() for _ in next, pending do return true end return false end local function nearestWild() local hrp = char() if not hrp then return nil end local best, bestD for _, m in ipairs(CollectionService:GetTagged("WildCreature")) do local pp = m.Parent and m.PrimaryPart if pp and not (blocked[m] and blocked[m] > os.clock()) then local own = m:GetAttribute("OwnerId") if own == nil or own == LocalPlayer.UserId then local hp = m:GetAttribute("HP") local inZone = state.zoneId == "Any" or ZoneRules.at(pp.Position).Id == state.zoneId if inZone and (hp == nil or hp > 0) then local d = (pp.Position - hrp.Position).Magnitude if not bestD or d < bestD then best, bestD = m, d end end end end end return best, bestD end -- One pass of the soul chooser: walk to queued souls, then choose in range. local function choosePass() local hrp, hum = char() if not hrp or not hum then return end local now = os.clock() for id, p in pairs(pending) do if now > p.deadline then pending[id] = nil warn(("[SN] soul %s (%s): expired before it was in range"):format(tostring(id), tostring(p.kind))) elseif p.sentAt then if now - p.sentAt > 2.5 then pending[id] = nil warn(("[SN] soul %s (%s): sent %s, no reply"):format(tostring(id), tostring(p.kind), p.action)) end elseif now - p.born >= 0.9 then local hasPos = typeof(p.pos) == "Vector3" local d = hasPos and Vector3.new(p.pos.X - hrp.Position.X, 0, p.pos.Z - hrp.Position.Z).Magnitude or 0 if hasPos and d > SOUL_RANGE then if not p.walkAt or now - p.walkAt > 0.5 then p.walkAt = now local gp = groundUnder(p.pos, { LocalPlayer.Character }) hum:MoveTo(gp or Vector3.new(p.pos.X, hrp.Position.Y, p.pos.Z)) end else SoulChoice:FireServer(id, p.action) if p.action == "summon" then stats.summons = stats.summons + 1 else stats.releases = stats.releases + 1 end p.sentAt = now if p.action == "summon" and state.autoEquip and not equipQueued then equipQueued = true task.delay(1.2, function() equipQueued = false local ok, msg = tryEquipBest(15) if ok then print("[SN] auto-equip: " .. msg) else warn("[SN] auto-equip: " .. msg) end end) end end end end end Soul.OnClientEvent:Connect(function(action, id, data) if action == "remove" then pending[id] = nil return end if action == "add" and type(data) == "table" and data.kind then stats.souls = stats.souls + 1 local r = ArmyRules.rarity(data.kind) local key = r or "Boss" stats.byRarity[key] = (stats.byRarity[key] or 0) + 1 end if action ~= "add" or not state.autoSoul then return end if type(data) ~= "table" or not data.kind then return end local rank = soulRank(data.kind) local choice if rank >= thresholdRank() then choice = "summon" elseif state.releaseBelow and not data.tutorial and not data.noRelease then choice = "release" end if not choice then warn(("[SN] soul: %s is below %s, left alone"):format(tostring(data.kind), state.minRarity)) return end local now = os.clock() pending[id] = { kind = data.kind, pos = data.pos, action = choice, born = now, deadline = now + math.max(3, (data.life or 20) - 2), } end) -- Zone travel: PadStep takes no arguments, the server reads which pad you are -- standing on, so land on that pad's Touch part before firing it. local lastTravel = 0 local function zoneById(id) for _, z in ipairs(ZONE_LIST) do if z.Id == id then return z end end end local function travelTo(zone) local hrp, hum = char() if not hrp or not hum then return false, "no character" end if hum.SeatPart then return false, "sitting in a seat" end if os.clock() - lastTravel < 3 then return false, "just travelled" end local camp = workspace:FindFirstChild("Camp") local pads = camp and camp:FindFirstChild("Pads") local pad = pads and pads:FindFirstChild("Pad_Zone" .. tostring(zone.Index)) local touch = pad and pad:FindFirstChild("Touch") if not touch then return false, "no pad for " .. tostring(zone.Id) end lastTravel = os.clock() local gp = groundUnder(touch.Position, { LocalPlayer.Character }) local land = (gp or touch.Position) + Vector3.new(0, 3, 0) hrp.CFrame = CFrame.new(land) hrp.AssemblyLinearVelocity = Vector3.zero hrp.AssemblyAngularVelocity = Vector3.zero task.wait(0.3) PadStep:FireServer() return true end -- UI: ScriptNow red. All eight theme keys are supplied so the look does not -- depend on the contents of a built-in palette. local RED = { Background = Color3.fromRGB(18, 10, 11), Sidebar = Color3.fromRGB(24, 12, 14), Element = Color3.fromRGB(36, 18, 20), ElementHover = Color3.fromRGB(50, 24, 27), Well = Color3.fromRGB(13, 7, 8), Text = Color3.fromRGB(246, 236, 236), SubText = Color3.fromRGB(170, 138, 140), Accent = Color3.fromRGB(226, 48, 58), } local Window = SN:CreateWindow({ Title = "Soul Farm", Subtitle = "ScriptNow · scriptnow.net", ToggleKey = Enum.KeyCode.RightShift, Size = UDim2.fromOffset(520, 380), Theme = RED, ConfigFolder = "SoulFarm", AutoSave = true, }) local FarmTab = Window:CreateTab({ Name = "Farm", Icon = "⚔️" }) local SoulTab = Window:CreateTab({ Name = "Souls", Icon = "💠" }) local StatsTab = Window:CreateTab({ Name = "Stats", Icon = "📊" }) local soulsLabel = StatsTab:CreateLabel("souls —") local coinLabel = StatsTab:CreateLabel("coins —") local rarityLabel = StatsTab:CreateParagraph({ Title = "Rarity breakdown", Content = "—" }) local statusLabel = FarmTab:CreateLabel("idle") local zoneOptions = { "Any" } local zoneByLabel = {} for _, z in ipairs(ZONE_LIST) do local label = ("%s %s"):format(z.Id, z.Name) zoneOptions[#zoneOptions + 1] = label zoneByLabel[label] = z end FarmTab:CreateDropdown({ Name = "Farm zone", Options = zoneOptions, Default = "Any", Flag = "FarmZone", Callback = function(value) local z = zoneByLabel[value] state.zoneId = z and z.Id or "Any" statusLabel:SetText(z and ("zone: " .. z.Name) or "zone: any") end, }) FarmTab:CreateButton({ Name = "Travel to farm zone", Callback = function() local handle = SN.Flags.FarmZone local z = handle and zoneByLabel[handle:Get()] if not z then SN:Notify({ Title = "Travel", Content = "Pick a specific zone first.", Duration = 3 }) return end local ok, why = travelTo(z) SN:Notify({ Title = "Travel", Content = ok and ("Standing on the pad for " .. z.Name) or tostring(why), Duration = 3, }) end, }) FarmTab:CreateSlider({ Name = "WalkSpeed", Min = 16, Max = 200, Default = 41, Step = 1, Suffix = " studs", Flag = "WalkSpeed", Callback = function(n) state.playerSpeed = n end, }) FarmTab:CreateToggle({ Name = "Apply WalkSpeed", Default = false, Flag = "SpeedBoost", Callback = function(on, active) local original while active() do local _, hum = char() if hum then if not original then original = hum.WalkSpeed end if math.abs(hum.WalkSpeed - state.playerSpeed) > 0.1 then hum.WalkSpeed = state.playerSpeed end end task.wait(0.25) end if not on then local _, hum = char() if hum then hum.WalkSpeed = original or 40.7 end end end, }) FarmTab:CreateToggle({ Name = "Hop to far targets", Default = false, Flag = "JumpTo", Callback = function(on) state.jumpTo = on end, }) FarmTab:CreateToggle({ Name = "Auto-Punch", Default = false, Flag = "AutoPunch", Callback = function(on, active) if not on then local _, hum = char() if hum then hum:MoveTo(hum.Parent.HumanoidRootPart.Position) end statusLabel:SetText("idle") return end if #CollectionService:GetTagged("WildCreature") == 0 then warn("[SN] auto-punch: no WildCreature tagged models nearby yet") end local last = 0 local walkTarget, lastPos, lastMoveAt, lastWalkTick, jumps = nil, nil, 0, 0, 0 local nextJumpAt = 0 while active() do local hrp, hum = char() local target, dist = nearestWild() if target and hrp and hum then local pp = target.PrimaryPart local reach = Config.Punch.Range + math.max(pp.Size.X, pp.Size.Z) * 0.5 + 1 if dist <= reach then if os.clock() - last >= Config.Punch.Cooldown + 0.05 then last = os.clock() lastPunchAt = last Punch:FireServer(target) statusLabel:SetText(("hitting %s"):format(target.Name)) end elseif dist < 300 and not (state.autoSoul and soulPending()) then local now = os.clock() if target ~= walkTarget or now - lastWalkTick > 0.5 then walkTarget, lastPos, lastMoveAt, jumps = target, hrp.Position, now, 0 end lastWalkTick = now if (hrp.Position - lastPos).Magnitude > 2 then lastPos, lastMoveAt, jumps = hrp.Position, now, 0 elseif now - lastMoveAt > 1.5 then lastMoveAt = now if jumps < 2 then jumps = jumps + 1 hum.Jump = true else blocked[target] = now + 30 jumps = 0 warn(("[SN] auto-punch: stuck on the way to %s, skipping it for 30s"):format(target.Name)) end end if state.jumpTo and dist > 15 and not hum.SeatPart and now >= nextJumpAt then local gp = groundUnder(pp.Position, { LocalPlayer.Character }) if gp then nextJumpAt = now + 0.5 hrp.CFrame = CFrame.new(gp + Vector3.new(0, hum.HipHeight + 3, 0)) hrp.AssemblyLinearVelocity = Vector3.zero hrp.AssemblyAngularVelocity = Vector3.zero statusLabel:SetText(("hopping to %s (%.0f)"):format(target.Name, dist)) else hum:MoveTo(pp.Position) statusLabel:SetText(("walking to %s (%.0f studs)"):format(target.Name, dist)) end else hum:MoveTo(pp.Position) statusLabel:SetText(("walking to %s (%.0f studs)"):format(target.Name, dist)) end else statusLabel:SetText("holding for soul pickup") end else local zone = state.zoneId ~= "Any" and zoneById(state.zoneId) if zone then local hrp2 = char() local here = hrp2 and ZoneRules.at(hrp2.Position) local elsewhere = (not here) or here.Id ~= zone.Id if elsewhere and os.clock() - lastTravel > 4 and not (state.autoSoul and soulPending()) then local ok, why = travelTo(zone) statusLabel:SetText(ok and ("travelling to " .. zone.Name) or ("cannot travel: " .. tostring(why))) task.wait(1.5) else statusLabel:SetText("no " .. tostring(zone.Id) .. " creature yet") end else statusLabel:SetText("no creature in range") end end task.wait(0.1) end end, }) SoulTab:CreateToggle({ Name = "Auto-Soul", Default = false, Flag = "AutoSoul", Callback = function(on, active) state.autoSoul = on while active() do choosePass() task.wait(0.2) end state.autoSoul = false end, }) SoulTab:CreateDropdown({ Name = "Keep at or above", Options = RARITY_ORDER, Default = "Common", Flag = "MinRarity", Callback = function(value) state.minRarity = value end, }) SoulTab:CreateToggle({ Name = "Release below rarity", Default = true, Flag = "ReleaseBelow", Callback = function(on) state.releaseBelow = on end, }) SoulTab:CreateLabel("Army") SoulTab:CreateButton({ Name = "Equip best army", Callback = function() local ok, msg = tryEquipBest(10) SN:Notify({ Title = "Equip best", Content = ok and msg or ("waiting: " .. tostring(msg)), Duration = 3 }) end, }) SoulTab:CreateToggle({ Name = "Auto equip best after summon", Default = false, Flag = "AutoEquip", Callback = function(on) state.autoEquip = on end, }) SoulTab:CreateParagraph({ Title = "How souls work", Content = "Anything at or above the chosen rarity is summoned. Below it is released when the release toggle is on, otherwise left to time out. Boss souls have no rarity and always count as top rank.", }) task.spawn(function() while true do local elapsed = os.clock() - stats.startAt local hours = elapsed / 3600 local perHour = hours > 0.001 and math.floor(stats.souls / hours) or 0 local coinsPerHour = hours > 0.001 and math.floor(stats.coins / hours) or 0 local ok = pcall(function() soulsLabel:SetText(("souls %d (%d/hr) · summoned %d · released %d"):format( stats.souls, perHour, stats.summons, stats.releases)) coinLabel:SetText(("coins %d (%d/hr) · session %s"):format( math.floor(stats.coins), coinsPerHour, fmtDuration(elapsed))) local parts = {} for _, r in ipairs(RARITY_ORDER) do if stats.byRarity[r] then parts[#parts + 1] = ("%s %d"):format(r, stats.byRarity[r]) end end if stats.byRarity.Boss then parts[#parts + 1] = ("Boss %d"):format(stats.byRarity.Boss) end rarityLabel:SetContent(#parts > 0 and table.concat(parts, " · ") or "—") end) if not ok then break end task.wait(1) end end) StatsTab:CreateButton({ Name = "Reset session", Callback = function() stats.startAt = os.clock() stats.souls, stats.coins, stats.summons, stats.releases = 0, 0, 0, 0 stats.byRarity = {} end, }) StatsTab:CreateParagraph({ Title = "What counts", Content = "Souls and rarity come from the game's Soul event, so they count even when Auto-Soul is off. Coins come from CoinsAwarded — the amount the server sends with the popup. Equip waits until no creature is in punch range and no punch landed in the last 2.5s, then retries for 10-15s.", }) print(("[SN] ready: wild=%d, zones=%d, raritySteps=%d, threshold=%s"):format( #CollectionService:GetTagged("WildCreature"), #ZONE_LIST, #RARITY_ORDER, state.minRarity)) Window:LoadConfig() -- powered by scriptnow.net