Repository navigation
Expand file tree
/
Copy pathBoxingSimulator
More file actions
352 lines (295 loc) · 8.83 KB
/
Copy pathBoxingSimulator
File metadata and controls
352 lines (295 loc) · 8.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
local library = loadstring(game:HttpGet(('https://raw.githubusercontent.com/bloodball/-back-ups-for-libs/main/wall%20v3')))()
-- vars
local players = game:GetService('Players')
local kothj = game:GetService("Workspace").RayObjects.KOTH
getgenv().kothh = false
getgenv().pickupc = false
getgenv().autosell = false
getgenv().autofarm = false
getgenv().autodna = false
getgenv().autoglove = false
getgenv().boss1 = false
getgenv().pickupe = false
getgenv().pickupt = false
getgenv().autohatch = false
getgenv().energy = false
getgenv().npcfarm = false
-- functions
function sell()
spawn(function() while getgenv().autosell == true do
game:GetService("ReplicatedStorage").Events.SellRequest:FireServer()
wait(1)
end
end)
end
function koth()
spawn(function()
repeat
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
task.wait()
plyr.CFrame = kothj.CFrame * CFrame.new(-2,0,0)
until getgenv().kothh == false
end)
end
function npcfarm(npc)
spawn(function()
while getgenv().npcfarm == true do
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
for i,v in pairs(game:GetService("Workspace").Dungeon.Rooms:GetDescendants()) do
if v.Name == npc then
repeat wait()
plyr.CFrame = v.HumanoidRootPart.CFrame * CFrame.new(0,0,3 )
mouse1press()
until v.Humanoid.Health <= 0 or getgenv().npcfarm == false
end
end
end
end)
end
function worldtp(world)
spawn(function()
if game:GetService("Workspace").IslandUnlock[world] then
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
plyr.CFrame = game:GetService("Workspace").IslandUnlock[world].CFrame
end
end)
end
function energy()
spawn(function() while getgenv().energy == true do
game:GetService("ReplicatedStorage").Events.UpgradeEnergy:FireServer()
wait()
end
end)
end
function autohatch()
spawn(function()
while getgenv().autohatch == true and wait() do
game:GetService("ReplicatedStorage").Events.BuyEgg:FireServer(unpack(hatcharg))
end
end)
end
function farm()
spawn(function() while getgenv().autofarm == true do
local plyrhum = game:GetService('Players').LocalPlayer.Character.Humanoid
local puncht
wait()
for i,v in pairs(game:GetService("Players").LocalPlayer.Backpack:GetChildren()) do
if v.Name == 'Punch' then
puncht = v
end
end
for i,v in pairs(game:GetService("Players").LocalPlayer:GetDescendants()) do
if v.Name == 'Punch' then
puncht = v
end
end
plyrhum:EquipTool(puncht)
wait()
mouse1press()
end
end)
end
function boss1()
spawn(function()
while getgenv().boss1 == true do
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
for i,v in pairs(game:GetService("Workspace").Boss:GetDescendants()) do
if v.Name == 'HumanoidRootPart' then
repeat wait()
plyr.CFrame = v.CFrame * CFrame.new(0, 0, 3)
mouse1press()
until v == nil or getgenv().boss1 == false
end
end
end
end)
end
function dna()
spawn(function() while getgenv().autodna == true do
game:GetService("ReplicatedStorage").Events.BuyAllDNA:FireServer()
wait()
end
end)
end
function glove()
spawn(function() while getgenv().autoglove == true do
game:GetService("ReplicatedStorage").Events.BuyAllGlove:FireServer()
wait()
end
end)
end
function pickupc()
spawn(function()
while getgenv().pickupc == true and task.wait() do
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
for i,v in pairs(game:GetService("Workspace").Coins:GetDescendants()) do
if v.Name == 'HumanoidRootPart' then
v.CFrame = plyr.CFrame
end
end
end
end)
end
function flagcap()
spawn(function()
for i,v in pairs(game:GetService("Workspace").Flags:GetDescendants()) do
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
if v.name == 'Root' then
plyr.CFrame = v.CFrame
wait(9)
end
end
end)
end
function pickupe()
spawn(function()
while getgenv().pickupe == true and task.wait() do
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
for i,v in pairs(game:GetService("Workspace").Canes:GetDescendants()) do
if v.Name == 'HumanoidRootPart' then
v.CFrame = plyr.CFrame
end
end
end
end)
end
function pickupt()
spawn(function()
local plyr = game:GetService('Players').LocalPlayer.Character.HumanoidRootPart
while getgenv().pickupt == true and task.wait() do
for i,v in pairs(game:GetService("Workspace").Trophies:GetDescendants()) do
if v.Name == 'HumanoidRootPart' then
v.CFrame = plyr.CFrame
end
end
end
end)
end
-- gui
local w = library:CreateWindow("BennettV1") -- Creates the window
local b = w:CreateFolder("Farm")
local f = w:CreateFolder("Pickup")
local k = w:CreateFolder("Eggs")
local x = w:CreateFolder("Worlds")
local l = w:CreateFolder("NPC Farm")
local a = w:CreateFolder('Misc')
b:Toggle("Auto Farm",function(bool)
getgenv().autofarm = bool
if bool then
farm()
end
end)
b:Toggle("Auto Sell",function(bool)
getgenv().autosell = bool
if bool then
sell()
end
end)
b:Toggle("Auto DNA",function(bool)
getgenv().autodna = bool
if bool then
dna()
end
end)
b:Toggle("Auto Gloves",function(bool)
getgenv().autoglove = bool
if bool then
glove()
end
end)
b:Toggle('KOTH Farm',function(bool)
getgenv().kothh = bool
if bool then
koth()
end
end)
b:Toggle("Auto Energy",function(bool)
getgenv().energy = bool
if bool then
energy()
end
end)
b:Button("Claim All Flags",function()
flagcap()
end)
f:Toggle("Pickup Coins",function(bool)
getgenv().pickupc = bool
if bool then
pickupc()
end
end)
f:Toggle("Pickup Doge Coins",function(bool)
getgenv().pickupe = bool
if bool then
pickupe()
end
end)
f:Toggle("Pickup Trophies",function(bool)
getgenv().pickupt = bool
if bool then
pickupt()
end
end)
k:Dropdown("Select Egg",{"basic","uncommon","rare", "epic", "legendary", "mythical", "divine", "arcane", "mystic","celestial", "supreme", "impostor", "infinity", "magma", "easter", "godly", "meme", "bakugan", "halloween"},true,function(value)
hatcharg = {
[1] = value,
[2] = false
}
end)
k:Toggle("Auto Hatch",function(bool)
getgenv().autohatch = bool
if bool then
if hatcharg then
wait(2)
autohatch(hatcharg)
end
end
end)
local selectedworld
x:Dropdown("Select World",{"FascinatingFire","VastVolcanoes","SparkyStorms", "GlisteringGalaxy", "WinterWonderland", "MysteriousMoon", "WackyWaters", "DesertDream", "ImaginativeInfinity","MightyMagma"},true,function(value2)
selectedworld = value2
end)
x:Button("Teleport To World",function()
if selectedworld then
worldtp(selectedworld)
end
end)
local enemy
l:Dropdown("Select NPC To Farm",{"Skeleton","Armored","Boss"},true,function(value3)
enemy = value3
end)
l:Toggle("Auto Farm",function(bool)
getgenv().npcfarm = bool
if bool then
if enemy then
npcfarm(enemy)
end
end
end)
l:Toggle("Farm Boss",function(bool)
getgenv().boss1 = bool
if bool then
boss1()
end
end)
a:Label("Created By Bennett#1897",{
TextSize = 17; -- Self Explaining
TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
})
a:Label("Contact Me On Discord",{
TextSize = 17; -- Self Explaining
TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
})
a:Label("If Something Stops Working",{
TextSize = 17; -- Self Explaining
TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
})
a:Label("UI: Wally Ui v3",{
TextSize = 17; -- Self Explaining
TextColor = Color3.fromRGB(255,255,255); -- Self Explaining
BgColor = Color3.fromRGB(69,69,69); -- Self Explaining
})
a:DestroyGui()