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 2024", "Ocean")
- -- Variables
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local RunService = game:GetService("RunService")
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- -- Main Tab
- local Main = Window:NewTab("Main")
- local MainSection = Main:NewSection("Main Features")
- MainSection:NewToggle("God Mode", "Makes you immune to the Beast", function(state)
- if state then
- if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
- LocalPlayer.Character.Humanoid.MaxHealth = math.huge
- LocalPlayer.Character.Humanoid.Health = math.huge
- end
- else
- if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("Humanoid") then
- LocalPlayer.Character.Humanoid.MaxHealth = 100
- LocalPlayer.Character.Humanoid.Health = 100
- end
- end
- end)
- MainSection:NewToggle("Auto Hack", "Automatically hacks computers", function(state)
- getgenv().autohack = state
- while getgenv().autohack do
- pcall(function()
- for _, computer in pairs(workspace:GetDescendants()) do
- if computer.Name == "Computer" and computer:FindFirstChild("Interact") then
- if LocalPlayer.Character and LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
- LocalPlayer.Character.HumanoidRootPart.CFrame = computer.Main.CFrame
- wait(0.2)
- fireproximityprompt(computer.Interact)
- end
- end
- end
- end)
- wait(1)
- end
- end)
- -- ESP Tab
- local ESP = Window:NewTab("ESP")
- local ESPSection = ESP:NewSection("ESP Features")
- local function createHighlight(parent, color)
- local highlight = Instance.new("Highlight")
- highlight.Parent = parent
- highlight.FillColor = color
- highlight.OutlineColor = color
- return highlight
- end
- ESPSection:NewToggle("Computer ESP", "See computers through walls", function(state)
- if state then
- for _, computer in pairs(workspace:GetDescendants()) do
- if computer.Name == "Computer" then
- createHighlight(computer, Color3.fromRGB(0, 255, 0))
- end
- end
- else
- for _, computer in pairs(workspace:GetDescendants()) do
- if computer.Name == "Computer" and computer:FindFirstChild("Highlight") then
- computer.Highlight:Destroy()
- end
- end
- end
- end)
- ESPSection:NewToggle("Beast ESP", "See the Beast through walls", function(state)
- if state then
- for _, player in pairs(Players:GetPlayers()) do
- if player.Character and player.Character:FindFirstChild("Beast") then
- createHighlight(player.Character, Color3.fromRGB(255, 0, 0))
- end
- end
- else
- for _, player in pairs(Players:GetPlayers()) do
- if player.Character and player.Character:FindFirstChild("Beast") and
- player.Character:FindFirstChild("Highlight") then
- player.Character.Highlight:Destroy()
- end
- end
- end
- end)
- ESPSection:NewToggle("Player ESP", "See other players through walls", function(state)
- if state then
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= LocalPlayer and player.Character then
- createHighlight(player.Character, Color3.fromRGB(0, 0, 255))
- end
- end
- else
- for _, player in pairs(Players:GetPlayers()) do
- if player ~= LocalPlayer and player.Character and
- player.Character:FindFirstChild("Highlight") then
- player.Character.Highlight:Destroy()
- end
- end
- end
- end)
- -- Map Selector
- local Maps = Window:NewTab("Maps")
- local MapsSection = Maps:NewSection("Map Selector")
- local mapList = {
- "Facility_0",
- "Facility_1",
- "Facility_2",
- "Abandoned_Facility",
- "Airport"
- }
- MapsSection:NewDropdown("Select Map", "Choose the next map", mapList, function(selectedMap)
- ReplicatedStorage.RemoteEvents.MapVote:FireServer(selectedMap)
- end)
- -- Settings
- local Settings = Window:NewTab("Settings")
- local SettingsSection = Settings:NewSection("UI Settings")
- SettingsSection:NewKeybind("Toggle UI", "Shows/Hides the menu (RightControl)", Enum.KeyCode.RightControl, function()
- Library:ToggleUI()
- end)
- -- Anti AFK
- local antiAFK = true
- LocalPlayer.Idled:Connect(function()
- if antiAFK then
- local VirtualUser = game:GetService("VirtualUser")
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement