local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local LocalPlayer = Players.LocalPlayer local NetworkerRemotes = ReplicatedStorage:WaitForChild("Packages") :WaitForChild("_Index") :WaitForChild("leifstout_networker@0.3.1") :WaitForChild("networker") :WaitForChild("_remotes") local RollRemote = NetworkerRemotes:WaitForChild("RollService"):WaitForChild("RemoteFunction") local InventoryRemote = NetworkerRemotes:WaitForChild("InventoryService"):WaitForChild("RemoteFunction") local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") local Root = PlayerGui:WaitForChild("Root") local RollScreen = Root:FindFirstChild("RollScreen") if RollScreen then RollScreen.Visible = false end local rollDelay = 0.05 local consecutiveErrors = 0 local maxErrors = 5 task.spawn(function() while task.wait(rollDelay) do local success, result = pcall(function() return RollRemote:InvokeServer("requestRoll") end) if success and result then consecutiveErrors = 0 else consecutiveErrors = consecutiveErrors + 1 if consecutiveErrors >= maxErrors then task.wait(2) consecutiveErrors = 0 end end end end) task.spawn(function() while task.wait(0.5) do if RollScreen and RollScreen.Visible then RollScreen.Visible = false end end end) task.spawn(function() local Workspace = game:GetService("Workspace") local LootFolder = Workspace:WaitForChild("Loot") while task.wait(0.1) do for _, lootItem in pairs(LootFolder:GetChildren()) do if lootItem:IsA("Model") or lootItem:IsA("BasePart") then local function findAndFireTouch(obj) for _, child in pairs(obj:GetDescendants()) do if child:IsA("BasePart") and child:FindFirstChildOfClass("TouchTransmitter") then pcall(function() firetouchinterest(LocalPlayer.Character.HumanoidRootPart, child, 0) task.wait(0.05) firetouchinterest(LocalPlayer.Character.HumanoidRootPart, child, 1) end) end end end pcall(function() findAndFireTouch(lootItem) end) end end end end) task.spawn(function() local equipDelay = 5 -- // change it to wtv you like. while task.wait(equipDelay) do local success, result = pcall(function() return InventoryRemote:InvokeServer("requestEquipBest") end) if success and result then end end end)