
Keyless Patched

local autoSellScriptControllerTable = {}
autoSellScriptControllerTable.servicesPlayers = game:GetService("Players")
autoSellScriptControllerTable.servicesReplicatedStorage = game:GetService("ReplicatedStorage")
autoSellScriptControllerTable.verifiedPlaceIdentifier = 117957332897543
if game.PlaceId ~= autoSellScriptControllerTable.verifiedPlaceIdentifier then
print("[AutoSell] Verification failed: wrong place id, unloading script.")
script:Destroy()
return
end
print("[AutoSell] Verification success: correct place id.")
print("[AutoSell] Auto-sell loop is now running.")
autoSellScriptControllerTable.remotesContainer = autoSellScriptControllerTable.servicesReplicatedStorage:WaitForChild("remotes")
autoSellScriptControllerTable.clientContainer = autoSellScriptControllerTable.remotesContainer:WaitForChild("client")
autoSellScriptControllerTable.uiContainer = autoSellScriptControllerTable.clientContainer:WaitForChild("ui")
autoSellScriptControllerTable.dialoguesContainer = autoSellScriptControllerTable.uiContainer:WaitForChild("dialogues")
autoSellScriptControllerTable.remoteSellFunction = autoSellScriptControllerTable.dialoguesContainer:WaitForChild("request_sell_all")
autoSellScriptControllerTable.playerLocal = autoSellScriptControllerTable.servicesPlayers.LocalPlayer
autoSellScriptControllerTable.runningBoolean = false
function autoSellScriptControllerTable:startLoop()
if self.runningBoolean then return end
self.runningBoolean = true
task.spawn(function()
while self.runningBoolean do
task.wait(5)
pcall(function()
self.remoteSellFunction:InvokeServer()
end)
end
end)
end
function autoSellScriptControllerTable:stopLoop()
self.runningBoolean = false
end
function autoSellScriptControllerTable:hookCharacter(characterInstance)
local humanoidInstance = characterInstance:WaitForChild("Humanoid")
humanoidInstance.Died:Connect(function()
print("[AutoSell] Player died, auto-sell paused.")
self:stopLoop()
end)
task.delay(5, function()
if humanoidInstance.Health > 0 then
print("[AutoSell] Respawn detected, auto-sell resumed.")
self:startLoop()
end
end)
end
autoSellScriptControllerTable.playerLocal.CharacterAdded:Connect(function(char)
autoSellScriptControllerTable:hookCharacter(char)
end)
if autoSellScriptControllerTable.playerLocal.Character then
autoSellScriptControllerTable:hookCharacter(autoSellScriptControllerTable.playerLocal.Character)
endNo comments yet for this script.



