Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local LocalPlayer = Players.LocalPlayer
- local PlayerGui = LocalPlayer:WaitForChild("PlayerGui")
- local TweenService = game:GetService("TweenService")
- local RunService = game:GetService("RunService")
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "ScriptHubGUI"
- ScreenGui.ResetOnSpawn = false
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- ScreenGui.Parent = PlayerGui
- local Background = Instance.new("Frame")
- Background.Name = "Background"
- Background.Size = UDim2.new(1, 0, 1, 0)
- Background.BackgroundColor3 = Color3.new(0, 0, 0)
- Background.BackgroundTransparency = 1
- Background.ZIndex = 0
- Background.Parent = ScreenGui
- local MainFrame = Instance.new("Frame")
- MainFrame.Name = "MainFrame"
- MainFrame.Size = UDim2.new(0, 500, 0, 400)
- MainFrame.Position = UDim2.new(0.5, 0, 0.5, 0)
- MainFrame.AnchorPoint = Vector2.new(0.5, 0.5)
- MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 30)
- MainFrame.BorderSizePixel = 0
- MainFrame.Active = true
- MainFrame.Draggable = true
- MainFrame.Selectable = true
- MainFrame.Visible = false
- MainFrame.Parent = ScreenGui
- local UICorner = Instance.new("UICorner")
- UICorner.CornerRadius = UDim.new(0, 12)
- UICorner.Parent = MainFrame
- local UIStroke = Instance.new("UIStroke")
- UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- UIStroke.Color = Color3.fromRGB(100, 50, 150)
- UIStroke.LineJoinMode = Enum.LineJoinMode.Round
- UIStroke.Thickness = 2
- UIStroke.Transparency = 1
- UIStroke.Parent = MainFrame
- local Header = Instance.new("Frame")
- Header.Name = "Header"
- Header.Size = UDim2.new(1, 0, 0, 40)
- Header.Position = UDim2.new(0, 0, 0, 0)
- Header.BackgroundColor3 = Color3.fromRGB(30, 20, 40)
- Header.BorderSizePixel = 0
- Header.Parent = MainFrame
- local UICornerHeader = UICorner:Clone()
- UICornerHeader.CornerRadius = UDim.new(0, 12)
- UICornerHeader.Parent = Header
- local Title = Instance.new("TextLabel")
- Title.Name = "Title"
- Title.Size = UDim2.new(0, 200, 1, 0)
- Title.Position = UDim2.new(0.5, -100, 0, 0)
- Title.BackgroundTransparency = 1
- Title.Text = "1qlua Script Hub"
- Title.Font = Enum.Font.GothamBold
- Title.TextColor3 = Color3.fromRGB(200, 180, 255)
- Title.TextSize = 18
- Title.TextTransparency = 1
- Title.Parent = Header
- local CloseButton = Instance.new("TextButton")
- CloseButton.Name = "CloseButton"
- CloseButton.Size = UDim2.new(0, 30, 0, 30)
- CloseButton.Position = UDim2.new(1, -35, 0.5, -15)
- CloseButton.BackgroundColor3 = Color3.fromRGB(50, 30, 60)
- CloseButton.BorderSizePixel = 0
- CloseButton.Text = "X"
- CloseButton.Font = Enum.Font.GothamBold
- CloseButton.TextColor3 = Color3.fromRGB(200, 180, 255)
- CloseButton.TextSize = 16
- CloseButton.TextTransparency = 1
- CloseButton.Parent = Header
- local UICornerClose = UICorner:Clone()
- UICornerClose.Parent = CloseButton
- CloseButton.MouseButton1Click:Connect(function()
- TweenService:Create(MainFrame, TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
- Size = UDim2.new(0, 0, 0, 0)
- }):Play()
- TweenService:Create(Background, TweenInfo.new(0.3), {
- BackgroundTransparency = 1
- }):Play()
- wait(0.3)
- ScreenGui:Destroy()
- end)
- local TopPanel = Instance.new("Frame")
- TopPanel.Name = "TopPanel"
- TopPanel.Size = UDim2.new(1, -20, 0, 40)
- TopPanel.Position = UDim2.new(0, 10, 0, 50)
- TopPanel.BackgroundColor3 = Color3.fromRGB(30, 25, 40)
- TopPanel.BorderSizePixel = 0
- TopPanel.BackgroundTransparency = 1
- TopPanel.Parent = MainFrame
- local UICornerTop = UICorner:Clone()
- UICornerTop.Parent = TopPanel
- local SearchBox = Instance.new("TextBox")
- SearchBox.Name = "SearchBox"
- SearchBox.Size = UDim2.new(0.7, -10, 0, 30)
- SearchBox.Position = UDim2.new(0, 10, 0.5, -15)
- SearchBox.BackgroundColor3 = Color3.fromRGB(40, 35, 60)
- SearchBox.BorderSizePixel = 0
- SearchBox.Text = ""
- SearchBox.PlaceholderText = "Поиск скриптов..."
- SearchBox.Font = Enum.Font.Gotham
- SearchBox.TextColor3 = Color3.fromRGB(200, 180, 255)
- SearchBox.TextSize = 14
- SearchBox.TextTransparency = 1
- SearchBox.Parent = TopPanel
- local UICornerSearch = UICorner:Clone()
- UICornerSearch.Parent = SearchBox
- local ProfileButton = Instance.new("ImageButton")
- ProfileButton.Name = "ProfileButton"
- ProfileButton.Size = UDim2.new(0, 30, 0, 30)
- ProfileButton.Position = UDim2.new(1, -40, 0.5, -15)
- ProfileButton.BackgroundColor3 = Color3.fromRGB(60, 40, 80)
- ProfileButton.Image = "rbxassetid://7733960981"
- ProfileButton.ImageRectOffset = Vector2.new(124, 364)
- ProfileButton.ImageRectSize = Vector2.new(36, 36)
- ProfileButton.ImageTransparency = 1
- ProfileButton.Parent = TopPanel
- local UICornerProfile = UICorner:Clone()
- UICornerProfile.Parent = ProfileButton
- ProfileButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet("https://pastebin.com/raw/nGzCXHHN"))()
- end)
- local PostsContainer = Instance.new("ScrollingFrame")
- PostsContainer.Name = "PostsContainer"
- PostsContainer.Size = UDim2.new(1, -20, 1, -100)
- PostsContainer.Position = UDim2.new(0, 10, 0, 100)
- PostsContainer.BackgroundTransparency = 1
- PostsContainer.BorderSizePixel = 0
- PostsContainer.ScrollBarThickness = 5
- PostsContainer.ScrollBarImageColor3 = Color3.fromRGB(100, 50, 150)
- PostsContainer.AutomaticCanvasSize = Enum.AutomaticSize.Y
- PostsContainer.ScrollBarImageTransparency = 1
- PostsContainer.Parent = MainFrame
- local PostsLayout = Instance.new("UIListLayout")
- PostsLayout.Padding = UDim.new(0, 10)
- PostsLayout.Parent = PostsContainer
- local function CreatePost(postData)
- local PostFrame = Instance.new("Frame")
- PostFrame.Name = "PostFrame"
- PostFrame.Size = UDim2.new(1, 0, 0, 120)
- PostFrame.BackgroundColor3 = Color3.fromRGB(40, 35, 60)
- PostFrame.BorderSizePixel = 0
- PostFrame.BackgroundTransparency = 1
- PostFrame.Parent = PostsContainer
- local UICornerPost = UICorner:Clone()
- UICornerPost.Parent = PostFrame
- local UIStrokePost = UIStroke:Clone()
- UIStrokePost.Transparency = 1
- UIStrokePost.Parent = PostFrame
- local TitleLabel = Instance.new("TextLabel")
- TitleLabel.Name = "TitleLabel"
- TitleLabel.Size = UDim2.new(1, -20, 0, 30)
- TitleLabel.Position = UDim2.new(0, 10, 0, 5)
- TitleLabel.BackgroundTransparency = 1
- TitleLabel.Text = postData.name or "Без названия"
- TitleLabel.Font = Enum.Font.GothamBold
- TitleLabel.TextColor3 = Color3.fromRGB(180, 120, 255)
- TitleLabel.TextSize = 16
- TitleLabel.TextXAlignment = Enum.TextXAlignment.Left
- TitleLabel.TextTransparency = 1
- TitleLabel.Parent = PostFrame
- local DescLabel = Instance.new("TextLabel")
- DescLabel.Name = "DescLabel"
- DescLabel.Size = UDim2.new(1, -20, 0, 50)
- DescLabel.Position = UDim2.new(0, 10, 0, 35)
- DescLabel.BackgroundTransparency = 1
- DescLabel.Text = postData.descript or "Нет описания"
- DescLabel.Font = Enum.Font.Gotham
- DescLabel.TextColor3 = Color3.fromRGB(200, 180, 255)
- DescLabel.TextSize = 14
- DescLabel.TextWrapped = true
- DescLabel.TextXAlignment = Enum.TextXAlignment.Left
- DescLabel.TextYAlignment = Enum.TextYAlignment.Top
- DescLabel.TextTransparency = 1
- DescLabel.Parent = PostFrame
- local AuthorButton = Instance.new("TextButton")
- AuthorButton.Name = "AuthorButton"
- AuthorButton.Size = UDim2.new(0, 100, 0, 25)
- AuthorButton.Position = UDim2.new(0, 10, 1, -30)
- AuthorButton.BackgroundColor3 = Color3.fromRGB(60, 40, 80)
- AuthorButton.BorderSizePixel = 0
- AuthorButton.Text = "by "..(postData.nik or "Аноним")
- AuthorButton.Font = Enum.Font.Gotham
- AuthorButton.TextColor3 = Color3.fromRGB(150, 100, 200)
- AuthorButton.TextSize = 14
- AuthorButton.TextTransparency = 1
- AuthorButton.BackgroundTransparency = 1
- AuthorButton.Parent = PostFrame
- local UICornerAuthor = UICorner:Clone()
- UICornerAuthor.Parent = AuthorButton
- AuthorButton.MouseButton1Click:Connect(function()
- loadstring(postData.nikScript or "print('Скрипт автора не указан')")()
- end)
- local ScriptButton = Instance.new("TextButton")
- ScriptButton.Name = "ScriptButton"
- ScriptButton.Size = UDim2.new(0, 120, 0, 30)
- ScriptButton.Position = UDim2.new(1, -130, 1, -35)
- ScriptButton.BackgroundColor3 = Color3.fromRGB(80, 50, 120)
- ScriptButton.BorderSizePixel = 0
- ScriptButton.Text = "Запустить скрипт"
- ScriptButton.Font = Enum.Font.GothamBold
- ScriptButton.TextColor3 = Color3.fromRGB(200, 180, 255)
- ScriptButton.TextSize = 14
- ScriptButton.TextTransparency = 1
- ScriptButton.BackgroundTransparency = 1
- ScriptButton.Parent = PostFrame
- local UICornerScript = UICorner:Clone()
- UICornerScript.Parent = ScriptButton
- ScriptButton.MouseButton1Click:Connect(function()
- loadstring(postData.script or "print('Скрипт не указан')")()
- end)
- PostFrame.MouseEnter:Connect(function()
- TweenService:Create(PostFrame, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(50, 45, 80)
- }):Play()
- end)
- PostFrame.MouseLeave:Connect(function()
- TweenService:Create(PostFrame, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(40, 35, 60)
- }):Play()
- end)
- ScriptButton.MouseEnter:Connect(function()
- TweenService:Create(ScriptButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(100, 70, 150),
- Size = UDim2.new(0, 125, 0, 32)
- }):Play()
- end)
- ScriptButton.MouseLeave:Connect(function()
- TweenService:Create(ScriptButton, TweenInfo.new(0.2), {
- BackgroundColor3 = Color3.fromRGB(80, 50, 120),
- Size = UDim2.new(0, 120, 0, 30)
- }):Play()
- end)
- coroutine.wrap(function()
- wait(0.7 + (#PostsContainer:GetChildren() * 0.1))
- TweenService:Create(PostFrame, TweenInfo.new(0.3), {
- BackgroundTransparency = 0
- }):Play()
- TweenService:Create(UIStrokePost, TweenInfo.new(0.3), {
- Transparency = 0
- }):Play()
- TweenService:Create(TitleLabel, TweenInfo.new(0.3), {
- TextTransparency = 0
- }):Play()
- TweenService:Create(DescLabel, TweenInfo.new(0.3), {
- TextTransparency = 0
- }):Play()
- TweenService:Create(AuthorButton, TweenInfo.new(0.3), {
- BackgroundTransparency = 0,
- TextTransparency = 0
- }):Play()
- TweenService:Create(ScriptButton, TweenInfo.new(0.3), {
- BackgroundTransparency = 0,
- TextTransparency = 0
- }):Play()
- end)()
- end
- function AddPost(postData)
- CreatePost({
- name = postData.name,
- descript = postData.descript,
- nik = postData.nik,
- nikScript = postData.nikScript,
- script = postData.script
- })
- end
- AddPost({
- name = "1qlua scirpt",
- descript = "good script for 1qlua",
- nik = "1qlua",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/0tfGXa24'))()",
- script = "loadstring(game:HttpGet('https://pastebin.com/raw/ge7u6LST'))()"
- })
- AddPost({
- name = "1qlua script ОБХОД ",
- descript = "Если не запускается скрипт",
- nik = "1qlua",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/0tfGXa24'))()",
- script = "loadstring(game:HttpGet('https://pastebin.com/raw/NuG0XUjP'))()"
- })
- AddPost({
- name = "Zero Hub",
- descript = "Zero Hub",
- nik = "SanderDev",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/7grGmNdV'))()",
- script = "loadstring(game:HttpGet('https://raw.githubusercontent.com/dnezero/zerohub/refs/heads/main/main.lua'))()"
- })
- AddPost({
- name = "Kron Hub",
- descript = "Lumber Tycoon 2",
- nik = "KronDev",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/7grGmNdV'))()",
- script = "loadstring(game:HttpGet('https://raw.githubusercontent.com/DevKron/Kron_Hub/refs/heads/main/version_1.0'))"
- })
- AddPost({
- name = "YARHM",
- descript = "Universal Script - Murder Mystery 2 — Flee The Facility — Forsaken",
- nik = "Imperial",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/7grGmNdV'))()",
- script = "loadstring(game:HttpGet('https://raw.githubusercontent.com/Joystickplays/psychic-octo-invention/main/yarhm.lua', false))()"
- })
- AddPost({
- name = "Создать свой скрипт",
- descript = "Скрипт для создания скриптов)",
- nik = "1qlua",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/0tfGXa24'))()",
- script = "loadstring(game:HttpGet('https://pastebin.com/raw/AmmTSAtc'))()"
- })
- AddPost({
- name = "Админ команды от 1qlua",
- descript = "напиши что хочешь)",
- nik = "1qlua",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/0tfGXa24'))()",
- script = "loadstring(game:HttpGet('https://pastebin.com/raw/t3chuwNu'))()"
- })
- AddPost({
- name = "Играть с писюном",
- descript = "Играть не вредно",
- nik = "poedatel_SALAV228",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/1xXTBf1S'))()",
- script = "loadstring(game:HttpGet('https://pastebin.com/raw/73RsNXY2'))()"
- })
- AddPost({
- name = "Построй корабль и найди сокровише",
- descript = "Описания отсутствует",
- nik = "IsKaFEn",
- nikScript = "loadstring(game:HttpGet('https://pastebin.com/raw/7grGmNdV'))()",
- script = "loadstring(game:HttpGet('https://pastefy.app/wa3v2Vgm/raw'))()"
- })
- coroutine.wrap(function()
- TweenService:Create(Background, TweenInfo.new(0.5), {
- BackgroundTransparency = 0.7
- }):Play()
- MainFrame.Visible = true
- local scaleTween = TweenService:Create(MainFrame, TweenInfo.new(0.7, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
- Size = UDim2.new(0, 500, 0, 400)
- })
- scaleTween:Play()
- wait(0.3)
- TweenService:Create(UIStroke, TweenInfo.new(0.5), {
- Transparency = 0
- }):Play()
- TweenService:Create(Title, TweenInfo.new(0.3), {
- TextTransparency = 0
- }):Play()
- TweenService:Create(CloseButton, TweenInfo.new(0.3), {
- TextTransparency = 0
- }):Play()
- TweenService:Create(TopPanel, TweenInfo.new(0.3), {
- BackgroundTransparency = 0
- }):Play()
- wait(0.1)
- TweenService:Create(SearchBox, TweenInfo.new(0.3), {
- TextTransparency = 0,
- BackgroundTransparency = 0
- }):Play()
- TweenService:Create(ProfileButton, TweenInfo.new(0.3), {
- ImageTransparency = 0
- }):Play()
- TweenService:Create(PostsContainer, TweenInfo.new(0.3), {
- ScrollBarImageTransparency = 0
- }):Play()
- end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement