· 5 years ago · Mar 04, 2020, 06:30 PM
1loadstring(game:HttpGet("https://pastebin.com/raw/qc7y8Xrz", true))()
2loadstring(game:HttpGet('https://rustedstyle.com/chat_bypass.txt',true))()
3loadstring(game:HttpGet(('https://raw.githubusercontent.com/EdgeIY/infiniteyield/master/source'),true))()
4PLAYER = game.Players.LocalPlayer
5MOUSE = PLAYER:GetMouse()
6CC = game.Workspace.CurrentCamera
7
8ENABLED = false
9ESP_ENABLED = false
10
11_G.FREE_FOR_ALL = true
12
13_G.BIND = 50
14_G.ESP_BIND = 52
15_G.CHANGE_AIM = 'q'
16
17_G.AIM_AT = 'Head'
18
19wait(1)
20
21function GetNearestPlayerToMouse()
22 local PLAYERS = {}
23 local PLAYER_HOLD = {}
24 local DISTANCES = {}
25 for i, v in pairs(game.Players:GetPlayers()) do
26 if v ~= PLAYER then
27 table.insert(PLAYERS, v)
28 end
29 end
30 for i, v in pairs(PLAYERS) do
31 if _G.FREE_FOR_ALL == false then
32 if v and (v.Character) ~= nil and v.TeamColor ~= PLAYER.TeamColor then
33 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
34 if AIM ~= nil then
35 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
36 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
37 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
38 local DIFF = math.floor((POS - AIM.Position).magnitude)
39 PLAYER_HOLD[v.Name .. i] = {}
40 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
41 PLAYER_HOLD[v.Name .. i].plr = v
42 PLAYER_HOLD[v.Name .. i].diff = DIFF
43 table.insert(DISTANCES, DIFF)
44 end
45 end
46 elseif _G.FREE_FOR_ALL == true then
47 local AIM = v.Character:FindFirstChild(_G.AIM_AT)
48 if AIM ~= nil then
49 local DISTANCE = (AIM.Position - game.Workspace.CurrentCamera.CoordinateFrame.p).magnitude
50 local RAY = Ray.new(game.Workspace.CurrentCamera.CoordinateFrame.p, (MOUSE.Hit.p - CC.CoordinateFrame.p).unit * DISTANCE)
51 local HIT,POS = game.Workspace:FindPartOnRay(RAY, game.Workspace)
52 local DIFF = math.floor((POS - AIM.Position).magnitude)
53 PLAYER_HOLD[v.Name .. i] = {}
54 PLAYER_HOLD[v.Name .. i].dist = DISTANCE
55 PLAYER_HOLD[v.Name .. i].plr = v
56 PLAYER_HOLD[v.Name .. i].diff = DIFF
57 table.insert(DISTANCES, DIFF)
58 end
59 end
60 end
61
62 if unpack(DISTANCES) == nil then
63 return false
64 end
65
66 local L_DISTANCE = math.floor(math.min(unpack(DISTANCES)))
67 if L_DISTANCE > 20 then
68 return false
69 end
70
71 for i, v in pairs(PLAYER_HOLD) do
72 if v.diff == L_DISTANCE then
73 return v.plr
74 end
75 end
76 return false
77end
78
79GUI_MAIN = Instance.new('ScreenGui', game.CoreGui)
80GUI_TARGET = Instance.new('TextLabel', GUI_MAIN)
81GUI_AIM_AT = Instance.new('TextLabel', GUI_MAIN)
82
83GUI_MAIN.Name = 'AIMBOT'
84
85GUI_TARGET.Size = UDim2.new(0,200,0,30)
86GUI_TARGET.BackgroundTransparency = 0.5
87GUI_TARGET.BackgroundColor = BrickColor.new('Fossil')
88GUI_TARGET.BorderSizePixel = 0
89GUI_TARGET.Position = UDim2.new(0.5,-100,0,0)
90GUI_TARGET.Text = 'AIMBOT : OFF'
91GUI_TARGET.TextColor3 = Color3.new(1,1,1)
92GUI_TARGET.TextStrokeTransparency = 1
93GUI_TARGET.TextWrapped = true
94GUI_TARGET.FontSize = 'Size24'
95GUI_TARGET.Font = 'SourceSansBold'
96
97GUI_AIM_AT.Size = UDim2.new(0,200,0,20)
98GUI_AIM_AT.BackgroundTransparency = 0.5
99GUI_AIM_AT.BackgroundColor = BrickColor.new('Fossil')
100GUI_AIM_AT.BorderSizePixel = 0
101GUI_AIM_AT.Position = UDim2.new(0.5,-100,0,30)
102GUI_AIM_AT.Text = 'AIMING : HEAD'
103GUI_AIM_AT.TextColor3 = Color3.new(1,1,1)
104GUI_AIM_AT.TextStrokeTransparency = 1
105GUI_AIM_AT.TextWrapped = true
106GUI_AIM_AT.FontSize = 'Size18'
107GUI_AIM_AT.Font = 'SourceSansBold'
108
109local TRACK = false
110
111function CREATE(BASE, TEAM)
112 local ESP_MAIN = Instance.new('BillboardGui', PLAYER.PlayerGui)
113 local ESP_DOT = Instance.new('Frame', ESP_MAIN)
114 local ESP_NAME = Instance.new('TextLabel', ESP_MAIN)
115
116 ESP_MAIN.Name = 'ESP'
117 ESP_MAIN.Adornee = BASE
118 ESP_MAIN.AlwaysOnTop = true
119 ESP_MAIN.ExtentsOffset = Vector3.new(0, 1, 0)
120 ESP_MAIN.Size = UDim2.new(0, 5, 0, 5)
121
122 ESP_DOT.Name = 'DOT'
123 ESP_DOT.BackgroundColor = BrickColor.new('Bright red')
124 ESP_DOT.BackgroundTransparency = 0.3
125 ESP_DOT.BorderSizePixel = 0
126 ESP_DOT.Position = UDim2.new(-0.5, 0, -0.5, 0)
127 ESP_DOT.Size = UDim2.new(2, 0, 2, 0)
128 ESP_DOT.Visible = true
129 ESP_DOT.ZIndex = 10
130
131 ESP_NAME.Name = 'NAME'
132 ESP_NAME.BackgroundColor3 = Color3.new(255, 255, 255)
133 ESP_NAME.BackgroundTransparency = 1
134 ESP_NAME.BorderSizePixel = 0
135 ESP_NAME.Position = UDim2.new(0, 0, 0, -40)
136 ESP_NAME.Size = UDim2.new(1, 0, 10, 0)
137 ESP_NAME.Visible = true
138 ESP_NAME.ZIndex = 10
139 ESP_NAME.Font = 'ArialBold'
140 ESP_NAME.FontSize = 'Size14'
141 ESP_NAME.Text = BASE.Parent.Name:upper()
142 ESP_NAME.TextColor = BrickColor.new('Bright red')
143end
144
145function CLEAR()
146 for _,v in pairs(PLAYER.PlayerGui:children()) do
147 if v.Name == 'ESP' and v:IsA('BillboardGui') then
148 v:Destroy()
149 end
150 end
151end
152
153function FIND()
154 CLEAR()
155 TRACK = true
156 spawn(function()
157 while wait() do
158 if TRACK then
159 CLEAR()
160 for i,v in pairs(game.Players:GetChildren()) do
161 if v.Character and v.Character:FindFirstChild('Head') then
162 if _G.FREE_FOR_ALL == false then
163 if v.TeamColor ~= PLAYER.TeamColor then
164 if v.Character:FindFirstChild('Head') then
165 CREATE(v.Character.Head, true)
166 end
167 end
168 else
169 if v.Character:FindFirstChild('Head') then
170 CREATE(v.Character.Head, true)
171 end
172 end
173 end
174 end
175 end
176 end
177 wait(1)
178 end)
179end
180
181MOUSE.KeyDown:connect(function(KEY)
182 KEY = KEY:lower():byte()
183 if KEY == _G.BIND then
184 ENABLED = true
185 end
186end)
187
188MOUSE.KeyUp:connect(function(KEY)
189 KEY = KEY:lower():byte()
190 if KEY == _G.BIND then
191 ENABLED = false
192 end
193end)
194
195MOUSE.KeyDown:connect(function(KEY)
196 KEY = KEY:lower():byte()
197 if KEY == _G.ESP_BIND then
198 if ESP_ENABLED == false then
199 FIND()
200 ESP_ENABLED = true
201 print('ESP : ON')
202 elseif ESP_ENABLED == true then
203 wait()
204 CLEAR()
205 TRACK = false
206 ESP_ENABLED = true
207 print('ESP : OFF')
208 end
209 end
210end)
211
212MOUSE.KeyDown:connect(function(KEY)
213 if KEY == _G.CHANGE_AIM then
214 if _G.AIM_AT == 'Head' then
215 _G.AIM_AT = 'Torso'
216 GUI_AIM_AT.Text = 'AIMING : TORSO'
217 elseif _G.AIM_AT == 'Torso' then
218 _G.AIM_AT = 'Head'
219 GUI_AIM_AT.Text = 'AIMING : HEAD'
220 end
221 end
222end)
223
224game:GetService('RunService').RenderStepped:connect(function()
225 if ENABLED then
226 local TARGET = GetNearestPlayerToMouse()
227 if (TARGET ~= false) then
228 local AIM = TARGET.Character:FindFirstChild(_G.AIM_AT)
229 if AIM then
230 CC.CoordinateFrame = CFrame.new(CC.CoordinateFrame.p, AIM.CFrame.p)
231 end
232 GUI_TARGET.Text = 'AIMBOT : '.. TARGET.Name:sub(1, 5)
233 else
234 GUI_TARGET.Text = 'AIMBOT : OFF'
235 end
236 end
237end)
238
239repeat
240 wait()
241 if ESP_ENABLED == true then
242 FIND()
243 end
244until ESP_ENABLED == false
245wait()
246_G.FREE_FOR_ALL = true
247_G.BIND = 50 -- LEFT CTRL
248_G.ESP_BIND = 52 -- LEFT ALT
249-- Issues:
250-- I'm still working on Tracers, I know they can cause huge frame rate drops. (I think I got it running as smooth as it's going to get.)
251-- Phantom Forces: Weird positioning bug with tracers? Tracer positions a bit behind localplayer. (Maybe make the update faster? > RenderPriority.First ?
252
253-- Settings can be found on line: 51
254-- Don't change anything if you don't understand.
255
256local Plrs = game:GetService("Players")
257local Run = game:GetService("RunService")
258local CoreGui = game:GetService("CoreGui")
259local StartGui = game:GetService("StarterGui")
260local Teams = game:GetService("Teams")
261local UserInput = game:GetService("UserInputService")
262local Light = game:GetService("Lighting")
263local HTTP = game:GetService("HttpService")
264local RepStor = game:GetService("ReplicatedStorage")
265
266function GetCamera() -- Just in case some game renames the player's camera.
267 return workspace:FindFirstChildOfClass("Camera")
268end
269
270local ChamsFolder = Instance.new("Folder", CoreGui)
271ChamsFolder.Name = "Chams"
272local PlayerChams = Instance.new("Folder", ChamsFolder)
273PlayerChams.Name = "PlayerChams"
274local ItemChams = Instance.new("Folder", ChamsFolder)
275ItemChams.Name = "ItemChams"
276
277local ESPFolder = Instance.new("Folder", CoreGui)
278ESPFolder.Name = "ESP Stuff"
279local PlayerESP = Instance.new("Folder", ESPFolder)
280PlayerESP.Name = "PlayerESP"
281local ItemESP = Instance.new("Folder", ESPFolder)
282ItemESP.Name = "ItemESP"
283
284local MyPlr = Plrs.LocalPlayer
285local MyChar = MyPlr.Character
286local MyMouse = MyPlr:GetMouse()
287local MyCam = GetCamera()
288if MyCam == nil then
289 error("WHAT KIND OF BLACK MAGIC IS THIS, CAMERA NOT FOUND.")
290 return
291end
292
293local Tracers = Instance.new("Folder", MyCam)
294Tracers.Name = "Tracers"
295local TracerData = { }
296local TracerMT = setmetatable(TracerData, {
297 __newindex = function(tab, index, val)
298 rawset(tab, index, val)
299 end
300})
301
302function RemoveSpacesFromString(Str)
303 local newstr = ""
304 for i = 1, #Str do
305 if Str:sub(i, i) ~= " " then
306 newstr = newstr .. Str:sub(i, i)
307 end
308 end
309
310 return newstr
311end
312
313function CloneTable(T)
314 local temp = { }
315 for i,v in next, T do
316 if type(v) == "table" then
317 temp[i] = CloneTable(v)
318 else
319 temp[i] = v
320 end
321 end
322 return temp
323end
324
325local Bullshit = {
326 ESPEnabled = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
327 CHAMSEnabled = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
328 TracersEnabled = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
329 DebugInfo = false, -- Self explanatory. LEAVE OFF BY DEFAULT.
330 OutlinesEnabled = false,
331 FullbrightEnabled = false,
332 CrosshairEnabled = false,
333 AimbotEnabled = false,
334 Aimbot = false,
335 TracersLength = 500, -- MAX DISTANCE IS 2048 DO NOT GO ABOVE OR YOU'LL ENCOUNTER PROBLEMS.
336 ESPLength = 10000,
337 CHAMSLength = 500,
338 PlaceTracersUnderCharacter = false, -- Change to true if you want tracers to be placed under your character instead of at the bottom of your camera.
339 FreeForAll = false, -- use for games that don't have teams (Apocalypse Rising)
340 AutoFire = false,
341 MobChams = false,
342 MobESP = false,
343 AimbotKey = "Enum.UserInputType.MouseButton2", -- Doesn't do anything yet.
344 Colors = {
345 Enemy = Color3.new(1, 0, 0),
346 Ally = Color3.new(0, 1, 0),
347 Friend = Color3.new(1, 1, 0),
348 Neutral = Color3.new(1, 1, 1),
349 Crosshair = Color3.new(1, 0, 0),
350 ColorOverride = nil, -- Every player will have the chosen color regardless of enemy or ally.
351 },
352
353 -- VVVV DON'T EDIT BELOW VVVV --
354 ClosestEnemy = nil,
355 CharAddedEvent = { },
356 OutlinedParts = { },
357 WorkspaceChildAddedEvent = nil,
358 LightingEvent = nil,
359 AmbientBackup = Light.Ambient,
360 ColorShiftBotBackup = Light.ColorShift_Bottom,
361 ColorShiftTopBackup = Light.ColorShift_Top,
362 FPSAverage = { },
363 Blacklist = { },
364 FriendList = { },
365 CameraModeBackup = MyPlr.CameraMode,
366 GameSpecificCrap = {
367 },
368 Mob_ESP_CHAMS_Ran_Once = false,
369}
370
371function SaveBullshitSettings()
372 local temp = { }
373 local succ, out = pcall(function()
374 temp.TracersLength = Bullshit.TracersLength
375 temp.ESPLength = Bullshit.ESPLength
376 temp.CHAMSLength = Bullshit.CHAMSLength
377 temp.PlaceTracersUnderCharacter = Bullshit.PlaceTracersUnderCharacter
378 temp.FreeForAll = Bullshit.FreeForAll
379 temp.AutoFire = Bullshit.AutoFire
380 temp.AimbotKey = tostring(Bullshit.AimbotKey)
381 temp.MobChams = Bullshit.MobChams
382 temp.MobESP = Bullshit.MobESP
383 temp.Colors = { }
384 for i, v in next, Bullshit.Colors do
385 temp.Colors[i] = tostring(v)
386 end
387 writefile("ProjectBullshit.txt", HTTP:JSONEncode(temp))
388 end)
389 if not succ then
390 error(out)
391 end
392end
393
394fuck = pcall(function()
395 local temp = HTTP:JSONDecode(readfile("ProjectBullshit.txt"))
396 if temp.MobChams ~= nil and temp.MobESP ~= nil then
397 for i, v in next, temp do
398 if i ~= "Colors" then
399 Bullshit[i] = v
400 end
401 end
402 for i, v in next, temp.Colors do
403 local r, g, b = string.match(RemoveSpacesFromString(v), "(%d+),(%d+),(%d+)")
404 r = tonumber(r)
405 g = tonumber(g)
406 b = tonumber(b)
407
408 temp.Colors[i] = Color3.new(r, g, b)
409 end
410 Bullshit.Colors = temp.Colors
411 else
412 spawn(function()
413 SaveBullshitSettings()
414 local hint = Instance.new("Hint", CoreGui)
415 hint.Text = "Major update requried your settings to be wiped! Sorry!"
416 wait(5)
417 hint:Destroy()
418 end)
419 end
420
421 Bullshit.AutoFire = false
422end)
423
424-- Load blacklist file if it exists
425fuck2 = pcall(function()
426 Bullshit.Blacklist = HTTP:JSONDecode(readfile("Blacklist.txt"))
427end)
428
429fuck3 = pcall(function()
430 Bullshit.FriendList = HTTP:JSONDecode(readfile("Whitelist.txt"))
431end)
432
433local DebugMenu = { }
434DebugMenu["SC"] = Instance.new("ScreenGui", CoreGui)
435DebugMenu["SC"].Name = "Debug"
436DebugMenu["Main"] = Instance.new("Frame", DebugMenu["SC"])
437DebugMenu["Main"].Name = "Debug Menu"
438DebugMenu["Main"].Position = UDim2.new(0, 20, 1, -220)
439DebugMenu["Main"].Size = UDim2.new(1, 0, 0, 200)
440DebugMenu["Main"].BackgroundTransparency = 1
441DebugMenu["Main"].Visible = false
442if game.PlaceId == 606849621 then
443 DebugMenu["Main"].Position = UDim2.new(0, 230, 1, -220)
444end
445DebugMenu["Main"].Draggable = true
446DebugMenu["Main"].Active = true
447DebugMenu["Position"] = Instance.new("TextLabel", DebugMenu["Main"])
448DebugMenu["Position"].BackgroundTransparency = 1
449DebugMenu["Position"].Position = UDim2.new(0, 0, 0, 0)
450DebugMenu["Position"].Size = UDim2.new(1, 0, 0, 15)
451DebugMenu["Position"].Font = "Arcade"
452DebugMenu["Position"].Text = ""
453DebugMenu["Position"].TextColor3 = Color3.new(1, 1, 1)
454DebugMenu["Position"].TextSize = 15
455DebugMenu["Position"].TextStrokeColor3 = Color3.new(0, 0, 0)
456DebugMenu["Position"].TextStrokeTransparency = 0.3
457DebugMenu["Position"].TextXAlignment = "Left"
458DebugMenu["FPS"] = Instance.new("TextLabel", DebugMenu["Main"])
459DebugMenu["FPS"].BackgroundTransparency = 1
460DebugMenu["FPS"].Position = UDim2.new(0, 0, 0, 15)
461DebugMenu["FPS"].Size = UDim2.new(1, 0, 0, 15)
462DebugMenu["FPS"].Font = "Arcade"
463DebugMenu["FPS"].Text = ""
464DebugMenu["FPS"].TextColor3 = Color3.new(1, 1, 1)
465DebugMenu["FPS"].TextSize = 15
466DebugMenu["FPS"].TextStrokeColor3 = Color3.new(0, 0, 0)
467DebugMenu["FPS"].TextStrokeTransparency = 0.3
468DebugMenu["FPS"].TextXAlignment = "Left"
469DebugMenu["PlayerSelected"] = Instance.new("TextLabel", DebugMenu["Main"])
470DebugMenu["PlayerSelected"].BackgroundTransparency = 1
471DebugMenu["PlayerSelected"].Position = UDim2.new(0, 0, 0, 35)
472DebugMenu["PlayerSelected"].Size = UDim2.new(1, 0, 0, 15)
473DebugMenu["PlayerSelected"].Font = "Arcade"
474DebugMenu["PlayerSelected"].Text = ""
475DebugMenu["PlayerSelected"].TextColor3 = Color3.new(1, 1, 1)
476DebugMenu["PlayerSelected"].TextSize = 15
477DebugMenu["PlayerSelected"].TextStrokeColor3 = Color3.new(0, 0, 0)
478DebugMenu["PlayerSelected"].TextStrokeTransparency = 0.3
479DebugMenu["PlayerSelected"].TextXAlignment = "Left"
480DebugMenu["PlayerTeam"] = Instance.new("TextLabel", DebugMenu["Main"])
481DebugMenu["PlayerTeam"].BackgroundTransparency = 1
482DebugMenu["PlayerTeam"].Position = UDim2.new(0, 0, 0, 50)
483DebugMenu["PlayerTeam"].Size = UDim2.new(1, 0, 0, 15)
484DebugMenu["PlayerTeam"].Font = "Arcade"
485DebugMenu["PlayerTeam"].Text = ""
486DebugMenu["PlayerTeam"].TextColor3 = Color3.new(1, 1, 1)
487DebugMenu["PlayerTeam"].TextSize = 15
488DebugMenu["PlayerTeam"].TextStrokeColor3 = Color3.new(0, 0, 0)
489DebugMenu["PlayerTeam"].TextStrokeTransparency = 0.3
490DebugMenu["PlayerTeam"].TextXAlignment = "Left"
491DebugMenu["PlayerHealth"] = Instance.new("TextLabel", DebugMenu["Main"])
492DebugMenu["PlayerHealth"].BackgroundTransparency = 1
493DebugMenu["PlayerHealth"].Position = UDim2.new(0, 0, 0, 65)
494DebugMenu["PlayerHealth"].Size = UDim2.new(1, 0, 0, 15)
495DebugMenu["PlayerHealth"].Font = "Arcade"
496DebugMenu["PlayerHealth"].Text = ""
497DebugMenu["PlayerHealth"].TextColor3 = Color3.new(1, 1, 1)
498DebugMenu["PlayerHealth"].TextSize = 15
499DebugMenu["PlayerHealth"].TextStrokeColor3 = Color3.new(0, 0, 0)
500DebugMenu["PlayerHealth"].TextStrokeTransparency = 0.3
501DebugMenu["PlayerHealth"].TextXAlignment = "Left"
502DebugMenu["PlayerPosition"] = Instance.new("TextLabel", DebugMenu["Main"])
503DebugMenu["PlayerPosition"].BackgroundTransparency = 1
504DebugMenu["PlayerPosition"].Position = UDim2.new(0, 0, 0, 80)
505DebugMenu["PlayerPosition"].Size = UDim2.new(1, 0, 0, 15)
506DebugMenu["PlayerPosition"].Font = "Arcade"
507DebugMenu["PlayerPosition"].Text = ""
508DebugMenu["PlayerPosition"].TextColor3 = Color3.new(1, 1, 1)
509DebugMenu["PlayerPosition"].TextSize = 15
510DebugMenu["PlayerPosition"].TextStrokeColor3 = Color3.new(0, 0, 0)
511DebugMenu["PlayerPosition"].TextStrokeTransparency = 0.3
512DebugMenu["PlayerPosition"].TextXAlignment = "Left"
513DebugMenu["BehindWall"] = Instance.new("TextLabel", DebugMenu["Main"])
514DebugMenu["BehindWall"].BackgroundTransparency = 1
515DebugMenu["BehindWall"].Position = UDim2.new(0, 0, 0, 95)
516DebugMenu["BehindWall"].Size = UDim2.new(1, 0, 0, 15)
517DebugMenu["BehindWall"].Font = "Arcade"
518DebugMenu["BehindWall"].Text = ""
519DebugMenu["BehindWall"].TextColor3 = Color3.new(1, 1, 1)
520DebugMenu["BehindWall"].TextSize = 15
521DebugMenu["BehindWall"].TextStrokeColor3 = Color3.new(0, 0, 0)
522DebugMenu["BehindWall"].TextStrokeTransparency = 0.3
523DebugMenu["BehindWall"].TextXAlignment = "Left"
524
525local LastTick = tick()
526local FPSTick = tick()
527
528if #Teams:GetChildren() <= 0 then
529 Bullshit.FreeForAll = true
530end
531
532if Bullshit.TracersLength > 2048 then
533 Bullshit.TracersLength = 2048
534end
535
536if Bullshit.CHAMSLength > 2048 then
537 Bullshit.CHAMSLength = 2048
538end
539
540local wildrevolvertick = tick()
541local wildrevolverteamdata = nil
542function GetTeamColor(Plr)
543 if Plr == nil then return nil end
544 if not Plr:IsA("Player") then
545 return nil
546 end
547 local PickedColor = Bullshit.Colors.Enemy
548
549 if Plr ~= nil then
550 if game.PlaceId == 606849621 then
551 if Bullshit.Colors.ColorOverride == nil then
552 if not Bullshit.FreeForAll then
553 if MyPlr.Team ~= nil and Plr.Team ~= nil then
554 if Bullshit.FriendList[Plr.Name] == nil then
555 if MyPlr.Team.Name == "Prisoner" then
556 if Plr.Team == MyPlr.Team or Plr.Team.Name == "Criminal" then
557 PickedColor = Bullshit.Colors.Ally
558 else
559 PickedColor = Bullshit.Colors.Enemy
560 end
561 elseif MyPlr.Team.Name == "Criminal" then
562 if Plr.Team == MyPlr.Team or Plr.Team.Name == "Prisoner" then
563 PickedColor = Bullshit.Colors.Ally
564 else
565 PickedColor = Bullshit.Colors.Enemy
566 end
567 elseif MyPlr.Team.Name == "Police" then
568 if Plr.Team == MyPlr.Team then
569 PickedColor = Bullshit.Colors.Ally
570 else
571 if Plr.Team.Name == "Criminal" then
572 PickedColor = Bullshit.Colors.Enemy
573 elseif Plr.Team.Name == "Prisoner" then
574 PickedColor = Bullshit.Colors.Neutral
575 end
576 end
577 end
578 else
579 PickedColor = Bullshit.Colors.Friend
580 end
581 end
582 else
583 if Bullshit.FriendList[Plr.Name] ~= nil then
584 PickedColor = Bullshit.Colors.Friend
585 else
586 PickedColor = Bullshit.Colors.Enemy
587 end
588 end
589 else
590 PickedColor = Bullshit.Colors.ColorOverride
591 end
592 elseif game.PlaceId == 155615604 then
593 if Bullshit.Colors.ColorOverride == nil then
594 if MyPlr.Team ~= nil and Plr.Team ~= nil then
595 if Bullshit.FriendList[Plr.Name] == nil then
596 if MyPlr.Team.Name == "Inmates" then
597 if Plr.Team.Name == "Inmates" then
598 PickedColor = Bullshit.Colors.Ally
599 elseif Plr.Team.Name == "Guards" or Plr.Team.Name == "Criminals" then
600 PickedColor = Bullshit.Colors.Enemy
601 else
602 PickedColor = Bullshit.Colors.Neutral
603 end
604 elseif MyPlr.Team.Name == "Guards" then
605 if Plr.Team.Name == "Inmates" then
606 PickedColor = Bullshit.Colors.Neutral
607 elseif Plr.Team.Name == "Criminals" then
608 PickedColor = Bullshit.Colors.Enemy
609 elseif Plr.Team.Name == "Guards" then
610 PickColor = Bullshit.Colors.Ally
611 end
612 elseif MyPlr.Team.Name == "Criminals" then
613 if Plr.Team.Name == "Inmates" then
614 PickedColor = Bullshit.Colors.Ally
615 elseif Plr.Team.Name == "Guards" then
616 PickedColor = Bullshit.Colors.Enemy
617 else
618 PickedColor = Bullshit.Colors.Neutral
619 end
620 end
621 else
622 PickedColor = Bullshit.Colors.Friend
623 end
624 end
625 else
626 PickedColor = Bullshit.Colors.ColorOverride
627 end
628 elseif game.PlaceId == 746820961 then
629 if Bullshit.Colors.ColorOverride == nil then
630 if MyPlr:FindFirstChild("TeamC") and Plr:FindFirstChild("TeamC") then
631 if Plr.TeamC.Value == MyPlr.TeamC.Value then
632 PickedColor = Bullshit.Colors.Ally
633 else
634 PickedColor = Bullshit.Colors.Enemy
635 end
636 end
637 else
638 PickedColor = Bullshit.Colors.ColorOverride
639 end
640 elseif game.PlaceId == 1382113806 then
641 if Bullshit.Colors.ColorOverride == nil then
642 if MyPlr:FindFirstChild("role") and Plr:FindFirstChild("role") then
643 if MyPlr.role.Value == "assassin" then
644 if Plr.role.Value == "target" then
645 PickedColor = Bullshit.Colors.Enemy
646 elseif Plr.role.Value == "guard" then
647 PickedColor = Color3.new(1, 135 / 255, 0)
648 else
649 PickedColor = Bullshit.Colors.Neutral
650 end
651 elseif MyPlr.role.Value == "target" then
652 if Plr.role.Value == "guard" then
653 PickedColor = Bullshit.Colors.Ally
654 elseif Plr.role.Value == "assassin" then
655 PickedColor = Bullshit.Colors.Enemy
656 else
657 PickedColor = Bullshit.Colors.Neutral
658 end
659 elseif MyPlr.role.Value == "guard" then
660 if Plr.role.Value == "target" then
661 PickedColor = Bullshit.Colors.Friend
662 elseif Plr.role.Value == "guard" then
663 PickedColor = Bullshit.Colors.Ally
664 elseif Plr.role.Value == "assassin" then
665 PickedColor = Bullshit.Colors.Enemy
666 else
667 PickedColor = Bullshit.Colors.Neutral
668 end
669 else
670 if MyPlr.role.Value == "none" then
671 PickedColor = Bullshit.Colors.Neutral
672 end
673 end
674 end
675 else
676 PickedColor = Bullshit.Colors.ColorOverride
677 end
678 elseif game.PlaceId == 1072809192 then
679 if MyPlr:FindFirstChild("Backpack") and Plr:FindFirstChild("Backpack") then
680 if MyPlr.Backpack:FindFirstChild("Knife") or MyChar:FindFirstChild("Knife") then
681 if Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
682 PickedColor = Bullshit.Colors.Enemy
683 else
684 PickedColor = Color3.new(1, 135 / 255, 0)
685 end
686 elseif MyPlr.Backpack:FindFirstChild("Revolver") or MyChar:FindFirstChild("Revolver") then
687 if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
688 PickedColor = Bullshit.Colors.Enemy
689 elseif Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
690 PickedColor = Bullshit.Colors.Enemy
691 else
692 PickedColor = Bullshit.Colors.Ally
693 end
694 else
695 if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
696 PickedColor = Bullshit.Colors.Enemy
697 elseif Plr.Backpack:FindFirstChild("Revolver") or Plr.Character:FindFirstChild("Revolver") then
698 PickedColor = Bullshit.Colors.Ally
699 else
700 PickedColor = Bullshit.Colors.Neutral
701 end
702 end
703 end
704 elseif game.PlaceId == 142823291 or game.PlaceId == 1122507250 then
705 if MyPlr:FindFirstChild("Backpack") and Plr:FindFirstChild("Backpack") then
706 if MyPlr.Backpack:FindFirstChild("Knife") or MyChar:FindFirstChild("Knife") then
707 if (Plr.Backpack:FindFirstChild("Gun") or Plr.Backpack:FindFirstChild("Revolver")) or (Plr.Character:FindFirstChild("Gun") or Plr.Character:FindFirstChild("Revolver")) then
708 PickedColor = Bullshit.Colors.Enemy
709 else
710 PickedColor = Color3.new(1, 135 / 255, 0)
711 end
712 elseif (MyPlr.Backpack:FindFirstChild("Gun") or MyPlr.Backpack:FindFirstChild("Revolver")) or (MyChar:FindFirstChild("Gun") or MyChar:FindFirstChild("Revolver")) then
713 if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
714 PickedColor = Bullshit.Colors.Enemy
715 else
716 PickedColor = Bullshit.Colors.Ally
717 end
718 else
719 if Plr.Backpack:FindFirstChild("Knife") or Plr.Character:FindFirstChild("Knife") then
720 PickedColor = Bullshit.Colors.Enemy
721 elseif (Plr.Backpack:FindFirstChild("Gun") or Plr.Backpack:FindFirstChild("Revolver")) or (Plr.Character:FindFirstChild("Gun") or Plr.Character:FindFirstChild("Revolver")) then
722 PickedColor = Bullshit.Colors.Ally
723 else
724 PickedColor = Bullshit.Colors.Neutral
725 end
726 end
727 end
728 elseif game.PlaceId == 379614936 then
729 if Bullshit.Colors.ColorOverride == nil then
730 if not Bullshit.FriendList[Plr.Name] then
731 local targ = MyPlr:FindFirstChild("PlayerGui"):FindFirstChild("ScreenGui"):FindFirstChild("UI"):FindFirstChild("Target"):FindFirstChild("Img"):FindFirstChild("PlayerText")
732 if targ then
733 if Plr.Name:lower() == targ.Text:lower() then
734 PickedColor = Bullshit.Colors.Enemy
735 else
736 PickedColor = Bullshit.Colors.Neutral
737 end
738 else
739 PickedColor = Bullshit.Colors.Neutral
740 end
741 else
742 PickedColor = Bullshit.Colors.Friend
743 end
744 else
745 PickedColor = Bullshit.Colors.ColorOverride
746 end
747 elseif game.PlaceId == 983224898 then
748 if (tick() - wildrevolvertick) > 10 or wildrevolverteamdata == nil then
749 wildrevolverteamdata = RepStor.Functions.RequestGameData:InvokeServer()
750 wildrevolvertick = tick()
751 return Bullshit.Colors.Neutral
752 end
753 local succ = pcall(function()
754 if wildrevolverteamdata[Plr.Name] ~= nil then
755 if Bullshit.Colors.ColorOverride == nil then
756 if not Bullshit.FriendList[Plr.Name] then
757 if wildrevolverteamdata[Plr.Name]["TeamName"] == wildrevolverteamdata[MyPlr.Name]["TeamName"] then
758 PickedColor = Bullshit.Colors.Ally
759 else
760 PickedColor = Bullshit.Colors.Enemy
761 end
762 else
763 PickedColor = Bullshit.Colors.Friend
764 end
765 else
766 PickedColor = Bullshit.Colors.ColorOverride
767 end
768 else
769 PickedColor = Bullshit.Colors.Neutral
770 end
771 end)
772 if not succ then
773 wildrevolverteamdata = RepStor.Functions.RequestGameData:InvokeServer()
774 wildrevolvertick = tick()
775 return Bullshit.Colors.Neutral
776 end
777 else
778 if Bullshit.Colors.ColorOverride == nil then
779 if not Bullshit.FreeForAll then
780 if MyPlr.Team ~= Plr.Team and not Bullshit.FriendList[Plr.Name] then
781 PickedColor = Bullshit.Colors.Enemy
782 elseif MyPlr.Team == Plr.Team and not Bullshit.FriendList[Plr.Name] then
783 PickedColor = Bullshit.Colors.Ally
784 else
785 PickedColor = Bullshit.Colors.Friend
786 end
787 else
788 if Bullshit.FriendList[Plr.Name] ~= nil then
789 PickedColor = Bullshit.Colors.Friend
790 else
791 PickedColor = Bullshit.Colors.Enemy
792 end
793 end
794 else
795 PickedColor = Bullshit.Colors.ColorOverride
796 end
797 end
798 end
799
800 return PickedColor
801end
802
803function FindCham(Obj)
804 for i, v in next, ItemChams:GetChildren() do
805 if v.className == "ObjectValue" then
806 if v.Value == Obj then
807 return v.Parent
808 end
809 end
810 end
811
812 return nil
813end
814
815function FindESP(Obj)
816 for i, v in next, ItemESP:GetChildren() do
817 if v.className == "ObjectValue" then
818 if v.Value == Obj then
819 return v.Parent
820 end
821 end
822 end
823
824 return nil
825end
826
827function GetFirstPart(Obj)
828 for i, v in next, Obj:GetDescendants() do
829 if v:IsA("BasePart") then
830 return v
831 end
832 end
833
834 return nil
835end
836
837function GetSizeOfObject(Obj)
838 if Obj:IsA("BasePart") then
839 return Obj.Size
840 elseif Obj:IsA("Model") then
841 return Obj:GetExtentsSize()
842 end
843end
844
845function GetClosestPlayerNotBehindWall()
846 local Players = { }
847 local CurrentClosePlayer = nil
848 local SelectedPlr = nil
849
850 for _, v in next, Plrs:GetPlayers() do
851 if v ~= MyPlr and not Bullshit.Blacklist[v.Name] then
852 local IsAlly = GetTeamColor(v)
853 if IsAlly ~= Bullshit.Colors.Ally and IsAlly ~= Bullshit.Colors.Friend and IsAlly ~= Bullshit.Colors.Neutral then
854 local GetChar = v.Character
855 if MyChar and GetChar then
856 local MyHead, MyTor = MyChar:FindFirstChild("Head"), MyChar:FindFirstChild("HumanoidRootPart")
857 local GetHead, GetTor, GetHum = GetChar:FindFirstChild("Head"), GetChar:FindFirstChild("HumanoidRootPart"), GetChar:FindFirstChild("Humanoid")
858
859 if MyHead and MyTor and GetHead and GetTor and GetHum then
860 if game.PlaceId == 455366377 then
861 if not GetChar:FindFirstChild("KO") and GetHum.Health > 1 then
862 local Ray = Ray.new(MyCam.CFrame.p, (GetHead.Position - MyCam.CFrame.p).unit * 2048)
863 local part = workspace:FindPartOnRayWithIgnoreList(Ray, {MyChar})
864 if part ~= nil then
865 if part:IsDescendantOf(GetChar) then
866 local Dist = (MyTor.Position - GetTor.Position).magnitude
867 Players[v] = Dist
868 end
869 end
870 end
871 elseif game.PlaceId == 746820961 then
872 if GetHum.Health > 1 then
873 local Ray = Ray.new(MyCam.CFrame.p, (GetHead.Position - MyCam.CFrame.p).unit * 2048)
874 local part = workspace:FindPartOnRayWithIgnoreList(Ray, {MyChar, MyCam})
875 if part ~= nil then
876 if part:IsDescendantOf(GetChar) then
877 local Dist = (MyTor.Position - GetTor.Position).magnitude
878 Players[v] = Dist
879 end
880 end
881 end
882 else
883 if GetHum.Health > 1 then
884 local Ray = Ray.new(MyCam.CFrame.p, (GetHead.Position - MyCam.CFrame.p).unit * 2048)
885 local part = workspace:FindPartOnRayWithIgnoreList(Ray, {MyChar})
886 if part ~= nil then
887 if part:IsDescendantOf(GetChar) then
888 local Dist = (MyTor.Position - GetTor.Position).magnitude
889 Players[v] = Dist
890 end
891 end
892 end
893 end
894 end
895 end
896 end
897 end
898 end
899
900 for i, v in next, Players do
901 if CurrentClosePlayer ~= nil then
902 if v <= CurrentClosePlayer then
903 CurrentClosePlayer = v
904 SelectedPlr = i
905 end
906 else
907 CurrentClosePlayer = v
908 SelectedPlr = i
909 end
910 end
911
912 return SelectedPlr
913end
914
915function GetClosestPlayer()
916 local Players = { }
917 local CurrentClosePlayer = nil
918 local SelectedPlr = nil
919
920 for _, v in next, Plrs:GetPlayers() do
921 if v ~= MyPlr then
922 local IsAlly = GetTeamColor(v)
923 if IsAlly ~= Bullshit.Colors.Ally and IsAlly ~= Bullshit.Colors.Friend and IsAlly ~= Bullshit.Colors.Neutral then
924 local GetChar = v.Character
925 if MyChar and GetChar then
926 local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
927 local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
928 local GetHum = GetChar:FindFirstChild("Humanoid")
929 if MyTor and GetTor and GetHum then
930 if game.PlaceId == 455366377 then
931 if not GetChar:FindFirstChild("KO") and GetHum.Health > 1 then
932 local Dist = (MyTor.Position - GetTor.Position).magnitude
933 Players[v] = Dist
934 end
935 else
936 if GetHum.Health > 1 then
937 local Dist = (MyTor.Position - GetTor.Position).magnitude
938 Players[v] = Dist
939 end
940 end
941 end
942 end
943 end
944 end
945 end
946
947 for i, v in next, Players do
948 if CurrentClosePlayer ~= nil then
949 if v <= CurrentClosePlayer then
950 CurrentClosePlayer = v
951 SelectedPlr = i
952 end
953 else
954 CurrentClosePlayer = v
955 SelectedPlr = i
956 end
957 end
958
959 return SelectedPlr
960end
961
962function FindPlayer(Txt)
963 local ps = { }
964 for _, v in next, Plrs:GetPlayers() do
965 if string.lower(string.sub(v.Name, 1, string.len(Txt))) == string.lower(Txt) then
966 table.insert(ps, v)
967 end
968 end
969
970 if #ps == 1 then
971 if ps[1] ~= MyPlr then
972 return ps[1]
973 else
974 return nil
975 end
976 else
977 return nil
978 end
979end
980
981function UpdateESP(Plr)
982 if Plr ~= nil then
983 local Find = PlayerESP:FindFirstChild("ESP Crap_" .. Plr.Name)
984 if Find then
985 local PickColor = GetTeamColor(Plr)
986 Find.Frame.Names.TextColor3 = PickColor
987 Find.Frame.Dist.TextColor3 = PickColor
988 Find.Frame.Health.TextColor3 = PickColor
989 --Find.Frame.Pos.TextColor3 = PickColor
990 local GetChar = Plr.Character
991 if MyChar and GetChar then
992 local Find2 = MyChar:FindFirstChild("HumanoidRootPart")
993 local Find3 = GetChar:FindFirstChild("HumanoidRootPart")
994 local Find4 = GetChar:FindFirstChildOfClass("Humanoid")
995 if Find2 and Find3 then
996 local pos = Find3.Position
997 local Dist = (Find2.Position - pos).magnitude
998 if Dist > Bullshit.ESPLength or Bullshit.Blacklist[Plr.Name] then
999 Find.Frame.Names.Visible = false
1000 Find.Frame.Dist.Visible = false
1001 Find.Frame.Health.Visible = false
1002 return
1003 else
1004 Find.Frame.Names.Visible = true
1005 Find.Frame.Dist.Visible = true
1006 Find.Frame.Health.Visible = true
1007 end
1008 Find.Frame.Dist.Text = "Distance: " .. string.format("%.0f", Dist)
1009 --Find.Frame.Pos.Text = "(X: " .. string.format("%.0f", pos.X) .. ", Y: " .. string.format("%.0f", pos.Y) .. ", Z: " .. string.format("%.0f", pos.Z) .. ")"
1010 if Find4 then
1011 Find.Frame.Health.Text = "Health: " .. string.format("%.0f", Find4.Health)
1012 else
1013 Find.Frame.Health.Text = ""
1014 end
1015 end
1016 end
1017 end
1018 end
1019end
1020
1021function RemoveESP(Obj)
1022 if Obj ~= nil then
1023 local IsPlr = Obj:IsA("Player")
1024 local UseFolder = ItemESP
1025 if IsPlr then UseFolder = PlayerESP end
1026
1027 local FindESP = ((IsPlr) and UseFolder:FindFirstChild("ESP Crap_" .. Obj.Name)) or FindESP(Obj)
1028 if FindESP then
1029 FindESP:Destroy()
1030 end
1031 end
1032end
1033
1034function CreateESP(Obj)
1035 if Obj ~= nil then
1036 local IsPlr = Obj:IsA("Player")
1037 local UseFolder = ItemESP
1038 local GetChar = ((IsPlr) and Obj.Character) or Obj
1039 local Head = GetChar:FindFirstChild("Head")
1040 local t = tick()
1041 if IsPlr then UseFolder = PlayerESP end
1042 if Head == nil then
1043 repeat
1044 Head = GetChar:FindFirstChild("Head")
1045 wait()
1046 until Head ~= nil or (tick() - t) >= 10
1047 end
1048 if Head == nil then return end
1049
1050 local bb = Instance.new("BillboardGui")
1051 bb.Adornee = Head
1052 bb.ExtentsOffset = Vector3.new(0, 1, 0)
1053 bb.AlwaysOnTop = true
1054 bb.Size = UDim2.new(0, 5, 0, 5)
1055 bb.StudsOffset = Vector3.new(0, 3, 0)
1056 bb.Name = "ESP Crap_" .. Obj.Name
1057 bb.Parent = UseFolder
1058
1059 local frame = Instance.new("Frame", bb)
1060 frame.ZIndex = 10
1061 frame.BackgroundTransparency = 1
1062 frame.Size = UDim2.new(1, 0, 1, 0)
1063
1064 local TxtName = Instance.new("TextLabel", frame)
1065 TxtName.Name = "Names"
1066 TxtName.ZIndex = 10
1067 TxtName.Text = Obj.Name
1068 TxtName.BackgroundTransparency = 1
1069 TxtName.Position = UDim2.new(0, 0, 0, -45)
1070 TxtName.Size = UDim2.new(1, 0, 10, 0)
1071 TxtName.Font = "SourceSansBold"
1072 TxtName.TextSize = 13
1073 TxtName.TextStrokeTransparency = 0.5
1074
1075 local TxtDist = nil
1076 local TxtHealth = nil
1077 if IsPlr then
1078 TxtDist = Instance.new("TextLabel", frame)
1079 TxtDist.Name = "Dist"
1080 TxtDist.ZIndex = 10
1081 TxtDist.Text = ""
1082 TxtDist.BackgroundTransparency = 1
1083 TxtDist.Position = UDim2.new(0, 0, 0, -35)
1084 TxtDist.Size = UDim2.new(1, 0, 10, 0)
1085 TxtDist.Font = "SourceSansBold"
1086 TxtDist.TextSize = 13
1087 TxtDist.TextStrokeTransparency = 0.5
1088
1089 TxtHealth = Instance.new("TextLabel", frame)
1090 TxtHealth.Name = "Health"
1091 TxtHealth.ZIndex = 10
1092 TxtHealth.Text = ""
1093 TxtHealth.BackgroundTransparency = 1
1094 TxtHealth.Position = UDim2.new(0, 0, 0, -25)
1095 TxtHealth.Size = UDim2.new(1, 0, 10, 0)
1096 TxtHealth.Font = "SourceSansBold"
1097 TxtHealth.TextSize = 13
1098 TxtHealth.TextStrokeTransparency = 0.5
1099 else
1100 local ObjVal = Instance.new("ObjectValue", bb)
1101 ObjVal.Value = Obj
1102 end
1103
1104 local PickColor = GetTeamColor(Obj) or Bullshit.Colors.Neutral
1105 TxtName.TextColor3 = PickColor
1106
1107 if IsPlr then
1108 TxtDist.TextColor3 = PickColor
1109 TxtHealth.TextColor3 = PickColor
1110 end
1111 end
1112end
1113
1114function UpdateTracer(Plr)
1115 if Bullshit.TracersEnabled then
1116 if MyChar then
1117 local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
1118 local GetTor = TracerData[Plr.Name]
1119 if MyTor and GetTor ~= nil and GetTor.Parent ~= nil then
1120 local Dist = (MyTor.Position - GetTor.Position).magnitude
1121 if (Dist < Bullshit.TracersLength and not Bullshit.Blacklist[Plr.Name]) and not (MyChar:FindFirstChild("InVehicle") or GetTor.Parent:FindFirstChild("InVehicle")) then
1122 if not Bullshit.PlaceTracersUnderCharacter then
1123 local R = MyCam:ScreenPointToRay(MyCam.ViewportSize.X / 2, MyCam.ViewportSize.Y, 0)
1124 Dist = (R.Origin - (GetTor.Position - Vector3.new(0, 3, 0))).magnitude
1125 Tracers[Plr.Name].Transparency = 1
1126 Tracers[Plr.Name].Size = Vector3.new(0.05, 0.05, Dist)
1127 Tracers[Plr.Name].CFrame = CFrame.new(R.Origin, (GetTor.Position - Vector3.new(0, 4.5, 0))) * CFrame.new(0, 0, -Dist / 2)
1128 Tracers[Plr.Name].BrickColor = BrickColor.new(GetTeamColor(Plr))
1129 Tracers[Plr.Name].BoxHandleAdornment.Transparency = 0
1130 Tracers[Plr.Name].BoxHandleAdornment.Size = Vector3.new(0.001, 0.001, Dist)
1131 Tracers[Plr.Name].BoxHandleAdornment.Color3 = GetTeamColor(Plr)
1132 else
1133 Dist = (MyTor.Position - (GetTor.Position - Vector3.new(0, 3, 0))).magnitude
1134 Tracers[Plr.Name].Transparency = 1
1135 Tracers[Plr.Name].Size = Vector3.new(0.3, 0.3, Dist)
1136 Tracers[Plr.Name].CFrame = CFrame.new(MyTor.Position - Vector3.new(0, 3, 0), (GetTor.Position - Vector3.new(0, 4.5, 0))) * CFrame.new(0, 0, -Dist / 2)
1137 Tracers[Plr.Name].BrickColor = BrickColor.new(GetTeamColor(Plr))
1138 Tracers[Plr.Name].BoxHandleAdornment.Transparency = 0
1139 Tracers[Plr.Name].BoxHandleAdornment.Size = Vector3.new(0.05, 0.05, Dist)
1140 Tracers[Plr.Name].BoxHandleAdornment.Color3 = GetTeamColor(Plr)
1141 end
1142 else
1143 Tracers[Plr.Name].Transparency = 1
1144 Tracers[Plr.Name].BoxHandleAdornment.Transparency = 1
1145 end
1146 end
1147 end
1148 end
1149end
1150
1151function RemoveTracers(Plr)
1152 local Find = Tracers:FindFirstChild(Plr.Name)
1153 if Find then
1154 Find:Destroy()
1155 end
1156end
1157
1158function CreateTracers(Plr)
1159 local Find = Tracers:FindFirstChild(Plr.Name)
1160 if not Find then
1161 local P = Instance.new("Part")
1162 P.Name = Plr.Name
1163 P.Material = "Neon"
1164 P.Transparency = 1
1165 P.Anchored = true
1166 P.Locked = true
1167 P.CanCollide = false
1168 local B = Instance.new("BoxHandleAdornment", P)
1169 B.Adornee = P
1170 B.Size = GetSizeOfObject(P)
1171 B.AlwaysOnTop = true
1172 B.ZIndex = 5
1173 B.Transparency = 0
1174 B.Color3 = GetTeamColor(Plr) or Bullshit.Colors.Neutral
1175 P.Parent = Tracers
1176
1177 coroutine.resume(coroutine.create(function()
1178 while Tracers:FindFirstChild(Plr.Name) do
1179 UpdateTracer(Plr)
1180 Run.RenderStepped:wait()
1181 end
1182 end))
1183 end
1184end
1185
1186function UpdateChams(Obj)
1187 if Obj == nil then return end
1188
1189 if Obj:IsA("Player") then
1190 local Find = PlayerChams:FindFirstChild(Obj.Name)
1191 local GetChar = Obj.Character
1192
1193 local Trans = 0
1194 if GetChar and MyChar then
1195 local GetHead = GetChar:FindFirstChild("Head")
1196 local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
1197 local MyHead = MyChar:FindFirstChild("Head")
1198 local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
1199 if GetHead and GetTor and MyHead and MyTor then
1200 if (MyTor.Position - GetTor.Position).magnitude > Bullshit.CHAMSLength or Bullshit.Blacklist[Obj.Name] then
1201 Trans = 1
1202 else
1203 --local MyCharStuff = MyChar:GetDescendants()
1204 local Ray = Ray.new(MyCam.CFrame.p, (GetTor.Position - MyCam.CFrame.p).unit * 2048)
1205 local part = workspace:FindPartOnRayWithIgnoreList(Ray, {MyChar})
1206 if part ~= nil then
1207 if part:IsDescendantOf(GetChar) then
1208 Trans = 0.9
1209 else
1210 Trans = 0
1211 end
1212 end
1213 end
1214 end
1215 end
1216
1217 if Find then
1218 for i, v in next, Find:GetChildren() do
1219 if v.className ~= "ObjectValue" then
1220 v.Color3 = GetTeamColor(Obj) or Bullshit.Colors.Neutral
1221 v.Transparency = Trans
1222 end
1223 end
1224 end
1225 end
1226end
1227
1228function RemoveChams(Obj)
1229 if Obj ~= nil then
1230 local IsPlr = Obj:IsA("Player")
1231 local UseFolder = ItemChams
1232 if IsPlr then UseFolder = PlayerChams end
1233
1234 local FindC = UseFolder:FindFirstChild(tostring(Obj)) or FindCham(Obj)
1235 if FindC then
1236 FindC:Destroy()
1237 end
1238 end
1239end
1240
1241function CreateChams(Obj)
1242 if Obj ~= nil then
1243 local IsPlr = Obj:IsA("Player")
1244 local UseFolder = ItemChams
1245 local Crap = nil
1246 local GetTor = nil
1247 local t = tick()
1248 if IsPlr then
1249 Obj = Obj.Character
1250 UseFolder = PlayerChams
1251 end
1252 if Obj == nil then return end
1253 GetTor = Obj:FindFirstChild("HumanoidRootPart") or Obj:WaitForChild("HumanoidRootPart")
1254 if IsPlr then Crap = Obj:GetChildren() else Crap = Obj:GetDescendants() end
1255
1256 local FindC = ((IsPlr) and UseFolder:FindFirstChild(Obj.Name)) or FindCham(Obj)
1257 if not FindC then
1258 FindC = Instance.new("Folder", UseFolder)
1259 FindC.Name = Obj.Name
1260 local ObjVal = Instance.new("ObjectValue", FindC)
1261 ObjVal.Value = Obj
1262 end
1263
1264 for _, P in next, Crap do
1265 if P:IsA("PVInstance") and P.Name ~= "HumanoidRootPart" then
1266 local Box = Instance.new("BoxHandleAdornment")
1267 Box.Size = GetSizeOfObject(P)
1268 Box.Name = "Cham"
1269 Box.Adornee = P
1270 Box.AlwaysOnTop = true
1271 Box.ZIndex = 5
1272 Box.Transparency = 0
1273 Box.Color3 = ((IsPlr) and GetTeamColor(Plrs:GetPlayerFromCharacter(Obj))) or Bullshit.Colors.Neutral
1274 Box.Parent = FindC
1275 end
1276 end
1277 end
1278end
1279
1280function CreateMobESPChams()
1281 local mobspawn = { }
1282
1283 for i, v in next, workspace:GetDescendants() do
1284 local hum = v:FindFirstChildOfClass("Humanoid")
1285 if hum and not Plrs:GetPlayerFromCharacter(hum.Parent) and FindCham(v) == nil and FindESP(v) == nil then
1286 mobspawn[tostring(v.Parent)] = v.Parent
1287 if Bullshit.CHAMSEnabled and Bullshit.MobChams then
1288 CreateChams(v)
1289 end
1290 if Bullshit.ESPEnabled and Bullshit.MobESP then
1291 CreateESP(v)
1292 end
1293 end
1294 end
1295
1296 if Bullshit.Mob_ESP_CHAMS_Ran_Once == false then
1297 for i, v in next, mobspawn do
1298 v.ChildAdded:connect(function(Obj)
1299 if Bullshit.MobChams then
1300 local t = tick()
1301 local GetHum = Obj:FindFirstChildOfClass("Humanoid")
1302 if GetHum == nil then
1303 repeat
1304 GetHum = Obj:FindFirstChildOfClass("Humanoid")
1305 wait()
1306 until GetHum ~= nil or (tick() - t) >= 10
1307 end
1308 if GetHum == nil then return end
1309
1310 CreateChams(Obj)
1311 end
1312
1313 if Bullshit.MobESP then
1314 local t = tick()
1315 local GetHum = Obj:FindFirstChildOfClass("Humanoid")
1316 if GetHum == nil then
1317 repeat
1318 GetHum = Obj:FindFirstChildOfClass("Humanoid")
1319 wait()
1320 until GetHum ~= nil or (tick() - t) >= 10
1321 end
1322 if GetHum == nil then return end
1323
1324 CreateESP(Obj)
1325 end
1326 end)
1327 end
1328
1329 Bullshit.Mob_ESP_CHAMS_Ran_Once = true
1330 end
1331end
1332
1333function CreateChildAddedEventFor(Obj)
1334 Obj.ChildAdded:connect(function(Obj2)
1335 if Bullshit.OutlinesEnabled then
1336 if Obj2:IsA("BasePart") and not Plrs:GetPlayerFromCharacter(Obj2.Parent) and not Obj2.Parent:IsA("Hat") and not Obj2.Parent:IsA("Accessory") and Obj2.Parent.Name ~= "Tracers" then
1337 local Data = { }
1338 Data[2] = Obj2.Transparency
1339 Obj2.Transparency = 1
1340 local outline = Instance.new("SelectionBox")
1341 outline.Name = "Outline"
1342 outline.Color3 = Color3.new(0, 0, 0)
1343 outline.SurfaceColor3 = Color3.new(0, 1, 0)
1344 --outline.SurfaceTransparency = 0.9
1345 outline.LineThickness = 0.01
1346 outline.Transparency = 0.5
1347 outline.Transparency = 0.5
1348 outline.Adornee = Obj2
1349 outline.Parent = Obj2
1350 Data[1] = outline
1351 rawset(Bullshit.OutlinedParts, Obj2, Data)
1352 end
1353
1354 for i, v in next, Obj2:GetDescendants() do
1355 if v:IsA("BasePart") and not Plrs:GetPlayerFromCharacter(v.Parent) and not v.Parent:IsA("Hat") and not v.Parent:IsA("Accessory") and v.Parent.Name ~= "Tracers" then
1356 local Data = { }
1357 Data[2] = v.Transparency
1358 v.Transparency = 1
1359 local outline = Instance.new("SelectionBox")
1360 outline.Name = "Outline"
1361 outline.Color3 = Color3.new(0, 0, 0)
1362 outline.SurfaceColor3 = Color3.new(0, 1, 0)
1363 --outline.SurfaceTransparency = 0.9
1364 outline.LineThickness = 0.01
1365 outline.Transparency = 0.5
1366 outline.Adornee = v
1367 outline.Parent = v
1368 Data[1] = outline
1369 rawset(Bullshit.OutlinedParts, v, Data)
1370 end
1371 CreateChildAddedEventFor(v)
1372 end
1373 end
1374 CreateChildAddedEventFor(Obj2)
1375 end)
1376end
1377
1378function LightingHax()
1379 if Bullshit.OutlinesEnabled then
1380 Light.TimeOfDay = "00:00:00"
1381 end
1382
1383 if Bullshit.FullbrightEnabled then
1384 Light.Ambient = Color3.new(1, 1, 1)
1385 Light.ColorShift_Bottom = Color3.new(1, 1, 1)
1386 Light.ColorShift_Top = Color3.new(1, 1, 1)
1387 end
1388end
1389
1390Plrs.PlayerAdded:connect(function(Plr)
1391 if Bullshit.CharAddedEvent[Plr.Name] == nil then
1392 Bullshit.CharAddedEvent[Plr.Name] = Plr.CharacterAdded:connect(function(Char)
1393 if Bullshit.ESPEnabled then
1394 RemoveESP(Plr)
1395 CreateESP(Plr)
1396 end
1397 if Bullshit.CHAMSEnabled then
1398 RemoveChams(Plr)
1399 CreateChams(Plr)
1400 end
1401 if Bullshit.TracersEnabled then
1402 CreateTracers(Plr)
1403 end
1404 repeat wait() until Char:FindFirstChild("HumanoidRootPart")
1405 TracerMT[Plr.Name] = Char.HumanoidRootPart
1406 end)
1407 end
1408end)
1409
1410Plrs.PlayerRemoving:connect(function(Plr)
1411 if Bullshit.CharAddedEvent[Plr.Name] ~= nil then
1412 Bullshit.CharAddedEvent[Plr.Name]:Disconnect()
1413 Bullshit.CharAddedEvent[Plr.Name] = nil
1414 end
1415 RemoveESP(Plr)
1416 RemoveChams(Plr)
1417 RemoveTracers(Plr)
1418 TracerMT[Plr.Name] = nil
1419end)
1420
1421function InitMain()
1422 -- Objects
1423
1424 local Bullshit20 = Instance.new("ScreenGui")
1425 local MainFrame = Instance.new("Frame")
1426 local Title = Instance.new("TextLabel")
1427 local design = Instance.new("Frame")
1428 local buttons = Instance.new("Frame")
1429 local ESPToggle = Instance.new("TextButton")
1430 local ChamsToggle = Instance.new("TextButton")
1431 local TracersToggle = Instance.new("TextButton")
1432 local OutlineToggle = Instance.new("TextButton")
1433 local DebugToggle = Instance.new("TextButton")
1434 local FullbrightToggle = Instance.new("TextButton")
1435 local BlacklistToggle = Instance.new("TextButton")
1436 local WhitelistToggle = Instance.new("TextButton")
1437 local Crosshair = Instance.new("TextButton")
1438 local AimbotToggle = Instance.new("TextButton")
1439 local Settings = Instance.new("TextButton")
1440 local Information = Instance.new("TextButton")
1441 local Information_2 = Instance.new("Frame")
1442 local Title_2 = Instance.new("TextLabel")
1443 local design_2 = Instance.new("Frame")
1444 local buttons_2 = Instance.new("ScrollingFrame")
1445 local TextLabel = Instance.new("TextLabel")
1446 local Settings_2 = Instance.new("Frame")
1447 local Title_3 = Instance.new("TextLabel")
1448 local design_3 = Instance.new("Frame")
1449 local buttons_3 = Instance.new("ScrollingFrame")
1450 local AllyColor = Instance.new("TextBox")
1451 local CHAMSLength = Instance.new("TextBox")
1452 local CrosshairColor = Instance.new("TextBox")
1453 local ESPLength = Instance.new("TextBox")
1454 local EnemyColor = Instance.new("TextBox")
1455 local FreeForAll = Instance.new("TextButton")
1456 local FriendColor = Instance.new("TextBox")
1457 local NeutralColor = Instance.new("TextBox")
1458 local TracersLength = Instance.new("TextBox")
1459 local TracersUnderChars = Instance.new("TextButton")
1460 local AutoFireToggle = Instance.new("TextButton")
1461 local AimbotKey = Instance.new("TextButton")
1462 local MobESPButton = Instance.new("TextButton")
1463 local MobChamsButton = Instance.new("TextButton")
1464 local TextLabel_2 = Instance.new("TextLabel")
1465 local TextLabel_3 = Instance.new("TextLabel")
1466 local TextLabel_4 = Instance.new("TextLabel")
1467 local TextLabel_5 = Instance.new("TextLabel")
1468 local TextLabel_6 = Instance.new("TextLabel")
1469 local TextLabel_7 = Instance.new("TextLabel")
1470 local TextLabel_8 = Instance.new("TextLabel")
1471 local TextLabel_9 = Instance.new("TextLabel")
1472 local TextLabel_10 = Instance.new("TextLabel")
1473 local TextLabel_11 = Instance.new("TextLabel")
1474 local TextLabel_12 = Instance.new("TextLabel")
1475 local TextLabel_13 = Instance.new("TextLabel")
1476 local TextLabel_14 = Instance.new("TextLabel")
1477 local TextLabel_15 = Instance.new("TextLabel")
1478 local SaveSettings = Instance.new("TextButton")
1479 local Blacklist = Instance.new("Frame")
1480 local nigga = Instance.new("TextLabel")
1481 local niggerfaggot = Instance.new("Frame")
1482 local players = Instance.new("ScrollingFrame")
1483 local buttonsex = Instance.new("Frame")
1484 local Playername = Instance.new("TextBox")
1485 local AddToBlacklist = Instance.new("TextButton")
1486 local RemoveToBlacklist = Instance.new("TextButton")
1487 local SaveBlacklist = Instance.new("TextButton")
1488 local Whitelist = Instance.new("Frame")
1489 local nigga2 = Instance.new("TextLabel")
1490 local niggerfaggot2 = Instance.new("Frame")
1491 local players2 = Instance.new("ScrollingFrame")
1492 local buttonsex2 = Instance.new("Frame")
1493 local Playername2 = Instance.new("TextBox")
1494 local AddToWhitelist = Instance.new("TextButton")
1495 local RemoveToWhitelist = Instance.new("TextButton")
1496 local SaveWhitelist = Instance.new("TextButton")
1497
1498 -- Properties
1499
1500 Bullshit20.Name = "Bullshit 3.0"
1501 Bullshit20.Parent = CoreGui
1502 Bullshit20.ResetOnSpawn = false
1503
1504 MainFrame.Name = "MainFrame"
1505 MainFrame.Parent = Bullshit20
1506 MainFrame.Active = true
1507 MainFrame.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1508 MainFrame.BorderSizePixel = 0
1509 MainFrame.Draggable = true
1510 MainFrame.Position = UDim2.new(0.200000003, -175, 0.5, -100)
1511 MainFrame.Size = UDim2.new(0, 350, 0, 315)
1512
1513 Title.Name = "Title"
1514 Title.Parent = MainFrame
1515 Title.BackgroundColor3 = Color3.new(1, 1, 1)
1516 Title.BackgroundTransparency = 1
1517 Title.Size = UDim2.new(1, 0, 0, 50)
1518 Title.Font = Enum.Font.SourceSansBold
1519 Title.Text = "Project: Bullshit\nMade by: Racist Dolphin#5199\nVersion 3.5.5 (RE-WORK IN THE WORKS)"
1520 Title.TextColor3 = Color3.new(1, 1, 1)
1521 Title.TextSize = 18
1522 Title.TextTransparency = 0.5
1523
1524 design.Name = "design"
1525 design.Parent = MainFrame
1526 design.BackgroundColor3 = Color3.new(1, 1, 1)
1527 design.BackgroundTransparency = 0.5
1528 design.BorderSizePixel = 0
1529 design.Position = UDim2.new(0.0500000007, 0, 0, 50)
1530 design.Size = UDim2.new(0.899999976, 0, 0, 2)
1531
1532 buttons.Name = "buttons"
1533 buttons.Parent = MainFrame
1534 buttons.BackgroundColor3 = Color3.new(1, 1, 1)
1535 buttons.BackgroundTransparency = 1
1536 buttons.Position = UDim2.new(0, 20, 0, 70)
1537 buttons.Size = UDim2.new(1, -40, 1, -80)
1538
1539 Blacklist.Name = "Blacklist"
1540 Blacklist.Parent = MainFrame
1541 Blacklist.Active = true
1542 Blacklist.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1543 Blacklist.BorderSizePixel = 0
1544 Blacklist.Position = UDim2.new(1, 3, 0.5, -138)
1545 Blacklist.Size = UDim2.new(0, 350, 0, 375)
1546 Blacklist.Visible = false
1547
1548 nigga.Name = "nigga"
1549 nigga.Parent = Blacklist
1550 nigga.BackgroundColor3 = Color3.new(1, 1, 1)
1551 nigga.BackgroundTransparency = 1
1552 nigga.Size = UDim2.new(1, 0, 0, 50)
1553 nigga.Font = Enum.Font.SourceSansBold
1554 nigga.Text = "Blacklist Menu"
1555 nigga.TextColor3 = Color3.new(1, 1, 1)
1556 nigga.TextSize = 18
1557 nigga.TextTransparency = 0.5
1558
1559 niggerfaggot.Name = "niggerfaggot"
1560 niggerfaggot.Parent = Blacklist
1561 niggerfaggot.BackgroundColor3 = Color3.new(1, 1, 1)
1562 niggerfaggot.BackgroundTransparency = 0.5
1563 niggerfaggot.BorderSizePixel = 0
1564 niggerfaggot.Position = UDim2.new(0.0500000007, 0, 0, 50)
1565 niggerfaggot.Size = UDim2.new(0.899999976, 0, 0, 2)
1566
1567 players.Name = "players"
1568 players.Parent = Blacklist
1569 players.BackgroundColor3 = Color3.new(1, 1, 1)
1570 players.BackgroundTransparency = 1
1571 players.BorderSizePixel = 0
1572 players.Position = UDim2.new(0, 20, 0, 60)
1573 players.Size = UDim2.new(1, -40, 1, -175)
1574 players.CanvasSize = UDim2.new(0, 0, 5, 0)
1575 players.ScrollBarThickness = 8
1576
1577 buttonsex.Name = "buttonsex"
1578 buttonsex.Parent = Blacklist
1579 buttonsex.BackgroundColor3 = Color3.new(1, 1, 1)
1580 buttonsex.BackgroundTransparency = 1
1581 buttonsex.Position = UDim2.new(0, 20, 0, 250)
1582 buttonsex.Size = UDim2.new(1, -40, 0, 100)
1583
1584 Playername.Name = "Playername"
1585 Playername.Parent = buttonsex
1586 Playername.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1587 Playername.BackgroundTransparency = 0.5
1588 Playername.BorderSizePixel = 0
1589 Playername.Size = UDim2.new(1, 0, 0, 20)
1590 Playername.Font = Enum.Font.SourceSansBold
1591 Playername.Text = "Enter Player Name"
1592 Playername.TextSize = 14
1593 Playername.TextWrapped = true
1594
1595 AddToBlacklist.Name = "AddToBlacklist"
1596 AddToBlacklist.Parent = buttonsex
1597 AddToBlacklist.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1598 AddToBlacklist.BackgroundTransparency = 0.5
1599 AddToBlacklist.BorderSizePixel = 0
1600 AddToBlacklist.Position = UDim2.new(0, 0, 0, 30)
1601 AddToBlacklist.Size = UDim2.new(1, 0, 0, 20)
1602 AddToBlacklist.Font = Enum.Font.SourceSansBold
1603 AddToBlacklist.Text = "Add to Blacklist"
1604 AddToBlacklist.TextSize = 14
1605 AddToBlacklist.TextWrapped = true
1606
1607 RemoveToBlacklist.Name = "RemoveToBlacklist"
1608 RemoveToBlacklist.Parent = buttonsex
1609 RemoveToBlacklist.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1610 RemoveToBlacklist.BackgroundTransparency = 0.5
1611 RemoveToBlacklist.BorderSizePixel = 0
1612 RemoveToBlacklist.Position = UDim2.new(0, 0, 0, 60)
1613 RemoveToBlacklist.Size = UDim2.new(1, 0, 0, 20)
1614 RemoveToBlacklist.Font = Enum.Font.SourceSansBold
1615 RemoveToBlacklist.Text = "Remove from Blacklist"
1616 RemoveToBlacklist.TextSize = 14
1617 RemoveToBlacklist.TextWrapped = true
1618
1619 SaveBlacklist.Name = "SaveBlacklist"
1620 SaveBlacklist.Parent = buttonsex
1621 SaveBlacklist.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1622 SaveBlacklist.BackgroundTransparency = 0.5
1623 SaveBlacklist.BorderSizePixel = 0
1624 SaveBlacklist.Position = UDim2.new(0, 0, 0, 90)
1625 SaveBlacklist.Size = UDim2.new(1, 0, 0, 20)
1626 SaveBlacklist.Font = Enum.Font.SourceSansBold
1627 SaveBlacklist.Text = "Save Blacklist"
1628 SaveBlacklist.TextSize = 14
1629 SaveBlacklist.TextWrapped = true
1630
1631 Whitelist.Name = "Whitelist"
1632 Whitelist.Parent = MainFrame
1633 Whitelist.Active = true
1634 Whitelist.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1635 Whitelist.BorderSizePixel = 0
1636 Whitelist.Position = UDim2.new(1, 3, 0.5, -138)
1637 Whitelist.Size = UDim2.new(0, 350, 0, 375)
1638 Whitelist.Visible = false
1639
1640 nigga2.Name = "nigga2"
1641 nigga2.Parent = Whitelist
1642 nigga2.BackgroundColor3 = Color3.new(1, 1, 1)
1643 nigga2.BackgroundTransparency = 1
1644 nigga2.Size = UDim2.new(1, 0, 0, 50)
1645 nigga2.Font = Enum.Font.SourceSansBold
1646 nigga2.Text = "Friends List Menu"
1647 nigga2.TextColor3 = Color3.new(1, 1, 1)
1648 nigga2.TextSize = 18
1649 nigga2.TextTransparency = 0.5
1650
1651 niggerfaggot2.Name = "niggerfaggot2"
1652 niggerfaggot2.Parent = Whitelist
1653 niggerfaggot2.BackgroundColor3 = Color3.new(1, 1, 1)
1654 niggerfaggot2.BackgroundTransparency = 0.5
1655 niggerfaggot2.BorderSizePixel = 0
1656 niggerfaggot2.Position = UDim2.new(0.0500000007, 0, 0, 50)
1657 niggerfaggot2.Size = UDim2.new(0.899999976, 0, 0, 2)
1658
1659 players2.Name = "players2"
1660 players2.Parent = Whitelist
1661 players2.BackgroundColor3 = Color3.new(1, 1, 1)
1662 players2.BackgroundTransparency = 1
1663 players2.BorderSizePixel = 0
1664 players2.Position = UDim2.new(0, 20, 0, 60)
1665 players2.Size = UDim2.new(1, -40, 1, -175)
1666 players2.CanvasSize = UDim2.new(0, 0, 5, 0)
1667 players2.ScrollBarThickness = 8
1668
1669 buttonsex2.Name = "buttonsex2"
1670 buttonsex2.Parent = Whitelist
1671 buttonsex2.BackgroundColor3 = Color3.new(1, 1, 1)
1672 buttonsex2.BackgroundTransparency = 1
1673 buttonsex2.Position = UDim2.new(0, 20, 0, 250)
1674 buttonsex2.Size = UDim2.new(1, -40, 0, 100)
1675
1676 Playername2.Name = "Playername2"
1677 Playername2.Parent = buttonsex2
1678 Playername2.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1679 Playername2.BackgroundTransparency = 0.5
1680 Playername2.BorderSizePixel = 0
1681 Playername2.Size = UDim2.new(1, 0, 0, 20)
1682 Playername2.Font = Enum.Font.SourceSansBold
1683 Playername2.Text = "Enter Player Name"
1684 Playername2.TextSize = 14
1685 Playername2.TextWrapped = true
1686
1687 AddToWhitelist.Name = "AddToWhitelist"
1688 AddToWhitelist.Parent = buttonsex2
1689 AddToWhitelist.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1690 AddToWhitelist.BackgroundTransparency = 0.5
1691 AddToWhitelist.BorderSizePixel = 0
1692 AddToWhitelist.Position = UDim2.new(0, 0, 0, 30)
1693 AddToWhitelist.Size = UDim2.new(1, 0, 0, 20)
1694 AddToWhitelist.Font = Enum.Font.SourceSansBold
1695 AddToWhitelist.Text = "Add to Friends List"
1696 AddToWhitelist.TextSize = 14
1697 AddToWhitelist.TextWrapped = true
1698
1699 RemoveToWhitelist.Name = "RemoveToWhitelist"
1700 RemoveToWhitelist.Parent = buttonsex2
1701 RemoveToWhitelist.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1702 RemoveToWhitelist.BackgroundTransparency = 0.5
1703 RemoveToWhitelist.BorderSizePixel = 0
1704 RemoveToWhitelist.Position = UDim2.new(0, 0, 0, 60)
1705 RemoveToWhitelist.Size = UDim2.new(1, 0, 0, 20)
1706 RemoveToWhitelist.Font = Enum.Font.SourceSansBold
1707 RemoveToWhitelist.Text = "Remove from Friends List"
1708 RemoveToWhitelist.TextSize = 14
1709 RemoveToWhitelist.TextWrapped = true
1710
1711 SaveWhitelist.Name = "SaveWhitelist"
1712 SaveWhitelist.Parent = buttonsex2
1713 SaveWhitelist.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
1714 SaveWhitelist.BackgroundTransparency = 0.5
1715 SaveWhitelist.BorderSizePixel = 0
1716 SaveWhitelist.Position = UDim2.new(0, 0, 0, 90)
1717 SaveWhitelist.Size = UDim2.new(1, 0, 0, 20)
1718 SaveWhitelist.Font = Enum.Font.SourceSansBold
1719 SaveWhitelist.Text = "Save Friends List"
1720 SaveWhitelist.TextSize = 14
1721 SaveWhitelist.TextWrapped = true
1722
1723 BlacklistToggle.Name = "BlacklistToggle"
1724 BlacklistToggle.Parent = buttons
1725 BlacklistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1726 BlacklistToggle.BackgroundTransparency = 0.5
1727 BlacklistToggle.BorderSizePixel = 0
1728 BlacklistToggle.Position = UDim2.new(0, 0, 0, 200)
1729 BlacklistToggle.Size = UDim2.new(0, 150, 0, 30)
1730 BlacklistToggle.Font = Enum.Font.SourceSansBold
1731 BlacklistToggle.Text = "Blacklist"
1732 BlacklistToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1733 BlacklistToggle.TextSize = 14
1734 BlacklistToggle.TextWrapped = true
1735
1736 WhitelistToggle.Name = "WhitelistToggle"
1737 WhitelistToggle.Parent = buttons
1738 WhitelistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1739 WhitelistToggle.BackgroundTransparency = 0.5
1740 WhitelistToggle.BorderSizePixel = 0
1741 WhitelistToggle.Position = UDim2.new(1, -150, 0, 200)
1742 WhitelistToggle.Size = UDim2.new(0, 150, 0, 30)
1743 WhitelistToggle.Font = Enum.Font.SourceSansBold
1744 WhitelistToggle.Text = "Friends List"
1745 WhitelistToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1746 WhitelistToggle.TextSize = 14
1747 WhitelistToggle.TextWrapped = true
1748
1749 ESPToggle.Name = "ESPToggle"
1750 ESPToggle.Parent = buttons
1751 ESPToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1752 ESPToggle.BackgroundTransparency = 0.5
1753 ESPToggle.BorderSizePixel = 0
1754 ESPToggle.Size = UDim2.new(0, 150, 0, 30)
1755 ESPToggle.Font = Enum.Font.SourceSansBold
1756 ESPToggle.Text = "ESP"
1757 ESPToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1758 ESPToggle.TextSize = 14
1759 ESPToggle.TextWrapped = true
1760
1761 ChamsToggle.Name = "ChamsToggle"
1762 ChamsToggle.Parent = buttons
1763 ChamsToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1764 ChamsToggle.BackgroundTransparency = 0.5
1765 ChamsToggle.BorderSizePixel = 0
1766 ChamsToggle.Position = UDim2.new(1, -150, 0, 0)
1767 ChamsToggle.Size = UDim2.new(0, 150, 0, 30)
1768 ChamsToggle.Font = Enum.Font.SourceSansBold
1769 ChamsToggle.Text = "Chams"
1770 ChamsToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1771 ChamsToggle.TextSize = 14
1772 ChamsToggle.TextWrapped = true
1773
1774 TracersToggle.Name = "TracersToggle"
1775 TracersToggle.Parent = buttons
1776 TracersToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1777 TracersToggle.BackgroundTransparency = 0.5
1778 TracersToggle.BorderSizePixel = 0
1779 TracersToggle.Position = UDim2.new(0, 0, 0, 40)
1780 TracersToggle.Size = UDim2.new(0, 150, 0, 30)
1781 TracersToggle.Font = Enum.Font.SourceSansBold
1782 TracersToggle.Text = "Tracers"
1783 TracersToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1784 TracersToggle.TextSize = 14
1785 TracersToggle.TextWrapped = true
1786
1787 OutlineToggle.Name = "OutlineToggle"
1788 OutlineToggle.Parent = buttons
1789 OutlineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1790 OutlineToggle.BackgroundTransparency = 0.5
1791 OutlineToggle.BorderSizePixel = 0
1792 OutlineToggle.Position = UDim2.new(1, -150, 0, 40)
1793 OutlineToggle.Size = UDim2.new(0, 150, 0, 30)
1794 OutlineToggle.Font = Enum.Font.SourceSansBold
1795 OutlineToggle.Text = "Outlines"
1796 OutlineToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1797 OutlineToggle.TextSize = 14
1798 OutlineToggle.TextWrapped = true
1799
1800 DebugToggle.Name = "DebugToggle"
1801 DebugToggle.Parent = buttons
1802 DebugToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1803 DebugToggle.BackgroundTransparency = 0.5
1804 DebugToggle.BorderSizePixel = 0
1805 DebugToggle.Position = UDim2.new(1, -150, 0, 80)
1806 DebugToggle.Size = UDim2.new(0, 150, 0, 30)
1807 DebugToggle.Font = Enum.Font.SourceSansBold
1808 DebugToggle.Text = "Debug Info"
1809 DebugToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1810 DebugToggle.TextSize = 14
1811 DebugToggle.TextWrapped = true
1812
1813 FullbrightToggle.Name = "FullbrightToggle"
1814 FullbrightToggle.Parent = buttons
1815 FullbrightToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1816 FullbrightToggle.BackgroundTransparency = 0.5
1817 FullbrightToggle.BorderSizePixel = 0
1818 FullbrightToggle.Position = UDim2.new(0, 0, 0, 80)
1819 FullbrightToggle.Size = UDim2.new(0, 150, 0, 30)
1820 FullbrightToggle.Font = Enum.Font.SourceSansBold
1821 FullbrightToggle.Text = "Fullbright"
1822 FullbrightToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1823 FullbrightToggle.TextSize = 14
1824 FullbrightToggle.TextWrapped = true
1825
1826 Crosshair.Name = "Crosshair"
1827 Crosshair.Parent = buttons
1828 Crosshair.BackgroundColor3 = Color3.new(1, 1, 1)
1829 Crosshair.BackgroundTransparency = 0.5
1830 Crosshair.BorderSizePixel = 0
1831 Crosshair.Position = UDim2.new(0, 0, 0, 120)
1832 Crosshair.Size = UDim2.new(0, 150, 0, 30)
1833 Crosshair.Font = Enum.Font.SourceSansBold
1834 Crosshair.Text = "Crosshair"
1835 Crosshair.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1836 Crosshair.TextSize = 14
1837 Crosshair.TextWrapped = true
1838
1839 AimbotToggle.Name = "AimbotToggle"
1840 AimbotToggle.Parent = buttons
1841 AimbotToggle.BackgroundColor3 = Color3.new(1, 1, 1)
1842 AimbotToggle.BackgroundTransparency = 0.5
1843 AimbotToggle.BorderSizePixel = 0
1844 AimbotToggle.Position = UDim2.new(1, -150, 0, 120)
1845 AimbotToggle.Size = UDim2.new(0, 150, 0, 30)
1846 AimbotToggle.Font = Enum.Font.SourceSansBold
1847 AimbotToggle.Text = "Aimlock"
1848 AimbotToggle.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1849 AimbotToggle.TextSize = 14
1850 AimbotToggle.TextWrapped = true
1851
1852 Settings.Name = "Settings"
1853 Settings.Parent = buttons
1854 Settings.BackgroundColor3 = Color3.new(1, 1, 1)
1855 Settings.BackgroundTransparency = 0.5
1856 Settings.BorderSizePixel = 0
1857 Settings.Position = UDim2.new(1, -150, 0, 160)
1858 Settings.Size = UDim2.new(0, 150, 0, 30)
1859 Settings.Font = Enum.Font.SourceSansBold
1860 Settings.Text = "Settings"
1861 Settings.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1862 Settings.TextSize = 14
1863 Settings.TextWrapped = true
1864
1865 Information.Name = "Information"
1866 Information.Parent = buttons
1867 Information.BackgroundColor3 = Color3.new(1, 1, 1)
1868 Information.BackgroundTransparency = 0.5
1869 Information.BorderSizePixel = 0
1870 Information.Position = UDim2.new(0, 0, 0, 160)
1871 Information.Size = UDim2.new(0, 150, 0, 30)
1872 Information.Font = Enum.Font.SourceSansBold
1873 Information.Text = "Information"
1874 Information.TextColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1875 Information.TextSize = 14
1876 Information.TextWrapped = true
1877
1878 Information_2.Name = "Information"
1879 Information_2.Parent = MainFrame
1880 Information_2.Active = true
1881 Information_2.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
1882 Information_2.BorderSizePixel = 0
1883 Information_2.Position = UDim2.new(1, 3, 0.5, -138)
1884 Information_2.Size = UDim2.new(0, 350, 0, 365)
1885 Information_2.Visible = false
1886
1887 Title_2.Name = "Title"
1888 Title_2.Parent = Information_2
1889 Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
1890 Title_2.BackgroundTransparency = 1
1891 Title_2.Size = UDim2.new(1, 0, 0, 50)
1892 Title_2.Font = Enum.Font.SourceSansBold
1893 Title_2.Text = "Information"
1894 Title_2.TextColor3 = Color3.new(1, 1, 1)
1895 Title_2.TextSize = 18
1896 Title_2.TextTransparency = 0.5
1897
1898 design_2.Name = "design"
1899 design_2.Parent = Information_2
1900 design_2.BackgroundColor3 = Color3.new(1, 1, 1)
1901 design_2.BackgroundTransparency = 0.5
1902 design_2.BorderSizePixel = 0
1903 design_2.Position = UDim2.new(0.0500000007, 0, 0, 50)
1904 design_2.Size = UDim2.new(0.899999976, 0, 0, 2)
1905
1906 buttons_2.Name = "buttons"
1907 buttons_2.Parent = Information_2
1908 buttons_2.BackgroundColor3 = Color3.new(1, 1, 1)
1909 buttons_2.BackgroundTransparency = 1
1910 buttons_2.BorderSizePixel = 0
1911 buttons_2.Position = UDim2.new(0, 20, 0, 60)
1912 buttons_2.Size = UDim2.new(1, -40, 1, -70)
1913 buttons_2.CanvasSize = UDim2.new(5, 0, 5, 0)
1914 buttons_2.ScrollBarThickness = 5
1915
1916 TextLabel.Parent = buttons_2
1917 TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
1918 TextLabel.BackgroundTransparency = 1
1919 TextLabel.Size = UDim2.new(1, -20, 1, 0)
1920 TextLabel.Font = Enum.Font.SourceSansBold
1921 TextLabel.Text = [[
1922Scripting by: Racist Dolphin#5199
1923GUI by: SOMEONE WHO WANTS HIS NAME HIDDEN.
1924
1925To hide/show the GUI press the "P" key on your keyboard.
1926
1927NOTICE: Since my string manipulation skills aren't the greatest, changing esp/cham colors might be quite buggy.
1928NOTICE #2: The blacklist feature will return! I just didn't have enough time to make the gui.
1929NOTICE #3: Save Settings might still be bugged. Message me if it's fucked up still.
1930
1931This works on every game, though the Aimbot does NOT! (Doesn't work on: Jailbreak, and Phantom Forces)
1932
1933FAQ:
19341) How do I use the aimbot?
1935A: Activate it, and hold right-click in-game. The aimbot will lock on to the closest enemy NOT behind a wall. (If said player is behind a wall, it will find the next closest player not behind a wall.)
1936
19372) ESP/Chams don't work on the game I play?
1938A: Some games require me to make patches (ex: Murder Mystery, Murder Mystery X) to request a patch or a game message me on discord.
1939
19403) How did I detect when a player is behind a wall?
1941A: Raycasting the camera to another player.
1942
19434) My bullets still miss when using aimbot?!
1944A: Blame bullet spread, try and control how often you fire. (Murder Mystery 2 = trash) (Why the fuck does a single shot pistol have bullet spread? lol wtf?)
1945
1946Change Log:
19473/10/2018:
1948+ Fixed more bugs with chams
1949
19503/10/2018:
1951+ Fixed how chams broke when a player respawned.
1952
19533/10/2018:
1954+ Fixed ESP not updating correctly.
1955+ Fixed Chams not updating correctly. (MAYBE? IDK WHAT IS BREAKING THIS)
1956
19573/9/2018:
1958+ Mob ESP/Chams! (BETA!)
1959
19603/8/2018:
1961+ Fixed the error you get when not entering a valid number for esp/chams/tracer lengths.
1962+ Fixed lag issues with aimlock.
1963+ Fixed lag issues with chams.
1964
19653/8/2018:
1966+ Patch for Murder 15
1967- Temporarily removed auto fire since mouse1click is broken on Synapse :(
1968
19693/7/2018:
1970+ Updated save settings.
1971+ Can now customize aimlock key.
1972
19733/7/2018:
1974+ Patch for Wild Revolver.
1975+ Fix for autofire. (Hopefully)
1976
19773/6/2018:
1978- Removed :IsFriendsWith check. (Use Friends List GUI instead)
1979
19803/4/2018:
1981+ Added Friend List Menu
1982+ Patch for Assassin!
1983
19843/4/2018:
1985+ Fixed crosshair toggle.
1986+ Aimlock patch for Island Royal.
1987+ Finally fixed save settings.
1988
19893/4/2018:
1990+ Aimlock fixed for Unit 1968: Vietnam
1991+ Autofire setting for aimlock
1992+ Fixed how you sometimes had to double click buttons to activate a option
1993
19943/4/2018:
1995+ Fixed FreeForAll setting bug.
1996+ Using aimlock on Phantom Forces / Jailbreak will now tell you it will not work.
1997* Renamed Aimbot back to Aimlock
1998
19993/3/2018:
2000+ Blacklist feature re-added.
2001+ Aimbot will no longer focus people in the blacklist.
2002+ Compatible on exploits that have readfile and writefile.
2003
20043/3/2018:
2005+ GUI Overhaul
2006+ Aimbot now only targets people NOT behind walls
2007+ Chams now dim when x player is visible on your screen.
2008+ Chams no longer have the humanoid root part. (Your welcome)
2009+ Patch for Silent Assassin
2010+ My discord was deleted, so I'm using pastebin now. (Auto updates :)
2011]]
2012 TextLabel.TextColor3 = Color3.new(1, 1, 1)
2013 TextLabel.TextSize = 16
2014 TextLabel.TextTransparency = 0.5
2015 TextLabel.TextXAlignment = Enum.TextXAlignment.Left
2016 TextLabel.TextYAlignment = Enum.TextYAlignment.Top
2017
2018 Settings_2.Name = "Settings"
2019 Settings_2.Parent = MainFrame
2020 Settings_2.Active = true
2021 Settings_2.BackgroundColor3 = Color3.new(0.176471, 0.176471, 0.176471)
2022 Settings_2.BorderSizePixel = 0
2023 Settings_2.Position = UDim2.new(1, 3, 0.5, -138)
2024 Settings_2.Size = UDim2.new(0, 350, 0, 365)
2025 Settings_2.Visible = false
2026
2027 Title_3.Name = "Title"
2028 Title_3.Parent = Settings_2
2029 Title_3.BackgroundColor3 = Color3.new(1, 1, 1)
2030 Title_3.BackgroundTransparency = 1
2031 Title_3.Size = UDim2.new(1, 0, 0, 50)
2032 Title_3.Font = Enum.Font.SourceSansBold
2033 Title_3.Text = "Settings Menu"
2034 Title_3.TextColor3 = Color3.new(1, 1, 1)
2035 Title_3.TextSize = 18
2036 Title_3.TextTransparency = 0.5
2037
2038 design_3.Name = "design"
2039 design_3.Parent = Settings_2
2040 design_3.BackgroundColor3 = Color3.new(1, 1, 1)
2041 design_3.BackgroundTransparency = 0.5
2042 design_3.BorderSizePixel = 0
2043 design_3.Position = UDim2.new(0.0500000007, 0, 0, 50)
2044 design_3.Size = UDim2.new(0.899999976, 0, 0, 2)
2045
2046 buttons_3.Name = "buttons"
2047 buttons_3.Parent = Settings_2
2048 buttons_3.BackgroundColor3 = Color3.new(1, 1, 1)
2049 buttons_3.BackgroundTransparency = 1
2050 buttons_3.BorderSizePixel = 0
2051 buttons_3.Position = UDim2.new(0, 20, 0, 60)
2052 buttons_3.Size = UDim2.new(1, -40, 1, -70)
2053 buttons_3.ScrollBarThickness = 8
2054
2055 AllyColor.Name = "AllyColor"
2056 AllyColor.Parent = buttons_3
2057 AllyColor.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2058 AllyColor.BackgroundTransparency = 0.5
2059 AllyColor.BorderSizePixel = 0
2060 AllyColor.Position = UDim2.new(1, -150, 0, 180)
2061 AllyColor.Size = UDim2.new(0, 135, 0, 20)
2062 AllyColor.Font = Enum.Font.SourceSansBold
2063 AllyColor.Text = tostring(Bullshit.Colors.Ally)
2064 AllyColor.TextSize = 14
2065 AllyColor.TextWrapped = true
2066
2067 CHAMSLength.Name = "CHAMSLength"
2068 CHAMSLength.Parent = buttons_3
2069 CHAMSLength.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2070 CHAMSLength.BackgroundTransparency = 0.5
2071 CHAMSLength.BorderSizePixel = 0
2072 CHAMSLength.Position = UDim2.new(1, -150, 0, 60)
2073 CHAMSLength.Size = UDim2.new(0, 135, 0, 20)
2074 CHAMSLength.Font = Enum.Font.SourceSansBold
2075 CHAMSLength.Text = tostring(Bullshit.CHAMSLength)
2076 CHAMSLength.TextSize = 14
2077 CHAMSLength.TextWrapped = true
2078
2079 CrosshairColor.Name = "CrosshairColor"
2080 CrosshairColor.Parent = buttons_3
2081 CrosshairColor.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2082 CrosshairColor.BackgroundTransparency = 0.5
2083 CrosshairColor.BorderSizePixel = 0
2084 CrosshairColor.Position = UDim2.new(1, -150, 0, 270)
2085 CrosshairColor.Size = UDim2.new(0, 135, 0, 20)
2086 CrosshairColor.Font = Enum.Font.SourceSansBold
2087 CrosshairColor.Text = tostring(Bullshit.Colors.Crosshair)
2088 CrosshairColor.TextSize = 14
2089 CrosshairColor.TextWrapped = true
2090
2091 ESPLength.Name = "ESPLength"
2092 ESPLength.Parent = buttons_3
2093 ESPLength.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2094 ESPLength.BackgroundTransparency = 0.5
2095 ESPLength.BorderSizePixel = 0
2096 ESPLength.Position = UDim2.new(1, -150, 0, 30)
2097 ESPLength.Size = UDim2.new(0, 135, 0, 20)
2098 ESPLength.Font = Enum.Font.SourceSansBold
2099 ESPLength.Text = tostring(Bullshit.ESPLength)
2100 ESPLength.TextSize = 14
2101 ESPLength.TextWrapped = true
2102
2103 EnemyColor.Name = "EnemyColor"
2104 EnemyColor.Parent = buttons_3
2105 EnemyColor.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2106 EnemyColor.BackgroundTransparency = 0.5
2107 EnemyColor.BorderSizePixel = 0
2108 EnemyColor.Position = UDim2.new(1, -150, 0, 150)
2109 EnemyColor.Size = UDim2.new(0, 135, 0, 20)
2110 EnemyColor.Font = Enum.Font.SourceSansBold
2111 EnemyColor.Text = tostring(Bullshit.Colors.Enemy)
2112 EnemyColor.TextSize = 14
2113 EnemyColor.TextWrapped = true
2114
2115 FreeForAll.Name = "FreeForAll"
2116 FreeForAll.Parent = buttons_3
2117 FreeForAll.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2118 FreeForAll.BackgroundTransparency = 0.5
2119 FreeForAll.BorderSizePixel = 0
2120 FreeForAll.Position = UDim2.new(1, -150, 0, 120)
2121 FreeForAll.Size = UDim2.new(0, 135, 0, 20)
2122 FreeForAll.Font = Enum.Font.SourceSansBold
2123 FreeForAll.Text = tostring(Bullshit.FreeForAll)
2124 FreeForAll.TextSize = 14
2125 FreeForAll.TextWrapped = true
2126
2127 FriendColor.Name = "FriendColor"
2128 FriendColor.Parent = buttons_3
2129 FriendColor.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2130 FriendColor.BackgroundTransparency = 0.5
2131 FriendColor.BorderSizePixel = 0
2132 FriendColor.Position = UDim2.new(1, -150, 0, 210)
2133 FriendColor.Size = UDim2.new(0, 135, 0, 20)
2134 FriendColor.Font = Enum.Font.SourceSansBold
2135 FriendColor.Text = tostring(Bullshit.Colors.Friend)
2136 FriendColor.TextSize = 14
2137 FriendColor.TextWrapped = true
2138
2139 NeutralColor.Name = "NeutralColor"
2140 NeutralColor.Parent = buttons_3
2141 NeutralColor.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2142 NeutralColor.BackgroundTransparency = 0.5
2143 NeutralColor.BorderSizePixel = 0
2144 NeutralColor.Position = UDim2.new(1, -150, 0, 240)
2145 NeutralColor.Size = UDim2.new(0, 135, 0, 20)
2146 NeutralColor.Font = Enum.Font.SourceSansBold
2147 NeutralColor.Text = tostring(Bullshit.Colors.Neutral)
2148 NeutralColor.TextSize = 14
2149 NeutralColor.TextWrapped = true
2150
2151 TracersLength.Name = "TracersLength"
2152 TracersLength.Parent = buttons_3
2153 TracersLength.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2154 TracersLength.BackgroundTransparency = 0.5
2155 TracersLength.BorderSizePixel = 0
2156 TracersLength.Position = UDim2.new(1, -150, 0, 0)
2157 TracersLength.Size = UDim2.new(0, 135, 0, 20)
2158 TracersLength.Font = Enum.Font.SourceSansBold
2159 TracersLength.Text = tostring(Bullshit.TracersLength)
2160 TracersLength.TextSize = 14
2161 TracersLength.TextWrapped = true
2162
2163 TracersUnderChars.Name = "TracersUnderChars"
2164 TracersUnderChars.Parent = buttons_3
2165 TracersUnderChars.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2166 TracersUnderChars.BackgroundTransparency = 0.5
2167 TracersUnderChars.BorderSizePixel = 0
2168 TracersUnderChars.Position = UDim2.new(1, -150, 0, 90)
2169 TracersUnderChars.Size = UDim2.new(0, 135, 0, 20)
2170 TracersUnderChars.Font = Enum.Font.SourceSansBold
2171 TracersUnderChars.Text = tostring(Bullshit.PlaceTracersUnderCharacter)
2172 TracersUnderChars.TextSize = 14
2173 TracersUnderChars.TextWrapped = true
2174
2175 AutoFireToggle.Name = "AutoFireToggle"
2176 AutoFireToggle.Parent = buttons_3
2177 AutoFireToggle.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2178 AutoFireToggle.BackgroundTransparency = 0.5
2179 AutoFireToggle.BorderSizePixel = 0
2180 AutoFireToggle.Position = UDim2.new(1, -150, 0, 300)
2181 AutoFireToggle.Size = UDim2.new(0, 135, 0, 20)
2182 AutoFireToggle.Font = Enum.Font.SourceSansBold
2183 AutoFireToggle.Text = tostring(Bullshit.AutoFire)
2184 AutoFireToggle.TextSize = 14
2185 AutoFireToggle.TextWrapped = true
2186
2187 AimbotKey.Name = "AimbotKey"
2188 AimbotKey.Parent = buttons_3
2189 AimbotKey.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2190 AimbotKey.BackgroundTransparency = 0.5
2191 AimbotKey.BorderSizePixel = 0
2192 AimbotKey.Position = UDim2.new(1, -150, 0, 330)
2193 AimbotKey.Size = UDim2.new(0, 135, 0, 20)
2194 AimbotKey.Font = Enum.Font.SourceSansBold
2195 AimbotKey.Text = tostring(Bullshit.AimbotKey)
2196 AimbotKey.TextSize = 14
2197 AimbotKey.TextWrapped = true
2198
2199 MobESPButton.Name = "MobESPButton"
2200 MobESPButton.Parent = buttons_3
2201 MobESPButton.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2202 MobESPButton.BackgroundTransparency = 0.5
2203 MobESPButton.BorderSizePixel = 0
2204 MobESPButton.Position = UDim2.new(1, -150, 0, 360)
2205 MobESPButton.Size = UDim2.new(0, 135, 0, 20)
2206 MobESPButton.Font = Enum.Font.SourceSansBold
2207 MobESPButton.Text = tostring(Bullshit.MobESP)
2208 MobESPButton.TextSize = 14
2209 MobESPButton.TextWrapped = true
2210
2211 MobChamsButton.Name = "MobChamsButton"
2212 MobChamsButton.Parent = buttons_3
2213 MobChamsButton.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2214 MobChamsButton.BackgroundTransparency = 0.5
2215 MobChamsButton.BorderSizePixel = 0
2216 MobChamsButton.Position = UDim2.new(1, -150, 0, 390)
2217 MobChamsButton.Size = UDim2.new(0, 135, 0, 20)
2218 MobChamsButton.Font = Enum.Font.SourceSansBold
2219 MobChamsButton.Text = tostring(Bullshit.MobChams)
2220 MobChamsButton.TextSize = 14
2221 MobChamsButton.TextWrapped = true
2222
2223 TextLabel_2.Parent = buttons_3
2224 TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
2225 TextLabel_2.BackgroundTransparency = 1
2226 TextLabel_2.Size = UDim2.new(0.5, 0, 0, 20)
2227 TextLabel_2.Font = Enum.Font.SourceSansBold
2228 TextLabel_2.Text = "Tracers Length"
2229 TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
2230 TextLabel_2.TextSize = 16
2231 TextLabel_2.TextTransparency = 0.5
2232
2233 TextLabel_3.Parent = buttons_3
2234 TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
2235 TextLabel_3.BackgroundTransparency = 1
2236 TextLabel_3.Position = UDim2.new(0, 0, 0, 30)
2237 TextLabel_3.Size = UDim2.new(0.5, 0, 0, 20)
2238 TextLabel_3.Font = Enum.Font.SourceSansBold
2239 TextLabel_3.Text = "ESP Length"
2240 TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
2241 TextLabel_3.TextSize = 16
2242 TextLabel_3.TextTransparency = 0.5
2243
2244 TextLabel_4.Parent = buttons_3
2245 TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
2246 TextLabel_4.BackgroundTransparency = 1
2247 TextLabel_4.Position = UDim2.new(0, 0, 0, 60)
2248 TextLabel_4.Size = UDim2.new(0.5, 0, 0, 20)
2249 TextLabel_4.Font = Enum.Font.SourceSansBold
2250 TextLabel_4.Text = "Chams Length"
2251 TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
2252 TextLabel_4.TextSize = 16
2253 TextLabel_4.TextTransparency = 0.5
2254
2255 TextLabel_5.Parent = buttons_3
2256 TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
2257 TextLabel_5.BackgroundTransparency = 1
2258 TextLabel_5.Position = UDim2.new(0, 0, 0, 90)
2259 TextLabel_5.Size = UDim2.new(0.5, 0, 0, 20)
2260 TextLabel_5.Font = Enum.Font.SourceSansBold
2261 TextLabel_5.Text = "Tracers Under Chars"
2262 TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
2263 TextLabel_5.TextSize = 16
2264 TextLabel_5.TextTransparency = 0.5
2265
2266 TextLabel_6.Parent = buttons_3
2267 TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
2268 TextLabel_6.BackgroundTransparency = 1
2269 TextLabel_6.Position = UDim2.new(0, 0, 0, 270)
2270 TextLabel_6.Size = UDim2.new(0.5, 0, 0, 20)
2271 TextLabel_6.Font = Enum.Font.SourceSansBold
2272 TextLabel_6.Text = "Crosshair Color"
2273 TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
2274 TextLabel_6.TextSize = 16
2275 TextLabel_6.TextTransparency = 0.5
2276
2277 TextLabel_7.Parent = buttons_3
2278 TextLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
2279 TextLabel_7.BackgroundTransparency = 1
2280 TextLabel_7.Position = UDim2.new(0, 0, 0, 120)
2281 TextLabel_7.Size = UDim2.new(0.5, 0, 0, 20)
2282 TextLabel_7.Font = Enum.Font.SourceSansBold
2283 TextLabel_7.Text = "Free For All"
2284 TextLabel_7.TextColor3 = Color3.new(1, 1, 1)
2285 TextLabel_7.TextSize = 16
2286 TextLabel_7.TextTransparency = 0.5
2287
2288 TextLabel_8.Parent = buttons_3
2289 TextLabel_8.BackgroundColor3 = Color3.new(1, 1, 1)
2290 TextLabel_8.BackgroundTransparency = 1
2291 TextLabel_8.Position = UDim2.new(0, 0, 0, 240)
2292 TextLabel_8.Size = UDim2.new(0.5, 0, 0, 20)
2293 TextLabel_8.Font = Enum.Font.SourceSansBold
2294 TextLabel_8.Text = "Neutral Color"
2295 TextLabel_8.TextColor3 = Color3.new(1, 1, 1)
2296 TextLabel_8.TextSize = 16
2297 TextLabel_8.TextTransparency = 0.5
2298
2299 TextLabel_9.Parent = buttons_3
2300 TextLabel_9.BackgroundColor3 = Color3.new(1, 1, 1)
2301 TextLabel_9.BackgroundTransparency = 1
2302 TextLabel_9.Position = UDim2.new(0, 0, 0, 150)
2303 TextLabel_9.Size = UDim2.new(0.5, 0, 0, 20)
2304 TextLabel_9.Font = Enum.Font.SourceSansBold
2305 TextLabel_9.Text = "Enemy Color"
2306 TextLabel_9.TextColor3 = Color3.new(1, 1, 1)
2307 TextLabel_9.TextSize = 16
2308 TextLabel_9.TextTransparency = 0.5
2309
2310 TextLabel_10.Parent = buttons_3
2311 TextLabel_10.BackgroundColor3 = Color3.new(1, 1, 1)
2312 TextLabel_10.BackgroundTransparency = 1
2313 TextLabel_10.Position = UDim2.new(0, 0, 0, 180)
2314 TextLabel_10.Size = UDim2.new(0.5, 0, 0, 20)
2315 TextLabel_10.Font = Enum.Font.SourceSansBold
2316 TextLabel_10.Text = "Ally Color"
2317 TextLabel_10.TextColor3 = Color3.new(1, 1, 1)
2318 TextLabel_10.TextSize = 16
2319 TextLabel_10.TextTransparency = 0.5
2320
2321 TextLabel_11.Parent = buttons_3
2322 TextLabel_11.BackgroundColor3 = Color3.new(1, 1, 1)
2323 TextLabel_11.BackgroundTransparency = 1
2324 TextLabel_11.Position = UDim2.new(0, 0, 0, 210)
2325 TextLabel_11.Size = UDim2.new(0.5, 0, 0, 20)
2326 TextLabel_11.Font = Enum.Font.SourceSansBold
2327 TextLabel_11.Text = "Friend Color"
2328 TextLabel_11.TextColor3 = Color3.new(1, 1, 1)
2329 TextLabel_11.TextSize = 16
2330 TextLabel_11.TextTransparency = 0.5
2331
2332 TextLabel_12.Parent = buttons_3
2333 TextLabel_12.BackgroundColor3 = Color3.new(1, 1, 1)
2334 TextLabel_12.BackgroundTransparency = 1
2335 TextLabel_12.Position = UDim2.new(0, 0, 0, 300)
2336 TextLabel_12.Size = UDim2.new(0.5, 0, 0, 20)
2337 TextLabel_12.Font = Enum.Font.SourceSansBold
2338 TextLabel_12.Text = "Aimlock Auto Fire"
2339 TextLabel_12.TextColor3 = Color3.new(1, 1, 1)
2340 TextLabel_12.TextSize = 16
2341 TextLabel_12.TextTransparency = 0.5
2342
2343 TextLabel_13.Parent = buttons_3
2344 TextLabel_13.BackgroundColor3 = Color3.new(1, 1, 1)
2345 TextLabel_13.BackgroundTransparency = 1
2346 TextLabel_13.Position = UDim2.new(0, 0, 0, 330)
2347 TextLabel_13.Size = UDim2.new(0.5, 0, 0, 20)
2348 TextLabel_13.Font = Enum.Font.SourceSansBold
2349 TextLabel_13.Text = "Aimbot Key"
2350 TextLabel_13.TextColor3 = Color3.new(1, 1, 1)
2351 TextLabel_13.TextSize = 16
2352 TextLabel_13.TextTransparency = 0.5
2353
2354 TextLabel_14.Parent = buttons_3
2355 TextLabel_14.BackgroundColor3 = Color3.new(1, 1, 1)
2356 TextLabel_14.BackgroundTransparency = 1
2357 TextLabel_14.Position = UDim2.new(0, 0, 0, 360)
2358 TextLabel_14.Size = UDim2.new(0.5, 0, 0, 20)
2359 TextLabel_14.Font = Enum.Font.SourceSansBold
2360 TextLabel_14.Text = "Mob ESP"
2361 TextLabel_14.TextColor3 = Color3.new(1, 1, 1)
2362 TextLabel_14.TextSize = 16
2363 TextLabel_14.TextTransparency = 0.5
2364
2365 TextLabel_15.Parent = buttons_3
2366 TextLabel_15.BackgroundColor3 = Color3.new(1, 1, 1)
2367 TextLabel_15.BackgroundTransparency = 1
2368 TextLabel_15.Position = UDim2.new(0, 0, 0, 390)
2369 TextLabel_15.Size = UDim2.new(0.5, 0, 0, 20)
2370 TextLabel_15.Font = Enum.Font.SourceSansBold
2371 TextLabel_15.Text = "Mob CHAMS"
2372 TextLabel_15.TextColor3 = Color3.new(1, 1, 1)
2373 TextLabel_15.TextSize = 16
2374 TextLabel_15.TextTransparency = 0.5
2375
2376 SaveSettings.Name = "SaveSettings"
2377 SaveSettings.Parent = buttons_3
2378 SaveSettings.BackgroundColor3 = Color3.new(0.972549, 0.972549, 0.972549)
2379 SaveSettings.BackgroundTransparency = 0.5
2380 SaveSettings.BorderSizePixel = 0
2381 SaveSettings.Position = UDim2.new(0, 0, 0, 420)
2382 SaveSettings.Size = UDim2.new(1, -15, 0, 20)
2383 SaveSettings.Font = Enum.Font.SourceSansBold
2384 SaveSettings.Text = "Save Settings"
2385 SaveSettings.TextSize = 14
2386 SaveSettings.TextWrapped = true
2387
2388 function CreatePlayerLabel(Str, frame)
2389 local n = #frame:GetChildren()
2390 local playername = Instance.new("TextLabel")
2391 playername.Name = Str
2392 playername.Parent = frame
2393 playername.BackgroundColor3 = Color3.new(1, 1, 1)
2394 playername.BackgroundTransparency = 1
2395 playername.BorderSizePixel = 0
2396 playername.Position = UDim2.new(0, 5, 0, (n * 15))
2397 playername.Size = UDim2.new(1, -25, 0, 15)
2398 playername.Font = Enum.Font.SourceSans
2399 playername.Text = Str
2400 playername.TextColor3 = Color3.new(1, 1, 1)
2401 playername.TextSize = 16
2402 playername.TextXAlignment = Enum.TextXAlignment.Left
2403 end
2404
2405 function RefreshPlayerLabels(frame, t)
2406 frame:ClearAllChildren()
2407 for i, v in next, t do
2408 CreatePlayerLabel(i, frame)
2409 end
2410 end
2411
2412 RefreshPlayerLabels(players, Bullshit.Blacklist)
2413 RefreshPlayerLabels(players2, Bullshit.FriendList)
2414
2415 ESPToggle.MouseButton1Click:connect(function()
2416 Bullshit.ESPEnabled = not Bullshit.ESPEnabled
2417 if Bullshit.ESPEnabled then
2418 ESPToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2419 for _, v in next, Plrs:GetPlayers() do
2420 if v ~= MyPlr then
2421 if Bullshit.CharAddedEvent[v.Name] == nil then
2422 Bullshit.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
2423 if Bullshit.ESPEnabled then
2424 RemoveESP(v)
2425 CreateESP(v)
2426 end
2427 if Bullshit.CHAMSEnabled then
2428 RemoveChams(v)
2429 CreateChams(v)
2430 end
2431 if Bullshit.TracersEnabled then
2432 RemoveTracers(v)
2433 CreateTracers(v)
2434 end
2435 repeat wait() until Char:FindFirstChild("HumanoidRootPart")
2436 TracerMT[v.Name] = Char.HumanoidRootPart
2437 end)
2438 end
2439 RemoveESP(v)
2440 CreateESP(v)
2441 end
2442 end
2443 CreateMobESPChams()
2444 else
2445 ESPToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2446 PlayerESP:ClearAllChildren()
2447 ItemESP:ClearAllChildren()
2448 end
2449 end)
2450
2451 ChamsToggle.MouseButton1Click:connect(function()
2452 Bullshit.CHAMSEnabled = not Bullshit.CHAMSEnabled
2453 if Bullshit.CHAMSEnabled then
2454 ChamsToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2455 for _, v in next, Plrs:GetPlayers() do
2456 if v ~= MyPlr then
2457 if Bullshit.CharAddedEvent[v.Name] == nil then
2458 Bullshit.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
2459 if Bullshit.ESPEnabled then
2460 RemoveESP(v)
2461 CreateESP(v)
2462 end
2463 if Bullshit.CHAMSEnabled then
2464 RemoveChams(v)
2465 CreateChams(v)
2466 end
2467 if Bullshit.TracersEnabled then
2468 RemoveTracers(v)
2469 CreateTracers(v)
2470 end
2471 repeat wait() until Char:FindFirstChild("HumanoidRootPart")
2472 TracerMT[v.Name] = Char.HumanoidRootPart
2473 end)
2474 end
2475 RemoveChams(v)
2476 CreateChams(v)
2477 end
2478 end
2479 CreateMobESPChams()
2480 else
2481 ChamsToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2482 PlayerChams:ClearAllChildren()
2483 ItemChams:ClearAllChildren()
2484 end
2485 end)
2486
2487 TracersToggle.MouseButton1Click:connect(function()
2488 Bullshit.TracersEnabled = not Bullshit.TracersEnabled
2489 if Bullshit.TracersEnabled then
2490 TracersToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2491 for _, v in next, Plrs:GetPlayers() do
2492 if v ~= MyPlr then
2493 if Bullshit.CharAddedEvent[v.Name] == nil then
2494 Bullshit.CharAddedEvent[v.Name] = v.CharacterAdded:connect(function(Char)
2495 if Bullshit.ESPEnabled then
2496 RemoveESP(v)
2497 CreateESP(v)
2498 end
2499 if Bullshit.CHAMSEnabled then
2500 RemoveChams(v)
2501 CreateChams(v)
2502 end
2503 if Bullshit.TracersEnabled then
2504 RemoveTracers(v)
2505 CreateTracers(v)
2506 end
2507 end)
2508 end
2509 if v.Character ~= nil then
2510 local Tor = v.Character:FindFirstChild("HumanoidRootPart")
2511 if Tor then
2512 TracerMT[v.Name] = Tor
2513 end
2514 end
2515 RemoveTracers(v)
2516 CreateTracers(v)
2517 end
2518 end
2519 else
2520 TracersToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2521 for _, v in next, Plrs:GetPlayers() do
2522 RemoveTracers(v)
2523 end
2524 end
2525 end)
2526
2527 DebugToggle.MouseButton1Click:connect(function()
2528 Bullshit.DebugInfo = not Bullshit.DebugInfo
2529 DebugMenu["Main"].Visible = Bullshit.DebugInfo
2530 if Bullshit.DebugInfo then
2531 DebugToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2532 else
2533 DebugToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2534 end
2535 end)
2536
2537 OutlineToggle.MouseButton1Click:connect(function()
2538 Bullshit.OutlinesEnabled = not Bullshit.OutlinesEnabled
2539 if Bullshit.OutlinesEnabled then
2540 OutlineToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2541 for _, v in next, workspace:GetDescendants() do
2542 if v:IsA("BasePart") and not Plrs:GetPlayerFromCharacter(v.Parent) and not v.Parent:IsA("Hat") and not v.Parent:IsA("Accessory") and v.Parent.Name ~= "Tracers" then
2543 local Data = { }
2544 Data[2] = v.Transparency
2545 v.Transparency = 1
2546 local outline = Instance.new("SelectionBox")
2547 outline.Name = "Outline"
2548 outline.Color3 = Color3.new(0, 0, 0)
2549 outline.SurfaceColor3 = Color3.new(0, 1, 0)
2550 --outline.SurfaceTransparency = 0.9
2551 outline.LineThickness = 0.01
2552 outline.Transparency = 0.3
2553 outline.Adornee = v
2554 outline.Parent = v
2555 Data[1] = outline
2556 rawset(Bullshit.OutlinedParts, v, Data)
2557 end
2558 CreateChildAddedEventFor(v)
2559 end
2560 CreateChildAddedEventFor(workspace)
2561 if Bullshit.LightingEvent == nil then
2562 Bullshit.LightingEvent = game:GetService("Lighting").Changed:connect(LightingHax)
2563 end
2564 else
2565 OutlineToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2566 for i, v in next, Bullshit.OutlinedParts do
2567 i.Transparency = v[2]
2568 v[1]:Destroy()
2569 end
2570 end
2571 end)
2572
2573 FullbrightToggle.MouseButton1Click:connect(function()
2574 Bullshit.FullbrightEnabled = not Bullshit.FullbrightEnabled
2575 if Bullshit.FullbrightEnabled then
2576 FullbrightToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2577 if Bullshit.LightingEvent == nil then
2578 Bullshit.LightingEvent = Light.Changed:connect(LightingHax)
2579 end
2580 else
2581 FullbrightToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2582 Light.Ambient = Bullshit.AmbientBackup
2583 Light.ColorShift_Bottom = Bullshit.ColorShiftBotBackup
2584 Light.ColorShift_Top = Bullshit.ColorShiftTopBackup
2585 end
2586 end)
2587
2588 Crosshair.MouseButton1Click:connect(function()
2589 Bullshit.CrosshairEnabled = not Bullshit.CrosshairEnabled
2590 if Bullshit.CrosshairEnabled then
2591 local g = Instance.new("ScreenGui", CoreGui)
2592 g.Name = "Corsshair"
2593 local line1 = Instance.new("TextLabel", g)
2594 line1.Text = ""
2595 line1.Size = UDim2.new(0, 35, 0, 1)
2596 line1.BackgroundColor3 = Bullshit.Colors.Crosshair
2597 line1.BorderSizePixel = 0
2598 line1.ZIndex = 10
2599 local line2 = Instance.new("TextLabel", g)
2600 line2.Text = ""
2601 line2.Size = UDim2.new(0, 1, 0, 35)
2602 line2.BackgroundColor3 = Bullshit.Colors.Crosshair
2603 line2.BorderSizePixel = 0
2604 line2.ZIndex = 10
2605
2606 local viewport = MyCam.ViewportSize
2607 local centerx = viewport.X / 2
2608 local centery = viewport.Y / 2
2609
2610 line1.Position = UDim2.new(0, centerx - (35 / 2), 0, centery - 35)
2611 line2.Position = UDim2.new(0, centerx, 0, centery - (35 / 2) - 35)
2612
2613 Crosshair.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2614 else
2615 local find = CoreGui:FindFirstChild("Corsshair")
2616 if find then
2617 find:Destroy()
2618 end
2619
2620 Crosshairs.BackgroundColor3 = Color3.new(1, 1, 1)
2621 end
2622 end)
2623
2624 AimbotToggle.MouseButton1Click:connect(function()
2625 if not (game.PlaceId == 292439477 or game.PlaceId == 606849621) then
2626 Bullshit.AimbotEnabled = not Bullshit.AimbotEnabled
2627 if Bullshit.AimbotEnabled then
2628 AimbotToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2629 else
2630 AimbotToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2631 end
2632 else
2633 local hint = Instance.new("Hint", CoreGui)
2634 hint.Text = "This game prevents camera manipulation!"
2635 wait(5)
2636 hint:Destroy()
2637 end
2638 end)
2639
2640 TracersUnderChars.MouseButton1Click:connect(function()
2641 Bullshit.PlaceTracersUnderCharacter = not Bullshit.PlaceTracersUnderCharacter
2642 if Bullshit.PlaceTracersUnderCharacter then
2643 TracersUnderChars.Text = "true"
2644 else
2645 TracersUnderChars.Text = "false"
2646 end
2647 end)
2648
2649 FreeForAll.MouseButton1Click:connect(function()
2650 Bullshit.FreeForAll = not Bullshit.FreeForAll
2651 if Bullshit.FreeForAll then
2652 FreeForAll.Text = "true"
2653 else
2654 FreeForAll.Text = "false"
2655 end
2656 end)
2657
2658 ESPLength.FocusLost:connect(function()
2659 local txt = ESPLength.Text
2660 local num = tonumber(txt) or 10000
2661 if num ~= nil then
2662 if num < 100 then
2663 num = 100
2664 ESPLength.Text = num
2665 elseif num > 10000 then
2666 num = 10000
2667 ESPLength.Text = num
2668 end
2669 end
2670
2671 Bullshit.ESPLength = num
2672 ESPLength.Text = num
2673 end)
2674
2675 CHAMSLength.FocusLost:connect(function()
2676 local txt = CHAMSLength.Text
2677 local num = tonumber(txt) or 500
2678 if num ~= nil then
2679 if num < 100 then
2680 num = 100
2681 CHAMSLength.Text = num
2682 elseif num > 2048 then
2683 num = 2048
2684 CHAMSLength.Text = num
2685 end
2686 end
2687
2688 Bullshit.CHAMSLength = num
2689 CHAMSLength.Text = num
2690 end)
2691
2692 TracersLength.FocusLost:connect(function()
2693 local txt = TracersLength.Text
2694 local num = tonumber(txt) or 500
2695 if num ~= nil then
2696 if num < 100 then
2697 num = 100
2698 TracersLength.Text = num
2699 elseif num > 2048 then
2700 num = 2048
2701 TracersLength.Text = num
2702 end
2703 end
2704
2705 Bullshit.TracersLength = num
2706 TracersLength.Text = num
2707 end)
2708
2709 EnemyColor.FocusLost:connect(function()
2710 local R, G, B = string.match(RemoveSpacesFromString(EnemyColor.Text), "(%d+),(%d+),(%d+)")
2711 R = tonumber(R)
2712 G = tonumber(G)
2713 B = tonumber(B)
2714 if R > 1 then
2715 R = R / 255
2716 end
2717 if G > 1 then
2718 G = G / 255
2719 end
2720 if B > 1 then
2721 B = B / 255
2722 end
2723
2724 if R ~= nil and G ~= nil and B ~= nil then
2725 if not (R > 1 and G > 1 and B > 1) and not (R < 0 and G < 0 and B < 0) then
2726 Bullshit.Colors.Enemy = Color3.new(R, G, B)
2727 EnemyColor.Text = tostring(Bullshit.Colors.Enemy)
2728 else
2729 EnemyColor.Text = tostring(Bullshit.Colors.Enemy)
2730 end
2731 else
2732 EnemyColor.Text = tostring(Bullshit.Colors.Enemy)
2733 end
2734 end)
2735
2736 AllyColor.FocusLost:connect(function()
2737 local R, G, B = string.match(RemoveSpacesFromString(AllyColor.Text), "(%d+),(%d+),(%d+)")
2738 R = tonumber(R)
2739 G = tonumber(G)
2740 B = tonumber(B)
2741 if R > 1 then
2742 R = R / 255
2743 end
2744 if G > 1 then
2745 G = G / 255
2746 end
2747 if B > 1 then
2748 B = B / 255
2749 end
2750
2751 if R ~= nil and G ~= nil and B ~= nil then
2752 if not (R > 1 and G > 1 and B > 1) and not (R < 0 and G < 0 and B < 0) then
2753 Bullshit.Colors.Ally = Color3.new(R, G, B)
2754 AllyColor.Text = tostring(Bullshit.Colors.Ally)
2755 else
2756 AllyColor.Text = tostring(Bullshit.Colors.Ally)
2757 end
2758 else
2759 AllyColor.Text = tostring(Bullshit.Colors.Ally)
2760 end
2761 end)
2762
2763 FriendColor.FocusLost:connect(function()
2764 local R, G, B = string.match(RemoveSpacesFromString(FriendColor.Text), "(%d+),(%d+),(%d+)")
2765 R = tonumber(R)
2766 G = tonumber(G)
2767 B = tonumber(B)
2768 if R > 1 then
2769 R = R / 255
2770 end
2771 if G > 1 then
2772 G = G / 255
2773 end
2774 if B > 1 then
2775 B = B / 255
2776 end
2777
2778 if R ~= nil and G ~= nil and B ~= nil then
2779 if not (R > 1 and G > 1 and B > 1) and not (R < 0 and G < 0 and B < 0) then
2780 Bullshit.Colors.Ally = Color3.new(R, G, B)
2781 FriendColor.Text = tostring(Bullshit.Colors.Friend)
2782 else
2783 FriendColor.Text = tostring(Bullshit.Colors.Friend)
2784 end
2785 else
2786 FriendColor.Text = tostring(Bullshit.Colors.Friend)
2787 end
2788 end)
2789
2790 NeutralColor.FocusLost:connect(function()
2791 local R, G, B = string.match(RemoveSpacesFromString(NeutralColor.Text), "(%d+),(%d+),(%d+)")
2792 R = tonumber(R)
2793 G = tonumber(G)
2794 B = tonumber(B)
2795 if R > 1 then
2796 R = R / 255
2797 end
2798 if G > 1 then
2799 G = G / 255
2800 end
2801 if B > 1 then
2802 B = B / 255
2803 end
2804
2805 if R ~= nil and G ~= nil and B ~= nil then
2806 if not (R > 1 and G > 1 and B > 1) and not (R < 0 and G < 0 and B < 0) then
2807 Bullshit.Colors.Ally = Color3.new(R, G, B)
2808 NeutralColor.Text = tostring(Bullshit.Colors.Neutral)
2809 else
2810 NeutralColor.Text = tostring(Bullshit.Colors.Neutral)
2811 end
2812 else
2813 NeutralColor.Text = tostring(Bullshit.Colors.Neutral)
2814 end
2815 end)
2816
2817 CrosshairColor.FocusLost:connect(function()
2818 local R, G, B = string.match(RemoveSpacesFromString(CrosshairColor.Text), "(%d+),(%d+),(%d+)")
2819 R = tonumber(R)
2820 G = tonumber(G)
2821 B = tonumber(B)
2822 if R > 1 then
2823 R = R / 255
2824 end
2825 if G > 1 then
2826 G = G / 255
2827 end
2828 if B > 1 then
2829 B = B / 255
2830 end
2831
2832 if R ~= nil and G ~= nil and B ~= nil then
2833 if not (R > 1 and G > 1 and B > 1) and not (R < 0 and G < 0 and B < 0) then
2834 Bullshit.Colors.Ally = Color3.new(R, G, B)
2835 EnemyColor.Text = tostring(Bullshit.Colors.Crosshair)
2836 else
2837 EnemyColor.Text = tostring(Bullshit.Colors.Crosshair)
2838 end
2839 else
2840 EnemyColor.Text = tostring(Bullshit.Colors.Crosshair)
2841 end
2842 end)
2843
2844 AutoFireToggle.MouseButton1Click:connect(function()
2845 local hint = Instance.new("Hint", CoreGui)
2846 hint.Text = "Currently broken. :("
2847 wait(3)
2848 hint:Destroy()
2849 --Bullshit.AutoFire = not Bullshit.AutoFire
2850 --AutoFireToggle.Text = tostring(Bullshit.AutoFire)
2851 end)
2852
2853 AimbotKey.MouseButton1Click:connect(function()
2854 AimbotKey.Text = "Press any Key now."
2855 local input = UserInput.InputBegan:wait()
2856 if input.UserInputType == Enum.UserInputType.Keyboard then
2857 Bullshit.AimbotKey = tostring(input.KeyCode)
2858 AimbotKey.Text = string.sub(tostring(input.KeyCode), 14)
2859 else
2860 Bullshit.AimbotKey = tostring(input.UserInputType)
2861 AimbotKey.Text = string.sub(tostring(input.UserInputType), 20)
2862 end
2863 end)
2864
2865 MobESPButton.MouseButton1Click:connect(function()
2866 Bullshit.MobESP = not Bullshit.MobESP
2867 MobESPButton.Text = tostring(Bullshit.MobESP)
2868 if Bullshit.MobESP then
2869 local hint = Instance.new("Hint", CoreGui)
2870 hint.Text = "Turn ESP/Chams off and on again to see mob ESP."
2871 wait(5)
2872 hint.Text = "This is still in beta, expect problems! Message Racist Dolphin#5199 on discord if you encounter a bug!"
2873 wait(10)
2874 hint:Destroy()
2875 end
2876 end)
2877
2878 MobChamsButton.MouseButton1Click:connect(function()
2879 Bullshit.MobChams = not Bullshit.MobChams
2880 MobChamsButton.Text = tostring(Bullshit.MobChams)
2881 if Bullshit.MobChams then
2882 local hint = Instance.new("Hint", CoreGui)
2883 hint.Text = "Turn ESP/Chams off and on again to see mob chams."
2884 wait(5)
2885 hint.Text = "This is still in beta, expect problems! Message Racist Dolphin#5199 on discord if you encounter a bug!"
2886 wait(10)
2887 hint:Destroy()
2888 end
2889 end)
2890
2891 Playername.FocusLost:connect(function()
2892 local FindPlr = FindPlayer(Playername.Text)
2893 if FindPlr then
2894 Playername.Text = FindPlr.Name
2895 elseif not Bullshit.Blacklist[Playername.Text] then
2896 Playername.Text = "Player not Found!"
2897 wait(1)
2898 Playername.Text = "Enter Player Name"
2899 end
2900 end)
2901
2902 AddToBlacklist.MouseButton1Click:connect(function()
2903 local FindPlr = FindPlayer(Playername.Text)
2904 if FindPlr then
2905 if not Bullshit.Blacklist[FindPlr.Name] then
2906 Bullshit.Blacklist[FindPlr.Name] = true
2907 UpdateChams(FindPlr)
2908 CreatePlayerLabel(FindPlr.Name, players)
2909 end
2910 end
2911 end)
2912
2913 RemoveToBlacklist.MouseButton1Click:connect(function()
2914 local FindPlr = FindPlayer(Playername.Text)
2915 if FindPlr then
2916 if Bullshit.Blacklist[FindPlr.Name] then
2917 Bullshit.Blacklist[FindPlr.Name] = nil
2918 UpdateChams(FindPlr)
2919 RefreshPlayerLabels(players, Bullshit.Blacklist)
2920 end
2921 else
2922 if Bullshit.Blacklist[Playername.Text] then
2923 Bullshit.Blacklist[Playername.Text] = nil
2924 RefreshPlayerLabels(players, Bullshit.Blacklist)
2925 end
2926 end
2927 end)
2928
2929 Playername2.FocusLost:connect(function()
2930 local FindPlr = FindPlayer(Playername2.Text)
2931 if FindPlr then
2932 Playername2.Text = FindPlr.Name
2933 elseif not Bullshit.FriendList[Playername2.Text] then
2934 Playername2.Text = "Player not Found!"
2935 wait(1)
2936 Playername2.Text = "Enter Player Name"
2937 end
2938 end)
2939
2940 AddToWhitelist.MouseButton1Click:connect(function()
2941 local FindPlr = FindPlayer(Playername2.Text)
2942 if FindPlr then
2943 if not Bullshit.FriendList[FindPlr.Name] then
2944 Bullshit.FriendList[FindPlr.Name] = true
2945 UpdateChams(FindPlr)
2946 CreatePlayerLabel(FindPlr.Name, players2)
2947 end
2948 end
2949 end)
2950
2951 RemoveToWhitelist.MouseButton1Click:connect(function()
2952 local FindPlr = FindPlayer(Playername2.Text)
2953 if FindPlr then
2954 if Bullshit.FriendList[FindPlr.Name] then
2955 Bullshit.FriendList[FindPlr.Name] = nil
2956 UpdateChams(FindPlr)
2957 RefreshPlayerLabels(players2, Bullshit.FriendList)
2958 end
2959 else
2960 if Bullshit.FriendList[Playername2.Text] then
2961 Bullshit.FriendList[Playername2.Text] = nil
2962 RefreshPlayerLabels(players2, Bullshit.FriendList)
2963 end
2964 end
2965 end)
2966
2967 SaveWhitelist.MouseButton1Click:connect(function()
2968 pcall(function()
2969 writefile("Whitelist.txt", HTTP:JSONEncode(Bullshit.FriendList))
2970 end)
2971 SaveWhitelist.Text = "Saved!"
2972 wait(1)
2973 SaveWhitelist.Text = "Save Friends List"
2974 end)
2975
2976 SaveBlacklist.MouseButton1Click:connect(function()
2977 pcall(function()
2978 writefile("Blacklist.txt", HTTP:JSONEncode(Bullshit.Blacklist))
2979 end)
2980 SaveBlacklist.Text = "Saved!"
2981 wait(1)
2982 SaveBlacklist.Text = "Save Blacklist"
2983 end)
2984
2985 Settings.MouseButton1Click:connect(function()
2986 Settings_2.Visible = not Settings_2.Visible
2987 Information_2.Visible = false
2988 Blacklist.Visible = false
2989 Whitelist.Visible = false
2990 if Settings_2.Visible then
2991 Settings.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
2992 Information.BackgroundColor3 = Color3.new(1, 1, 1)
2993 BlacklistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2994 WhitelistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
2995 else
2996 Settings.BackgroundColor3 = Color3.new(1, 1, 1)
2997 end
2998 end)
2999
3000 Information.MouseButton1Click:connect(function()
3001 Information_2.Visible = not Information_2.Visible
3002 Settings_2.Visible = false
3003 Blacklist.Visible = false
3004 Whitelist.Visible = false
3005 if Information_2.Visible then
3006 Information.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
3007 Settings.BackgroundColor3 = Color3.new(1, 1, 1)
3008 BlacklistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
3009 WhitelistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
3010 else
3011 Information.BackgroundColor3 = Color3.new(1, 1, 1)
3012 end
3013 end)
3014
3015 BlacklistToggle.MouseButton1Click:connect(function()
3016 Blacklist.Visible = not Blacklist.Visible
3017 Settings_2.Visible = false
3018 Information_2.Visible = false
3019 Whitelist.Visible = false
3020 if Blacklist.Visible then
3021 BlacklistToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
3022 Settings.BackgroundColor3 = Color3.new(1, 1, 1)
3023 Information.BackgroundColor3 = Color3.new(1, 1, 1)
3024 WhitelistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
3025 else
3026 BlacklistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
3027 end
3028 end)
3029
3030 WhitelistToggle.MouseButton1Click:connect(function()
3031 Whitelist.Visible = not Whitelist.Visible
3032 Settings_2.Visible = false
3033 Information_2.Visible = false
3034 Blacklist.Visible = false
3035 if Whitelist.Visible then
3036 WhitelistToggle.BackgroundColor3 = Color3.new(0/255,171/255,11/255)
3037 Settings.BackgroundColor3 = Color3.new(1, 1, 1)
3038 Information.BackgroundColor3 = Color3.new(1, 1, 1)
3039 BlacklistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
3040 else
3041 WhitelistToggle.BackgroundColor3 = Color3.new(1, 1, 1)
3042 end
3043 end)
3044
3045 SaveSettings.MouseButton1Click:connect(function()
3046 SaveBullshitSettings()
3047 SaveSettings.Text = "Saved!"
3048 wait(1)
3049 SaveSettings.Text = "Save Settings"
3050 end)
3051
3052 UserInput.InputBegan:connect(function(input, ingui)
3053 if not ingui then
3054 if input.UserInputType == Enum.UserInputType.Keyboard then
3055 if input.KeyCode == Enum.KeyCode.P then
3056 MainFrame.Visible = not MainFrame.Visible
3057 end
3058 end
3059
3060 if tostring(input.KeyCode) == Bullshit.AimbotKey or tostring(input.UserInputType) == Bullshit.AimbotKey then
3061 Bullshit.Aimbot = true
3062 end
3063 end
3064 end)
3065
3066 UserInput.InputEnded:connect(function(input)
3067 if tostring(input.KeyCode) == Bullshit.AimbotKey or tostring(input.UserInputType) == Bullshit.AimbotKey then
3068 Bullshit.Aimbot = false
3069 end
3070 end)
3071end
3072
3073InitMain()
3074
3075Run:BindToRenderStep("UpdateESP", Enum.RenderPriority.Character.Value, function()
3076 for _, v in next, Plrs:GetPlayers() do
3077 if v ~= MyPlr then
3078 UpdateESP(v)
3079 end
3080 end
3081end)
3082
3083Run:BindToRenderStep("UpdateInfo", 1000, function()
3084 Bullshit.ClosestEnemy = GetClosestPlayer()
3085 MyChar = MyPlr.Character
3086 if Bullshit.DebugInfo then
3087 local MyHead, MyTor, MyHum = MyChar:FindFirstChild("Head"), MyChar:FindFirstChild("HumanoidRootPart"), MyChar:FindFirstChild("Humanoid")
3088
3089 local GetChar, GetHead, GetTor, GetHum = nil, nil, nil, nil
3090 if Bullshit.ClosestEnemy ~= nil then
3091 GetChar = Bullshit.ClosestEnemy.Character
3092 GetHead = GetChar:FindFirstChild("Head")
3093 GetTor = GetChar:FindFirstChild("HumanoidRootPart")
3094 GetHum = GetChar:FindFirstChild("Humanoid")
3095
3096 DebugMenu["PlayerSelected"].Text = "Closest Enemy: " .. tostring(Bullshit.ClosestEnemy)
3097
3098 if Bullshit.ClosestEnemy.Team ~= nil then
3099 DebugMenu["PlayerTeam"].Text = "Team: " .. tostring(Bullshit.ClosestEnemy.Team)
3100 else
3101 DebugMenu["PlayerTeam"].Text = "Team: nil"
3102 end
3103
3104 if GetHum then
3105 DebugMenu["PlayerHealth"].Text = "Health: " .. string.format("%.0f", GetHum.Health)
3106 end
3107 if MyTor and GetTor then
3108 local Pos = GetTor.Position
3109 local Dist = (MyTor.Position - Pos).magnitude
3110 DebugMenu["PlayerPosition"].Text = "Position: (X: " .. string.format("%.3f", Pos.X) .. " Y: " .. string.format("%.3f", Pos.Y) .. " Z: " .. string.format("%.3f", Pos.Z) .. ") Distance: " .. string.format("%.0f", Dist) .. " Studs"
3111
3112 local MyCharStuff = MyChar:GetDescendants()
3113 local GetCharStuff = GetChar:GetDescendants()
3114 for _, v in next, GetCharStuff do
3115 if v ~= GetTor then
3116 table.insert(MyCharStuff, v)
3117 end
3118 end
3119 local Ray = Ray.new(MyTor.Position, (Pos - MyTor.Position).unit * 300)
3120 local part = workspace:FindPartOnRayWithIgnoreList(Ray, MyCharStuff)
3121 if part == GetTor then
3122 DebugMenu["BehindWall"].Text = "Behind Wall: false"
3123 else
3124 DebugMenu["BehindWall"].Text = "Behind Wall: true"
3125 end
3126
3127 DebugMenu["Main"].Size = UDim2.new(0, DebugMenu["PlayerPosition"].TextBounds.X, 0, 200)
3128 end
3129 end
3130
3131 -- My Position
3132 if MyTor then
3133 local Pos = MyTor.Position
3134 DebugMenu["Position"].Text = "My Position: (X: " .. string.format("%.3f", Pos.x) .. " Y: " .. string.format("%.3f", Pos.Y) .. " Z: " .. string.format("%.3f", Pos.Z) .. ")"
3135 end
3136
3137 -- FPS
3138 local fps = math.floor(.5 + (1 / (tick() - LastTick)))
3139 local sum = 0
3140 local ave = 0
3141 table.insert(Bullshit.FPSAverage, fps)
3142 for i = 1, #Bullshit.FPSAverage do
3143 sum = sum + Bullshit.FPSAverage[i]
3144 end
3145 DebugMenu["FPS"].Text = "FPS: " .. tostring(fps) .. " Average: " .. string.format("%.0f", (sum / #Bullshit.FPSAverage))
3146 if (tick() - LastTick) >= 15 then
3147 Bullshit.FPSAverage = { }
3148 LastTick = tick()
3149 end
3150 LastTick = tick()
3151 end
3152end)
3153
3154Run:BindToRenderStep("Aimbot", Enum.RenderPriority.First.Value, function()
3155 ClosestEnemy = GetClosestPlayerNotBehindWall()
3156 if Bullshit.AimbotEnabled and Bullshit.Aimbot then
3157 if ClosestEnemy ~= nil then
3158 local GetChar = ClosestEnemy.Character
3159 if MyChar and GetChar then
3160 local MyCharStuff = MyChar:GetDescendants()
3161 local MyHead = MyChar:FindFirstChild("Head")
3162 local MyTor = MyChar:FindFirstChild("HumanoidRootPart")
3163 local MyHum = MyChar:FindFirstChild("Humanoid")
3164 local GetHead = GetChar:FindFirstChild("Head")
3165 local GetTor = GetChar:FindFirstChild("HumanoidRootPart")
3166 local GetHum = GetChar:FindFirstChild("Humanoid")
3167 if MyHead and MyTor and MyHum and GetHead and GetTor and GetHum then
3168 if MyHum.Health > 1 and (GetHum.Health > 1 and not GetChar:FindFirstChild("KO")) then
3169 MyPlr.CameraMode = Enum.CameraMode.LockFirstPerson
3170 MyCam.CFrame = CFrame.new(MyHead.CFrame.p, GetHead.CFrame.p)
3171 if Bullshit.AutoFire then
3172 mouse1click() -- >:(
3173 end
3174 end
3175 end
3176 end
3177 end
3178 else
3179 MyPlr.CameraMode = Bullshit.CameraModeBackup
3180 end
3181end)
3182
3183local succ, out = coroutine.resume(coroutine.create(function()
3184 while true do
3185 for _, v in next, Plrs:GetPlayers() do
3186 UpdateChams(v)
3187 Run.RenderStepped:wait()
3188 end
3189 end
3190end))
3191
3192if not succ then
3193 error(out)
3194end
3195local StrucidBR = Instance.new("ScreenGui")
3196local main = Instance.new("Frame")
3197local hitboxextender = Instance.new("TextButton")
3198local removemap = Instance.new("TextButton")
3199local noclip = Instance.new("TextButton")
3200local ctrlclicktp = Instance.new("TextButton")
3201local ESP = Instance.new("TextButton")
3202local infjump = Instance.new("TextButton")
3203local aimlock = Instance.new("TextButton")
3204local size = Instance.new("TextBox")
3205local title = Instance.new("TextLabel")
3206local close = Instance.new("TextButton")
3207local open = Instance.new("TextButton")
3208
3209StrucidBR.Name = "StrucidBR"
3210StrucidBR.Parent = game.CoreGui
3211StrucidBR.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
3212
3213main.Name = "main"
3214main.Parent = StrucidBR
3215main.Active = true
3216main.Draggable = true
3217main.BackgroundColor3 = Color3.new(0.792157, 0.0431373, 1)
3218main.BorderSizePixel = 0
3219main.Position = UDim2.new(0.281212121, 0, 0.259213746, 0)
3220main.Size = UDim2.new(0, 437, 0, 268)
3221
3222hitboxextender.Name = "hitboxextender"
3223hitboxextender.Parent = main
3224hitboxextender.BackgroundColor3 = Color3.new(1, 1, 1)
3225hitboxextender.BackgroundTransparency = 1
3226hitboxextender.Position = UDim2.new(0.49866575, 0, 0.227611944, 0)
3227hitboxextender.Size = UDim2.new(0, 217, 0, 63)
3228hitboxextender.Font = Enum.Font.GothamSemibold
3229hitboxextender.Text = "Extend Hitbox"
3230hitboxextender.TextColor3 = Color3.new(0, 0, 0)
3231hitboxextender.TextScaled = true
3232hitboxextender.TextSize = 14
3233hitboxextender.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3234hitboxextender.TextStrokeTransparency = 0
3235hitboxextender.TextWrapped = true
3236
3237removemap.Name = "removemap"
3238removemap.Parent = main
3239removemap.BackgroundColor3 = Color3.new(1, 1, 1)
3240removemap.BackgroundTransparency = 1
3241removemap.Position = UDim2.new(0.665141046, 0, 0.730099559, 0)
3242removemap.Size = UDim2.new(0, 145, 0, 72)
3243removemap.Font = Enum.Font.GothamSemibold
3244removemap.Text = "Remove Map"
3245removemap.TextColor3 = Color3.new(0, 0, 0)
3246removemap.TextScaled = true
3247removemap.TextSize = 14
3248removemap.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3249removemap.TextStrokeTransparency = 0
3250removemap.TextWrapped = true
3251
3252noclip.Name = "noclip"
3253noclip.Parent = main
3254noclip.BackgroundColor3 = Color3.new(1, 1, 1)
3255noclip.BackgroundTransparency = 1
3256noclip.Position = UDim2.new(0.666666746, 0, 0.465174198, 0)
3257noclip.Size = UDim2.new(0, 145, 0, 71)
3258noclip.Font = Enum.Font.GothamSemibold
3259noclip.Text = "Noclip"
3260noclip.TextColor3 = Color3.new(0, 0, 0)
3261noclip.TextScaled = true
3262noclip.TextSize = 14
3263noclip.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3264noclip.TextStrokeTransparency = 0
3265noclip.TextWrapped = true
3266
3267ctrlclicktp.Name = "ctrlclicktp"
3268ctrlclicktp.Parent = main
3269ctrlclicktp.BackgroundColor3 = Color3.new(1, 1, 1)
3270ctrlclicktp.BackgroundTransparency = 1
3271ctrlclicktp.Position = UDim2.new(0.333333373, 0, 0.465174198, 0)
3272ctrlclicktp.Size = UDim2.new(0, 145, 0, 71)
3273ctrlclicktp.Font = Enum.Font.GothamSemibold
3274ctrlclicktp.Text = "CTRL Click TP"
3275ctrlclicktp.TextColor3 = Color3.new(0, 0, 0)
3276ctrlclicktp.TextScaled = true
3277ctrlclicktp.TextSize = 14
3278ctrlclicktp.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3279ctrlclicktp.TextStrokeTransparency = 0
3280ctrlclicktp.TextWrapped = true
3281
3282ESP.Name = "ESP"
3283ESP.Parent = main
3284ESP.BackgroundColor3 = Color3.new(1, 1, 1)
3285ESP.BackgroundTransparency = 1
3286ESP.Position = UDim2.new(0, 0, 0.465174198, 0)
3287ESP.Size = UDim2.new(0, 145, 0, 71)
3288ESP.Font = Enum.Font.GothamSemibold
3289ESP.Text = "ESP"
3290ESP.TextColor3 = Color3.new(0, 0, 0)
3291ESP.TextScaled = true
3292ESP.TextSize = 14
3293ESP.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3294ESP.TextStrokeTransparency = 0
3295ESP.TextWrapped = true
3296
3297infjump.Name = "infjump"
3298infjump.Parent = main
3299infjump.BackgroundColor3 = Color3.new(1, 1, 1)
3300infjump.BackgroundTransparency = 1
3301infjump.Position = UDim2.new(0, 0, 0.732587099, 0)
3302infjump.Size = UDim2.new(0, 145, 0, 71)
3303infjump.Font = Enum.Font.GothamSemibold
3304infjump.Text = "Inf Jump"
3305infjump.TextColor3 = Color3.new(0, 0, 0)
3306infjump.TextScaled = true
3307infjump.TextSize = 14
3308infjump.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3309infjump.TextStrokeTransparency = 0
3310infjump.TextWrapped = true
3311
3312aimlock.Name = "aimlock"
3313aimlock.Parent = main
3314aimlock.BackgroundColor3 = Color3.new(1, 1, 1)
3315aimlock.BackgroundTransparency = 1
3316aimlock.Position = UDim2.new(0.330282331, 0, 0.735074639, 0)
3317aimlock.Size = UDim2.new(0, 146, 0, 71)
3318aimlock.Font = Enum.Font.GothamSemibold
3319aimlock.Text = "Aimlock"
3320aimlock.TextColor3 = Color3.new(0, 0, 0)
3321aimlock.TextScaled = true
3322aimlock.TextSize = 14
3323aimlock.TextStrokeColor3 = Color3.new(0.298039, 1, 0)
3324aimlock.TextStrokeTransparency = 0
3325aimlock.TextWrapped = true
3326
3327size.Name = "size"
3328size.Parent = main
3329size.BackgroundColor3 = Color3.new(1, 1, 1)
3330size.BackgroundTransparency = 0.5
3331size.BorderSizePixel = 0
3332size.Position = UDim2.new(-0.000762729964, 0, 0.227611944, 0)
3333size.Size = UDim2.new(0, 216, 0, 63)
3334size.Font = Enum.Font.GothamBlack
3335size.Text = "Hitbox Size Here :)"
3336size.TextColor3 = Color3.new(0, 0, 0)
3337size.TextSize = 14
3338size.TextStrokeColor3 = Color3.new(0.45098, 1, 0)
3339size.TextStrokeTransparency = 0
3340size.TextWrapped = true
3341
3342title.Name = "title"
3343title.Parent = main
3344title.BackgroundColor3 = Color3.new(1, 1, 1)
3345title.BackgroundTransparency = 1
3346title.Size = UDim2.new(0, 437, 0, 61)
3347title.Font = Enum.Font.GothamBold
3348title.Text = "V.BATTLEROYALE 1.2"
3349title.TextColor3 = Color3.new(0, 0, 0)
3350title.TextScaled = true
3351title.TextSize = 14
3352title.TextWrapped = true
3353
3354close.Name = "close"
3355close.Parent = main
3356close.BackgroundColor3 = Color3.new(1, 1, 1)
3357close.BackgroundTransparency = 1
3358close.Position = UDim2.new(0.956521749, 0, 0, 0)
3359close.Size = UDim2.new(0, 19, 0, 17)
3360close.Text = "X"
3361close.TextColor3 = Color3.new(0, 0, 0)
3362close.TextScaled = true
3363close.TextSize = 14
3364close.TextWrapped = true
3365
3366open.Name = "open"
3367open.Parent = StrucidBR
3368open.BackgroundColor3 = Color3.new(0.835294, 0, 1)
3369open.Position = UDim2.new(0, 0, 0.652334154, 0)
3370open.Size = UDim2.new(0, 164, 0, 56)
3371open.Font = Enum.Font.GothamBlack
3372open.Text = "OPEN"
3373open.TextColor3 = Color3.new(0, 0, 0)
3374open.TextScaled = true
3375open.TextSize = 14
3376open.TextStrokeColor3 = Color3.new(0.180392, 1, 0)
3377open.TextStrokeTransparency = 0
3378open.TextWrapped = true
3379open.Visible = false
3380open.MouseButton1Down:connect(function()
3381main.Visible = true
3382open.Visible = false
3383end)
3384close.MouseButton1Down:connect(function()
3385main.Visible = false
3386open.Visible = true
3387end)
3388hitboxextender.MouseButton1Down:connect(function()
3389_G.HeadSize = (size.Text)
3390_G.Disabled = true
3391
3392game:GetService('RunService').RenderStepped:connect(function()
3393if _G.Disabled then
3394for i,v in next, game:GetService('Players'):GetPlayers() do
3395if v.Name ~= game:GetService('Players').LocalPlayer.Name then
3396pcall(function()
3397v.Character.HumanoidRootPart.Size = Vector3.new(_G.HeadSize,_G.HeadSize,_G.HeadSize)
3398v.Character.HumanoidRootPart.Transparency = 0.6
3399v.Character.HumanoidRootPart.BrickColor = BrickColor.new("Really blue")
3400v.Character.HumanoidRootPart.Material = "SmoothPlastic"
3401v.Character.HumanoidRootPart.CanCollide = false
3402end)
3403end
3404end
3405end
3406end)
3407end)
3408infjump.MouseButton1Down:connect(function()
3409game:GetService("UserInputService").JumpRequest:connect(function()game:GetService"Players".LocalPlayer.Character:FindFirstChildOfClass'Humanoid':ChangeState("Jumping")end)
3410end)
3411ESP.MouseButton1Down:connect(function()
3412-- Created By Ic3W0lf
3413assert(Drawing, 'exploit not supported')
3414
3415local UserInputService = game:GetService'UserInputService';
3416local HttpService = game:GetService'HttpService';
3417local GUIService = game:GetService'GuiService';
3418local RunService = game:GetService'RunService';
3419local Players = game:GetService'Players';
3420local LocalPlayer = Players.LocalPlayer;
3421local Camera = workspace.CurrentCamera
3422local Mouse = LocalPlayer:GetMouse();
3423local Menu = {};
3424local MouseHeld = false;
3425local LastRefresh = 0;
3426local OptionsFile = 'IC3_ESP_SETTINGS.dat';
3427local Binding = false;
3428local BindedKey = nil;
3429local OIndex = 0;
3430local LineBox = {};
3431local UIButtons = {};
3432local Sliders = {};
3433local Dragging = false;
3434local DraggingUI = false;
3435local DragOffset = Vector2.new();
3436local DraggingWhat = nil;
3437local OldData = {};
3438local IgnoreList = {};
3439local Red = Color3.new(1, 0, 0);
3440local Green = Color3.new(0, 1, 0);
3441local MenuLoaded = false;
3442
3443shared.MenuDrawingData = shared.MenuDrawingData or { Instances = {} };
3444shared.PlayerData = shared.PlayerData or {};
3445shared.RSName = shared.RSName or ('UnnamedESP_by_ic3-' .. HttpService:GenerateGUID(false));
3446
3447local GetDataName = shared.RSName .. '-GetData';
3448local UpdateName = shared.RSName .. '-Update';
3449
3450local Debounce = setmetatable({}, {
3451__index = function(t, i)
3452return rawget(t, i) or false
3453end;
3454});
3455
3456pcall(function() shared.InputBeganCon:disconnect() end);
3457pcall(function() shared.InputEndedCon:disconnect() end);
3458
3459function GetMouseLocation()
3460return UserInputService:GetMouseLocation();
3461end
3462
3463function MouseHoveringOver(Values)
3464local X1, Y1, X2, Y2 = Values[1], Values[2], Values[3], Values[4]
3465local MLocation = GetMouseLocation();
3466return (MLocation.x >= X1 and MLocation.x <= (X1 + (X2 - X1))) and (MLocation.y >= Y1 and MLocation.y <= (Y1 + (Y2 - Y1)));
3467end
3468
3469function GetTableData(t) -- basically table.foreach i dont even know why i made this
3470if typeof(t) ~= 'table' then return end
3471return setmetatable(t, {
3472__call = function(t, func)
3473if typeof(func) ~= 'function' then return end;
3474for i, v in pairs(t) do
3475pcall(func, i, v);
3476end
3477end;
3478});
3479end
3480local function Format(format, ...)
3481return string.format(format, ...);
3482end
3483function CalculateValue(Min, Max, Percent)
3484return Min + math.floor(((Max - Min) * Percent) + .5);
3485end
3486
3487local Options = setmetatable({}, {
3488__call = function(t, ...)
3489local Arguments = {...};
3490local Name = Arguments[1];
3491OIndex = OIndex + 1; -- (typeof(Arguments[3]) == 'boolean' and 1 or 0);
3492rawset(t, Name, setmetatable({
3493Name = Arguments[1];
3494Text = Arguments[2];
3495Value = Arguments[3];
3496DefaultValue = Arguments[3];
3497AllArgs = Arguments;
3498Index = OIndex;
3499}, {
3500__call = function(t, v)
3501if typeof(t.Value) == 'function' then
3502t.Value();
3503elseif typeof(t.Value) == 'EnumItem' then
3504local BT = Menu:GetInstance(Format('%s_BindText', t.Name));
3505Binding = true;
3506local Val = 0
3507while Binding do
3508wait();
3509Val = (Val + 1) % 17;
3510BT.Text = Val <= 8 and '|' or '';
3511end
3512t.Value = BindedKey;
3513BT.Text = tostring(t.Value):match'%w+%.%w+%.(.+)';
3514BT.Position = t.BasePosition + Vector2.new(t.BaseSize.X - BT.TextBounds.X - 20, -10);
3515else
3516local NewValue = v;
3517if NewValue == nil then NewValue = not t.Value; end
3518rawset(t, 'Value', NewValue);
3519if Arguments[2] ~= nil then
3520if typeof(Arguments[3]) == 'number' then
3521local AMT = Menu:GetInstance(Format('%s_AmountText', t.Name));
3522AMT.Text = tostring(t.Value);
3523AMT.Position = t.BasePosition + Vector2.new(t.BaseSize.X - AMT.TextBounds.X - 10, -10);
3524else
3525local Inner = Menu:GetInstance(Format('%s_InnerCircle', t.Name));
3526Inner.Visible = t.Value;
3527end
3528end
3529end
3530end;
3531}));
3532end;
3533})
3534
3535function Load()
3536local _, Result = pcall(readfile, OptionsFile);
3537if _ then -- extremely ugly code yea i know but i dont care p.s. i hate pcall
3538local _, Table = pcall(HttpService.JSONDecode, HttpService, Result);
3539if _ then
3540for i, v in pairs(Table) do
3541if Options[i] ~= nil and Options[i].Value ~= nil and (typeof(Options[i].Value) == 'boolean' or typeof(Options[i].Value) == 'number') then
3542Options[i].Value = v.Value;
3543pcall(Options[i], v.Value);
3544end
3545end
3546end
3547end
3548end
3549
3550Options('Enabled', 'ESP Enabled', true);
3551Options('ShowTeam', 'Show Team', true);
3552Options('ShowName', 'Show Names', true);
3553Options('ShowDistance', 'Show Distance', true);
3554Options('ShowHealth', 'Show Health', true);
3555Options('ShowBoxes', 'Show Boxes', true);
3556Options('ShowTracers', 'Show Tracers', true);
3557Options('ShowDot', 'Show Head Dot', false);
3558Options('VisCheck', 'Visibility Check', false);
3559Options('Crosshair', 'Crosshair', false);
3560Options('TextOutline', 'Text Outline', true);
3561Options('TextSize', 'Text Size', syn and 18 or 14, 10, 24); -- cuz synapse fonts look weird???
3562Options('MaxDistance', 'Max Distance', 2500, 100, 5000);
3563Options('RefreshRate', 'Refresh Rate (ms)', 5, 1, 200);
3564Options('MenuKey', 'Menu Key', Enum.KeyCode.F4, 1);
3565Options('ResetSettings', 'Reset Settings', function()
3566for i, v in pairs(Options) do
3567if Options[i] ~= nil and Options[i].Value ~= nil and Options[i].Text ~= nil and (typeof(Options[i].Value) == 'boolean' or typeof(Options[i].Value) == 'number') then
3568Options[i](Options[i].DefaultValue);
3569end
3570end
3571end, 4);
3572Options('LoadSettings', 'Load Settings', Load, 3);
3573Options('SaveSettings', 'Save Settings', function()
3574writefile(OptionsFile, HttpService:JSONEncode(Options));
3575end, 2)
3576-- Options.SaveSettings.Value();
3577
3578Load();
3579
3580Options('MenuOpen', nil, true);
3581
3582local function Set(t, i, v)
3583t[i] = v;
3584end
3585local function Combine(...)
3586local Output = {};
3587for i, v in pairs{...} do
3588if typeof(v) == 'table' then
3589table.foreach(v, function(i, v)
3590Output[i] = v;
3591end)
3592end
3593end
3594return Output
3595end
3596function IsStringEmpty(String)
3597if type(String) == 'string' then
3598return String:match'^%s+$' ~= nil or #String == 0 or String == '' or false;
3599end
3600return false
3601end
3602
3603function NewDrawing(InstanceName)
3604local Instance = Drawing.new(InstanceName);
3605return (function(Properties)
3606for i, v in pairs(Properties) do
3607pcall(Set, Instance, i, v);
3608end
3609return Instance;
3610end)
3611end
3612
3613function Menu:AddMenuInstace(Name, Instance)
3614if shared.MenuDrawingData.Instances[Name] ~= nil then
3615shared.MenuDrawingData.Instances[Name]:Remove();
3616end
3617shared.MenuDrawingData.Instances[Name] = Instance;
3618return Instance;
3619end
3620function Menu:UpdateMenuInstance(Name)
3621local Instance = shared.MenuDrawingData.Instances[Name];
3622if Instance ~= nil then
3623return (function(Properties)
3624for i, v in pairs(Properties) do
3625-- print(Format('%s %s -> %s', Name, tostring(i), tostring(v)));
3626pcall(Set, Instance, i, v);
3627end
3628return Instance;
3629end)
3630end
3631end
3632function Menu:GetInstance(Name)
3633return shared.MenuDrawingData.Instances[Name];
3634end
3635
3636function LineBox:Create(Properties)
3637local Box = { Visible = true }; -- prevent errors not really though dont worry bout the Visible = true thing
3638
3639local Properties = Combine({
3640Transparency = 1;
3641Thickness = 1;
3642Visible = true;
3643}, Properties);
3644
3645Box['TopLeft'] = NewDrawing'Line'(Properties);
3646Box['TopRight'] = NewDrawing'Line'(Properties);
3647Box['BottomLeft'] = NewDrawing'Line'(Properties);
3648Box['BottomRight'] = NewDrawing'Line'(Properties);
3649
3650function Box:Update(CF, Size, Color, Properties)
3651if not CF or not Size then return end
3652
3653local TLPos, Visible1 = Camera:WorldToViewportPoint((CF * CFrame.new( Size.X, Size.Y, 0)).p);
3654local TRPos, Visible2 = Camera:WorldToViewportPoint((CF * CFrame.new(-Size.X, Size.Y, 0)).p);
3655local BLPos, Visible3 = Camera:WorldToViewportPoint((CF * CFrame.new( Size.X, -Size.Y, 0)).p);
3656local BRPos, Visible4 = Camera:WorldToViewportPoint((CF * CFrame.new(-Size.X, -Size.Y, 0)).p);
3657-- ## BEGIN UGLY CODE
3658if Visible1 then
3659Box['TopLeft'].Visible = true;
3660Box['TopLeft'].Color = Color;
3661Box['TopLeft'].From = Vector2.new(TLPos.X, TLPos.Y);
3662Box['TopLeft'].To = Vector2.new(TRPos.X, TRPos.Y);
3663else
3664Box['TopLeft'].Visible = false;
3665end
3666if Visible2 then
3667Box['TopRight'].Visible = true;
3668Box['TopRight'].Color = Color;
3669Box['TopRight'].From = Vector2.new(TRPos.X, TRPos.Y);
3670Box['TopRight'].To = Vector2.new(BRPos.X, BRPos.Y);
3671else
3672Box['TopRight'].Visible = false;
3673end
3674if Visible3 then
3675Box['BottomLeft'].Visible = true;
3676Box['BottomLeft'].Color = Color;
3677Box['BottomLeft'].From = Vector2.new(BLPos.X, BLPos.Y);
3678Box['BottomLeft'].To = Vector2.new(TLPos.X, TLPos.Y);
3679else
3680Box['BottomLeft'].Visible = false;
3681end
3682if Visible4 then
3683Box['BottomRight'].Visible = true;
3684Box['BottomRight'].Color = Color;
3685Box['BottomRight'].From = Vector2.new(BRPos.X, BRPos.Y);
3686Box['BottomRight'].To = Vector2.new(BLPos.X, BLPos.Y);
3687else
3688Box['BottomRight'].Visible = false;
3689end
3690-- ## END UGLY CODE
3691if Properties then
3692GetTableData(Properties)(function(i, v)
3693pcall(Set, Box['TopLeft'], i, v);
3694pcall(Set, Box['TopRight'], i, v);
3695pcall(Set, Box['BottomLeft'], i, v);
3696pcall(Set, Box['BottomRight'], i, v);
3697end)
3698end
3699end
3700function Box:SetVisible(bool)
3701pcall(Set, Box['TopLeft'], 'Visible', bool);
3702pcall(Set, Box['TopRight'], 'Visible', bool);
3703pcall(Set, Box['BottomLeft'], 'Visible', bool);
3704pcall(Set, Box['BottomRight'], 'Visible', bool);
3705end
3706function Box:Remove()
3707self:SetVisible(false);
3708Box['TopLeft']:Remove();
3709Box['TopRight']:Remove();
3710Box['BottomLeft']:Remove();
3711Box['BottomRight']:Remove();
3712end
3713
3714return Box;
3715end
3716
3717function CreateMenu(NewPosition) -- Create Menu
3718local function FromHex(HEX)
3719HEX = HEX:gsub('#', '');
3720return Color3.fromRGB(tonumber('0x' .. HEX:sub(1, 2)), tonumber('0x' .. HEX:sub(3, 4)), tonumber('0x' .. HEX:sub(5, 6)));
3721end
3722
3723local Colors = {
3724Primary = {
3725Main = FromHex'424242';
3726Light = FromHex'6d6d6d';
3727Dark = FromHex'1b1b1b';
3728};
3729Secondary = {
3730Main = FromHex'e0e0e0';
3731Light = FromHex'ffffff';
3732Dark = FromHex'aeaeae';
3733};
3734};
3735
3736MenuLoaded = false;
3737
3738GetTableData(UIButtons)(function(i, v)
3739v.Instance.Visible = false;
3740v.Instance:Remove();
3741end)
3742GetTableData(Sliders)(function(i, v)
3743v.Instance.Visible = false;
3744v.Instance:Remove();
3745end)
3746
3747UIButtons = {};
3748Sliders = {};
3749
3750local BaseSize = Vector2.new(300, 580);
3751local BasePosition = NewPosition or Vector2.new(Camera.ViewportSize.X / 8 - (BaseSize.X / 2), Camera.ViewportSize.Y / 2 - (BaseSize.Y / 2));
3752
3753Menu:AddMenuInstace('CrosshairX', NewDrawing'Line'{
3754Visible = false;
3755Color = Color3.new(0, 1, 0);
3756Transparency = 1;
3757Thickness = 1;
3758});
3759Menu:AddMenuInstace('CrosshairY', NewDrawing'Line'{
3760Visible = false;
3761Color = Color3.new(0, 1, 0);
3762Transparency = 1;
3763Thickness = 1;
3764});
3765
3766delay(.025, function() -- since zindex doesnt exist
3767Menu:AddMenuInstace('Main', NewDrawing'Square'{
3768Size = BaseSize;
3769Position = BasePosition;
3770Filled = false;
3771Color = Colors.Primary.Main;
3772Thickness = 3;
3773Visible = true;
3774});
3775end);
3776Menu:AddMenuInstace('TopBar', NewDrawing'Square'{
3777Position = BasePosition;
3778Size = Vector2.new(BaseSize.X, 25);
3779Color = Colors.Primary.Dark;
3780Filled = true;
3781Visible = true;
3782});
3783Menu:AddMenuInstace('TopBarTwo', NewDrawing'Square'{
3784Position = BasePosition + Vector2.new(0, 25);
3785Size = Vector2.new(BaseSize.X, 60);
3786Color = Colors.Primary.Main;
3787Filled = true;
3788Visible = true;
3789});
3790Menu:AddMenuInstace('TopBarText', NewDrawing'Text'{
3791Size = 25;
3792Position = shared.MenuDrawingData.Instances.TopBarTwo.Position + Vector2.new(25, 15);
3793Text = 'Unnamed ESP';
3794Color = Colors.Secondary.Light;
3795Visible = true;
3796});
3797Menu:AddMenuInstace('TopBarTextBR', NewDrawing'Text'{
3798Size = 15;
3799Position = shared.MenuDrawingData.Instances.TopBarTwo.Position + Vector2.new(BaseSize.X - 65, 40);
3800Text = 'by ic3w0lf';
3801Color = Colors.Secondary.Dark;
3802Visible = true;
3803});
3804Menu:AddMenuInstace('Filling', NewDrawing'Square'{
3805Size = BaseSize - Vector2.new(0, 85);
3806Position = BasePosition + Vector2.new(0, 85);
3807Filled = true;
3808Color = Colors.Secondary.Main;
3809Transparency= .5;
3810Visible = true;
3811});
3812
3813local CPos = 0;
3814
3815GetTableData(Options)(function(i, v)
3816if typeof(v.Value) == 'boolean' and not IsStringEmpty(v.Text) and v.Text ~= nil then
3817CPos = CPos + 25;
3818local BaseSize = Vector2.new(BaseSize.X, 30);
3819local BasePosition = shared.MenuDrawingData.Instances.Filling.Position + Vector2.new(30, v.Index * 25 - 10);
3820UIButtons[#UIButtons + 1] = {
3821Option = v;
3822Instance = Menu:AddMenuInstace(Format('%s_Hitbox', v.Name), NewDrawing'Square'{
3823Position = BasePosition - Vector2.new(30, 15);
3824Size = BaseSize;
3825Visible = false;
3826});
3827};
3828Menu:AddMenuInstace(Format('%s_OuterCircle', v.Name), NewDrawing'Circle'{
3829Radius = 10;
3830Position = BasePosition;
3831Color = Colors.Secondary.Light;
3832Filled = true;
3833Visible = true;
3834});
3835Menu:AddMenuInstace(Format('%s_InnerCircle', v.Name), NewDrawing'Circle'{
3836Radius = 7;
3837Position = BasePosition;
3838Color = Colors.Secondary.Dark;
3839Filled = true;
3840Visible = v.Value;
3841});
3842Menu:AddMenuInstace(Format('%s_Text', v.Name), NewDrawing'Text'{
3843Text = v.Text;
3844Size = 20;
3845Position = BasePosition + Vector2.new(20, -10);
3846Visible = true;
3847Color = Colors.Primary.Dark;
3848});
3849end
3850end)
3851GetTableData(Options)(function(i, v) -- just to make sure certain things are drawn before or after others, too lazy to actually sort table
3852if typeof(v.Value) == 'number' then
3853CPos = CPos + 25;
3854
3855local BaseSize = Vector2.new(BaseSize.X, 30);
3856local BasePosition = shared.MenuDrawingData.Instances.Filling.Position + Vector2.new(0, CPos - 10);
3857
3858local Text = Menu:AddMenuInstace(Format('%s_Text', v.Name), NewDrawing'Text'{
3859Text = v.Text;
3860Size = 20;
3861Position = BasePosition + Vector2.new(20, -10);
3862Visible = true;
3863Color = Colors.Primary.Dark;
3864});
3865local AMT = Menu:AddMenuInstace(Format('%s_AmountText', v.Name), NewDrawing'Text'{
3866Text = tostring(v.Value);
3867Size = 20;
3868Position = BasePosition;
3869Visible = true;
3870Color = Colors.Primary.Dark;
3871});
3872local Line = Menu:AddMenuInstace(Format('%s_SliderLine', v.Name), NewDrawing'Line'{
3873Transparency = 1;
3874Color = Colors.Primary.Dark;
3875Thickness = 3;
3876Visible = true;
3877From = BasePosition + Vector2.new(20, 20);
3878To = BasePosition + Vector2.new(BaseSize.X - 10, 20);
3879});
3880CPos = CPos + 10;
3881local Slider = Menu:AddMenuInstace(Format('%s_Slider', v.Name), NewDrawing'Circle'{
3882Visible = true;
3883Filled = true;
3884Radius = 6;
3885Color = Colors.Secondary.Dark;
3886Position = BasePosition + Vector2.new(35, 20);
3887})
3888
3889local CSlider = {Slider = Slider; Line = Line; Min = v.AllArgs[4]; Max = v.AllArgs[5]; Option = v};
3890Sliders[#Sliders + 1] = CSlider;
3891
3892-- local Percent = (v.Value / CSlider.Max) * 100;
3893-- local Size = math.abs(Line.From.X - Line.To.X);
3894-- local Value = Size * (Percent / 100); -- this shit's inaccurate but fuck it i'm not even gonna bother fixing it
3895
3896Slider.Position = BasePosition + Vector2.new(40, 20);
3897
3898v.BaseSize = BaseSize;
3899v.BasePosition = BasePosition;
3900AMT.Position = BasePosition + Vector2.new(BaseSize.X - AMT.TextBounds.X - 10, -10)
3901end
3902end)
3903GetTableData(Options)(function(i, v) -- just to make sure certain things are drawn before or after others, too lazy to actually sort table
3904if typeof(v.Value) == 'EnumItem' then
3905CPos = CPos + 30;
3906
3907local BaseSize = Vector2.new(BaseSize.X, 30);
3908local BasePosition = shared.MenuDrawingData.Instances.Filling.Position + Vector2.new(0, CPos - 10);
3909
3910UIButtons[#UIButtons + 1] = {
3911Option = v;
3912Instance = Menu:AddMenuInstace(Format('%s_Hitbox', v.Name), NewDrawing'Square'{
3913Size = Vector2.new(BaseSize.X, 20) - Vector2.new(30, 0);
3914Visible = true;
3915Transparency= .5;
3916Position = BasePosition + Vector2.new(15, -10);
3917Color = Colors.Secondary.Light;
3918Filled = true;
3919});
3920};
3921local Text = Menu:AddMenuInstace(Format('%s_Text', v.Name), NewDrawing'Text'{
3922Text = v.Text;
3923Size = 20;
3924Position = BasePosition + Vector2.new(20, -10);
3925Visible = true;
3926Color = Colors.Primary.Dark;
3927});
3928local BindText = Menu:AddMenuInstace(Format('%s_BindText', v.Name), NewDrawing'Text'{
3929Text = tostring(v.Value):match'%w+%.%w+%.(.+)';
3930Size = 20;
3931Position = BasePosition;
3932Visible = true;
3933Color = Colors.Primary.Dark;
3934});
3935
3936Options[i].BaseSize = BaseSize;
3937Options[i].BasePosition = BasePosition;
3938BindText.Position = BasePosition + Vector2.new(BaseSize.X - BindText.TextBounds.X - 20, -10);
3939end
3940end)
3941GetTableData(Options)(function(i, v) -- just to make sure certain things are drawn before or after others, too lazy to actually sort table
3942if typeof(v.Value) == 'function' then
3943local BaseSize = Vector2.new(BaseSize.X, 30);
3944local BasePosition = shared.MenuDrawingData.Instances.Filling.Position + Vector2.new(0, CPos + (25 * v.AllArgs[4]) - 35);
3945
3946UIButtons[#UIButtons + 1] = {
3947Option = v;
3948Instance = Menu:AddMenuInstace(Format('%s_Hitbox', v.Name), NewDrawing'Square'{
3949Size = Vector2.new(BaseSize.X, 20) - Vector2.new(30, 0);
3950Visible = true;
3951Transparency= .5;
3952Position = BasePosition + Vector2.new(15, -10);
3953Color = Colors.Secondary.Light;
3954Filled = true;
3955});
3956};
3957local Text = Menu:AddMenuInstace(Format('%s_Text', v.Name), NewDrawing'Text'{
3958Text = v.Text;
3959Size = 20;
3960Position = BasePosition + Vector2.new(20, -10);
3961Visible = true;
3962Color = Colors.Primary.Dark;
3963});
3964
3965-- BindText.Position = BasePosition + Vector2.new(BaseSize.X - BindText.TextBounds.X - 10, -10);
3966end
3967end)
3968
3969delay(.1, function()
3970MenuLoaded = true;
3971end);
3972
3973-- this has to be at the bottom cuz proto drawing api doesnt have zindex :triumph:
3974Menu:AddMenuInstace('Cursor1', NewDrawing'Line'{
3975Visible = false;
3976Color = Color3.new(1, 0, 0);
3977Transparency = 1;
3978Thickness = 2;
3979});
3980Menu:AddMenuInstace('Cursor2', NewDrawing'Line'{
3981Visible = false;
3982Color = Color3.new(1, 0, 0);
3983Transparency = 1;
3984Thickness = 2;
3985});
3986Menu:AddMenuInstace('Cursor3', NewDrawing'Line'{
3987Visible = false;
3988Color = Color3.new(1, 0, 0);
3989Transparency = 1;
3990Thickness = 2;
3991});
3992end
3993
3994CreateMenu();
3995
3996shared.InputBeganCon = UserInputService.InputBegan:connect(function(input)
3997if input.UserInputType.Name == 'MouseButton1' and Options.MenuOpen.Value then
3998MouseHeld = true;
3999local Bar = Menu:GetInstance'TopBar';
4000local Values = {
4001Bar.Position.X;
4002Bar.Position.Y;
4003Bar.Position.X + Bar.Size.X;
4004Bar.Position.Y + Bar.Size.Y;
4005}
4006if MouseHoveringOver(Values) and not syn then -- disable dragging for synapse cuz idk why it breaks
4007DraggingUI = true;
4008DragOffset = Menu:GetInstance'Main'.Position - GetMouseLocation();
4009else
4010for i, v in pairs(Sliders) do
4011local Values = {
4012v.Line.From.X - (v.Slider.Radius);
4013v.Line.From.Y - (v.Slider.Radius);
4014v.Line.To.X + (v.Slider.Radius);
4015v.Line.To.Y + (v.Slider.Radius);
4016};
4017if MouseHoveringOver(Values) then
4018DraggingWhat = v;
4019Dragging = true;
4020break
4021end
4022end
4023end
4024end
4025end)
4026shared.InputEndedCon = UserInputService.InputEnded:connect(function(input)
4027if input.UserInputType.Name == 'MouseButton1' and Options.MenuOpen.Value then
4028MouseHeld = false;
4029for i, v in pairs(UIButtons) do
4030local Values = {
4031v.Instance.Position.X;
4032v.Instance.Position.Y;
4033v.Instance.Position.X + v.Instance.Size.X;
4034v.Instance.Position.Y + v.Instance.Size.Y;
4035};
4036if MouseHoveringOver(Values) then
4037v.Option();
4038break -- prevent clicking 2 options
4039end
4040end
4041elseif input.UserInputType.Name == 'Keyboard' then
4042if Binding then
4043BindedKey = input.KeyCode;
4044Binding = false;
4045elseif input.KeyCode == Options.MenuKey.Value or (input.KeyCode == Enum.KeyCode.Home and UserInputService:IsKeyDown(Enum.KeyCode.LeftControl)) then
4046Options.MenuOpen();
4047end
4048end
4049end)
4050
4051function ToggleMenu()
4052if Options.MenuOpen.Value then
4053GetTableData(shared.MenuDrawingData.Instances)(function(i, v)
4054if OldData[v] then
4055pcall(Set, v, 'Visible', true);
4056end
4057end)
4058else
4059-- GUIService:SetMenuIsOpen(false);
4060GetTableData(shared.MenuDrawingData.Instances)(function(i, v)
4061if v.Visible == true then
4062OldData[v] = true;
4063pcall(Set, v, 'Visible', false);
4064end
4065end)
4066end
4067end
4068
4069function CheckRay(Player, Distance, Position, Unit)
4070local Pass = true;
4071
4072if Distance > 999 then return false; end
4073
4074local _Ray = Ray.new(Position, Unit * Distance);
4075
4076local List = {LocalPlayer.Character, Camera, Mouse.TargetFilter};
4077
4078for i,v in pairs(IgnoreList) do table.insert(List, v); end;
4079
4080local Hit = workspace:FindPartOnRayWithIgnoreList(_Ray, List);
4081if Hit and not Hit:IsDescendantOf(Player.Character) then
4082Pass = false;
4083if Hit.Transparency >= .3 or not Hit.CanCollide and Hit.ClassName ~= Terrain then -- Detect invisible walls
4084IgnoreList[#IgnoreList + 1] = Hit;
4085end
4086end
4087
4088return Pass;
4089end
4090
4091function CheckPlayer(Player)
4092if not Options.Enabled.Value then return false end
4093
4094local Pass = true;
4095local Distance = 0;
4096
4097if Player ~= LocalPlayer and Player.Character then
4098if not Options.ShowTeam.Value and Player.TeamColor == LocalPlayer.TeamColor then
4099Pass = false;
4100end
4101
4102local Head = Player.Character:FindFirstChild'Head';
4103
4104if Pass and Player.Character and Head then
4105Distance = (Camera.CFrame.p - Head.Position).magnitude;
4106if Options.VisCheck.Value then
4107Pass = CheckRay(Player, Distance, Camera.CFrame.p, (Head.Position - Camera.CFrame.p).unit);
4108end
4109if Distance > Options.MaxDistance.Value then
4110Pass = false;
4111end
4112end
4113else
4114Pass = false;
4115end
4116
4117return Pass, Distance;
4118end
4119
4120function UpdatePlayerData()
4121if (tick() - LastRefresh) > (Options.RefreshRate.Value / 1000) then
4122LastRefresh = tick();
4123for i, v in pairs(Players:GetPlayers()) do
4124local Data = shared.PlayerData[v.Name] or { Instances = {} };
4125
4126Data.Instances['Box'] = Data.Instances['Box'] or LineBox:Create{Thickness = 3};
4127Data.Instances['Tracer'] = Data.Instances['Tracer'] or NewDrawing'Line'{
4128Transparency = 1;
4129Thickness = 2;
4130}
4131Data.Instances['HeadDot'] = Data.Instances['HeadDot'] or NewDrawing'Circle'{
4132Filled = true;
4133NumSides = 30;
4134}
4135Data.Instances['NameTag'] = Data.Instances['NameTag'] or NewDrawing'Text'{
4136Size = Options.TextSize.Value;
4137Center = true;
4138Outline = Options.TextOutline.Value;
4139Visible = true;
4140};
4141Data.Instances['DistanceHealthTag'] = Data.Instances['DistanceHealthTag'] or NewDrawing'Text'{
4142Size = Options.TextSize.Value - 1;
4143Center = true;
4144Outline = Options.TextOutline.Value;
4145Visible = true;
4146};
4147
4148local NameTag = Data.Instances['NameTag'];
4149local DistanceTag = Data.Instances['DistanceHealthTag'];
4150local Tracer = Data.Instances['Tracer'];
4151local HeadDot = Data.Instances['HeadDot'];
4152local Box = Data.Instances['Box'];
4153
4154local Pass, Distance = CheckPlayer(v);
4155
4156if Pass and v.Character then
4157Data.LastUpdate = tick();
4158local Humanoid = v.Character:FindFirstChildOfClass'Humanoid';
4159local Head = v.Character:FindFirstChild'Head';
4160local HumanoidRootPart = v.Character:FindFirstChild'HumanoidRootPart';
4161if v.Character ~= nil and Head then
4162local ScreenPosition, Vis = Camera:WorldToViewportPoint(Head.Position);
4163if Vis then
4164local Color = v.TeamColor == LocalPlayer.TeamColor and Green or Red;
4165
4166local ScreenPositionUpper = Camera:WorldToViewportPoint(Head.CFrame * CFrame.new(0, Head.Size.Y, 0).p);
4167local Scale = Head.Size.Y / 2;
4168
4169if Options.ShowName.Value then
4170NameTag.Visible = true;
4171NameTag.Text = v.Name;
4172NameTag.Size = Options.TextSize.Value;
4173NameTag.Outline = Options.TextOutline.Value;
4174NameTag.Position = Vector2.new(ScreenPositionUpper.X, ScreenPositionUpper.Y);
4175NameTag.Color = Color;
4176if Drawing.Fonts then -- CURRENTLY SYNAPSE ONLY :MEGAHOLY:
4177NameTag.Font = Drawing.Fonts.UI;
4178end
4179else
4180NameTag.Visible = false;
4181end
4182if Options.ShowDistance.Value or Options.ShowHealth.Value then
4183DistanceTag.Visible = true;
4184DistanceTag.Size = Options.TextSize.Value - 1;
4185DistanceTag.Outline = Options.TextOutline.Value;
4186DistanceTag.Color = Color3.new(1, 1, 1);
4187if Drawing.Fonts then -- CURRENTLY SYNAPSE ONLY :MEGAHOLY:
4188NameTag.Font = Drawing.Fonts.UI;
4189end
4190
4191local Str = '';
4192
4193if Options.ShowDistance.Value then
4194Str = Str .. Format('[%d] ', Distance);
4195end
4196if Options.ShowHealth.Value and Humanoid then
4197Str = Str .. Format('[%d/100]', Humanoid.Health / Humanoid.MaxHealth * 100);
4198end
4199
4200DistanceTag.Text = Str;
4201DistanceTag.Position = Vector2.new(ScreenPositionUpper.X, ScreenPositionUpper.Y) + Vector2.new(0, NameTag.Size);
4202else
4203DistanceTag.Visible = false;
4204end
4205if Options.ShowDot.Value then
4206local Top = Camera:WorldToViewportPoint((Head.CFrame * CFrame.new(0, Scale, 0)).p);
4207local Bottom = Camera:WorldToViewportPoint((Head.CFrame * CFrame.new(0, -Scale, 0)).p);
4208local Radius = (Top - Bottom).y;
4209
4210HeadDot.Visible = true;
4211HeadDot.Color = Color;
4212HeadDot.Position = Vector2.new(ScreenPosition.X, ScreenPosition.Y);
4213HeadDot.Radius = Radius;
4214else
4215HeadDot.Visible = false;
4216end
4217if Options.ShowTracers.Value then
4218Tracer.Visible = true;
4219Tracer.From = Vector2.new(Camera.ViewportSize.X / 2, Camera.ViewportSize.Y);
4220Tracer.To = Vector2.new(ScreenPosition.X, ScreenPosition.Y);
4221Tracer.Color = Color;
4222else
4223Tracer.Visible = false;
4224end
4225if Options.ShowBoxes.Value and HumanoidRootPart then
4226Box:Update(HumanoidRootPart.CFrame, Vector3.new(2, 3, 0) * (Scale * 2), Color);
4227else
4228Box:SetVisible(false);
4229end
4230else
4231NameTag.Visible = false;
4232DistanceTag.Visible = false;
4233Tracer.Visible = false;
4234HeadDot.Visible = false;
4235
4236Box:SetVisible(false);
4237end
4238end
4239else
4240NameTag.Visible = false;
4241DistanceTag.Visible = false;
4242Tracer.Visible = false;
4243HeadDot.Visible = false;
4244
4245Box:SetVisible(false);
4246end
4247
4248shared.PlayerData[v.Name] = Data;
4249end
4250end
4251end
4252
4253function Update()
4254for i, v in pairs(shared.PlayerData) do
4255if not Players:FindFirstChild(tostring(i)) then
4256GetTableData(v.Instances)(function(i, obj)
4257obj.Visible = false;
4258obj:Remove();
4259v.Instances[i] = nil;
4260end)
4261shared.PlayerData[i] = nil;
4262end
4263end
4264
4265local CX = Menu:GetInstance'CrosshairX';
4266local CY = Menu:GetInstance'CrosshairY';
4267if Options.Crosshair.Value then
4268CX.Visible = true;
4269CY.Visible = true;
4270
4271CX.To = Vector2.new((Camera.ViewportSize.X / 2) - 8, (Camera.ViewportSize.Y / 2));
4272CX.From = Vector2.new((Camera.ViewportSize.X / 2) + 8, (Camera.ViewportSize.Y / 2));
4273CY.To = Vector2.new((Camera.ViewportSize.X / 2), (Camera.ViewportSize.Y / 2) - 8);
4274CY.From = Vector2.new((Camera.ViewportSize.X / 2), (Camera.ViewportSize.Y / 2) + 8);
4275else
4276CX.Visible = false;
4277CY.Visible = false;
4278end
4279
4280if Options.MenuOpen.Value and MenuLoaded then
4281local MLocation = GetMouseLocation();
4282shared.MenuDrawingData.Instances.Main.Color = Color3.fromHSV(tick() * 24 % 255/255, 1, 1);
4283local MainInstance = Menu:GetInstance'Main';
4284local Values = {
4285MainInstance.Position.X;
4286MainInstance.Position.Y;
4287MainInstance.Position.X + MainInstance.Size.X;
4288MainInstance.Position.Y + MainInstance.Size.Y;
4289};
4290if MainInstance and MouseHoveringOver(Values) then
4291Debounce.CursorVis = true;
4292-- GUIService:SetMenuIsOpen(true);
4293Menu:UpdateMenuInstance'Cursor1'{
4294Visible = true;
4295From = Vector2.new(MLocation.x, MLocation.y);
4296To = Vector2.new(MLocation.x + 5, MLocation.y + 6);
4297}
4298Menu:UpdateMenuInstance'Cursor2'{
4299Visible = true;
4300From = Vector2.new(MLocation.x, MLocation.y);
4301To = Vector2.new(MLocation.x, MLocation.y + 8);
4302}
4303Menu:UpdateMenuInstance'Cursor3'{
4304Visible = true;
4305From = Vector2.new(MLocation.x, MLocation.y + 6);
4306To = Vector2.new(MLocation.x + 5, MLocation.y + 5);
4307}
4308else
4309if Debounce.CursorVis then
4310Debounce.CursorVis = false;
4311-- GUIService:SetMenuIsOpen(false);
4312Menu:UpdateMenuInstance'Cursor1'{Visible = false};
4313Menu:UpdateMenuInstance'Cursor2'{Visible = false};
4314Menu:UpdateMenuInstance'Cursor3'{Visible = false};
4315end
4316end
4317if MouseHeld then
4318if Dragging then
4319DraggingWhat.Slider.Position = Vector2.new(math.clamp(MLocation.X, DraggingWhat.Line.From.X, DraggingWhat.Line.To.X), DraggingWhat.Slider.Position.Y);
4320local Percent = (DraggingWhat.Slider.Position.X - DraggingWhat.Line.From.X) / ((DraggingWhat.Line.To.X - DraggingWhat.Line.From.X));
4321local Value = CalculateValue(DraggingWhat.Min, DraggingWhat.Max, Percent);
4322DraggingWhat.Option(Value);
4323elseif DraggingUI then
4324Debounce.UIDrag = true;
4325local Main = Menu:GetInstance'Main';
4326local MousePos = GetMouseLocation();
4327Main.Position = MousePos + DragOffset;
4328end
4329else
4330Dragging = false;
4331if DraggingUI and Debounce.UIDrag then
4332Debounce.UIDrag = false;
4333DraggingUI = false;
4334CreateMenu(Menu:GetInstance'Main'.Position);
4335end
4336end
4337if not Debounce.Menu then
4338Debounce.Menu = true;
4339ToggleMenu();
4340end
4341elseif Debounce.Menu and not Options.MenuOpen.Value then
4342Debounce.Menu = false;
4343ToggleMenu();
4344end
4345end
4346
4347RunService:UnbindFromRenderStep(GetDataName);
4348RunService:UnbindFromRenderStep(UpdateName);
4349
4350RunService:BindToRenderStep(GetDataName, 1, UpdatePlayerData);
4351RunService:BindToRenderStep(UpdateName, 1, Update);
4352end)
4353ctrlclicktp.MouseButton1Down:connect(function()
4354loadstring(game:GetObjects("rbxassetid://509249639")[1].Source)()
4355end)
4356noclip.MouseButton1Down:connect(function()
4357nam = game:GetService("Players").LocalPlayer.Name
4358
4359game:GetService('RunService').Stepped:connect(function()
4360for a, b in pairs(game.Workspace:GetChildren()) do
4361if b.Name == nam then
4362for i, v in pairs(game.Workspace[nam]:GetChildren()) do
4363if v:IsA("BasePart") then
4364v.CanCollide = false
4365
4366end
4367end
4368end
4369end
4370end)
4371
4372
4373Workspace[nam].Head.Changed:connect(function()
4374for a, b in pairs(game.Workspace:GetChildren()) do
4375if b.Name == nam then
4376for i, v in pairs(game.Workspace[nam]:GetChildren()) do
4377if v:IsA("BasePart") then
4378v.CanCollide = false
4379
4380end
4381end
4382end
4383end
4384end)
4385end)
4386aimlock.MouseButton1Down:connect(function()
4387--made by Avexus#1234 discord from MrStuperd btw and DO NOT PRESS DELETE ;) GUI aimbot_toggled
4388
4389local UIS = game:GetService('UserInputService')
4390local RS = game:GetService('RunService')
4391local Players = game:GetService('Players')
4392local StarterGui = game:GetService('StarterGui')
4393local Player = Players.LocalPlayer
4394local Studio = RS:IsStudio()
4395local PlayerGui = RS:IsStudio() and Player:WaitForChild('PlayerGui') or game.CoreGui
4396local Mouse = Player:GetMouse()
4397local old_icon = Mouse.Icon
4398local Camera = workspace.CurrentCamera
4399targetpart = 'Head' -- Don't change this.
4400-- It can be changed with the targetpart_change hotkey ingame.
4401local target
4402local target_old
4403local alert = false
4404local lockedon = false
4405local settingkey = false
4406local upvals = nil
4407local val = 1
4408local windows = {}
4409local function hb() RS.Heartbeat:wait() end
4410
4411local version = 1.25
4412local Spawn = nil or game.PlaceId == 292439477 and workspace:WaitForChild('Lobby',2):WaitForChild('Spawn1',2)
4413local spawned = false
4414
4415script.Name = 'GameSense!'
4416Mouse.TargetFilter = Camera
4417
4418-- hotkey
4419toggle_aim = Enum.UserInputType.MouseButton2
4420toggle_aimbot = Enum.KeyCode.Delete
4421toggle_trigger = Enum.KeyCode.Delete
4422toggle_esp = Enum.KeyCode.Delete
4423toggle_gui = Enum.KeyCode.Delete
4424toggle_bottompos = Enum.KeyCode.Delete
4425toggle_performance = Enum.KeyCode.Delete
4426toggle_bones = Enum.KeyCode.Delete
4427toggle_chams = Enum.KeyCode.Delete
4428toggle_tracers = Enum.KeyCode.Delete
4429toggle_boxes = Enum.KeyCode.Delete
4430toggle_font = Enum.KeyCode.Delete
4431ffatoggle = Enum.KeyCode.Delete
4432targetpart_change = Enum.KeyCode.Delete
4433priority_toggle = Enum.KeyCode.Delete
4434sethotkey = Enum.KeyCode.Delete
4435-- aim fov
4436fov_increase = Enum.KeyCode.KeypadPlus
4437fov_decrease = Enum.KeyCode.KeypadMinus
4438-- aim sens (how smooth your crosshair will move)
4439sens_increase = Enum.KeyCode.RightBracket
4440sens_decrease = Enum.KeyCode.LeftBracket
4441
4442-- parts
4443parts = {
4444 'Head';
4445 'Torso'
4446}
4447
4448fonts = {
4449 Enum.Font.SourceSansBold,
4450 Enum.Font.Cartoon,
4451 Enum.Font.Arcade,
4452 Enum.Font.SciFi,
4453 Enum.Font.Fantasy,
4454 Enum.Font.Code,
4455 Enum.Font.Highway,
4456 Enum.Font.Bodoni
4457}
4458
4459textSet = false
4460
4461currentfont = 1
4462ffa = true
4463hidden = false
4464performancemode = true
4465-- aim
4466fov = 6
4467sens = .25
4468drop = .4
4469aim_toggled = false
4470bottompos = true
4471aim_priority = 2
4472-- [2] FOV or [1] Distance
4473aimingcolor = Color3.fromRGB(0,165,255)
4474aimbot_toggled = true
4475aim_line = true
4476locksoundid = 538769304
4477mouseiconid = 18671553
4478
4479-- trigger
4480trigger_toggled = false
4481trigger_delay = 1/20
4482
4483-- esp
4484esp_toggled = false
4485esp_bones = false
4486esp_chams = false
4487esp_tracers = false
4488-- item_esp (coming soon)
4489linesize = 1
4490showdists = true
4491textsize = 14
4492textoffset = 20
4493visiblecolor = Color3.fromRGB(38,255,99)
4494hiddencolor = Color3.fromRGB(255,37,40)
4495headboxsize = 4
4496headboxaimsize = 6
4497headboxshape = 'diamond'
4498-- rectangle or diamond
4499
4500-- box esp
4501bounding_box = true
4502-- box_pointsize = 0 [UNUSED]
4503box_line_size = 1
4504-- box_line_size_visible = 2 [UNUSED]
4505
4506local GUI = Instance.new('ScreenGui',PlayerGui)
4507GUI.Name = 'GameSense '..version
4508GUI.ResetOnSpawn = false
4509
4510ESP = Instance.new('Folder',GUI)
4511ESP.Name = 'ESP'
4512local Bottom = Instance.new('Frame',ESP)
4513Bottom.Name = 'Bottom'
4514Bottom.BackgroundTransparency = 1
4515Bottom.Size = UDim2.new(0,1,0,1)
4516Bottom.Position = UDim2.new(.5,0,1,1)
4517
4518local Status = Instance.new('TextLabel',GUI)
4519Status.Name = 'Status'
4520Status.BackgroundTransparency = 1
4521Status.Size = UDim2.new(0,500,0,50)
4522Status.Position = UDim2.new(.5,-250,.85,0)
4523Status.TextSize = 0
4524Status.Font = Enum.Font.SourceSansBold
4525Status.TextColor3 = Color3.new(1,1,1)
4526Status.TextStrokeColor3 = Color3.new(0,0,0)
4527Status.TextStrokeTransparency = .6
4528Status.Text = 'On Standby'
4529Status.ZIndex = 50
4530
4531local Credits = Status:Clone()
4532Credits.Name = 'Credits'
4533Credits.Parent = GUI
4534Credits.Position = UDim2.new(-1000000,-1000000,-1000000,-1000000)
4535Credits.TextSize = 0
4536Credits.Text = 'GameSense '..version..' by Avexus!'
4537
4538local FovGui = Instance.new('ImageLabel',GUI)
4539FovGui.Name = 'FovGui'
4540FovGui.Image = 'rbxassetid://324848180'
4541FovGui.Size = UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2)
4542FovGui.Position = UDim2.new(0.5,-FovGui.AbsoluteSize.X/2,0.5,-FovGui.AbsoluteSize.Y/2)
4543FovGui.BackgroundTransparency = 1
4544FovGui.ImageTransparency = 0.9
4545FovGui.ImageColor3 = Color3.new(1,0,0)
4546
4547local Indicator = Instance.new('TextLabel',GUI)
4548Indicator.Name = 'Indicator'
4549Indicator.Font = Enum.Font.SourceSans
4550Indicator.TextSize = 0
4551Indicator.TextXAlignment = Enum.TextXAlignment.Center
4552Indicator.TextYAlignment = Enum.TextYAlignment.Center
4553Indicator.TextStrokeTransparency = 1
4554Indicator.Text = aim_priority>1 and 'FOV: '..fov or 'Distance'
4555
4556local SensAdjust = Instance.new('TextBox',GUI)
4557SensAdjust.Name = 'SensAdjust'
4558SensAdjust.Font = Enum.Font.SourceSans
4559SensAdjust.BackgroundTransparency = .75
4560SensAdjust.BackgroundColor3 = Color3.new(0,0,0)
4561SensAdjust.BorderColor3 = Color3.new(1,1,1)
4562SensAdjust.Size = UDim2.new(0,50,0,20)
4563SensAdjust.TextStrokeTransparency = 1
4564SensAdjust.TextColor3 = Color3.new(1,1,1)
4565SensAdjust.TextSize = 0
4566SensAdjust.PlaceholderText = 'Sens'
4567SensAdjust.Text = tonumber(sens)
4568SensAdjust.Position = Credits.Position + UDim2.new(0,250,0,75)
4569
4570local SensLabel = Instance.new('TextLabel',SensAdjust)
4571SensLabel.Name = 'SensLabel'
4572SensLabel.Font = Enum.Font.SourceSans
4573SensLabel.Size = UDim2.new(1,0,1,0)
4574SensLabel.BackgroundTransparency = 1
4575SensLabel.TextSize = 0
4576SensLabel.TextColor3 = Color3.new(1,1,1)
4577SensLabel.TextStrokeColor3 = Color3.new(0,0,0)
4578SensLabel.TextStrokeTransparency = 1
4579SensLabel.Text = 'Sens:'
4580SensLabel.Position = UDim2.new(-1,0,0,0)
4581SensLabel.TextXAlignment = Enum.TextXAlignment.Left
4582
4583local FovAdjust = SensAdjust:Clone()
4584FovAdjust.Parent = GUI
4585FovAdjust.PlaceholderText = 'FOV'
4586FovAdjust.Name = 'FovAdjust'
4587FovAdjust.Text = tonumber(fov)
4588FovAdjust.Position = SensAdjust.Position + UDim2.new(0,0,0,20)
4589FovAdjust.SensLabel.Name = 'FovLabel'
4590FovAdjust.FovLabel.Text = 'Fov:'
4591
4592local DropAdjust = SensAdjust:Clone()
4593DropAdjust.Parent = GUI
4594DropAdjust.PlaceholderText = 'Drop'
4595DropAdjust.Name = 'DropAdjust'
4596DropAdjust.Text = tonumber(drop)
4597DropAdjust.Position = SensAdjust.Position + UDim2.new(0,0,0,40)
4598DropAdjust.SensLabel.Name = 'DropLabel'
4599DropAdjust.DropLabel.Text = 'Drop:'
4600
4601local KeysList = Instance.new('TextLabel',GUI)
4602KeysList.Name = 'KeysList'
4603KeysList.Font = Enum.Font.SourceSans
4604KeysList.TextStrokeTransparency = .6
4605KeysList.TextSize = 0
4606KeysList.TextColor3 = Color3.new(1,1,1)
4607KeysList.Size = UDim2.new(0,0,1,0)
4608KeysList.Position = UDim2.new(0,5,0,-280)
4609KeysList.BackgroundTransparency = 1
4610KeysList.Active = false
4611
4612local n = 0
4613
4614spawn(function()
4615 while Status do
4616 Indicator.TextColor3 = Color3.fromHSV(n,.5,1)
4617 FovGui.ImageColor3 = Indicator.TextColor3
4618 if not textSet then
4619 if aim_toggled and target then
4620 Status.TextColor3 = aimingcolor
4621 Status.Text = ('Aiming at '..target.Name)
4622 else
4623 Status.TextColor3 = Color3.fromHSV(n,.5,1)
4624 Status.Text = 'On Standby'
4625 end
4626 end
4627 n = (n+.005)%1
4628 hb()
4629 end
4630end)
4631
4632SensAdjust.InputEnded:Connect(function() if SensAdjust.Text~='' then sens = tonumber(SensAdjust.Text)>0 and tonumber(SensAdjust.Text) or sens end end)
4633FovAdjust.InputEnded:Connect(function() if FovAdjust.Text~='' then fov = tonumber(FovAdjust.Text)>0 and tonumber(FovAdjust.Text) or fov
4634FovGui:TweenSize(UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true) end end)
4635DropAdjust.InputEnded:Connect(function() if DropAdjust.Text~='' then drop = tonumber(DropAdjust.Text)>=0 and tonumber(DropAdjust.Text) or drop end end)
4636
4637local function distfromspawn(x)
4638 if Spawn then
4639 return x:DistanceFromCharacter(Spawn.Position)
4640 else
4641 return 201
4642 end
4643end
4644
4645local function setText(text)
4646 spawn(function()
4647 textSet = true
4648 Status.Text = text
4649 Status.TextColor3 = Color3.new(1,1,1)
4650 wait(#text/4)
4651 textSet = false
4652 end)
4653end
4654
4655local function playsound(id)
4656 local sound = Instance.new('Sound',Camera)
4657 sound.Volume = 3
4658 sound:Play()
4659 game:GetService('Debris'):AddItem(sound,5)
4660end
4661
4662
4663local function DrawLine(Folder,P1,P2,Thickness,Color,LineTransparency,BorderThickness,BorderColor)
4664 -- Declare variables
4665 local Point1,Point2 = P1.Position,P2.Position
4666 if Point1 and Point2 then
4667 local X,Y = Camera.ViewportSize.X, Camera.ViewportSize.Y
4668 local X1,X2 = (X * Point1.X.Scale + Point1.X.Offset + P1.Size.X.Offset/2), (X * Point2.X.Scale + Point2.X.Offset + P2.Size.X.Offset/2)
4669 local Y1,Y2 = (Y * Point1.Y.Scale + Point1.Y.Offset + P1.Size.Y.Offset/2), (Y * Point2.Y.Scale + Point2.Y.Offset + P2.Size.Y.Offset/2)
4670 local MidX,MidY = (X1+X2)/2, (Y1+Y2)/2
4671 -- Set defaults to prevent errors
4672 Thickness = Thickness or 1
4673 Color = Color or Color3.new(1,1,1)
4674 LineTransparency = LineTransparency or 0
4675 BorderThickness = BorderThickness or 0
4676 BorderColor = BorderColor or Color3.new(0,0,0)
4677 -- Draw the line
4678 local Line = Folder:FindFirstChild(P1.Name..'-'..P2.Name) or Instance.new('Frame',Folder)
4679 Line.Visible = false
4680 Line.BackgroundTransparency = LineTransparency
4681 Line.BorderSizePixel = BorderThickness
4682 Line.BorderColor3 = BorderColor
4683 Line.Size = UDim2.new(0,(Vector2.new(X1,Y1) - Vector2.new(X2,Y2)).magnitude-1,0,Thickness)
4684 Line.Position = UDim2.new(0,MidX-Line.AbsoluteSize.X/2,0,MidY-Line.AbsoluteSize.Y)
4685 Line.BackgroundColor3 = Color
4686 Line.Rotation = math.deg(math.atan2((Y2-Y1),(X2-X1)))
4687 Line.Name = P1.Name..'-'..P2.Name
4688 Line.Visible = true
4689 return Line
4690 else
4691 return nil
4692 end
4693end
4694
4695local function GetNearest(Mode)
4696 local lowest,nearest,gui = math.huge,nil,nil
4697 if Mode==1 then
4698 for _,plr in next,Players:GetPlayers() do
4699 if plr.Name~=Player.Name and plr.Character~=nil and plr.Character:FindFirstChild(targetpart) then
4700 local dist = Player:DistanceFromCharacter(plr.Character[targetpart].Position)
4701 local ray = Ray.new(Player.Character.Head.Position,(plr.Character[targetpart].Position-Player.Character.Head.Position).unit*5000)
4702 local part,point = workspace:FindPartOnRayWithIgnoreList(ray,{Camera,Player.Character,unpack(windows)})
4703 local Z = Camera:WorldToScreenPoint(plr.Character[targetpart].Position).Z
4704 if part and part:IsDescendantOf(plr.Character) and Z>0 and dist < lowest and (ffa or plr.TeamColor~=Player.TeamColor) then lowest = dist nearest = plr.Character end
4705 end
4706 end
4707 elseif Mode==2 then
4708 for _,plr in next,Players:GetPlayers() do
4709 if plr.Name~=Player.Name and plr.Character~=nil and plr.Character:FindFirstChild(targetpart) then
4710 local pos = Camera:WorldToScreenPoint(plr.Character[targetpart].Position)
4711 local ray = Ray.new(Player.Character[targetpart].Position,(plr.Character[targetpart].Position-Player.Character[targetpart].Position).unit*2048)
4712 local part,point = workspace:FindPartOnRayWithIgnoreList(ray,{Camera,Player.Character,unpack(windows)})
4713 local dist = (Vector2.new(Mouse.X,Mouse.Y)-Vector2.new(pos.X,pos.Y)).magnitude
4714 if part and part:IsDescendantOf(plr.Character) and pos.Z>0 and dist <= Camera.ViewportSize.X/(90/fov) and dist < lowest and (ffa or plr.TeamColor~=Player.TeamColor) then lowest = dist nearest = plr.Character end
4715 end
4716 end
4717 end
4718 return nearest
4719end
4720
4721Mouse.Move:Connect(function()
4722 cursor = ESP:FindFirstChild('Cursor') or Instance.new('Frame',ESP)
4723 cursor.Name = 'Cursor'
4724 cursor.BackgroundTransparency = 1
4725 cursor.Size = UDim2.new(0,1,0,1)
4726 cursor.Position = UDim2.new(0,Mouse.X,0,Mouse.Y)
4727end)
4728
4729UIS.InputBegan:Connect(function(Input)
4730 if Input.KeyCode == toggle_aim or Input.UserInputType == toggle_aim then
4731 aim_toggled = true
4732 warn('GS: aim toggled',aim_toggled and 'on' or 'off')
4733 alert = true
4734 while aim_toggled and aimbot_toggled do
4735 target = GetNearest(aim_priority)
4736 if target then
4737 local dist = Player:DistanceFromCharacter(target[targetpart].Position)
4738 local headpos = Camera:WorldToScreenPoint(target[targetpart].Position+Vector3.new(0,dist/(100/drop),0))
4739 local moveto = Vector2.new((headpos.X-Mouse.X)*sens,(headpos.Y-Mouse.Y)*sens)
4740 aimpos = GUI:FindFirstChild('AimPos') or Instance.new('Frame',GUI)
4741 if not GUI:FindFirstChild('AimPos') then
4742 aimpos.Name = 'AimPos'
4743 aimpos.BorderSizePixel = 1
4744 aimpos.BorderColor3 = Color3.new(0,0,0)
4745 aimpos.BackgroundTransparency = 0
4746 aimpos.BackgroundColor3 = Color3.new(1,1,1)
4747 aimpos.Rotation = 45
4748 aimpos.ZIndex = 4
4749 aimpos.Size = UDim2.new(0,3,0,3)
4750 end
4751 aimpos.Position = UDim2.new(0,headpos.X-aimpos.AbsoluteSize.X/2,0,headpos.Y-aimpos.AbsoluteSize.Y/2)
4752 aimpos.Visible = true
4753 mousemoverel(moveto.X,moveto.Y)
4754 if alert or target~=target_old then
4755 playsound(locksoundid)
4756 print('GS: locked onto',target.Name)
4757 lockedon = true
4758 alert = false
4759 end
4760 end
4761 RS.Heartbeat:wait()
4762 target_old = target
4763 if aimpos then
4764 aimpos.Visible = false
4765 end
4766 end
4767 lockedon = false
4768 elseif Input.KeyCode == toggle_trigger then
4769 trigger_toggled = not trigger_toggled
4770 setText('Toggled TriggerBot '..(trigger_toggled and 'On' or 'Off'))
4771 Notification({Title='TriggerBot';Text='TriggerBot was toggled '..(trigger_toggled and 'On' or 'Off');Duration=2;})
4772 warn('trigger toggled',trigger_toggled and 'on' or 'off')
4773 local Box = Instance.new('SelectionBox',PlayerGui)
4774 Box.Color3 = Color3.new(1,0,0)
4775 Box.LineThickness = .05
4776 Box.Adornee = nil
4777 if trigger_delay>0 then wait(trigger_delay) end
4778 while trigger_toggled do
4779 local Target = Mouse.Target
4780 local plr = Players:FindFirstChild(Target.Parent.Name)
4781 if Target and Target.Parent and plr~=nil and plr~=Player and ffa or plr~=nil and plr.TeamColor~=Player.TeamColor then
4782 Box.Adornee = Mouse.Target
4783 mouse1press()
4784 wait()
4785 mouse1release()
4786 end
4787 RS.Heartbeat:wait()
4788 end
4789 Box:Destroy()
4790 elseif Input.KeyCode == toggle_esp then
4791 esp_toggled = not esp_toggled
4792 Notification({Title='ESP';Text='ESP was toggled '..(esp_toggled and 'On' or 'Off');Duration=2;})
4793 setText('Toggled ESP '..(esp_toggled and 'On' or 'Off'))
4794 elseif Input.KeyCode == toggle_aimbot then
4795 aimbot_toggled = not aimbot_toggled
4796 Notification({Title='AimBot';Text='AimBot was toggled '..(aimbot_toggled and 'On' or 'Off');Duration=2;})
4797 setText('Toggled AimBot '..(aimbot_toggled and 'On' or 'Off'))
4798 elseif Input.KeyCode == fov_increase then
4799 fov = fov + .5
4800 FovAdjust.Text = tonumber(fov)
4801 if FovGui.Visible then
4802 FovGui:TweenSize(UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
4803 end
4804 setText('Aim FOV: '..fov)
4805 elseif Input.KeyCode == fov_decrease and fov>0 then
4806 fov = fov - .5
4807 FovAdjust.Text = tonumber(fov)
4808 if FovGui.Visible then
4809 FovGui:TweenSize(UDim2.new(0,(Camera.ViewportSize.X/(90/fov))*2,0,(Camera.ViewportSize.X/(90/fov))*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
4810 end
4811 setText('Aim FOV: '..fov)
4812 elseif Input.KeyCode == sens_increase then
4813 sens = sens + .05
4814 SensAdjust.Text = tonumber(sens)
4815 setText('Sens: '..sens)
4816 elseif Input.KeyCode == sens_decrease then
4817 sens = sens - .05
4818 SensAdjust.Text = tonumber(sens)
4819 setText('Sens: '..sens)
4820 elseif Input.KeyCode == targetpart_change then
4821 val = val+1
4822 targetpart = val<=#parts and parts[val] or parts[1]
4823 if parts[1]==targetpart then val = 1 end
4824 Notification({Title='Target Part';Text='Target part set to '..targetpart;Duration=2;})
4825 setText('Target Part: '..targetpart)
4826 elseif Input.KeyCode == ffatoggle then
4827 ffa = not ffa
4828 Notification({Title='FFA Mode';Text='FFA Mode is '..(ffa and 'Enabled' or 'Disabled');Duration=2;})
4829 setText('FFA Mode: '..(ffa and 'Enabled' or 'Disabled'))
4830 elseif Input.KeyCode == priority_toggle then
4831 aim_priority = aim_priority+1>2 and 0 or 1
4832 aim_priority = aim_priority+1
4833 FovGui.Visible = aim_priority>1
4834 setText('Aim Priority: '..(aim_priority==1 and 'Distance' or 'FOV'))
4835 elseif Input.KeyCode == toggle_bones then
4836 esp_bones = not esp_bones
4837 if not esp_bones then
4838 for _,v in next,ESP:GetDescendants() do
4839 if v:IsA('Frame') and v.Name:match('-') then
4840 v:Destroy()
4841 end
4842 end
4843 end
4844 setText('Toggled ESP Bones '..(esp_bones and 'Enabled' or 'Disabled'))
4845 elseif Input.KeyCode == toggle_gui then
4846 hidden = not hidden
4847 for _,gui in next,GUI:GetDescendants() do
4848 if gui:IsA('GuiObject') and not hidden and not gui.Visible then
4849 gui.Visible = true
4850 Mouse.Icon = 'rbxassetid://'..mouseiconid
4851 elseif gui:IsA('GuiObject') and gui.Visible then
4852 gui.Visible = false
4853 esp_toggled = false
4854 Mouse.Icon = old_icon
4855 end
4856 end
4857 elseif Input.KeyCode == toggle_bottompos then
4858 bottompos = not bottompos
4859 if bottompos then
4860 Bottom.Position = UDim2.new(.5,0,1,1)
4861 end
4862 elseif Input.KeyCode == toggle_performance then
4863 performancemode = not performancemode
4864 setText('Performance Mode '..(performancemode and 'Enabled' or 'Disabled'))
4865 elseif Input.KeyCode == toggle_chams then
4866 esp_chams = not esp_chams
4867 setText('Chams '..(esp_chams and 'Enabled' or 'Disabled'))
4868 elseif Input.KeyCode == toggle_tracers then
4869 esp_tracers = not esp_tracers
4870 setText('Tracers '..(esp_chams and 'Enabled' or 'Disabled'))
4871 elseif Input.KeyCode == toggle_boxes then
4872 bounding_box = not bounding_box
4873 setText('Bounding Boxes '..(bounding_box and 'Enabled' or 'Disabled'))
4874 elseif Input.KeyCode == toggle_font then
4875 currentfont = (currentfont+1)>#fonts and 1 or currentfont+1
4876 for _,v in next,GUI:GetDescendants() do
4877 if v.Name~='KeysList' then
4878 if v:IsA('TextLabel') or v:IsA('TextButton') then
4879 v.Font = fonts[currentfont]
4880 end
4881 end
4882 end
4883 end
4884end)
4885
4886UIS.InputEnded:Connect(function(Input)
4887 if Input.KeyCode == toggle_aim or Input.UserInputType == toggle_aim then
4888 aim_toggled = false
4889 end
4890end)
4891
4892local function checkifspawned(x)
4893 spawned = false
4894 while not spawned and game.PlaceId==292439477 do
4895 spawned = distfromspawn(x)>200 and true or false
4896 wait(1/5)
4897 end
4898 spawned = true
4899end
4900
4901checkifspawned(Player)
4902Player.CharacterAdded:Connect(function(c)
4903 checkifspawned(Player)
4904
4905 for _,v in next,ESP:GetDescendants() do
4906 if v:IsA('Frame') and v.Name:match('-') then
4907 v:Destroy()
4908 end
4909 end
4910end)
4911
4912Notification({Title='Aimbot '..version;Text='Loaded successfully.';Icon='rbxassetid://2572157833';Duration=10;})
4913wait(.5)
4914
4915RS.RenderStepped:Connect(function()
4916 if cursor then
4917 FovGui.Position = cursor.Position-UDim2.new(0,FovGui.AbsoluteSize.X/2,0,FovGui.AbsoluteSize.Y/2)
4918 Indicator.Position = cursor.Position+UDim2.new(0,0,0,40)
4919 end
4920end)
4921
4922Mouse.Button1Down:Connect(function()
4923 spawn(function()
4924 if FovGui.Visible then
4925 FovGui:TweenSize(UDim2.new(0,Camera.ViewportSize.X/(90/fov)*2.35,0,Camera.ViewportSize.X/(90/fov)*2.35),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
4926 wait(.1)
4927 FovGui:TweenSize(UDim2.new(0,Camera.ViewportSize.X/(90/fov)*2,0,Camera.ViewportSize.X/(90/fov)*2),Enum.EasingDirection.InOut,Enum.EasingStyle.Quad,.1,true)
4928 end
4929 end)
4930end)
4931
4932while true do
4933 Indicator.Text = (aim_priority>1 and 'FOV: '..fov or 'Distance') ..'\nSens: '..sens..(aim_toggled and '\nAiming' or '')
4934 if not bottompos then Bottom.Position = cursor.Position end
4935 if esp_toggled then
4936 for _,v in next,ESP:children() do
4937 if v~=Bottom and not Players:FindFirstChild(v.Name) then
4938 v:Destroy()
4939 end
4940 end
4941 for _,v in next,Players:GetPlayers() do
4942 local Char = v.Character
4943 if Char and spawned and v~=Player and Char:FindFirstChild(targetpart) and distfromspawn(v)>100 then
4944 if ffa or v.TeamColor~=Player.TeamColor then
4945 local X = Camera:GetPartsObscuringTarget({Camera.CFrame.p,Char[targetpart].CFrame.p},{v.Character,Char,Camera,unpack(windows)})
4946 local Dist = Player:DistanceFromCharacter(Char:FindFirstChild(targetpart).Position)
4947 local Color = hiddencolor
4948 local Folder = ESP:FindFirstChild(v.Name) or Instance.new('Folder',ESP)
4949 Folder.Name = v.Name
4950 -- ESP
4951 local Head = Folder:FindFirstChild('Head') or Instance.new('Frame',Folder)
4952 if not Folder:FindFirstChild('Head') then
4953 Head.Name = 'Head'
4954 Head.BorderSizePixel = 1
4955 Head.BorderColor3 = Color3.new(0,0,0)
4956 Head.BackgroundTransparency = 0
4957 end
4958 Head.BackgroundColor3 = #X>0 and hiddencolor or #X==0 and visiblecolor
4959 Head.Rotation = headboxshape=='diamond' and 45 or 0
4960 Head.ZIndex = 3
4961 local HP = Folder:FindFirstChild('HP') or Instance.new('TextLabel',Folder)
4962 if not Folder:FindFirstChild('HP') then
4963 HP.Name = 'HP'
4964 HP.TextTransparency = Head.BackgroundTransparency-.4
4965 HP.Font = fonts[currentfont]
4966 HP.TextStrokeTransparency = .6
4967 HP.BackgroundTransparency = 1
4968 HP.TextSize = 14
4969 end
4970 HP.Text = showdists and Char.Name..'\n'..math.floor(Dist+.5) or Char.Name
4971 if aim_toggled and target==Char then
4972 Head.Size = UDim2.new(0,headboxaimsize,0,headboxaimsize)
4973 Head.BackgroundColor3 = aimingcolor
4974 HP.Text = showdists and '['..Char.Name..']'..'\n'..math.floor(Dist+.5) or '['..Char.Name..']'
4975 HP.TextSize = 16
4976 else
4977 Head.Size = UDim2.new(0,headboxsize,0,headboxsize)
4978 end
4979 HP.TextColor3 = Head.BackgroundColor3
4980 local toScreen = Camera:WorldToScreenPoint(Char[targetpart].CFrame.p)
4981 if #X==0 then Color = visiblecolor end
4982 Head.Position = UDim2.new(0,toScreen.X-Head.Size.X.Offset/2,0,toScreen.Y-Head.Size.Y.Offset/2)
4983 HP.Position = Head.Position-UDim2.new(0,0,0,textoffset)
4984 if esp_tracers then
4985 local Line = DrawLine(Folder,ESP.Bottom,Head,linesize,Head.BackgroundColor3,.75,1,Color3.new(0,0,0))
4986 Line.Visible = Head.Visible
4987 else
4988 local imtired = Folder:FindFirstChild(ESP.Bottom.Name..'-'..Head.Name)
4989 if imtired then
4990 imtired:Destroy()
4991 end
4992 end
4993 if toScreen.Z<=0 then Head.Visible = false else Head.Visible = true end
4994 HP.Visible = Head.Visible
4995 if Char:FindFirstChild('Humanoid') and Char.Humanoid.RigType==Enum.HumanoidRigType.R6 then
4996 local Neck = Folder:FindFirstChild('Neck') or Instance.new('Frame',Folder)
4997 Neck.Name = 'Neck'
4998 Neck.ZIndex = 2
4999 if Char['Torso']~=nil then
5000 local Pos = (Char.Torso.CFrame*CFrame.new(0,.8,0)).p
5001 local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
5002 Neck.Position = UDim2.new(0,X,0,Y)
5003 Neck.BorderSizePixel = 0
5004 if Z<=0 then Neck.Visible = false else Neck.Visible = true end
5005 else
5006 Neck.Visible = false
5007 end
5008 --
5009 local Pelvis = Folder:FindFirstChild('Pelvis') or Instance.new('Frame',Folder)
5010 Pelvis.Name = 'Pelvis'
5011 Pelvis.ZIndex = 2
5012 Pelvis.BorderSizePixel = 0
5013 if Char['Torso']~=nil then
5014 local Pos = (Char.Torso.CFrame*CFrame.new(0,-1,0)).p
5015 local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
5016 Pelvis.Position = UDim2.new(0,X,0,Y)
5017 if Z<=0 then Pelvis.Visible = false else Pelvis.Visible = true end
5018 else
5019 Pelvis.Visible = false
5020 end
5021 --
5022 local RightFoot = Folder:FindFirstChild('Right Foot') or Instance.new('Frame',Folder)
5023 RightFoot.Name = 'Right Foot'
5024 RightFoot.ZIndex = 2
5025 RightFoot.BorderSizePixel = 0
5026 if Char['Right Leg']~=nil then
5027 local Pos = (Char['Right Leg'].CFrame*CFrame.new(0,-1,0)).p
5028 local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
5029 RightFoot.Position = UDim2.new(0,X,0,Y)
5030 if Z<=0 then RightFoot.Visible = false else RightFoot.Visible = true end
5031 else
5032 RightFoot.Visible = false
5033 end
5034 --
5035 local LeftFoot = Folder:FindFirstChild('Left Foot') or Instance.new('Frame',Folder)
5036 LeftFoot.Name = 'Left Foot'
5037 if Char['Left Leg']~=nil then
5038 local Pos = (Char['Left Leg'].CFrame*CFrame.new(0,-1,0)).p
5039 local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
5040 LeftFoot.Position = UDim2.new(0,X,0,Y)
5041 LeftFoot.BorderSizePixel = 0
5042 if Z<=0 then LeftFoot.Visible = false else LeftFoot.Visible = true end
5043 else
5044 LeftFoot.Visible = false
5045 end
5046 --
5047 local RightHand = Folder:FindFirstChild('Right Hand') or Instance.new('Frame',Folder)
5048 RightHand.Name = 'Right Hand'
5049 RightHand.ZIndex = 2
5050 RightHand.BorderSizePixel = 0
5051 if Char['Right Arm']~=nil then
5052 local Pos = (Char['Right Arm'].CFrame*CFrame.new(0,-1,0)).p
5053 local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
5054 RightHand.Position = UDim2.new(0,X,0,Y)
5055 if Z<=0 then RightHand.Visible = false else RightHand.Visible = true end
5056 else
5057 RightHand.Visible = false
5058 end
5059 --
5060 local LeftHand = Folder:FindFirstChild('Left Hand') or Instance.new('Frame',Folder)
5061 LeftHand.Name = 'Left Hand'
5062 LeftHand.ZIndex = 2
5063 LeftHand.BorderSizePixel = 0
5064 if Char['Left Arm']~=nil then
5065 local Pos = (Char['Left Arm'].CFrame*CFrame.new(0,-1,0)).p
5066 local X,Y,Z = Camera:WorldToScreenPoint(Pos).X,Camera:WorldToScreenPoint(Pos).Y,Camera:WorldToScreenPoint(Pos).Z
5067 LeftHand.Position = UDim2.new(0,X,0,Y)
5068 if Z<=0 then LeftHand.Visible = false else LeftHand.Visible = true end
5069 else
5070 LeftHand.Visible = false
5071 end
5072 -- draw joints
5073 if esp_bones then
5074 if Head.Visible then DrawLine(Folder,Head,Neck,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
5075 if Neck.Visible then DrawLine(Folder,Neck,Pelvis,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
5076 if Neck.Visible then DrawLine(Folder,Neck,RightHand,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
5077 if Neck.Visible then DrawLine(Folder,Neck,LeftHand,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
5078 if Pelvis.Visible then DrawLine(Folder,Pelvis,RightFoot,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
5079 if Pelvis.Visible then DrawLine(Folder,Pelvis,LeftFoot,1,Color3.new(1,1,1),Head.BackgroundTransparency) end
5080 end
5081 end
5082
5083 if esp_chams then
5084 for _,Part in next,Char:children() do
5085 if Part:IsA('BasePart') and Part.Name~='HumanoidRootPart' then
5086 local Adornment = Folder:FindFirstChild(Part.Name..'_Cham') or Instance.new('BoxHandleAdornment',Folder)
5087 if not Folder:FindFirstChild(Part.Name..'_Cham') then
5088 Adornment.Name = Part.Name..'_Cham'
5089 Adornment.Adornee = Part
5090 Adornment.AlwaysOnTop = true
5091 Adornment.Size = Part.Name=='Head' and Vector3.new(1,1,1) or Part.Size
5092 Adornment.ZIndex = 1
5093 end
5094 Adornment.Color3 = Head.BackgroundColor3
5095 end
5096 end
5097 else
5098 for _,v in next,Folder:GetDescendants() do
5099 if v.Name:match('Cham') then
5100 v:Destroy()
5101 end
5102 end
5103 end
5104
5105 if bounding_box and Char:FindFirstChild('HumanoidRootPart') then
5106 local Box = Char:FindFirstChild('Box') or Instance.new('BillboardGui',Char)
5107 if not Char:FindFirstChild('Box') then
5108 Box.Name = 'Box'
5109 Box.Adornee = Char:FindFirstChild('HumanoidRootPart')
5110 Box.AlwaysOnTop = true
5111 Box.LightInfluence = 0
5112 Box.StudsOffset = Vector3.new(0,-Box.Adornee.Size.Y/4,0)
5113 Box.Size = UDim2.new(4,1,5,1)
5114 local Top = Instance.new('Frame',Box)
5115 Top.Size = UDim2.new(1,0,0,box_line_size)
5116 Top.BorderSizePixel = 0
5117 local Bot = Top:Clone()
5118 Bot.Position = UDim2.new(0,0,1,-box_line_size)
5119 Bot.Parent = Box
5120 local Left = Top:Clone()
5121 Left.Size = UDim2.new(0,1,1,0)
5122 Left.Parent = Box
5123 local Right = Left:Clone()
5124 Right.Position = UDim2.new(1,-box_line_size,0,0)
5125 Right.Parent = Box
5126 end
5127 for _,v in next,Box:children() do
5128 if v:IsA('Frame') then
5129 v.BackgroundColor3 = Head.BackgroundColor3
5130 end
5131 end
5132 else
5133 local Box = Char:FindFirstChild('Box')
5134 if Box then
5135 Box:Destroy()
5136 end
5137 end
5138
5139 if lockedon and target and aim_line and ESP:FindFirstChild(target.Name) then
5140 DrawLine(ESP,cursor,ESP:FindFirstChild(target.Name).Head,1,Head.BackgroundColor3,.5)
5141 end
5142
5143 else
5144 if ESP:FindFirstChild(v.Name) then
5145 ESP:FindFirstChild(v.Name):Destroy()
5146 end
5147 end
5148 else
5149 if ESP:FindFirstChild(v.Name) then
5150 ESP:FindFirstChild(v.Name):Destroy()
5151 end
5152 end
5153 end
5154 else
5155 for _,v in next,ESP:children() do
5156 if v:IsA('Folder') then
5157 v:Destroy()
5158 end
5159 end
5160 end
5161 if performancemode then
5162 wait(1/(workspace:GetRealPhysicsFPS()*.75))
5163 else
5164 RS.Stepped:wait()
5165 end
5166end
5167
5168--[[ broken
5169spawn(function()
5170while script and game.PlaceId == 292439477 and workspace:FindFirstChild('Map') do
5171 windows = {}
5172 for _,v in next,workspace.Map:GetChildren() do
5173 if v.Name=='Window' then
5174 table.insert(windows,v)
5175 end
5176 end
5177 wait(2)
5178end
5179end)
5180--]]
5181end)
5182removemap.MouseButton1Down:connect(function()
5183while wait() do
5184for a,z in pairs(game:GetService("Workspace")["BuildStuff"]:GetDescendants()) do
5185z:Destroy()
5186end
5187end
5188end)
5189local Players = game:GetService'Players';
5190local LocalPlayer = Players.LocalPlayer;
5191local Camera = workspace.CurrentCamera;
5192local Dot = Vector3.new().Dot;
5193local Networks = {};
5194
5195for i, v in pairs(debug.getregistry()) do
5196if typeof(v) == 'function' and islclosure(v) then
5197local ups = debug.getupvalues(v);
5198if ups.NWModule and ups.NWModule.FireServer then
5199Networks[#Networks + 1] = ups.NWModule;
5200end
5201end
5202end
5203
5204local Net = Networks[1];
5205
5206assert(#Networks ~= 0, 'No Network');
5207
5208function SameTeam(P1, P2)
5209if P1 == P2 then
5210return false
5211end
5212if P1.Neutral or P2.Neutral then
5213return false
5214elseif P1.TeamColor == P2.TeamColor then
5215return true
5216end
5217return false
5218end
5219
5220function GetPlayerClosestToMouse()
5221local Highest = {0, nil};
5222
5223for i, v in pairs(Players:GetPlayers()) do
5224local Player = v;
5225local Character = Player.Character;
5226if Player ~= LocalPlayer and not SameTeam(Player, LocalPlayer) and Character then
5227local Head = Character:FindFirstChild'Head';
5228if Head then
5229local Direction = Camera.CFrame.lookVector.unit;
5230local Relative = Player.Character.Head.Position - Camera.CFrame.p;
5231local Unit = Relative.unit;
5232
5233local DP = Dot(Direction, Unit);
5234if DP > Highest[1] then
5235Highest = {DP, Player};
5236end
5237end
5238end
5239end
5240
5241return Highest[2];
5242end
5243
5244local Active = true;
5245local Rand = Random.new();
5246
5247for i, v in pairs(Networks) do
5248shared['oFireServer' .. tostring(v)] = shared['oFireServer' .. tostring(v)] or v.FireServer;
5249v.FireServer = function(...)
5250local Arguments = {...};
5251
5252if Active and Arguments[2] == 'Damage' and typeof(Arguments[3]) == 'Instance' and Arguments[3]:IsA'ValueBase' then
5253return true;
5254end
5255
5256return shared['oFireServer' .. tostring(v)](...);
5257end
5258end
5259
5260game:GetService'UserInputService'.InputEnded:connect(function(Input)
5261if Input.UserInputType == Enum.UserInputType.Keyboard and Input.KeyCode == Enum.KeyCode.F3 then
5262Active = not Active;
5263elseif Active and Input.UserInputType == Enum.UserInputType.MouseButton1 then
5264spawn(function()
5265wait(.05);
5266local Player = GetPlayerClosestToMouse();
5267if Player then
5268local Character = Player.Character;
5269if Character then
5270local Humanoid = Character:FindFirstChildOfClass'Humanoid';
5271local Head = Character:FindFirstChild'Head';
5272if Humanoid and Humanoid.Health > 0 and Head then
5273Net:FireServer('Damage', Humanoid, Head, Head.Position, Head.Position + Vector3.new(Rand:NextNumber() / 10, .25 + (Rand:NextNumber() / 10), Rand:NextNumber() / 10))
5274end
5275end
5276end
5277end);
5278end
5279end)