CoolguyHub V1 rework
Key RequiredUniversal

CoolguyHub V1 rework

Universal ScriptIdkYayayayaIdkYayayaya 20.7K views 3.3K executesUpdated Sep 7, 2025
Unrated
00
Lua Script•168 lines (5136 chars)
--// CoolGuyHub (c00lgui style)

-- ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "CoolGuyHub"
gui.Parent = game:GetService("CoreGui")

-- Main Frame
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 350, 0, 300)
frame.Position = UDim2.new(0.3, 0, 0.3, 0)
frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
frame.BorderColor3 = Color3.fromRGB(255, 0, 0)
frame.BorderSizePixel = 2
frame.Active = true
frame.Draggable = false
frame.Parent = gui

-- Title Bar
local title = Instance.new("TextLabel")
title.Text = "CoolGuyHub"
title.Size = UDim2.new(1, 0, 0, 30)
title.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
title.BorderColor3 = Color3.fromRGB(255, 0, 0)
title.TextColor3 = Color3.fromRGB(255, 255, 255)
title.Font = Enum.Font.SourceSansBold
title.TextSize = 20
title.TextXAlignment = Enum.TextXAlignment.Center
title.Parent = frame

-- Close Button
local closeBtn = Instance.new("TextButton")
closeBtn.Text = "Close"
closeBtn.Size = UDim2.new(1, 0, 0, 25)
closeBtn.Position = UDim2.new(0, 0, 1, -25)
closeBtn.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
closeBtn.BorderColor3 = Color3.fromRGB(255, 0, 0)
closeBtn.TextColor3 = Color3.fromRGB(255, 255, 255)
closeBtn.Font = Enum.Font.SourceSansBold
closeBtn.TextSize = 18
closeBtn.Parent = frame

closeBtn.MouseButton1Click:Connect(function()
    gui:Destroy()
end)

-- Version Label
local version = Instance.new("TextLabel")
version.Text = "VERSION 1"
version.Size = UDim2.new(1, -10, 0, 20)
version.Position = UDim2.new(0, 0, 1, -50)
version.BackgroundTransparency = 1
version.TextColor3 = Color3.fromRGB(255, 255, 255)
version.Font = Enum.Font.SourceSans
version.TextSize = 14
version.TextXAlignment = Enum.TextXAlignment.Right
version.Parent = frame

--// Draggable (PC + Mobile)
local UIS = game:GetService("UserInputService")
local dragging = false
local dragStart, startPos

local function update(input)
	local delta = input.Position - dragStart
	frame.Position = UDim2.new(
		startPos.X.Scale, startPos.X.Offset + delta.X,
		startPos.Y.Scale, startPos.Y.Offset + delta.Y
	)
end

title.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseButton1 
	or input.UserInputType == Enum.UserInputType.Touch then
		dragging = true
		dragStart = input.Position
		startPos = frame.Position

		input.Changed:Connect(function()
			if input.UserInputState == Enum.UserInputState.End then
				dragging = false
			end
		end)
	end
end)

title.InputChanged:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.MouseMovement 
	or input.UserInputType == Enum.UserInputType.Touch then
		if dragging then
			update(input)
		end
	end
end)

UIS.InputChanged:Connect(function(input)
	if dragging and (input.UserInputType == Enum.UserInputType.MouseMovement 
	or input.UserInputType == Enum.UserInputType.Touch) then
		update(input)
	end
end)

-- Helper: Button Maker (c00lgui style)
local function makeButton(name, text, order)
    local button = Instance.new("TextButton")
    button.Name = name
    button.Text = text
    button.Size = UDim2.new(0.5, -15, 0, 40)
    button.Position = UDim2.new(0, 10 + ((order % 2) * 170), 0, 40 + (math.floor(order / 2) * 45))
    button.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
    button.BorderColor3 = Color3.fromRGB(255, 0, 0)
    button.TextColor3 = Color3.fromRGB(255, 255, 255)
    button.Font = Enum.Font.SourceSansBold
    button.TextSize = 16
    button.Parent = frame
    return button
end

-- Buttons
local flyBtn = makeButton("Fly", "Fly", 0)
local espBtn = makeButton("ESP", "ESP", 1)
local sitBtn = makeButton("Sit", "Sit", 2)

--// Fly (external loader)
flyBtn.MouseButton1Click:Connect(function()
    loadstring(game:HttpGet("https://raw.githubusercontent.com/XNEOFF/FlyGuiV3/main/FlyGuiV3.txt"))()
end)

--// ESP
local player = game.Players.LocalPlayer
local espEnabled = false

espBtn.MouseButton1Click:Connect(function()
    espEnabled = not espEnabled
    if espEnabled then
        for _,plr in pairs(game.Players:GetPlayers()) do
            if plr ~= player and plr.Character and plr.Character:FindFirstChild("Head") then
                local highlight = Instance.new("Highlight")
                highlight.FillTransparency = 1
                highlight.OutlineColor = Color3.fromRGB(0, 255, 0)
                highlight.Parent = plr.Character
            end
        end
        game.Players.PlayerAdded:Connect(function(plr)
            plr.CharacterAdded:Connect(function(char)
                local highlight = Instance.new("Highlight")
                highlight.FillTransparency = 1
                highlight.OutlineColor = Color3.fromRGB(0, 255, 0)
                highlight.Parent = char
            end)
        end)
    else
        for _,plr in pairs(game.Players:GetPlayers()) do
            if plr.Character then
                local h = plr.Character:FindFirstChildOfClass("Highlight")
                if h then h:Destroy() end
            end
        end
    end
end)

--// Sit
sitBtn.MouseButton1Click:Connect(function()
    local char = player.Character
    if char and char:FindFirstChild("Humanoid") then
        char.Humanoid.Sit = true
    end
end)

Features & Information

[Nothing much, just a rework of the hub to a cool gui style, V2 TOMMOROW]
#coolkid#hub#delta#coolguy#script

Community Comments (2)

IdkYayayayaIdkYayayayaSep 8, 2025

Ive finished v2, its on test right Now!

IdkYayayayaIdkYayayayaJan 28, 2026

@dinamiksan700 ts is abandoned dud-

More Scripts for Universal Scripts