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 Ultimate Script V2", "Midnight")
- -- Create Floating Icon
- local CoreGui = game:GetService("CoreGui")
- local FloatingIcon = Instance.new("ScreenGui")
- local IconButton = Instance.new("ImageButton")
- FloatingIcon.Name = "FloatingMenuIcon"
- FloatingIcon.Parent = CoreGui
- FloatingIcon.Enabled = false
- IconButton.Name = "MenuIcon"
- IconButton.Parent = FloatingIcon
- IconButton.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- IconButton.BackgroundTransparency = 0.1
- IconButton.Position = UDim2.new(0, 10, 0.5, -25)
- IconButton.Size = UDim2.new(0, 50, 0, 50)
- IconButton.Image = "rbxassetid://3926307971"
- IconButton.ImageColor3 = Color3.fromRGB(255, 255, 255)
- -- Make Icon Draggable
- local UserInputService = game:GetService("UserInputService")
- local dragging
- local dragInput
- local dragStart
- local startPos
- local function update(input)
- local delta = input.Position - dragStart
- IconButton.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
- end
- IconButton.InputBegan:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
- dragging = true
- dragStart = input.Position
- startPos = IconButton.Position
- input.Changed:Connect(function()
- if input.UserInputState == Enum.UserInputState.End then
- dragging = false
- end
- end)
- end
- end)
- IconButton.InputChanged:Connect(function(input)
- if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
- dragInput = input
- end
- end)
- UserInputService.InputChanged:Connect(function(input)
- if input == dragInput and dragging then
- update(input)
- end
- end)
- -- Main Tab
- local MainTab = Window:NewTab("Main Features")
- local MainSection = MainTab:NewSection("Main Functions")
- -- Minimize Button
- MainSection:NewButton("Minimize GUI", "Minimizes the menu to a floating icon", function()
- Library:ToggleUI()
- FloatingIcon.Enabled = true
- end)
- -- Mejorado: God Mode Toggle
- MainSection:NewToggle("God Mode", "Prevents all damage and freezes health", function(state)
- _G.GodMode = state
- local function protectPlayer()
- local player = game.Players.LocalPlayer
- if player.Character then
- local humanoid = player.Character:FindFirstChild("Humanoid")
- if humanoid then
- local oldHealth = humanoid.Health
- humanoid:GetPropertyChangedSignal("Health"):Connect(function()
- if _G.GodMode then
- humanoid.Health = oldHealth
- end
- end)
- end
- end
- end
- protectPlayer()
- game.Players.LocalPlayer.CharacterAdded:Connect(function()
- wait(1)
- if _G.GodMode then
- protectPlayer()
- end
- end)
- end)
- -- Mejorado: Perfect Hack Toggle
- MainSection:NewToggle("Perfect Hack", "Never fail computer hacks", function(state)
- _G.PerfectHack = state
- local oldNamecall
- oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if _G.PerfectHack and method == "FireServer" and self.Name == "ComputerFail" then
- return
- end
- return oldNamecall(self, ...)
- end)
- end)
- -- Mejorado: Double Credits and XP
- MainSection:NewToggle("Double Credits & XP", "Get double rewards after matches", function(state)
- _G.DoubleRewards = state
- local oldNamecall
- oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if _G.DoubleRewards then
- if method == "FireServer" and (self.Name == "AwardCredits" or self.Name == "AwardXP") then
- args[1] = args[1] * 2
- return oldNamecall(self, unpack(args))
- end
- end
- return oldNamecall(self, ...)
- end)
- end)
- -- ESP Section
- local ESPTab = Window:NewTab("ESP")
- local ESPSection = ESPTab:NewSection("Visual Features")
- -- Computer ESP
- ESPSection:NewToggle("Computer ESP", "See computers through walls", function(state)
- _G.ComputerESP = state
- local function createESP(object)
- if not object:FindFirstChild("ESP") then
- local highlight = Instance.new("Highlight")
- highlight.Name = "ESP"
- highlight.FillColor = Color3.fromRGB(0, 255, 0)
- highlight.OutlineColor = Color3.fromRGB(0, 255, 0)
- highlight.Parent = object
- end
- end
- while wait(1) do
- if not _G.ComputerESP then break end
- for _, computer in pairs(workspace:GetDescendants()) do
- if computer:IsA("Model") and computer.Name:find("Computer") then
- createESP(computer)
- end
- end
- end
- end)
- -- Player ESP
- ESPSection:NewToggle("Player ESP", "See players through walls", function(state)
- _G.PlayerESP = state
- local function createPlayerESP(player)
- if player.Character and not player.Character:FindFirstChild("ESP") then
- local highlight = Instance.new("Highlight")
- highlight.Name = "ESP"
- highlight.FillColor = Color3.fromRGB(255, 0, 0)
- highlight.OutlineColor = Color3.fromRGB(255, 0, 0)
- highlight.Parent = player.Character
- end
- end
- while wait(1) do
- if not _G.PlayerESP then break end
- for _, player in pairs(game.Players:GetPlayers()) do
- if player ~= game.Players.LocalPlayer then
- createPlayerESP(player)
- end
- end
- end
- end)
- -- Speed Control
- local SpeedTab = Window:NewTab("Speed Control")
- local SpeedSection = SpeedTab:NewSection("Speed Settings")
- SpeedSection:NewSlider("Walk Speed", "Changes your walking speed", 500, 16, function(s)
- if game.Players.LocalPlayer.Character then
- game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = s
- end
- end)
- SpeedSection:NewSlider("Jump Power", "Changes your jump power", 500, 50, function(s)
- if game.Players.LocalPlayer.Character then
- game.Players.LocalPlayer.Character.Humanoid.JumpPower = s
- end
- end)
- -- Mejorado: Map Selector con Doble Voto
- local MapTab = Window:NewTab("Map Selector")
- local MapSection = MapTab:NewSection("Force Map")
- local maps = {
- "Homestead",
- "Abandoned Facility",
- "Airport",
- "Library",
- "Backrooms",
- "Haunted Mansion",
- "Prison"
- }
- for _, mapName in ipairs(maps) do
- MapSection:NewButton(mapName, "Force " .. mapName .. " map", function()
- -- Primer voto
- game:GetService("ReplicatedStorage").MapVote:FireServer(mapName)
- game:GetService("ReplicatedStorage").MapVoteConfirm:FireServer()
- -- Segundo voto (simulado)
- wait(0.1)
- game:GetService("ReplicatedStorage").MapVote:FireServer(mapName)
- game:GetService("ReplicatedStorage").MapVoteConfirm:FireServer()
- end)
- end
- -- Point Stealer mejorado
- MainSection:NewToggle("Point Stealer", "Get points from others' hacks", function(state)
- _G.PointStealer = state
- local oldNamecall
- oldNamecall = hookmetamethod(game, "__namecall", function(self, ...)
- local args = {...}
- local method = getnamecallmethod()
- if _G.PointStealer and method == "FireServer" and self.Name == "ComputerComplete" then
- local player = game.Players.LocalPlayer
- game:GetService("ReplicatedStorage").Points:FireServer(player, 100)
- end
- return oldNamecall(self, ...)
- end)
- end)
- -- Floating Icon Click Handler
- IconButton.MouseButton1Click:Connect(function()
- FloatingIcon.Enabled = false
- Library:ToggleUI()
- end)
- -- Anti AFK mejorado
- local VirtualUser = game:GetService("VirtualUser")
- game:GetService("Players").LocalPlayer.Idled:Connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement