My first script 1.0
Key RequiredUniversal

My first script 1.0

Universal ScriptImboImbo 322 views 62 executesUpdated Jan 15, 2026
5.0/ 5(1 votes)
10100% Positive
Lua Script•244 lines (7375 chars)
-- ANTI DUPLICATE
local player = game.Players.LocalPlayer
local pg = player:WaitForChild("PlayerGui")

if pg:FindFirstChild("ImboHub") then
	warn("ImboHub already loaded")
	return
end

local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local TweenService = game:GetService("TweenService")

-- ScreenGui
local gui = Instance.new("ScreenGui")
gui.Name = "ImboHub"
gui.ResetOnSpawn = false
gui.Parent = pg

-- TOGGLE BUTTON
local toggleButton = Instance.new("TextButton")
toggleButton.Parent = gui
toggleButton.Size = UDim2.new(0,120,0,50)
toggleButton.Position = UDim2.new(0,10,0.5,-25)
toggleButton.Text = "IMBO OFF"
toggleButton.Font = Enum.Font.GothamBlack
toggleButton.TextScaled = true
toggleButton.TextColor3 = Color3.new(1,1,1)
toggleButton.BackgroundColor3 = Color3.fromRGB(170,0,0)
toggleButton.BorderSizePixel = 0
Instance.new("UICorner", toggleButton).CornerRadius = UDim.new(0,20)

-- MAIN FRAME
local frame = Instance.new("Frame")
frame.Parent = gui
frame.Size = UDim2.new(0.85, 0, 0.5, 0)
frame.Position = UDim2.new(0.5, 0, 0.55, 0)
frame.AnchorPoint = Vector2.new(0.5, 0.5)
frame.BackgroundColor3 = Color3.fromRGB(20, 20, 20)
frame.BorderSizePixel = 0
frame.Visible = false
frame.BackgroundTransparency = 1
Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 20)

-- WATERMARK
local watermark = Instance.new("TextLabel")
watermark.Parent = frame
watermark.Size = UDim2.new(0.3, 0, 0.08, 0)
watermark.Position = UDim2.new(0.02, 0, 0.92, 0)
watermark.BackgroundTransparency = 1
watermark.Text = "by imbo"
watermark.TextColor3 = Color3.fromRGB(120,120,120)
watermark.Font = Enum.Font.Gotham
watermark.TextScaled = true
watermark.TextXAlignment = Enum.TextXAlignment.Left

-- VERSION
local versionLabel = Instance.new("TextLabel")
versionLabel.Parent = frame
versionLabel.Size = UDim2.new(0.3, 0, 0.08, 0)
versionLabel.Position = UDim2.new(0.98, 0, 0.92, 0)
versionLabel.AnchorPoint = Vector2.new(1, 0)
versionLabel.BackgroundTransparency = 1
versionLabel.Text = "v1.0"
versionLabel.TextColor3 = Color3.fromRGB(120,120,120)
versionLabel.Font = Enum.Font.Gotham
versionLabel.TextScaled = true
versionLabel.TextXAlignment = Enum.TextXAlignment.Right

-- TITLE
local title = Instance.new("TextLabel")
title.Parent = frame
title.Size = UDim2.new(1, 0, 0.16, 0)
title.BackgroundTransparency = 1
title.Text = "IMBO HUB"
title.TextColor3 = Color3.fromRGB(255, 60, 60)
title.Font = Enum.Font.GothamBlack
title.TextScaled = true

-- KILL BUTTON
local killButton = Instance.new("TextButton")
killButton.Parent = frame
killButton.Size = UDim2.new(0.85, 0, 0.18, 0)
killButton.Position = UDim2.new(0.5, 0, 0.32, 0)
killButton.AnchorPoint = Vector2.new(0.5, 0.5)
killButton.Text = "KILL"
killButton.Font = Enum.Font.GothamBlack
killButton.TextScaled = true
killButton.TextColor3 = Color3.new(1,1,1)
killButton.BackgroundColor3 = Color3.fromRGB(170,0,0)
killButton.BorderSizePixel = 0
Instance.new("UICorner", killButton).CornerRadius = UDim.new(0,25)

killButton.MouseButton1Click:Connect(function()
	local char = player.Character
	if char then
		local hum = char:FindFirstChildOfClass("Humanoid")
		if hum then hum.Health = 0 end
	end
end)

-- TP LIST BUTTON
local tpListButton = Instance.new("TextButton")
tpListButton.Parent = frame
tpListButton.Size = UDim2.new(0.85, 0, 0.18, 0)
tpListButton.Position = UDim2.new(0.5, 0, 0.55, 0)
tpListButton.AnchorPoint = Vector2.new(0.5, 0.5)
tpListButton.Text = "TP PLAYER LIST"
tpListButton.Font = Enum.Font.GothamBlack
tpListButton.TextScaled = true
tpListButton.TextColor3 = Color3.new(1,1,1)
tpListButton.BackgroundColor3 = Color3.fromRGB(60,60,160)
tpListButton.BorderSizePixel = 0
Instance.new("UICorner", tpListButton).CornerRadius = UDim.new(0,25)

-- PLAYER LIST FRAME
local listFrame = Instance.new("Frame")
listFrame.Parent = frame
listFrame.Size = UDim2.new(0.9, 0, 0.5, 0)
listFrame.Position = UDim2.new(0.5, 0, 1.05, 0)
listFrame.AnchorPoint = Vector2.new(0.5, 0)
listFrame.BackgroundColor3 = Color3.fromRGB(15,15,15)
listFrame.BorderSizePixel = 0
listFrame.Visible = false
Instance.new("UICorner", listFrame).CornerRadius = UDim.new(0,20)

local scroll = Instance.new("ScrollingFrame")
scroll.Parent = listFrame
scroll.Size = UDim2.new(1,-10,1,-10)
scroll.Position = UDim2.new(0,5,0,5)
scroll.AutomaticCanvasSize = Enum.AutomaticSize.Y
scroll.CanvasSize = UDim2.new(0,0,0,0)
scroll.ScrollBarImageTransparency = 0.3
scroll.BackgroundTransparency = 1
Instance.new("UIListLayout", scroll).Padding = UDim.new(0,10)

tpListButton.MouseButton1Click:Connect(function()
	listFrame.Visible = not listFrame.Visible
end)

local function refreshPlayers()
	for _, v in pairs(scroll:GetChildren()) do
		if v:IsA("TextButton") then v:Destroy() end
	end

	for _, plr in pairs(Players:GetPlayers()) do
		if plr ~= player then
			local btn = Instance.new("TextButton")
			btn.Parent = scroll
			btn.Size = UDim2.new(1,0,0,45)
			btn.Text = plr.Name
			btn.Font = Enum.Font.GothamBold
			btn.TextScaled = true
			btn.TextColor3 = Color3.new(1,1,1)
			btn.BackgroundColor3 = Color3.fromRGB(40,40,40)
			btn.BorderSizePixel = 0
			Instance.new("UICorner", btn).CornerRadius = UDim.new(0,15)

			btn.MouseButton1Click:Connect(function()
				if plr.Character and plr.Character:FindFirstChild("HumanoidRootPart") then
					local myChar = player.Character
					if myChar and myChar:FindFirstChild("HumanoidRootPart") then
						myChar.HumanoidRootPart.CFrame =
							plr.Character.HumanoidRootPart.CFrame * CFrame.new(0,0,-3)
					end
				end
			end)
		end
	end
end

tpListButton.MouseButton1Click:Connect(refreshPlayers)
Players.PlayerAdded:Connect(refreshPlayers)
Players.PlayerRemoving:Connect(refreshPlayers)

-- ANIMATION
local tweenInfo = TweenInfo.new(0.35, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)

local function openHub()
	frame.Visible = true
	TweenService:Create(frame, tweenInfo, {
		Position = UDim2.new(0.5, 0, 0.5, 0),
		BackgroundTransparency = 0
	}):Play()
end

local function closeHub()
	local tween = TweenService:Create(frame, tweenInfo, {
		Position = UDim2.new(0.5, 0, 0.55, 0),
		BackgroundTransparency = 1
	})
	tween:Play()
	tween.Completed:Wait()
	frame.Visible = false
end

-- TOGGLE LOGIC
local hubEnabled = false
toggleButton.MouseButton1Click:Connect(function()
	hubEnabled = not hubEnabled
	if hubEnabled then
		toggleButton.Text = "IMBO ON"
		toggleButton.BackgroundColor3 = Color3.fromRGB(0,170,0)
		openHub()
	else
		toggleButton.Text = "IMBO OFF"
		toggleButton.BackgroundColor3 = Color3.fromRGB(170,0,0)
		closeHub()
	end
end)

-- DRAG
local dragging = false
local dragStart, startPos

title.InputBegan:Connect(function(input)
	if input.UserInputType == Enum.UserInputType.Touch
	or input.UserInputType == Enum.UserInputType.MouseButton1 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)

UserInputService.InputChanged:Connect(function(input)
	if dragging and (
		input.UserInputType == Enum.UserInputType.Touch
		or input.UserInputType == Enum.UserInputType.MouseMovement
	) then
		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
end)

Features & Information

Я не знаю может быть он кому и пригодится I don't know, maybe it will be useful to someone.

Community Comments (1)

Not op, but can be useful in games where u need to play with your friend but you s*ed far away from your friend

More Scripts for Universal Scripts