Pokihub
Key RequiredUniversal

Pokihub

Universal ScriptPokipouPokipou 405 views 2K executesUpdated Sep 1, 2026
0.0/ 5(1 votes)
010% Positive
Lua Script•421 lines (12739 chars)
-- =============================================
--   POKIHUB v2.0 - DELTA EXECUTOR EDITION
-- =============================================
-- Script pour scriptblox.com | Black & Yellow Theme
-- Universal Script avec FPS POV Camera

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local RunService = game:GetService("RunService")
local Camera = workspace.CurrentCamera

local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
local humanoid = character:WaitForChild("Humanoid")
local rootPart = character:WaitForChild("HumanoidRootPart")

-- =============================================
-- VARIABLES GLOBALES
-- =============================================
local scripts = {
    fly = false,
    noclip = false,
    fling = false,
    touchFling = false,
    morph = false,
    povCamera = false,
    showFps = false,
    followPlayer = false
}

local config = {
    flySpeed = 50,
    flingPower = 50,
    cameraOffsetY = 1.5,
    cameraOffsetZ = 0.5,
    cameraBob = 0.1,
    cameraFOV = 80
}

local cameraTime = 0
local flying = false
local velocity = Instance.new("BodyVelocity")
local selectedTarget = nil

-- =============================================
-- CREATE GUI POKIHUB
-- =============================================
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "PokiHub"
screenGui.ResetOnSpawn = false
screenGui.Parent = player:WaitForChild("PlayerGui")

local mainFrame = Instance.new("Frame")
mainFrame.Name = "MainFrame"
mainFrame.Size = UDim2.new(0, 320, 0, 450)
mainFrame.Position = UDim2.new(0, 20, 0, 20)
mainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
mainFrame.BorderSizePixel = 2
mainFrame.BorderColor3 = Color3.fromRGB(255, 215, 0)
mainFrame.Parent = screenGui

-- Title Bar
local titleBar = Instance.new("Frame")
titleBar.Name = "TitleBar"
titleBar.Size = UDim2.new(1, 0, 0, 45)
titleBar.BackgroundColor3 = Color3.fromRGB(255, 215, 0)
titleBar.BorderSizePixel = 0
titleBar.Parent = mainFrame

local titleText = Instance.new("TextLabel")
titleText.Name = "Title"
titleText.Size = UDim2.new(1, 0, 1, 0)
titleText.BackgroundTransparency = 1
titleText.Text = "⭐ POKIHUB ⭐"
titleText.TextColor3 = Color3.fromRGB(20, 20, 20)
titleText.TextSize = 20
titleText.Font = Enum.Font.GothamBold
titleText.Parent = titleBar

-- ScrollingFrame
local scrollFrame = Instance.new("ScrollingFrame")
scrollFrame.Name = "ScrollFrame"
scrollFrame.Size = UDim2.new(1, 0, 1, -55)
scrollFrame.Position = UDim2.new(0, 0, 0, 45)
scrollFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
scrollFrame.BorderSizePixel = 0
scrollFrame.CanvasSize = UDim2.new(0, 0, 0, 700)
scrollFrame.ScrollBarThickness = 8
scrollFrame.ScrollBarImageColor3 = Color3.fromRGB(255, 215, 0)
scrollFrame.Parent = mainFrame

-- =============================================
-- FUNCTION: Create Button
-- =============================================
local function createButton(name, position, callback)
    local button = Instance.new("TextButton")
    button.Name = name
    button.Size = UDim2.new(1, -10, 0, 45)
    button.Position = UDim2.new(0, 5, 0, position)
    button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    button.BorderColor3 = Color3.fromRGB(255, 215, 0)
    button.BorderSizePixel = 2
    button.Text = name
    button.TextColor3 = Color3.fromRGB(255, 215, 0)
    button.Font = Enum.Font.Gotham
    button.TextSize = 13
    button.Parent = scrollFrame
    
    button.MouseButton1Click:Connect(callback)
    
    -- Hover effect
    button.MouseEnter:Connect(function()
        button.BackgroundColor3 = Color3.fromRGB(60, 60, 60)
    end)
    button.MouseLeave:Connect(function()
        button.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
    end)
    
    return button
end

-- =============================================
-- BUTTONS
-- =============================================

-- FLY
createButton("🛸 FLY", 5, function()
    scripts.fly = not scripts.fly
    if scripts.fly then
        if not flying then startFly() end
        print("✈️ FLY ON")
    else
        if flying then stopFly() end
        print("❌ FLY OFF")
    end
end)

-- NOCLIP
createButton("👻 NOCLIP", 55, function()
    scripts.noclip = not scripts.noclip
    if scripts.noclip then
        print("👻 NOCLIP ON")
    else
        print("❌ NOCLIP OFF")
    end
end)

-- FLING
createButton("💥 FLING", 105, function()
    scripts.fling = not scripts.fling
    if scripts.fling then
        print("💥 FLING ON")
    else
        print("❌ FLING OFF")
    end
end)

-- TOUCH FLING
createButton("🔥 TOUCH FLING", 155, function()
    scripts.touchFling = not scripts.touchFling
    if scripts.touchFling then
        print("🔥 TOUCH FLING ON")
    else
        print("❌ TOUCH FLING OFF")
    end
end)

-- TELEPORT TO PLAYER
createButton("📍 TP TO PLAYER", 205, function()
    local otherPlayers = {}
    for _, p in pairs(Players:GetPlayers()) do
        if p ~= player and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then
            table.insert(otherPlayers, p)
        end
    end
    
    if #otherPlayers > 0 then
        local target = otherPlayers[math.random(1, #otherPlayers)]
        rootPart.CFrame = target.Character.HumanoidRootPart.CFrame + Vector3.new(0, 3, 0)
        print("✅ TP à " .. target.Name)
    else
        print("❌ Aucun joueur!")
    end
end)

-- FOLLOW PLAYER
createButton("👁️ FOLLOW PLAYER", 255, function()
    scripts.followPlayer = not scripts.followPlayer
    if scripts.followPlayer then
        local otherPlayers = {}
        for _, p in pairs(Players:GetPlayers()) do
            if p ~= player and p.Character then
                table.insert(otherPlayers, p)
            end
        end
        if #otherPlayers > 0 then
            selectedTarget = otherPlayers[math.random(1, #otherPlayers)]
            print("👁️ Suivi de " .. selectedTarget.Name)
        end
    else
        selectedTarget = nil
        print("❌ SUIVI ARRÊTÉ")
    end
end)

-- POV CAMERA
createButton("📷 POV CAMERA", 305, function()
    scripts.povCamera = not scripts.povCamera
    if scripts.povCamera then
        print("📷 POV CAMERA ON")
        cameraTime = 0
    else
        print("❌ POV CAMERA OFF")
        Camera.FieldOfView = 70
    end
end)

-- MORPH
createButton("🎭 MORPH", 355, function()
    scripts.morph = not scripts.morph
    if scripts.morph then
        print("🎭 MORPH ON")
    else
        print("❌ MORPH OFF")
    end
end)

-- SHOW FPS
createButton("📊 SHOW FPS", 405, function()
    scripts.showFps = not scripts.showFps
end)

-- =============================================
-- FPS COUNTER
-- =============================================
local fpsLabel = Instance.new("TextLabel")
fpsLabel.Name = "FPS"
fpsLabel.Size = UDim2.new(0, 120, 0, 35)
fpsLabel.Position = UDim2.new(1, -130, 0, 10)
fpsLabel.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
fpsLabel.BorderColor3 = Color3.fromRGB(255, 215, 0)
fpsLabel.BorderSizePixel = 2
fpsLabel.TextColor3 = Color3.fromRGB(255, 215, 0)
fpsLabel.Font = Enum.Font.GothamBold
fpsLabel.TextSize = 16
fpsLabel.Parent = screenGui
fpsLabel.Visible = false

-- =============================================
-- FLYING SYSTEM
-- =============================================
local function startFly()
    if flying then return end
    flying = true
    
    velocity.Velocity = Vector3.new(0, 0, 0)
    velocity.MaxForce = Vector3.new(9e9, 9e9, 9e9)
    velocity.Parent = rootPart
    print("✈️ Fly Started")
end

local function stopFly()
    if not flying then return end
    flying = false
    if velocity and velocity.Parent then
        velocity:Destroy()
        velocity = Instance.new("BodyVelocity")
    end
    print("❌ Fly Stopped")
end

-- =============================================
-- NOCLIP SYSTEM
-- =============================================
local function applyNoclip(state)
    if not character then return end
    for _, part in pairs(character:GetDescendants()) do
        if part:IsA("BasePart") then
            part.CanCollide = not state
        end
    end
end

-- =============================================
-- MAIN LOOP
-- =============================================
RunService.RenderStepped:Connect(function()
    if not character or not character.Parent then return end
    
    -- ===== FLY =====
    if scripts.fly and flying then
        local moveDir = Vector3.new(0, 0, 0)
        
        if UserInputService:IsKeyDown(Enum.KeyCode.W) then
            moveDir = moveDir + (Camera.CFrame.LookVector * Vector3.new(1, 0, 1)).Unit
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.S) then
            moveDir = moveDir - (Camera.CFrame.LookVector * Vector3.new(1, 0, 1)).Unit
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.A) then
            moveDir = moveDir - Camera.CFrame.RightVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.D) then
            moveDir = moveDir + Camera.CFrame.RightVector
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.Space) then
            moveDir = moveDir + Vector3.new(0, 1, 0)
        end
        if UserInputService:IsKeyDown(Enum.KeyCode.LeftControl) then
            moveDir = moveDir - Vector3.new(0, 1, 0)
        end
        
        if moveDir.Magnitude > 0 then
            velocity.Velocity = moveDir.Unit * config.flySpeed
        end
    elseif scripts.fly and not flying then
        startFly()
    end
    
    -- ===== NOCLIP =====
    if scripts.noclip then
        applyNoclip(true)
    else
        applyNoclip(false)
    end
    
    -- ===== POV CAMERA =====
    if scripts.povCamera then
        local head = character:FindFirstChild("Head")
        if head then
            cameraTime = cameraTime + 0.016
            
            local moveSpeed = humanoid.MoveVector.Magnitude
            local bob = 0
            if moveSpeed > 0 then
                bob = math.sin(cameraTime * 5) * config.cameraBob * moveSpeed
            end
            
            local headCFrame = head.CFrame
            local cameraOffset = CFrame.new(0, config.cameraOffsetY + bob, config.cameraOffsetZ)
            
            Camera.CFrame = headCFrame * cameraOffset
            Camera.FieldOfView = config.cameraFOV
        end
    end
    
    -- ===== FOLLOW PLAYER =====
    if scripts.followPlayer and selectedTarget and selectedTarget.Character then
        local targetRoot = selectedTarget.Character:FindFirstChild("HumanoidRootPart")
        if targetRoot then
            rootPart.CFrame = targetRoot.CFrame + Vector3.new(0, 0, -5)
        end
    end
    
    -- ===== FLING =====
    if scripts.fling then
        local mouseTarget = player:GetMouse().Target
        if mouseTarget and mouseTarget.Parent then
            local targetChar = Players:FindFirstChild(mouseTarget.Parent.Name)
            if targetChar and targetChar.Character then
                local targetRoot = targetChar.Character:FindFirstChild("HumanoidRootPart")
                if targetRoot then
                    targetRoot.AssemblyLinearVelocity = (rootPart.Position - targetRoot.Position).Unit * config.flingPower
                end
            end
        end
    end
    
    -- ===== SHOW FPS =====
    if scripts.showFps then
        local fps = math.round(1 / RunService.RenderStepped:Wait())
        fpsLabel.Text = "🟨 FPS: " .. fps
        fpsLabel.Visible = true
    else
        fpsLabel.Visible = false
    end
end)

-- =============================================
-- KEYBOARD SHORTCUTS
-- =============================================
UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    
    if input.KeyCode == Enum.KeyCode.F then
        scripts.fly = not scripts.fly
        if scripts.fly then startFly() else stopFly() end
    end
    
    if input.KeyCode == Enum.KeyCode.G then
        scripts.povCamera = not scripts.povCamera
    end
end)

-- =============================================
-- CHARACTER RESPAWN
-- =============================================
player.CharacterAdded:Connect(function(newCharacter)
    character = newCharacter
    humanoid = character:WaitForChild("Humanoid")
    rootPart = character:WaitForChild("HumanoidRootPart")
    
    scripts.fly = false
    scripts.noclip = false
    scripts.povCamera = false
    scripts.followPlayer = false
    
    if flying then stopFly() end
end)

-- =============================================
-- CLEANUP
-- =============================================
game:GetService("RunService").Heartbeat:Connect(function()
    if not scripts.fly and flying then
        stopFly()
    end
end)

print("✅ POKIHUB v2.0 LOADED!")
print("F = FLY | G = POV CAMERA | Enjoy!")

Features & Information

This script made by @im_pokipou on tiktok and youtube enjoye this hub
#Script hub

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts