forked from ApolloHub/AutoLoader
-
Notifications
You must be signed in to change notification settings - Fork 10
/
BigPaintball
386 lines (318 loc) · 11.4 KB
/
BigPaintball
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
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
local CoreGui = game:GetService("StarterGui")
CoreGui:SetCore("SendNotification", {
Title = "Game Detected!";
Text = "Loading UI | Big PaintBall";
Duration = 5;
})
wait(5)
local Library = loadstring(game:HttpGet("https://pastebin.com/raw/6W1ZqV53"))()
local a = Library:Window("Apollo Hub")
local Gun = Library:Window("Gun Mods")
local m = Library:Window("AimBot")
local e = Library:Window("ESP")
local b = Library:Window("Credits")
CoreGui:SetCore("SendNotification", {
Title = "Loaded!";
Text = "Made by APollo#2391";
Duration = 5;
})
--A
a:Button("TP to BanLand", function()
game:GetService("TeleportService"):Teleport(4505939773, LocalPlayer)
end)
a:Button("Unlock all", function()
loadstring(game:HttpGet('https://raw.githubusercontent.com/Singularity5490/bigpaintball/main/unlockall.lua'))()
end)
a:Button("Additional Speed", function(value)
for i,v in pairs(game:GetService("ReplicatedStorage").Framework.Modules["1 | Directory"].Guns:GetChildren()) do
pcall(function()
require(v)[tostring(i)].additionalSpeed = 15
end)
end
end)
--GunMods
Gun:Button("Increased Fire Rate", function()
for i,v in pairs(game:GetService("ReplicatedStorage").Framework.Modules["1 | Directory"].Guns:GetChildren()) do
pcall(function()
require(v)[tostring(i)].automatic = 999999
end)
end
end)
Gun:Button("Range (No Drop)", function()
for i,v in pairs(game:GetService("ReplicatedStorage").Framework.Modules["1 | Directory"].Guns:GetChildren()) do
pcall(function()
require(v)[tostring(i)].velocity = 9999999
end)
end
end)
Gun:Button("Super Gun", function()
for i,v in pairs(game:GetService("ReplicatedStorage").Framework.Modules["1 | Directory"].Guns:GetChildren()) do
pcall(function()
require(v)[tostring(i)].firerate = math.huge
require(v)[tostring(i)].velocity = 9999999
require(v)[tostring(i)].additionalSpeed = 10
require(v)[tostring(i)].automatic = false
end)
end
end)
Gun:Toggle("Automatic Fire Rate", function(value)
for i,v in pairs(game:GetService("ReplicatedStorage").Framework.Modules["1 | Directory"].Guns:GetChildren()) do
pcall(function()
require(v)[tostring(i)].automatic = value
end)
end
end)
--ESP
local ESPEnabled = false
local DistanceEnabled = false
local TracersEnabled = false
pcall(function()
Camera = game:GetService("Workspace").CurrentCamera
RunService = game:GetService("RunService")
camera = workspace.CurrentCamera
Bottom = Vector2.new(camera.ViewportSize.X/2, camera.ViewportSize.Y)
function GetPoint(vector3)
local vector, onScreen = camera:WorldToScreenPoint(vector3)
return {Vector2.new(vector.X,vector.Y),onScreen,vector.Z}
end
function MakeESP(model)
local CurrentParent = model.Parent
local TopL = Drawing.new("Line")
local BottomL = Drawing.new("Line")
local LeftL = Drawing.new("Line")
local RightL = Drawing.new("Line")
local Tracer = Drawing.new("Line")
local Display = Drawing.new("Text")
coroutine.resume(coroutine.create(function()
while model.Parent == CurrentParent do
local Distance = (Camera.CFrame.Position - model.HumanoidRootPart.Position).Magnitude
local GetP = GetPoint(model.Head.Position)
local headps = model.Head.CFrame
if ESPEnabled and GetP[2] then
-- Calculate Cords
local topright = headps * CFrame.new(3,0.5, 0)
local topleft = headps * CFrame.new(-3,0.5, 0)
local bottomleft = headps * CFrame.new(-3,-7,0)
local bottomright = headps * CFrame.new(3,-7,0)
topright = GetPoint(topright.p)[1]
topleft = GetPoint(topleft.p)[1]
bottomleft = GetPoint(bottomleft.p)[1]
bottomright = GetPoint(bottomright.p)[1]
local teamcolor = game:GetService("Players")[model.Name].TeamColor.Color or Color3.fromRGB(0,0,0)
TopL.Color, BottomL.Color, RightL.Color, LeftL.Color = teamcolor, teamcolor, teamcolor, teamcolor
TopL.From, BottomL.From, RightL.From, LeftL.From = topleft, bottomleft, topright, topleft
TopL.To, BottomL.To, RightL.To, LeftL.To = topright, bottomright, bottomright, bottomleft
TopL.Visible, BottomL.Visible, RightL.Visible, LeftL.Visible = true, true, true, true
else
TopL.Visible, BottomL.Visible, RightL.Visible, LeftL.Visible = false, false, false, false
end
if ESPEnabled and TracersEnabled and GetP[2] then
Tracer.Color = game:GetService("Players")[model.Name].TeamColor.Color or Color3.fromRGB(0,0,0)
Tracer.From = Bottom
Tracer.To = GetPoint(headps.p)[1]
Tracer.Thickness = 1.5
Tracer.Visible = true
else
Tracer.Visible = false
end
if ESPEnabled and DistanceEnabled and GetP[2] then
Display.Visible = true
Display.Position = GetPoint(headps.p + Vector3.new(0,0.5,0))[1]
Display.Center = true
Display.Text = tostring(math.floor(Distance)).." studs"
else
Display.Visible = false
end
RunService.RenderStepped:Wait()
end
TopL:Remove()
BottomL:Remove()
RightL:Remove()
LeftL:Remove()
Tracer:Remove()
Display:Remove()
end))
end
for _, Player in next, game:GetService("Players"):GetChildren() do
if Player.Name ~= game.Players.LocalPlayer.Name then
MakeESP(Player.Character)
Player.CharacterAdded:Connect(function()
delay(0.5, function()
MakeESP(Player.Character)
end)
end)
end
end
game:GetService("Players").PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
delay(0.5, function()
MakeESP(player.Character)
end)
end)
end)
end)
-- Enables/Disables ESP. Main toggle
e:Toggle("Enabled", function(t)
ESPEnabled = t
end)
-- Toggles tracers
e:Toggle("Tracers", function(t)
TracersEnabled = t
end)
-- Toggles distance display
e:Toggle("Distance Display", function(t)
DistanceEnabled = t
end)
--Combat
m:Toggle("Silent Aim", function(t)
-- Var
local Players = game:GetService("Players"); --> Wally is sexy!
local Player = Players.LocalPlayer;
-- Game Things
local scriptEnv = require(game:GetService("ReplicatedStorage").Framework.Library);
local network = scriptEnv.Network;
local gunCmds = scriptEnv.GunCmds;
local SilentAimTog = t;
-- Close Player Func
local function getClosestPlayer()
local shortestDistance, closestPlayer = math.huge;
for i, v in next, Players:GetPlayers() do
if (v.Name ~= Player.Name and v.Team ~= Player.Team and Player.Character and Player.Character:FindFirstChild("HumanoidRootPart") and v.Character and v.Character:FindFirstChild("HumanoidRootPart")) then
local mag = (v.Character.HumanoidRootPart.Position - Player.Character.HumanoidRootPart.Position).magnitude;
if (mag < shortestDistance) then
closestPlayer = v;
shortestDistance = mag;
end;
end;
end;
return closestPlayer;
end;
-- Kill Function
local function kill(code, plr)
if (code and plr.Character and plr.Character:FindFirstChild("HumanoidRootPart")) then
local data =
{
[1] =
{
[1] = plr.Character.Humanoid;
[2] = code;
[3] = 235;
[4] = plr.Character.HumanoidRootPart.Position;
[5] = false;
};
[2] =
{
[1] = false;
[2] = false;
[3] = false;
[4] = false;
[5] = false;
};
};
game:GetService("Workspace"):FindFirstChild("__THINGS"):FindFirstChild("__REMOTES"):FindFirstChild("do damage"):FireServer(data);
end;
end;
-- Network Hook
do
-- Hook
local oldFire = network.Fire;
network.Fire = newcclosure(function(self, ...)
local args = {...};
if (tostring(self) == "New Projectile" and SilentAimTog) then
local closePlayer = getClosestPlayer();
if (closePlayer) then
kill(args[2], closePlayer); --> Epic func
end;
elseif (tostring(self) == "Request Respawn" and UnlockAllTog) then
args[1] = "1"; --> Easy peasy bypass :)
end;
return oldFire(self, unpack(args));
end);
end;
end)
--AImbot
local aimbotsettings = {
enabled = false,
freeforall = false,
radius = 2500,
wallcheck = true
}
local players = game:GetService("Players")
local client = players.LocalPlayer
local inputservice = game:GetService("UserInputService")
local mouse = client:GetMouse()
local runservice = game:GetService("RunService")
local aim = false
function GetMouse()
return Vector2.new(mouse.X, mouse.Y)
end
inputservice.InputBegan:Connect(function(key)
if key.UserInputType == Enum.UserInputType.MouseButton2 then
aim = true
end
end)
inputservice.InputEnded:Connect(function(key)
if key.UserInputType == Enum.UserInputType.MouseButton2 then
aim = false
end
end)
function FreeForAll(targetplayer)
if aimbotsettings.freeforall == false then
if client.Team == targetplayer.Team then return false
else return true end
else return true end
end
function NotObstructing(destination, ignore)
if aimbotsettings.wallcheck then
Origin = workspace.CurrentCamera.CFrame.p
CheckRay = Ray.new(Origin, destination- Origin)
Hit = workspace:FindPartOnRayWithIgnoreList(CheckRay, ignore)
return Hit == nil
else
return true
end
end
function GetClosestToCuror()
MousePos = GetMouse()
Radius = aimbotsettings.radius
Closest = math.huge
Target = nil
for _,v in pairs(game:GetService("Players"):GetPlayers()) do
if FreeForAll(v) then
if v.Character:FindFirstChild("Head") and v ~= game.Players.LocalPlayer then
Point,OnScreen = workspace.CurrentCamera:WorldToViewportPoint(v.Character.Head.Position)
clientchar = client.Character
if OnScreen and NotObstructing(v.Character.Head.Position,{clientchar,v.Character}) then
Distance = (Vector2.new(Point.X,Point.Y) - MousePos).magnitude
if Distance < math.min(Radius,Closest) then
Closest = Distance
Target = v
end
end
end
end
end
return Target
end
runservice.RenderStepped:Connect(function()
if aimbotsettings.enabled == false or aim == false then return end
ClosestPlayer = GetClosestToCuror()
if ClosestPlayer then
workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.p,ClosestPlayer.Character.Head.CFrame.p)
end
end)
-- Enables/Disables aimbot. Essentially its the main toggle.
m:Toggle("Enabled", function(t)
aimbotsettings.enabled = t
end)
-- Enables/Disables wallcheck. It locks on only if the enemy is not obstructed by a part.
m:Toggle("Wall Check", function(t)
aimbotsettings.wallcheck = t
end)
-- Determines if it should only lock onto players who are on the same team or not. Sometimes can get fucked so turning it on is the way to go.
m:Toggle("Free For All", function(t)
aimbotsettings.freeforall = t
end)
--B
b:Button("Made By APollo#2391", function()
end)