Advertisement
Honansik

Site-76: Prison Anomalies Script [Noclip, Mod Detector]

Dec 18th, 2021
2,536
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 29.02 KB | None | 0 0
  1. if game.PlaceId == 3057050847 then
  2.     --//Parts:
  3.     getgenv().LowerElevator = Instance.new("Part", game.Workspace)
  4.     LowerElevator.Position = Vector3.new(207.399, 215.501, 1447.298)
  5.     LowerElevator.Size = Vector3.new(17, 18.2, 18)
  6.     LowerElevator.CanCollide = false
  7.     LowerElevator.Anchored = true
  8.     LowerElevator.Transparency = 1
  9.  
  10.     getgenv().UpperElevator = Instance.new("Part", game.Workspace)
  11.     UpperElevator.Position = Vector3.new(343.350, 14.098, 146.197)
  12.     UpperElevator.Size = Vector3.new(16, 18.2, 15)
  13.     UpperElevator.CanCollide = false
  14.     UpperElevator.Anchored = true
  15.     UpperElevator.Transparency = 1
  16.  
  17.     getgenv().OutsideElev = Instance.new("Part", game.Workspace)
  18.     OutsideElev.Position = Vector3.new(345, 11.6, 160.5)
  19.     OutsideElev.Size = Vector3.new(22, 13.2, 9)
  20.     OutsideElev.CanCollide = false
  21.     OutsideElev.Anchored = true
  22.     OutsideElev.Transparency = 1
  23.  
  24.     --//Declarations
  25.     local toggles = {
  26.         modDetector = false,
  27.         instantRespawn = false,
  28.         rName = true,
  29.         farmEscape = false
  30.     }
  31.     local fallDmgEnabled = false
  32.     local noClip = nil
  33.  
  34.     --//Functions
  35.     local function destroydoors()
  36.         for i,v in pairs(Workspace:GetChildren()) do
  37.             if v.Name == "Door" then
  38.                 v:Destroy()
  39.             end
  40.         end
  41.         for i,v in pairs(Workspace:GetChildren()) do
  42.             if v:FindFirstChild("LastHack") then
  43.                 v:Destroy()
  44.             end
  45.         end
  46.         for i,v in pairs(Workspace.Spawns.DSpawns:GetChildren()) do
  47.             if v:FindFirstChild("Door") then
  48.                 v:Destroy()
  49.             end
  50.         end
  51.     end
  52.  
  53.     local function checkFallDmg()
  54.         if not fallDmgEnabled then
  55.             loadstring(game:HttpGet("https://raw.githubusercontent.com/AnomalyRBLX/Database/main/Misc/Hooks/NoFall_76.lua", true))();
  56.             fallDmgEnabled = true
  57.         end
  58.     end
  59.    
  60.     local function destroyteslagates()
  61.         for i,v in pairs(Workspace:GetChildren()) do
  62.             if v.Name == "TeslaGate" or v.Name == "XL-TeslaGate" then
  63.                 v:Destroy()
  64.                 print("Deleted "..v.Name)
  65.             end
  66.         end
  67.     end
  68.    
  69.     local function getmodule(name)
  70.         for i,v in pairs(getnilinstances()) do
  71.             if v.Name == name and v.ClassName == "ModuleScript" then
  72.                 return v
  73.             end
  74.         end
  75.     end
  76.    
  77.     local function getconstants(scriptname, functionname)
  78.         for i,v in pairs(getgc()) do
  79.             if typeof(v) == "function" and getfenv(v).script.Name == scriptname and debug.getinfo(v).name == functionname then
  80.                 return debug.getconstants(v)
  81.             end
  82.         end
  83.     end
  84.    
  85.     local function getupvalues(scriptname, functionname)
  86.         for i,v in pairs(getgc()) do
  87.             if typeof(v) == "function" and getfenv(v).script.Name == scriptname and debug.getinfo(v).name == functionname then
  88.                 return debug.getupvalues(v)
  89.             end
  90.         end
  91.     end
  92.  
  93.     local function NoclipLoop()
  94.         if game.Players.LocalPlayer.Character ~= nil then
  95.             for _, child in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  96.                 if child:IsA("BasePart") and child.CanCollide == true then
  97.                     child.CanCollide = false
  98.                 end
  99.             end
  100.         end
  101.     end
  102.  
  103.     local _speed = 250
  104.     function tp(...)
  105.         checkFallDmg()
  106.         local plr=game.Players.LocalPlayer
  107.         local args={...}
  108.         if typeof(args[1])=="number"and args[2]and args[3]then
  109.             args=Vector3.new(args[1],args[2],args[3])
  110.         elseif typeof(args[1])=="Vector3" then
  111.             args=args[1]    
  112.         elseif typeof(args[1])=="CFrame" then
  113.             args=args[1].Position
  114.         end
  115.         local dist=(plr.Character.HumanoidRootPart.Position-args).Magnitude
  116.         local speed = dist/_speed
  117.         local datween = game:GetService("TweenService"):Create(
  118.             plr.Character.HumanoidRootPart,
  119.             TweenInfo.new(speed,Enum.EasingStyle.Linear),
  120.             {CFrame=CFrame.new(args)}
  121.         ):Play()
  122.         wait(speed)
  123.     end
  124.  
  125.     function get_in_part(HumanoidRootPart,TouchPart)
  126.         local c = HumanoidRootPart.Touched:Connect(function() end)
  127.         local parts = HumanoidRootPart:GetTouchingParts()
  128.         c:Disconnect()
  129.        
  130.         for i, k in ipairs(parts) do
  131.             if k == TouchPart then
  132.                 return true
  133.             end
  134.         end
  135.        
  136.         return false
  137.     end
  138.  
  139.     local function becomeCI()
  140.         tp(Vector3.new(348, 8, 159))
  141.         wait(1)
  142.         if game:GetService("Workspace").Elevators.GateAToSurface1.StatusButtons.Part.BrickColor.Name == "Crimson" then
  143.             repeat wait(.5) until game:GetService("Workspace").Elevators.GateAToSurface1.StatusButtons.Part.BrickColor.Name == "Parsley green"
  144.         end
  145.         local args = {[1] = workspace.Elevators.GateAToSurface1.Call}
  146.         game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  147.         wait(5)
  148.         if get_in_part(game.Players.LocalPlayer.Character.HumanoidRootPart, OutsideElev) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 then
  149.             tp(Vector3.new(343, 8, 142))
  150.         else
  151.             game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Error", Text = 'Something went wrong, respawning.'})
  152.             return game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  153.         end
  154.         wait(3)
  155.         if get_in_part(game.Players.LocalPlayer.Character.HumanoidRootPart, UpperElevator) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 then
  156.             local args = {[1] = workspace.Elevators.GateAToSurface1.UseElevator}
  157.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  158.         else
  159.             game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Error", Text = 'Something went wrong, respawning.'})
  160.             return game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  161.         end
  162.         wait(5)
  163.         if get_in_part(game.Players.LocalPlayer.Character.HumanoidRootPart, LowerElevator) and game.Players.LocalPlayer.Character.Humanoid.Health > 0 then
  164.             tp(Vector3.new(491, 209, 1416))
  165.         else
  166.             game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Error", Text = 'Something went wrong, respawning.'})
  167.             return game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  168.         end
  169.         wait(1)
  170.         local timesAttempted = 0
  171.         repeat
  172.             game:GetService("Players").LocalPlayer.Character.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping)
  173.             wait(1)
  174.             timesAttempted = timesAttempted + 1
  175.         until game:GetService("Players").LocalPlayer.Team.Name == "Chaos Insurgency" or timesAttempted >= 30
  176.         if timesAttempted == 30 then
  177.             return becomeCI()
  178.         end
  179.     end
  180.  
  181.     --//ESP
  182.     local ESP = loadstring(game:HttpGet("https://raw.githubusercontent.com/Anomaly-hub/Anomalies-Scripts/main/kiriots%20esp", true))()
  183.     local function refreshSCPs()
  184.         for _,v in pairs(game:GetService("Workspace").SCPs:GetDescendants()) do  
  185.             if v.Name == "AnomName" and v.ClassName == "StringValue" then
  186.                 ESP:Add(v.Parent, {Name = tostring(v.Value), IsEnabled = "SCPs"})
  187.             end
  188.         end
  189.         if game:GetService("Workspace").SCPs["303"] then
  190.             ESP:Add(game:GetService("Workspace").SCPs["303"], {Name = "The Door Man", IsEnabled = "SCPs"})
  191.         end
  192.         if game:GetService("Workspace").SCPs:FindFirstChild("096") then
  193.             ESP:Add(game:GetService("Workspace").SCPs["096"], {Name = "The Shy Guy", IsEnabled = "SCPs"})
  194.         end
  195.         if game:GetService("Workspace").SCPs["131"]["131-A"] then
  196.             ESP:Add(game:GetService("Workspace").SCPs["131"]["131-A"], {Name = "Eye Pod - A", IsEnabled = "SCPs"})
  197.         end
  198.         if game:GetService("Workspace").SCPs["131"]["131-B"] then
  199.             ESP:Add(game:GetService("Workspace").SCPs["131"]["131-B"], {Name = "Eye Pod - B", IsEnabled = "SCPs"})
  200.         end
  201.     end
  202.     local OpenedSCPs = false
  203.     ESP.Players = false
  204.     ESP.Tracers = false
  205.     ESP.Boxes = false
  206.     ESP.SCPs = true
  207.    
  208.     --UI Library is not for use of public
  209.     local Lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/AnomalyRBLX/Database/main/Libraries/Jan's%20UI%20Copy.lua", true))();
  210.     local window = Lib:CreateWindow("Site-76", Vector2.new(492, 520), Enum.KeyCode.RightShift)
  211.  
  212.     local Main = window:CreateTab("Main")
  213.     local Config = window:CreateTab("Misc")
  214.     local GS = Main:CreateSector("General", "left")
  215.     GS:AddButton("Remove Name", function()
  216.         game.Players.LocalPlayer.Character:FindFirstChild("Head"):FindFirstChildOfClass("BillboardGui"):Destroy()
  217.     end)
  218.  
  219.     GS:AddButton("Mod Guns", function()
  220.         for _,v in pairs(getgc(true)) do
  221.             if typeof(v) == "table" and rawget(v, "Ammo") then
  222.                 v.Rate = 0
  223.                 v.Spread = 0.1
  224.             end
  225.         end
  226.     end)
  227.  
  228.     GS:AddButton("Flamethrower Canister", function()
  229.         local dist = math.huge
  230.         local target
  231.         for i,v in pairs(game:GetService("Workspace").Ign:GetChildren()) do
  232.             if v.Name == "Flamethrower Canister" then
  233.                 local check = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v:FindFirstChild("Interact").Position).Magnitude
  234.                 if check < dist then
  235.                     dist = check
  236.                     target = v
  237.                 end
  238.             end
  239.         end
  240.         tp(target:FindFirstChild("Interact").Position)
  241.     end)
  242.  
  243.     GS:AddButton("Remove Doors", function()
  244.         destroydoors()
  245.     end)
  246.  
  247.     GS:AddButton("Destroy Teslas", function()
  248.         destroyteslagates()
  249.     end)
  250.  
  251.     GS:AddButton("Respawn", function()
  252.         game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  253.     end)
  254.  
  255.     GS:AddToggle("Instant Respawn", false, function(s)
  256.         toggles.instantRespawn = s
  257.         if toggles.instantRespawn then
  258.             game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
  259.                 game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  260.             end)
  261.         end
  262.     end)
  263.  
  264.     GS:AddToggle("Auto-Remove Name", true, function(s)
  265.         toggles.rName = s
  266.     end)
  267.  
  268.     local SS = Main:CreateSector("SCPs", "right")
  269.     SS:AddButton("SCP-008 Self-Infect", function()
  270.         local plrprevpos = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  271.         tp(Vector3.new(777, 21, -179))
  272.         wait(1)
  273.         local args = {
  274.             [1] = workspace.SCPs:FindFirstChild("008"):FindFirstChild("008Activate")
  275.             }
  276.         game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  277.         tp(Vector3.new(779, 20, -134))
  278.         wait(4)
  279.         tp(plrprevpos)
  280.     end)
  281.  
  282.     SS:AddButton("Grab Skeleton Key", function()
  283.         if game:GetService("Workspace").SCPs["005"].Mesh.Transparency == 0 then
  284.             local posPrev = game.Players.LocalPlayer.Character.HumanoidRootPart.Position
  285.             tp(Vector3.new(361, 23, 325))
  286.             local args = {
  287.                 [1] = workspace.SCPs:FindFirstChild("005")
  288.             }
  289.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  290.             wait(.5)
  291.             tp(posPrev)
  292.         end
  293.     end)
  294.  
  295.     SS:AddButton("Breach SCPs", function()
  296.         if game:GetService("Workspace").ContainmentRegions["173"].ContainmentNotice.Panel.SurfaceGui.TextLabel.Text == "SECURE" then
  297.             tp(Vector3.new(665, 33, -260))
  298.             local args = {
  299.                 [1] = workspace.PeanutDoor.ReleaseSCP
  300.             }
  301.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  302.             wait(1)
  303.             local args = {
  304.                 [1] = workspace.PeanutDoor,
  305.                 [2] = "Release"
  306.             }
  307.             game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  308.             wait(1)
  309.         end
  310.         if game:GetService("Workspace").ContainmentRegions["049"].ContainmentNotice.Panel.SurfaceGui.TextLabel.Text == "SECURE" then
  311.             tp(Vector3.new(480, -169, -263))
  312.             local args = {
  313.                 [1] = workspace.ContainmentRegions:FindFirstChild("049").Door.ReleaseSCP
  314.             }
  315.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  316.             wait(1)
  317.             local args = {
  318.                 [1] = workspace.ContainmentRegions:FindFirstChild("049").Door,
  319.                 [2] = "Release"
  320.             }
  321.             game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  322.             wait(1)
  323.         end
  324.         if game:GetService("Workspace").ContainmentRegions["457"].ContainmentNotice.Panel.SurfaceGui.TextLabel.Text == "SECURE" then
  325.             tp(Vector3.new(416, -178, -478))
  326.             local args = {
  327.                 [1] = workspace.ContainmentRegions:FindFirstChild("457").Door.ReleaseSCP
  328.             }
  329.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  330.             wait(1)
  331.             local args = {
  332.                 [1] = workspace.ContainmentRegions:FindFirstChild("457").Door,
  333.                 [2] = "Release"
  334.             }
  335.             game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  336.             wait(1)
  337.         end
  338.         if game:GetService("Workspace").ContainmentRegions["017"].ContainmentNotice.Panel.SurfaceGui.TextLabel.Text == "SECURE" then
  339.             tp(Vector3.new(231, -169, -139))
  340.             wait(1)
  341.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(workspace.ContainmentRegions:FindFirstChild("017C").ReleaseSCP)
  342.             wait(1)
  343.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(workspace.ContainmentRegions:FindFirstChild("017C").ReleaseSCP)
  344.             wait(1)
  345.         end
  346.         if game:GetService("Workspace").ContainmentRegions["106"].ContainmentNotice.Panel.SurfaceGui.TextLabel.Text == "SECURE" then
  347.             tp(Vector3.new(922, -169, 158))
  348.             local args = {
  349.                 [1] = workspace.ContainmentRegions:FindFirstChild("106").ReleaseSCP
  350.             }
  351.            
  352.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  353.             wait(1)
  354.             local args = {
  355.                 [1] = workspace.ContainmentRegions:FindFirstChild("106"),
  356.                 [2] = "Release"
  357.             }
  358.             game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  359.             wait(1)
  360.         end
  361.         if game:GetService("Workspace").ContainmentRegions["096"].ContainmentNotice.Panel.SurfaceGui.TextLabel.Text == "SECURE" then
  362.             tp(Vector3.new(681, -177, -525))
  363.             local args = {
  364.                 [1] = workspace.ContainmentRegions:FindFirstChild("096").ReleaseSCP
  365.             }
  366.             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  367.             wait(1)
  368.             local args = {
  369.                 [1] = workspace.ContainmentRegions:FindFirstChild("096"),
  370.                 [2] = "Release"
  371.             }
  372.             game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  373.             wait(1)
  374.         end
  375.        
  376.         --527
  377.         tp(Vector3.new(421, 19, -11))
  378.         local args = {
  379.             [1] = workspace.ContainmentRegions:FindFirstChild("527").Door.ReleaseSCP
  380.         }
  381.        
  382.         game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  383.         wait(1)
  384.        
  385.         local args = {
  386.             [1] = workspace.ContainmentRegions:FindFirstChild("527").Door,
  387.             [2] = "Release"
  388.         }
  389.         game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  390.         wait(1)
  391.         --303
  392.         tp(Vector3.new(665, 19, -192))
  393.         local args = {
  394.             [1] = workspace.ContainmentRegions:FindFirstChild("303").SwingDoor.ReleaseSCP
  395.         }
  396.        
  397.         game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  398.         wait(1)
  399.         local args = {
  400.             [1] = workspace.ContainmentRegions:FindFirstChild("303").SwingDoor,
  401.             [2] = "Release"
  402.         }
  403.         game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  404.         wait(1)
  405.     end)
  406.  
  407.    
  408.  
  409.     local TS = Main:CreateSector("Teleports", "right")
  410.     TS:AddDropdown("Heists", {"Living Room", "Pathogen", "Red Lake", "Tetrahedron", "Telekill"}, "N/A", false, function(Selected)
  411.         if Selected == "Living Room" then
  412.             tp(CFrame.new(1012.98, -175.253, -333.356))
  413.         elseif Selected == "Red Lake" then
  414.             tp(CFrame.new(406.138, -170.914, 164.562))
  415.         elseif Selected == "Tetrahedron" then
  416.             tp(CFrame.new(291.09, 17.203, 329.67))
  417.         elseif Selected == "Telekill" then
  418.             tp(CFrame.new(403.92, 17.911, -421.251))
  419.         elseif Selected == "Pathogen" then
  420.             tp(CFrame.new(846, 20, -154))
  421.         end
  422.     end)
  423.  
  424.     TS:AddDropdown("Heavy Containment Zone", {"Warheads", "SCP-096", "SCP-035", "SCP-106", "SCP-049", "SCP-457", "SCP-017", "LCZ Elevators"}, "N/A", false, function(Selected)
  425.         if Selected == "Warheads" then
  426.             tp(CFrame.new(564, -175, 30))
  427.         elseif Selected == "SCP-096" then
  428.             tp(CFrame.new(647, -177, -492))
  429.         elseif Selected == "SCP-035" then
  430.             tp(CFrame.new(701, -169, 22))
  431.         elseif Selected == "SCP-106" then
  432.             tp(CFrame.new(921, -169, 161))
  433.         elseif Selected == "SCP-049" then
  434.             tp(CFrame.new(487, -169, -265))
  435.         elseif Selected == "SCP-457" then
  436.             tp(CFrame.new(406, -178, -471))
  437.         elseif Selected == "SCP-017" then
  438.             tp(CFrame.new(234, -169, -141))
  439.         elseif Selected == "LCZ Elevators" then
  440.             tp(CFrame.new(335, -170, -84))
  441.         end
  442.     end)
  443.  
  444.     TS:AddDropdown("Light Containment Zone",{"C.I. Shop", "SCP-914", "Skeleton Key", "Bell", "SCP-008", "Doorman", "Monolith", "SCP-173", "Wendigo", "Fish Man", "Explosive Bat"}, "N/A", false, function(Selected)
  445.         if Selected == "SCP-914" then
  446.             tp(CFrame.new(709, 19, 7))
  447.         elseif Selected == "Bell" then
  448.             tp(CFrame.new(676, 19, -72))
  449.         elseif Selected == "SCP-008" then
  450.             tp(CFrame.new(780, 21, -177))
  451.         elseif Selected == "Doorman" then
  452.             tp(CFrame.new(654, 19, -182))
  453.         elseif Selected == "Monolith" then
  454.             tp(CFrame.new(514, 19, -233))
  455.         elseif Selected == "SCP-173" then
  456.             tp(CFrame.new(660, 19, -311))
  457.         elseif Selected == "Wendigo" then
  458.             tp(CFrame.new(343, 19, -274))
  459.         elseif Selected == "Fish Man" then
  460.             tp(CFrame.new(417, 19, -35))
  461.         elseif Selected == "Explosive Bat" then
  462.             tp(CFrame.new(434, 19, -107))
  463.         elseif Selected == "Skeleton Key" then
  464.             tp(CFrame.new(361, 23, 325))
  465.         elseif Selected == "C.I. Shop" then
  466.             tp(CFrame.new(687, 2, 465))
  467.         end
  468.     end)
  469.  
  470.     local FS = Main:CreateSector("Farming", "right")
  471.     local infCash = false
  472.     local ran = false
  473.     FS:AddToggle("Infinite Money/EXP", false, function(s)
  474.         infCash = s
  475.         if infCash then
  476.             if not ran then
  477.                 local part = Instance.new("Part", game.Workspace)
  478.                 part.Position = Vector3.new(679.05279541016, -186.08403015137, -524.87188720703)
  479.                 part.CanCollide = true
  480.                 part.Anchored = true
  481.                 part.Size = Vector3.new(10,1,10)
  482.                 ran = true
  483.             end
  484.             noClip = game:GetService('RunService').Stepped:Connect(NoclipLoop)
  485.             tp(679, -183, -526)
  486.             while infCash and wait(1) do
  487.                 local args = {
  488.                     [1] = workspace.ContainmentRegions:FindFirstChild("096"),
  489.                     [2] = "Release"
  490.                 }
  491.                 game:GetService("ReplicatedStorage").Remotes.ReleaseSCP:FireServer(unpack(args))
  492.             end
  493.         else
  494.             noClip:Disconnect()
  495.             game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  496.         end
  497.     end)
  498.     FS:AddButton("Teleport to MCD", function()
  499.         local dist = math.huge
  500.         local target
  501.         for _,v in pairs(game:GetService("Workspace").Contracts:GetChildren()) do
  502.             if v.Name == "Agent" then
  503.                 local check = (v:FindFirstChild("Head").Position - game.Players.LocalPlayer.Character.HumanoidRootPart.Position).Magnitude
  504.                 if check < dist then
  505.                     target = v.Head.Position
  506.                     dist = check
  507.                 end
  508.             end
  509.         end
  510.         tp(target)
  511.     end)
  512.  
  513.     FS:AddButton("Become Chaos Insurgency", function()
  514.         becomeCI()
  515.     end)
  516.  
  517.     FS:AddToggle("Escape Farm", false,function(s)
  518.         toggles.farmEscape = s
  519.         spawn(function()
  520.             while toggles.farmEscape and wait() do
  521.                 if game:GetService("Players").LocalPlayer.Team.Name == "Prisoner" then
  522.                     if toggles.mask then
  523.                         if game:GetService("Workspace").ContainmentRegions["035C"]["035"].Interact.Transparency == 0 then
  524.                             tp(701, -169, 22)
  525.                             wait(1)
  526.                             local args = {[1] = workspace.ContainmentRegions:FindFirstChild("035C"):FindFirstChild("035")}
  527.                             game:GetService("ReplicatedStorage").Remotes.Interact:FireServer(unpack(args))
  528.                             wait(1)
  529.                         else
  530.                             game:GetService("StarterGui"):SetCore("SendNotification", {Title = "Notice", Text = "Unable to grab mask, skipping step."})
  531.                         end
  532.                     end
  533.                     becomeCI()
  534.                     wait(5)
  535.                 else
  536.                     local args = {
  537.                         [1] = "Prisoner",
  538.                         [2] = false
  539.                     }
  540.                     repeat
  541.                         game:GetService("ReplicatedStorage").Remotes.ChangeTeam:InvokeServer(unpack(args))
  542.                         wait(1)
  543.                     until game:GetService("Players").LocalPlayer.Team.Name == "Prisoner"
  544.                     game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  545.                     wait(2)
  546.                 end
  547.             end
  548.         end)
  549.     end)
  550.    
  551.     FS:AddToggle("Grab Mask while Farming", true, function(s)
  552.         toggles.mask = s
  553.     end)
  554.  
  555.     FS:AddButton("Join Smallest Server", function()
  556.         getgenv().AutoTeleport = true
  557.         getgenv().DontTeleportTheSameNumber = true --If you set this true it won't teleport to the server if it has the same number of players as your current server
  558.  
  559.         local maxplayers = math.huge
  560.         local serversmaxplayer;
  561.         local goodserver;
  562.         local gamelink = "https://games.roblox.com/v1/games/" .. game.PlaceId .. "/servers/Public?sortOrder=Asc&limit=100"
  563.  
  564.         function serversearch()
  565.             for _, v in pairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync(gamelink)).data) do
  566.                 if type(v) == "table" and maxplayers > v.playing then
  567.                     serversmaxplayer = v.maxPlayers
  568.                     maxplayers = v.playing
  569.                     goodserver = v.id
  570.                 end
  571.             end
  572.         end
  573.  
  574.         function getservers()
  575.             serversearch()
  576.             for i,v in pairs(game:GetService("HttpService"):JSONDecode(game:HttpGetAsync(gamelink))) do
  577.                 if i == "nextPageCursor" then
  578.                     if gamelink:find("&cursor=") then
  579.                         local a = gamelink:find("&cursor=")
  580.                         local b = gamelink:sub(a)
  581.                         gamelink = gamelink:gsub(b, "")
  582.                     end
  583.                     gamelink = gamelink .. "&cursor=" ..v
  584.                     getservers()
  585.                 end
  586.             end
  587.         end
  588.  
  589.         getservers()
  590.         print("All of the servers are searched")
  591.         print("Server : " .. goodserver .. " Players : " .. maxplayers .. "/" .. serversmaxplayer)
  592.         if AutoTeleport then
  593.             if DontTeleportTheSameNumber then
  594.                 if #game:GetService("Players"):GetPlayers() - 1 == maxplayers then
  595.                     return warn("The server you're currently in is the smallest one.")
  596.                 elseif goodserver == game.JobId then
  597.                     return warn("The server you're currently in is the smallest one.")
  598.                 end
  599.             end
  600.             game:GetService("TeleportService"):TeleportToPlaceInstance(game.PlaceId, goodserver)
  601.         end
  602.     end)
  603.  
  604.     local BS = Main:CreateSector("Bypasses", "left")
  605.     BS:AddButton("Infinite Stamina", function()
  606.         loadstring(game:HttpGet("https://raw.githubusercontent.com/AnomalyRBLX/Database/main/Misc/Hooks/InfStamina.lua", true))();
  607.     end)
  608.  
  609.     BS:AddButton("No Falldamage", function()
  610.         loadstring(game:HttpGet("https://raw.githubusercontent.com/AnomalyRBLX/Database/main/Misc/Hooks/NoFall_76.lua", true))();
  611.         fallDmgEnabled = true
  612.     end)
  613.  
  614.    
  615.  
  616.     local MS = Config:CreateSector("Misc", "right")
  617.     MS:AddSlider("Tween Speed", 1, 250, 300, 1, function(val)
  618.         _speed = val
  619.     end)
  620.  
  621.     MS:AddToggle("Kick on Mod Join", true, function(state)
  622.         toggles.modDetector = state
  623.     end)
  624.  
  625.     MS:AddButton("Join Discord", function()
  626.         local request = request or http_request or (syn and syn.request)
  627.         if not request then return end
  628.         local start = 6463
  629.         local invCode = 'ceE7jGFgkg'
  630.         for i = start-10, start+1 do
  631.             spawn(function()
  632.                 pcall(function()
  633.                     request({Url = "http://127.0.0.1:"..tostring(i).."/rpc?v=1",Method = "POST",Headers = {["Content-Type"] = "application/json",["Origin"] = "https://discord.com"},Body = game:GetService("HttpService"):JSONEncode({["cmd"] = "INVITE_BROWSER",["nonce"] = game:GetService("HttpService"):GenerateGUID(false),["args"] = {["invite"] = {["code"] = invCode,},["code"] = invCode}})})
  634.                 end)
  635.             end)
  636.         end
  637.     end)
  638.  
  639.     MS:AddButton("Copy Discord Invite", function()
  640.         setclipboard("https://discord.gg/ceE7jGFgkg")
  641.     end)
  642.  
  643.     MS:AddKeybind("Toggle UI", Enum.KeyCode.RightShift, function(v) window.hidebutton = v end, function()end)
  644.  
  645.  
  646.     local ES = Main:CreateSector("ESP", "left")
  647.     ES:AddToggle("Enabled", false, function(S)
  648.         ESP:Toggle(S)
  649.     end)
  650.  
  651.     ES:AddToggle("SCPs", false, function(S)
  652.         ESP.SCPs = S
  653.         if OpenedSCPs == false then
  654.             refreshSCPs()
  655.             spawn(function()
  656.                 while true and wait(60) do
  657.                     refreshSCPs()
  658.                 end
  659.             end)
  660.             OpenedSCPs = true
  661.         end
  662.     end)
  663.  
  664.     ES:AddToggle("Players", false, function(S)
  665.         ESP.Players = S
  666.     end)
  667.  
  668.     ES:AddToggle("Tracers", false, function(S)
  669.         ESP.Tracers = S
  670.     end)
  671.  
  672.     ES:AddToggle("Boxes", true, function(S)
  673.         ESP.Boxes = S
  674.     end)
  675.  
  676.     --//Event Connections
  677.     game:GetService("Workspace"):FindFirstChild("Laser"):Destroy()
  678.    
  679.     game.Players.LocalPlayer.CharacterAdded:Connect(function(char)
  680.         game.Players.LocalPlayer.Character:WaitForChild("Humanoid").Died:Connect(function()
  681.             if toggles.instantRespawn then
  682.                 game:GetService("ReplicatedStorage").Remotes.RespawnPlayer:FireServer()
  683.             end
  684.         end)
  685.         if toggles.rName then
  686.             wait(.5)
  687.             game.Players.LocalPlayer.Character:WaitForChild("Head"):FindFirstChildOfClass("BillboardGui"):Destroy()
  688.         end
  689.     end)
  690.  
  691.     spawn(function()
  692.         for _, player in pairs(game.Players:GetPlayers()) do
  693.             if player:GetRankInGroup(3363833) >= 20 then
  694.                 game:GetService("StarterGui"):SetCore("SendNotification", {Title = "["..player:GetRoleInGroup(3363833).."] "..player.Name, Text = 'Moderator joined the game.'})
  695.             end
  696.         end
  697.     end)
  698.  
  699.     game.Players.PlayerAdded:Connect(function(Player)
  700.         if Player:GetRankInGroup(3363833) >= 20 then
  701.             game:GetService("StarterGui"):SetCore("SendNotification", {Title = "["..Player:GetRoleInGroup(3363833).."] "..Player.Name, Text = 'Moderator joined the game.'})
  702.             if toggles.modDetector then
  703.                 game.Players.LocalPlayer:kick("\n["..Player:GetRoleInGroup(3363833).."]".." "..Player.Name.."\nModerator joined the game \n\nYou can disable kicks in the misc section\nReport bugs here: https://discord.gg/EP9fNzmm8E")
  704.             end
  705.         end
  706.     end)
  707.     Config:CreateConfigSystem("left")
  708. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement