local SharedRequire = getrenv().shared.require
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RunService = game:GetService("RunService")
local RemoteFunctions = ReplicatedStorage.remoteFunctions
local ClientStatManager = require(ReplicatedStorage.Modules.Client.Game.Managers.ClientStatManager)
local Npcs = SharedRequire("NPCs")
local Quests = SharedRequire("Quests")
local Network = SharedRequire("Network")
local Flags = {
WantedBuffs = { },
AutoQuest = false,
AutoStar = false,
AutoTool = false,
ShowSettings = false,
}
local WantedBuffOptions = {
"Super Smoothie",
"Stinger",
"Red Extract",
"Blue Extract",
"Glue",
"Oil",
"Enzymes",
"Tropical Drink",
"Purple Potion"
}
local BuffTime = 0
local LastCall = {}
local CallCooldown = 1.0
local QuestTickAccumulator = 0
local QuestTickInterval = 0.6
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/theneutral0ne/wally-modified/refs/heads/main/wally-modified.lua"))()
local WindowOptions = {
persistwindow = true,
itemspacing = 2,
togglestyle = "checkmark",
underlinecolor = "rainbow",
}
local MainWindow = Library:CreateWindow("1000x BSS", WindowOptions)
local SettingsWindowApi = Library:SettingsWindows({
title = "1000x BSS - Settings",
windowOptions = WindowOptions,
scriptFolder = "1000xBSS",
presets = {
extension = ".json",
clearOnLoad = true,
separateByPlace = true,
},
})
local function SetSettingsWindowVisible(State)
if SettingsWindowApi and SettingsWindowApi.Window and SettingsWindowApi.Window.object then
SettingsWindowApi.Window.object.Visible = (State == true)
if State == true then
SettingsWindowApi.Window:BringToFront()
end
end
end
MainWindow:Section("Automation")
MainWindow:Toggle("Auto Tool", {
location = Flags,
flag = "AutoTool",
default = Flags.AutoTool,
})
MainWindow:Toggle("Auto Quest", {
location = Flags,
flag = "AutoQuest",
default = Flags.AutoQuest,
})
MainWindow:Toggle("Auto Star Saw", {
location = Flags,
flag = "AutoStar",
default = Flags.AutoStar,
})
MainWindow:Section("Buffs")
MainWindow:MultiSelectList("Wanted Buffs", {
location = Flags,
flag = "WantedBuffs",
list = WantedBuffOptions,
default = Flags.WantedBuffs,
search = true,
sort = true,
maxVisibleRows = 7,
listHeight = 120,
placeholder = "Select buffs to auto-use...",
}, function(SelectedMap)
Flags.WantedBuffs = SelectedMap
end)
MainWindow:Section("Misc")
MainWindow:Toggle("Show Settings", {
location = Flags,
flag = "ShowSettings",
default = Flags.ShowSettings,
})
Library:OnFlagChanged("ShowSettings", function(NewValue)
SetSettingsWindowVisible(NewValue == true)
end, {
location = Flags,
})
SetSettingsWindowVisible(Flags.ShowSettings == true)
local function CallRemote(RemoteName, Arg)
local Ok = pcall(function()
Network.ClientCall(RemoteName, Arg)
end)
if not Ok then
pcall(function()
Network:ClientCall(RemoteName, Arg)
end)
end
end
local function CallLimited(Key, Fn)
local Now = os.clock()
if LastCall[Key] and (Now - LastCall[Key] < CallCooldown) then
return
end
LastCall[Key] = Now
Fn()
end
local function HandleEvent(NpcName, EventDef, Phase)
if not EventDef or not EventDef.Type then
return
end
if EventDef.Type == "Single Quest" and EventDef.Quest then
if Phase == "Start" then
CallLimited("give:" .. EventDef.Quest, function()
CallRemote("GiveQuest", EventDef.Quest)
end)
elseif Phase == "Finish" then
CallLimited("finish:" .. EventDef.Quest, function()
CallRemote("CompleteQuest", EventDef.Quest)
end)
end
elseif EventDef.Type == "Repeat Quest" and EventDef.QuestPool then
if Phase == "Start" then
CallLimited("poolgive:" .. EventDef.QuestPool, function()
CallRemote("GiveQuestFromPool", EventDef.QuestPool)
end)
elseif Phase == "Finish" then
CallLimited("poolfinish:" .. EventDef.QuestPool, function()
CallRemote("CompleteQuestFromPool", EventDef.QuestPool)
end)
end
end
end
local NpcNames = {}
do
local Seen = {}
if type(Npcs.GetAll) == "function" then
local OkAll, AllNpcs = pcall(function()
return Npcs.GetAll()
end)
if OkAll and type(AllNpcs) == "table" then
for Name in pairs(AllNpcs) do
if not Seen[Name] then
Seen[Name] = true
table.insert(NpcNames, Name)
end
end
end
end
for _, NpcObject in workspace.NPCs:GetChildren() do
if not Seen[NpcObject.Name] then
Seen[NpcObject.Name] = true
table.insert(NpcNames, NpcObject.Name)
end
end
end
RunService.RenderStepped:Connect(function(DeltaTime)
BuffTime += DeltaTime
local Stats = ClientStatManager.getStats()
local Buffs = Stats and Stats.Buffs
if Flags.AutoTool == true then
RemoteFunctions.toolClick:InvokeServer()
end
if BuffTime < 1 then
return
end
BuffTime = 0
for BuffName, IsSelected in Flags.WantedBuffs do
if IsSelected == true and BuffName ~= "" then
if not Buffs or not Buffs[BuffName] then
RemoteFunctions.PlayerActivesCommand:InvokeServer({ Name = BuffName })
end
end
end
if Flags.AutoStar == true then
if not workspace.Particles:FindFirstChild("Star") then
for Attempt = 1, 3 do
RemoteFunctions.PlayerActivesCommand:InvokeServer({Name = "Stinger"})
end
end
end
end)
RunService.Heartbeat:Connect(function(DeltaTime)
if Flags.AutoQuest ~= true then
QuestTickAccumulator = 0
return
end
QuestTickAccumulator += DeltaTime
if QuestTickAccumulator < QuestTickInterval then
return
end
QuestTickAccumulator = 0
local Data = ClientStatManager.getStats()
if not Data or not Data.Quests then
return
end
for _, NpcName in ipairs(NpcNames) do
if type(Npcs.ResolveOverrideEvent) == "function" then
local OkOverride, OverrideEvent, OverridePhase = pcall(function()
return Npcs.ResolveOverrideEvent(NpcName)
end)
if OkOverride and OverrideEvent then
HandleEvent(NpcName, OverrideEvent, OverridePhase)
end
end
if type(Npcs.ResolveEventPhase) == "function" then
local OkPhase, EventIndex, Phase = pcall(function()
return Npcs.ResolveEventPhase(NpcName)
end)
if OkPhase and EventIndex and Phase then
local OkDefinition, NpcDefinition = pcall(function()
return Npcs.Get(NpcName)
end)
if OkDefinition and NpcDefinition then
local EventDefinition = NpcDefinition.Events and NpcDefinition.Events[EventIndex]
HandleEvent(NpcName, EventDefinition, Phase)
end
end
end
end
for _, ActiveQuest in ipairs(Data.Quests.Active or {}) do
local QuestName = ActiveQuest.Name
if QuestName then
local OkCanComplete, CanComplete = pcall(function()
return Quests:CanComplete(QuestName, Data)
end)
if OkCanComplete and CanComplete then
CallLimited("directcomplete:" .. QuestName, function()
CallRemote("CompleteQuest", QuestName)
end)
end
end
end
end)Script I made for Bee 1000x Items. Adds some simple auto features so you don’t have to grind everything manually. Just run it and it will start farming quests and buffs automatically.
Good if you want faster progress and less manual work. The game itself focuses on collecting items and progressing with different tools and upgrades.
No comments yet. Be the first to comment!
1local SharedRequire = getrenv().shared.require
2
3local ReplicatedStorage = game:GetService("ReplicatedStorage")
4local RunService = game:GetService("RunService")
5
6local RemoteFunctions = ReplicatedStorage.remoteFunctions
7local ClientStatManager = require(ReplicatedStorage.Modules.Client.Game.Managers.ClientStatManager)
8
9local Npcs = SharedRequire("NPCs")
10local Quests = SharedRequire("Quests")
11local Network = SharedRequire("Network")
12
13local Flags = {
14 WantedBuffs = { },
15 AutoQuest = false,
16 AutoStar = false,
17 AutoTool = false,
18 ShowSettings = false,
19}
20
21local WantedBuffOptions = {
22 "Super Smoothie",
23 "Stinger",
24 "Red Extract",
25 "Blue Extract",
26 "Glue",
27 "Oil",
28 "Enzymes",
29 "Tropical Drink",
30 "Purple Potion"
31}
32
33local BuffTime = 0
34local LastCall = {}
35local CallCooldown = 1.0
36
37local QuestTickAccumulator = 0
38local QuestTickInterval = 0.6
39
40local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/theneutral0ne/wally-modified/refs/heads/main/wally-modified.lua"))()
41
42local WindowOptions = {
43 persistwindow = true,
44 itemspacing = 2,
45 togglestyle = "checkmark",
46 underlinecolor = "rainbow",
47}
48
49local MainWindow = Library:CreateWindow("1000x BSS", WindowOptions)
50local SettingsWindowApi = Library:SettingsWindows({
51 title = "1000x BSS - Settings",
52 windowOptions = WindowOptions,
53 scriptFolder = "1000xBSS",
54 presets = {
55 extension = ".json",
56 clearOnLoad = true,
57 separateByPlace = true,
58 },
59})
60
61local function SetSettingsWindowVisible(State)
62 if SettingsWindowApi and SettingsWindowApi.Window and SettingsWindowApi.Window.object then
63 SettingsWindowApi.Window.object.Visible = (State == true)
64 if State == true then
65 SettingsWindowApi.Window:BringToFront()
66 end
67 end
68end
69
70MainWindow:Section("Automation")
71
72MainWindow:Toggle("Auto Tool", {
73 location = Flags,
74 flag = "AutoTool",
75 default = Flags.AutoTool,
76})
77
78MainWindow:Toggle("Auto Quest", {
79 location = Flags,
80 flag = "AutoQuest",
81 default = Flags.AutoQuest,
82})
83
84MainWindow:Toggle("Auto Star Saw", {
85 location = Flags,
86 flag = "AutoStar",
87 default = Flags.AutoStar,
88})
89
90MainWindow:Section("Buffs")
91
92MainWindow:MultiSelectList("Wanted Buffs", {
93 location = Flags,
94 flag = "WantedBuffs",
95 list = WantedBuffOptions,
96 default = Flags.WantedBuffs,
97 search = true,
98 sort = true,
99 maxVisibleRows = 7,
100 listHeight = 120,
101 placeholder = "Select buffs to auto-use...",
102}, function(SelectedMap)
103 Flags.WantedBuffs = SelectedMap
104end)
105
106MainWindow:Section("Misc")
107
108MainWindow:Toggle("Show Settings", {
109 location = Flags,
110 flag = "ShowSettings",
111 default = Flags.ShowSettings,
112})
113
114Library:OnFlagChanged("ShowSettings", function(NewValue)
115 SetSettingsWindowVisible(NewValue == true)
116end, {
117 location = Flags,
118})
119
120SetSettingsWindowVisible(Flags.ShowSettings == true)
121
122local function CallRemote(RemoteName, Arg)
123 local Ok = pcall(function()
124 Network.ClientCall(RemoteName, Arg)
125 end)
126
127 if not Ok then
128 pcall(function()
129 Network:ClientCall(RemoteName, Arg)
130 end)
131 end
132end
133
134local function CallLimited(Key, Fn)
135 local Now = os.clock()
136 if LastCall[Key] and (Now - LastCall[Key] < CallCooldown) then
137 return
138 end
139
140 LastCall[Key] = Now
141 Fn()
142end
143
144local function HandleEvent(NpcName, EventDef, Phase)
145 if not EventDef or not EventDef.Type then
146 return
147 end
148
149 if EventDef.Type == "Single Quest" and EventDef.Quest then
150 if Phase == "Start" then
151 CallLimited("give:" .. EventDef.Quest, function()
152 CallRemote("GiveQuest", EventDef.Quest)
153 end)
154 elseif Phase == "Finish" then
155 CallLimited("finish:" .. EventDef.Quest, function()
156 CallRemote("CompleteQuest", EventDef.Quest)
157 end)
158 end
159 elseif EventDef.Type == "Repeat Quest" and EventDef.QuestPool then
160 if Phase == "Start" then
161 CallLimited("poolgive:" .. EventDef.QuestPool, function()
162 CallRemote("GiveQuestFromPool", EventDef.QuestPool)
163 end)
164 elseif Phase == "Finish" then
165 CallLimited("poolfinish:" .. EventDef.QuestPool, function()
166 CallRemote("CompleteQuestFromPool", EventDef.QuestPool)
167 end)
168 end
169 end
170end
171
172local NpcNames = {}
173do
174 local Seen = {}
175
176 if type(Npcs.GetAll) == "function" then
177 local OkAll, AllNpcs = pcall(function()
178 return Npcs.GetAll()
179 end)
180
181 if OkAll and type(AllNpcs) == "table" then
182 for Name in pairs(AllNpcs) do
183 if not Seen[Name] then
184 Seen[Name] = true
185 table.insert(NpcNames, Name)
186 end
187 end
188 end
189 end
190
191 for _, NpcObject in workspace.NPCs:GetChildren() do
192 if not Seen[NpcObject.Name] then
193 Seen[NpcObject.Name] = true
194 table.insert(NpcNames, NpcObject.Name)
195 end
196 end
197end
198
199RunService.RenderStepped:Connect(function(DeltaTime)
200 BuffTime += DeltaTime
201
202 local Stats = ClientStatManager.getStats()
203 local Buffs = Stats and Stats.Buffs
204
205 if Flags.AutoTool == true then
206 RemoteFunctions.toolClick:InvokeServer()
207 end
208
209 if BuffTime < 1 then
210 return
211 end
212
213 BuffTime = 0
214
215 for BuffName, IsSelected in Flags.WantedBuffs do
216 if IsSelected == true and BuffName ~= "" then
217 if not Buffs or not Buffs[BuffName] then
218 RemoteFunctions.PlayerActivesCommand:InvokeServer({ Name = BuffName })
219 end
220 end
221 end
222
223 if Flags.AutoStar == true then
224 if not workspace.Particles:FindFirstChild("Star") then
225 for Attempt = 1, 3 do
226 RemoteFunctions.PlayerActivesCommand:InvokeServer({Name = "Stinger"})
227 end
228 end
229 end
230end)
231
232RunService.Heartbeat:Connect(function(DeltaTime)
233 if Flags.AutoQuest ~= true then
234 QuestTickAccumulator = 0
235 return
236 end
237
238 QuestTickAccumulator += DeltaTime
239 if QuestTickAccumulator < QuestTickInterval then
240 return
241 end
242
243 QuestTickAccumulator = 0
244
245 local Data = ClientStatManager.getStats()
246 if not Data or not Data.Quests then
247 return
248 end
249
250 for _, NpcName in ipairs(NpcNames) do
251 if type(Npcs.ResolveOverrideEvent) == "function" then
252 local OkOverride, OverrideEvent, OverridePhase = pcall(function()
253 return Npcs.ResolveOverrideEvent(NpcName)
254 end)
255
256 if OkOverride and OverrideEvent then
257 HandleEvent(NpcName, OverrideEvent, OverridePhase)
258 end
259 end
260
261 if type(Npcs.ResolveEventPhase) == "function" then
262 local OkPhase, EventIndex, Phase = pcall(function()
263 return Npcs.ResolveEventPhase(NpcName)
264 end)
265
266 if OkPhase and EventIndex and Phase then
267 local OkDefinition, NpcDefinition = pcall(function()
268 return Npcs.Get(NpcName)
269 end)
270
271 if OkDefinition and NpcDefinition then
272 local EventDefinition = NpcDefinition.Events and NpcDefinition.Events[EventIndex]
273 HandleEvent(NpcName, EventDefinition, Phase)
274 end
275 end
276 end
277 end
278
279 for _, ActiveQuest in ipairs(Data.Quests.Active or {}) do
280 local QuestName = ActiveQuest.Name
281 if QuestName then
282 local OkCanComplete, CanComplete = pcall(function()
283 return Quests:CanComplete(QuestName, Data)
284 end)
285
286 if OkCanComplete and CanComplete then
287 CallLimited("directcomplete:" .. QuestName, function()
288 CallRemote("CompleteQuest", QuestName)
289 end)
290 end
291 end
292 end
293end)