Focas God
Key RequiredUniversal Patched

Focas God

Universal ScriptGalaleuGalaleu 2.1K views 4 executesUpdated Mar 20, 2026
Unrated
00
Lua Scriptβ€’358 lines (8232 chars)
--// LOAD
local Version = "v1.6.53"
local WindUI = loadstring(game:HttpGet(
    "https://github.com/Footagesus/WindUI/releases/download/" .. Version .. "/main.lua"
))()

--// SERVICES
local Players = game:GetService("Players")
local RunService = game:GetService("RunService")
local UIS = game:GetService("UserInputService")

local player = Players.LocalPlayer

--// STATE
local State = {
    Speed = 16,
    Fly = false,
    Noclip = false,
    InfiniteJump = false,
    ESP = false
}

--// CHARACTER
local char, humanoid
local function LoadChar()
    char = player.Character or player.CharacterAdded:Wait()
    humanoid = char:WaitForChild("Humanoid")
end
LoadChar()
player.CharacterAdded:Connect(LoadChar)

--// THEME
WindUI:AddTheme({
    Name = "FocasGod",
    Accent = Color3.fromRGB(0,255,170)
})
WindUI:SetTheme("FocasGod")

--// WINDOW
local Window = WindUI:CreateWindow({
    Title = "Focas Script GOD",
    Icon = "zap",
    Author = "Focas",
    Folder = "FocasGod",
    Transparent = true
})

Window:Tag({
    Title = "GOD",
    Color = Color3.fromRGB(0,255,120)
})

-- ========================
-- πŸ” KEY SYSTEM
-- ========================
local validKeys = {
    ["FREE_987654321"] = 86400,
    ["FREE_18366186366173871"] = 86400,
    ["FREE_6543789183"] = 86400,
    ["FREE_008351845223"] = 86400,
    ["RTXADAYETA"] = "inf",
    ["Thalosto"] = "inf"
}

local keyLink = "https://discord.gg/dK7f6bPwCh"
local userKey = ""

local saved = getgenv().FocasKeyData
if saved and saved.expire > os.time() then
    getgenv().FocasKey = true
end

local KeyTab = Window:Tab({Title="Key System", Icon="key"})

KeyTab:Paragraph({
    Title="Sistema de Key",
    Desc="Entre no Discord para pegar sua key."
})

KeyTab:Input({
    Title="Enter Key",
    Placeholder="Digite sua key...",
    Callback=function(text)
        userKey = text
    end
})

KeyTab:Button({
    Title="Get Key (Discord)",
    Callback=function()
        if setclipboard then
            setclipboard(keyLink)
            WindUI:Notify({
                Title="Discord copiado!",
                Content="Entre no servidor para pegar sua key",
                Duration=5
            })
        end
    end
})

KeyTab:Button({
    Title="Send Key",
    Callback=function()
        local duration = validKeys[userKey]

        if duration then
            getgenv().FocasKey = true

            if duration == "inf" then
                getgenv().FocasKeyData = {
                    key = userKey,
                    expire = math.huge
                }
            else
                getgenv().FocasKeyData = {
                    key = userKey,
                    expire = os.time() + duration
                }
            end

            WindUI:Notify({
                Title="Sucesso",
                Content="Key ativada!",
                Duration=3
            })

            Window:UnlockAllElements()
        else
            WindUI:Notify({
                Title="Erro",
                Content="Wrong key!",
                Duration=3
            })
        end
    end
})

if not getgenv().FocasKey then
    Window:LockAllElements()
end

-- ========================
-- 🏷️ KEY INFO UI
-- ========================
local function formatTime(sec)
    local h = math.floor(sec/3600)
    local m = math.floor((sec%3600)/60)
    local s = sec%60
    return h.."h "..m.."m "..s.."s"
end

local function getKeyType(key)
    if key == "Thalosto" then
        return "DEV"
    elseif key == "RTXADAYETA" then
        return "VIP"
    else
        return "FREE"
    end
end

local InfoTab = Window:Tab({Title="Key Info", Icon="info"})

local infoLabel = InfoTab:Paragraph({
    Title="Status da Key",
    Desc="Carregando..."
})

RunService.RenderStepped:Connect(function()
    local data = getgenv().FocasKeyData
    if not data then return end

    local keyType = getKeyType(data.key)

    if data.expire == math.huge then
        infoLabel:SetDesc("Tipo: "..keyType.." ♾️\nTempo: Infinito")
    else
        local remaining = data.expire - os.time()

        if remaining <= 0 then
            infoLabel:SetDesc("Key Expirada ❌")
        else
            infoLabel:SetDesc("Tipo: "..keyType.." ⏳\nTempo: "..formatTime(remaining))
        end
    end
end)

-- ========================
-- πŸ”„ AUTO RENEW + ALERT
-- ========================
local warned = false

RunService.RenderStepped:Connect(function()
    local data = getgenv().FocasKeyData
    if not data then return end

    if data.expire == math.huge then return end

    local remaining = data.expire - os.time()

    if remaining <= 300 and remaining > 0 and not warned then
        warned = true
        WindUI:Notify({
            Title="Aviso",
            Content="Sua key estΓ‘ prestes a expirar!",
            Duration=5
        })
    end

    if remaining <= 0 then
        warned = false
        data.expire = os.time() + 86400

        WindUI:Notify({
            Title="Renovado",
            Content="Key FREE renovada automaticamente!",
            Duration=5
        })
    end
end)

-- ========================
-- 🧩 TABS
-- ========================
local Main = Window:Tab({Title="Main"})
local Visual = Window:Tab({Title="Visual"})
local Config = Window:Tab({Title="Config"})

-- SPEED
Main:Slider({
    Title="Speed",
    Min=16,
    Max=200,
    Default=16,
    Callback=function(v)
        State.Speed = v
        humanoid.WalkSpeed = v
    end
})

-- INF JUMP
UIS.JumpRequest:Connect(function()
    if State.InfiniteJump then
        humanoid:ChangeState("Jumping")
    end
end)

Main:Toggle({
    Title="Infinite Jump",
    Callback=function(v)
        State.InfiniteJump = v
    end
})

-- NOCLIP
RunService.Stepped:Connect(function()
    if State.Noclip and char then
        for _,v in pairs(char:GetDescendants()) do
            if v:IsA("BasePart") then
                v.CanCollide = false
            end
        end
    end
end)

Main:Toggle({
    Title="Noclip",
    Callback=function(v)
        State.Noclip = v
    end
})

-- FLY
local flyConn
Main:Toggle({
    Title="Fly",
    Callback=function(v)
        State.Fly = v

        if v then
            local bv = Instance.new("BodyVelocity")
            bv.MaxForce = Vector3.new(9e9,9e9,9e9)
            bv.Parent = char.HumanoidRootPart

            flyConn = RunService.RenderStepped:Connect(function()
                bv.Velocity = humanoid.MoveDirection * State.Speed
            end)
        else
            if flyConn then flyConn:Disconnect() end
            if char.HumanoidRootPart:FindFirstChildOfClass("BodyVelocity") then
                char.HumanoidRootPart:FindFirstChildOfClass("BodyVelocity"):Destroy()
            end
        end
    end
})

-- ESP
local function ESP(plr)
    if plr == player or not plr.Character then return end
    local head = plr.Character:FindFirstChild("Head")
    if not head or head:FindFirstChild("FocasESP") then return end

    local gui = Instance.new("BillboardGui", head)
    gui.Name = "FocasESP"
    gui.Size = UDim2.new(0,200,0,50)
    gui.AlwaysOnTop = true

    local txt = Instance.new("TextLabel", gui)
    txt.Size = UDim2.new(1,0,1,0)
    txt.BackgroundTransparency = 1
    txt.TextColor3 = Color3.fromRGB(0,255,170)
    txt.TextStrokeTransparency = 0
    txt.TextScaled = true

    RunService.RenderStepped:Connect(function()
        if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
            local dist = (player.Character.HumanoidRootPart.Position - plr.Character.HumanoidRootPart.Position).Magnitude
            txt.Text = plr.Name.." ["..math.floor(dist).."]"
        end
    end)
end

Visual:Toggle({
    Title="ESP",
    Callback=function(v)
        State.ESP = v
        for _,p in pairs(Players:GetPlayers()) do
            if v then ESP(p) end
        end
    end
})

-- CONFIG
local cfg = Window.ConfigManager

task.spawn(function()
    task.wait(2)
    pcall(function() cfg:Load() end)
end)

Config:Button({
    Title="Salvar Config",
    Callback=function()
        cfg:Save()
        WindUI:Notify({Title="Config",Content="Salvo"})
    end
})

-- KEYBIND
Window:SetToggleKey(Enum.KeyCode.RightShift)

-- NOTIFY
WindUI:Notify({
    Title="Focas GOD",
    Content="Script carregado πŸ‘‘",
    Duration=5
})

Features & Information

Fly Gui, speed,Infinite jump,esp and more...

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts