R

evade

public
rrixh Apr 14, 2024 Never 103
Clone
Plaintext evadelulas 350 lines (293 loc) | 11.84 KB
1
--Credits to The owner.
2
3
local WorkspacePlayers = game:GetService("Workspace").Game.Players;
4
local Players = game:GetService('Players');
5
local localplayer = Players.LocalPlayer;
6
-- semicolon but cool :sunglasses:
7
8
local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/9Strew/roblox/main/proc/jans"))()
9
local Esp = loadstring(game:HttpGet("https://raw.githubusercontent.com/9Strew/roblox/main/proc/kiriotesp"))()
10
Esp.Enabled = false
11
Esp.Tracers = false
12
Esp.Boxes = false
13
14
local Window = Library:CreateWindow("πŸ§ŸπŸŽƒ Evade [Bug Partched by masketsmile]", Vector2.new(500, 300), Enum.KeyCode.RightShift)
15
local Evade = Window:CreateTab("General")
16
local AutoFarms = Window:CreateTab("Farms")
17
local Gamee = Window:CreateTab("Game")
18
local Configs = Window:CreateTab("Settings")
19
20
local EvadeSector = Evade:CreateSector("Character", "left")
21
local Visuals = Evade:CreateSector("Visuals", "right")
22
local Credits = Evade:CreateSector("Credits", "left")
23
local Farms = AutoFarms:CreateSector("Farms", "left")
24
local FarmStats = AutoFarms:CreateSector("Stats", "right")
25
26
local Gamesec = Gamee:CreateSector("Utils", "right")
27
local World = Gamee:CreateSector("World", "left")
28
29
getgenv().Settings = {
30
moneyfarm = false,
31
afkfarm = false,
32
NoCameraShake = false,
33
Downedplayeresp = false,
34
AutoRespawn = false,
35
TicketFarm = false,
36
Speed = 1450,
37
Jump = 3,
38
reviveTime = 3,
39
DownedColor = Color3.fromRGB(255,0,0),
40
PlayerColor = Color3.fromRGB(255,170,0),
41
42
stats = {
43
TicketFarm = {
44
earned = nil,
45
duration = 0
46
},
47
48
TokenFarm = {
49
earned = nil,
50
duration = 0
51
}
52
53
}
54
}
55
56
57
local WalkSpeed = EvadeSector:AddSlider("Speed", 1450, 1450, 12000, 100, function(Value)
58
Settings.Speed = Value
59
end)
60
61
62
local JumpPower = EvadeSector:AddSlider("JumpPower", 3, 3, 20, 1, function(Value)
63
Settings.Jump = Value
64
end)
65
66
--// because silder does not detect dotted values
67
68
World:AddButton('Full Bright', function()
69
Game.Lighting.Brightness = 4
70
Game.Lighting.FogEnd = 100000
71
Game.Lighting.GlobalShadows = false
72
Game.Lighting.ClockTime = 12
73
end)
74
75
World:AddToggle('No Camera Shake', false, function(State)
76
Settings.NoCameraShake = State
77
end)
78
79
Gamesec:AddToggle('Fast Revive', false, function(State)
80
if State then
81
workspace.Game.Settings:SetAttribute("ReviveTime", 2.2)
82
else
83
workspace.Game.Settings:SetAttribute("ReviveTime", Settings.reviveTime)
84
end
85
end)
86
87
EvadeSector:AddToggle('Auto Respawn', false, function(State)
88
Settings.AutoRespawn = State
89
end)
90
91
EvadeSector:AddButton('Respawn',function()
92
game:GetService("ReplicatedStorage").Events.Respawn:FireServer()
93
end)
94
95
96
Farms:AddToggle('Money Farm', false, function(State)
97
Settings.moneyfarm = State
98
end)
99
100
Farms:AddToggle('Afk Farm', false, function(State)
101
Settings.afkfarm = State
102
end)
103
104
Visuals:AddToggle('Enable Esp', false, function(State)
105
Esp.Enabled = State
106
end)
107
108
Visuals:AddToggle('Bot Esp', false, function(State)
109
Esp.NPCs = State
110
end)
111
112
Visuals:AddToggle('Ticket Esp', false, function(State)
113
Esp.TicketEsp = State
114
end)
115
116
Visuals:AddToggle('Downed Player Esp', false, function(State)
117
Settings.Downedplayeresp = State
118
end)
119
120
Visuals:AddToggle('Boxes', false, function(State)
121
Esp.Boxes = State
122
end)
123
124
Visuals:AddToggle('Tracers', false, function(State)
125
Esp.Tracers = State
126
end)
127
128
Visuals:AddToggle('Players', false, function(State)
129
Esp.Players = State
130
end)
131
132
Visuals:AddToggle('Distance', false, function(State)
133
Esp.Distance = State
134
end)
135
136
Visuals:AddColorpicker("Player Color", Color3.fromRGB(255,170,0), function(Color)
137
Settings.PlayerColor = Color
138
end)
139
140
Visuals:AddColorpicker("Downed Player Color", Color3.fromRGB(255,255,255), function(Color)
141
Settings.DownedColor = Color
142
end)
143
144
Credits:AddLabel("Developed By xCLY And batusd")
145
Credits:AddLabel("UI Lib: Jans Lib")
146
Credits:AddLabel("ESP Lib: Kiriot")
147
Configs:CreateConfigSystem()
148
149
local TypeLabelC5 = FarmStats:AddLabel('Auto Farm Stats')
150
local DurationLabelC5 = FarmStats:AddLabel('Duration: 0')
151
local EarnedLabelC5 = FarmStats:AddLabel('Earned: 0')
152
--local TicketsLabelC5 = FarmStats:AddLabel('Total Tickets:'..localplayer:GetAttribute('Tickets'))
153
154
local FindAI = function()
155
for _,v in pairs(WorkspacePlayers:GetChildren()) do
156
if not Players:FindFirstChild(v.Name) then
157
return v
158
end
159
end
160
end
161
162
163
local GetDownedPlr = function()
164
for i,v in pairs(WorkspacePlayers:GetChildren()) do
165
if v:GetAttribute("Downed") then
166
return v
167
end
168
end
169
end
170
171
--Shitty Auto farm πŸ₯ΆπŸ’€πŸ€‘πŸ’€πŸ€‘πŸ’€πŸ€‘
172
local revive = function()
173
local downedplr = GetDownedPlr()
174
if downedplr ~= nil and downedplr:FindFirstChild('HumanoidRootPart') then
175
task.spawn(function()
176
while task.wait() do
177
if localplayer.Character then
178
workspace.Game.Settings:SetAttribute("ReviveTime", 2.2)
179
localplayer.Character:FindFirstChild('HumanoidRootPart').CFrame = CFrame.new(downedplr:FindFirstChild('HumanoidRootPart').Position.X, downedplr:FindFirstChild('HumanoidRootPart').Position.Y + 3, downedplr:FindFirstChild('HumanoidRootPart').Position.Z)
180
task.wait()
181
game:GetService("ReplicatedStorage").Events.Revive.RevivePlayer:FireServer(tostring(downedplr), false)
182
task.wait(4.5)
183
game:GetService("ReplicatedStorage").Events.Revive.RevivePlayer:FireServer(tostring(downedplr), true)
184
game:GetService("ReplicatedStorage").Events.Revive.RevivePlayer:FireServer(tostring(downedplr), true)
185
game:GetService("ReplicatedStorage").Events.Revive.RevivePlayer:FireServer(tostring(downedplr), true)
186
break
187
end
188
end
189
end)
190
end
191
end
192
193
--Kiriot
194
Esp:AddObjectListener(WorkspacePlayers, {
195
Color = Color3.fromRGB(255,0,0),
196
Type = "Model",
197
PrimaryPart = function(obj)
198
local hrp = obj:FindFirstChild('HRP')
199
while not hrp do
200
wait()
201
hrp = obj:FindFirstChild('HRP')
202
end
203
return hrp
204
end,
205
Validator = function(obj)
206
return not game.Players:GetPlayerFromCharacter(obj)
207
end,
208
CustomName = function(obj)
209
return '[AI] '..obj.Name
210
end,
211
IsEnabled = "NPCs",
212
})
213
214
--[[Esp:AddObjectListener(game:GetService("Workspace").Game.Effects.Tickets, {
215
CustomName = "Ticket",
216
Color = Color3.fromRGB(41,180,255),
217
IsEnabled = "TicketEsp"
218
})]]
219
220
--Tysm CJStylesOrg
221
Esp.Overrides.GetColor = function(char)
222
local GetPlrFromChar = Esp:GetPlrFromChar(char)
223
if GetPlrFromChar then
224
if Settings.Downedplayeresp and GetPlrFromChar.Character:GetAttribute("Downed") then
225
return Settings.DownedColor
226
end
227
end
228
return Settings.PlayerColor
229
end
230
231
local old
232
old = hookmetamethod(game,"__namecall",newcclosure(function(self,...)
233
local Args = {...}
234
local method = getnamecallmethod()
235
if tostring(self) == 'Communicator' and method == "InvokeServer" and Args[1] == "update" then
236
return Settings.Speed, Settings.Jump
237
end
238
return old(self,...)
239
end))
240
241
local formatNumber = (function(value) -- //Credits: https://devforum.roblox.com/t/formatting-a-currency-label-to-include-commas/413670/3
242
value = tostring(value)
243
return value:reverse():gsub("%d%d%d", "%1,"):reverse():gsub("^,", "")
244
end)
245
246
function Format(Int) -- // Credits: https://devforum.roblox.com/t/converting-secs-to-hsec/146352
247
return string.format("%02i", Int)
248
end
249
250
function convertToHMS(Seconds)
251
local Minutes = (Seconds - Seconds%60)/60
252
Seconds = Seconds - Minutes*60
253
local Hours = (Minutes - Minutes%60)/60
254
Minutes = Minutes - Hours*60
255
return Format(Hours).."H "..Format(Minutes).."M "..Format(Seconds)..'S'
256
end
257
258
task.spawn(function()
259
while task.wait(1) do
260
--if Settings.TicketFarm then
261
-- Settings.stats.TicketFarm.duration += 1
262
--end
263
if Settings.moneyfarm then
264
Settings.stats.TokenFarm.duration += 1
265
end
266
end
267
end)
268
269
--local gettickets = localplayer:GetAttribute('Tickets')
270
local GetTokens = localplayer:GetAttribute('Tokens')
271
272
localplayer:GetAttributeChangedSignal('Tickets'):Connect(function()
273
--local tickets = tostring(gettickets - localplayer:GetAttribute('Tickets'))
274
--local cleanvalue = string.split(tickets, "-")
275
Settings.stats.TicketFarm.earned = cleanvalue[2]
276
end)
277
278
localplayer:GetAttributeChangedSignal('Tokens'):Connect(function()
279
local tokens = tostring(GetTokens - localplayer:GetAttribute('Tokens'))
280
local cleanvalue = string.split(tokens, "-")
281
print(cleanvalue[2])
282
Settings.stats.TokenFarm.earned = cleanvalue[2]
283
end)
284
285
localplayer:GetAttributeChangedSignal('Tokens'):Connect(function()
286
local tokens = tostring(GetTokens - localplayer:GetAttribute('Tokens'))
287
local cleanvalue = string.split(tokens, "-")
288
print(cleanvalue[2])
289
Settings.stats.TokenFarm.earned = cleanvalue[2]
290
end)
291
292
task.spawn(function()
293
while task.wait() do
294
if Settings.TicketFarm then
295
TypeLabelC5:Set('Ticket Farm')
296
DurationLabelC5:Set('Duration:'..convertToHMS(Settings.stats.TicketFarm.duration))
297
EarnedLabelC5:Set('Earned:'.. formatNumber(Settings.stats.TicketFarm.earned))
298
--TicketsLabelC5:Set('Total Tickets: '..localplayer:GetAttribute('Tickets'))
299
300
if game.Players.LocalPlayer:GetAttribute('InMenu') ~= true and localplayer:GetAttribute('Dead') ~= true then
301
for i,v in pairs(game:GetService("Workspace").Game.Effects.Tickets:GetChildren()) do
302
localplayer.Character.HumanoidRootPart.CFrame = CFrame.new(v:WaitForChild('HumanoidRootPart').Position)
303
end
304
else
305
task.wait(2)
306
game:GetService("ReplicatedStorage").Events.Respawn:FireServer()
307
end
308
if localplayer.Character and localplayer.Character:GetAttribute("Downed") then
309
game:GetService("ReplicatedStorage").Events.Respawn:FireServer()
310
task.wait(2)
311
end
312
end
313
end
314
end)
315
316
317
task.spawn(function()
318
while task.wait() do
319
if Settings.AutoRespawn then
320
if localplayer.Character and localplayer.Character:GetAttribute("Downed") then
321
game:GetService("ReplicatedStorage").Events.Respawn:FireServer()
322
end
323
end
324
325
if Settings.NoCameraShake then
326
localplayer.PlayerScripts.CameraShake.Value = CFrame.new(0,0,0) * CFrame.new(0,0,0)
327
end
328
if Settings.moneyfarm then
329
TypeLabelC5:Set('Money Farm')
330
DurationLabelC5:Set('Duration:'..convertToHMS(Settings.stats.TokenFarm.duration))
331
EarnedLabelC5:Set('Earned:'.. formatNumber(Settings.stats.TokenFarm.earned))
332
--TicketsLabelC5:Set('Total Tokens: '..formatNumber(localplayer:GetAttribute('Tokens')))
333
334
if localplayer:GetAttribute("InMenu") and localplayer:GetAttribute("Dead") ~= true then
335
game:GetService("ReplicatedStorage").Events.Respawn:FireServer()
336
end
337
if localplayer.Character and localplayer.Character:GetAttribute("Downed") then
338
game:GetService("ReplicatedStorage").Events.Respawn:FireServer()
339
task.wait(3)
340
else
341
revive()
342
task.wait(1)
343
end
344
345
end
346
if Settings.moneyfarm == false and Settings.afkfarm and localplayer.Character:FindFirstChild('HumanoidRootPart') ~= nil then
347
localplayer.Character:FindFirstChild('HumanoidRootPart').CFrame = CFrame.new(6007, 7005, 8005)
348
end
349
end
350
end)