Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Library = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/Kavo-UI-Library/main/source.lua"))()
- local Window = Library.CreateLib("Flee The Facility Premium GUI", "Ocean")
- -- Variables
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local Character = LocalPlayer.Character
- local Humanoid = Character:WaitForChild("Humanoid")
- local RunService = game:GetService("RunService")
- -- Functions
- local function GodMode()
- if Character and Character:FindFirstChild("Humanoid") then
- Character.Humanoid.MaxHealth = math.huge
- Character.Humanoid.Health = math.huge
- end
- end
- local function AutoHack()
- while wait() do
- if not getgenv().AutoHackEnabled then break end
- pcall(function()
- for _, computer in pairs(workspace:GetDescendants()) do
- if computer.Name == "Computer" and computer:FindFirstChild("Interact") then
- Character.HumanoidRootPart.CFrame = computer.Main.CFrame
- wait(0.2)
- fireproximityprompt(computer.Interact)
- end
- end
- end)
- end
- end
- -- Main Tab
- local MainTab = Window:NewTab("Main")
- local MainSection = MainTab:NewSection("Main Features")
- MainSection:NewToggle("God Mode", "Become invincible", function(state)
- getgenv().GodModeEnabled = state
- if state then
- GodMode()
- end
- end)
- MainSection:NewToggle("Auto Hack", "Auto hack computers", function(state)
- getgenv().AutoHackEnabled = state
- if state then
- AutoHack()
- end
- end)
- -- ESP Tab
- local ESPTab = Window:NewTab("ESP")
- local ESPSection = ESPTab:NewSection("ESP Features")
- ESPSection:NewToggle("Computer ESP", "See computers through walls", function(state)
- getgenv().ComputerESP = state
- while getgenv().ComputerESP do
- for _, computer in pairs(workspace:GetDescendants()) do
- if computer.Name == "Computer" then
- if not computer:FindFirstChild("Highlight") then
- local highlight = Instance.new("Highlight")
- highlight.FillColor = Color3.fromRGB(0, 255, 0)
- highlight.OutlineColor = Color3.fromRGB(0, 255, 0)
- highlight.Parent = computer
- end
- end
- end
- wait(1)
- end
- end)
- ESPSection:NewToggle("Beast ESP", "See the Beast through walls", function(state)
- getgenv().BeastESP = state
- while getgenv().BeastESP do
- for _, player in pairs(Players:GetPlayers()) do
- if player.Character and player.Character:FindFirstChild("Beast") then
- if not player.Character:FindFirstChild("Highlight") then
- local highlight = Instance.new("Highlight")
- highlight.FillColor = Color3.fromRGB(255, 0, 0)
- highlight.OutlineColor = Color3.fromRGB(255, 0, 0)
- highlight.Parent = player.Character
- end
- end
- end
- wait(1)
- end
- end)
- ESPSection:NewToggle("Player ESP", "See players through walls", function(state)
- getgenv().PlayerESP = state
- while getgenv().PlayerESP do
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= LocalPlayer and player.Character then
- if not player.Character:FindFirstChild("Highlight") then
- local highlight = Instance.new("Highlight")
- highlight.FillColor = Color3.fromRGB(0, 0, 255)
- highlight.OutlineColor = Color3.fromRGB(0, 0, 255)
- highlight.Parent = player.Character
- end
- end
- end
- wait(1)
- end
- end)
- -- Map Selector
- local MapTab = Window:NewTab("Maps")
- local MapSection = MapTab:NewSection("Map Selection")
- local maps = {"Facility_0", "Facility_1", "Facility_2", "Abandoned_Facility", "Airport"}
- MapSection:NewDropdown("Select Map", "Choose map to play", maps, function(map)
- game:GetService("ReplicatedStorage").RemoteEvents.MapVote:FireServer(map)
- end)
- -- Settings Tab
- local SettingsTab = Window:NewTab("Settings")
- local SettingsSection = SettingsTab:NewSection("UI Settings")
- SettingsSection:NewKeybind("Toggle GUI", "Shows/Hides the GUI", Enum.KeyCode.RightControl, function()
- Library:ToggleUI()
- end)
- -- Anti AFK
- LocalPlayer.Idled:Connect(function()
- local VirtualUser = game:GetService("VirtualUser")
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- -- Notifications
- game.StarterGui:SetCore("SendNotification", {
- Title = "Script Loaded!",
- Text = "Press RightControl to toggle GUI",
- Duration = 5
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement