Auto Farm and Kill Aura
Key Required

Auto Farm and Kill Aura

🥖 Fight in a Supermarket!pubmainpubmain 6.3K views 1.1K executesUpdated Nov 16, 2025
3.8/ 5(4 votes)
3175% Positive
Lua Script•101 lines (3061 chars)
--!strict
local SCRIPT_VERSION = "0.0.1"
local LIBRARY_ID = "fs_pubmain"
local GAME_NAME = "Fight in a Supermarket!"
if getgenv()[LIBRARY_ID] then
	pcall(function()
		getgenv()[LIBRARY_ID]:Destroy()
	end)
end

local players = game:GetService("Players")
local local_player = players.LocalPlayer

local function load_url<A..., R...>(url: string): (A...) -> R...
	local Callback, Error = loadstring(game:HttpGet(url))
	if Error then
		return error(Error, 2)
	end
	return (Callback :: any) :: (A...) -> R...
end
local empty_callback = function() end

local library: AnkaUi = load_url("https://raw.githubusercontent.com/nfpw/XXSCRIPT/refs/heads/main/Library/Module.lua")()
getgenv()[LIBRARY_ID] = library
local window = library:CreateWindow({
	WindowName = `Public Main {GAME_NAME} v{SCRIPT_VERSION}`,
}, gethui())

local main_tab = window:CreateTab("main")
local main_section = main_tab:CreateSection("main")
local kill_aura = main_section:CreateToggle("kill aura", false, empty_callback)
local auto_farm = main_section:CreateToggle("auto farm", false, empty_callback)
local auto_farm_thread = task.spawn(function()
	if not firetouchinterest then
		window:Notify(GAME_NAME, "auto farm might not work correctly!")
		firetouchinterest = function() end :: any
	end
	while task.wait(1) do
		if not auto_farm:GetState() or not local_player.Character then
			continue
		end
		local orig = local_player.Character:GetPivot()
		for i, money in workspace.SpawnedCash:GetChildren() do
			if i > 50 then
				break
			end
			if not money:FindFirstChild("MoneyHitbox") then
				continue
			end
			local_player.Character:PivotTo(money.MoneyHitbox.CFrame)
			firetouchinterest(money.MoneyHitbox, local_player.Character.Head, 1)
			task.wait()
			firetouchinterest(money.MoneyHitbox, local_player.Character.Head, 0)
		end
		local_player.Character:PivotTo(orig)
	end
end)
local kill_aura_thread = task.spawn(function()
	while task.wait() do
		if not kill_aura:GetState() or not local_player.Character then
			continue
		end
		local tool = local_player.Character:FindFirstChildOfClass("Tool")
		if not tool then
			continue
		end
		local hit_event = tool.WeaponHitEvent
		local target, distance = nil, 10
		for _, player in players:GetPlayers() do
			if player ~= local_player and player.Character and player.Character:FindFirstChild("Head") then
				local current_distance = (local_player.Character.Head.Position - player.Character.Head.Position).Magnitude
				if current_distance < distance then
					target = player
					distance = current_distance
				end
			end
		end
		if not target then
			continue
		end

		local_player.Character:PivotTo(
			target.Character:GetPivot() - Vector3.new(0, 7)
			-- - target.Character:GetPivot().RightVector * 3
			-- - target.Character:GetPivot().LookVector * 3
		)

		hit_event:FireServer(target.Character.Head)
	end
end)

main_section:CreateButton("unload script", function()
	library:Destroy()
end)

local old = library.Destroy
library.Destroy = function(...)
	task.cancel(auto_farm_thread)
	task.cancel(kill_aura_thread)
	return old(...)
end

Features & Information

yes the kill aura is shitty ill fix it tmrw
#killaura#free#autofarm

Community Comments (0)

No comments yet for this script.

More Scripts for 🥖 Fight in a Supermarket!