Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Создаем красивый GUI
- local ScreenGui = Instance.new("ScreenGui")
- ScreenGui.Name = "PremiumGUI"
- ScreenGui.Parent = game.CoreGui
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- -- Уведомление о создании
- local Notification = Instance.new("Frame")
- local NotifCorner = Instance.new("UICorner")
- local NotifStroke = Instance.new("UIStroke")
- local NotifTitle = Instance.new("TextLabel")
- local NotifText = Instance.new("TextLabel")
- Notification.Parent = ScreenGui
- Notification.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
- Notification.Size = UDim2.new(0, 250, 0, 80)
- Notification.Position = UDim2.new(1, -260, 1, -90)
- Notification.AnchorPoint = Vector2.new(0, 1)
- NotifCorner.CornerRadius = UDim.new(0, 8)
- NotifCorner.Parent = Notification
- NotifStroke.Color = Color3.fromRGB(80, 80, 100)
- NotifStroke.Thickness = 2
- NotifStroke.Parent = Notification
- NotifTitle.Parent = Notification
- NotifTitle.BackgroundTransparency = 1
- NotifTitle.Size = UDim2.new(1, -10, 0, 20)
- NotifTitle.Position = UDim2.new(0, 10, 0, 10)
- NotifTitle.Font = Enum.Font.GothamBold
- NotifTitle.Text = "1qlua Script Loaded"
- NotifTitle.TextColor3 = Color3.fromRGB(220, 220, 255)
- NotifTitle.TextSize = 14
- NotifTitle.TextXAlignment = Enum.TextXAlignment.Left
- NotifText.Parent = Notification
- NotifText.BackgroundTransparency = 1
- NotifText.Size = UDim2.new(1, -10, 0, 40)
- NotifText.Position = UDim2.new(0, 10, 0, 30)
- NotifText.Font = Enum.Font.Gotham
- NotifText.Text = "Created for salavaaye228"
- NotifText.TextColor3 = Color3.fromRGB(180, 180, 200)
- NotifText.TextSize = 12
- NotifText.TextXAlignment = Enum.TextXAlignment.Left
- NotifText.TextYAlignment = Enum.TextYAlignment.Top
- -- Анимация появления уведомления
- Notification.Position = UDim2.new(1, 260, 1, -90)
- game:GetService("TweenService"):Create(
- Notification,
- TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {Position = UDim2.new(1, -260, 1, -90)}
- ):Play()
- -- Удаление уведомления через 30 секунд
- task.delay(30, function()
- game:GetService("TweenService"):Create(
- Notification,
- TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {Position = UDim2.new(1, 260, 1, -90)}
- ):Play()
- wait(0.5)
- Notification:Destroy()
- end)
- -- Остальной код GUI (как в предыдущем скрипте)
- local MainFrame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local UIStroke = Instance.new("UIStroke")
- local TitleBar = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local CloseButton = Instance.new("ImageButton")
- local ButtonsContainer = Instance.new("Frame")
- local UIPadding = Instance.new("UIPadding")
- local UIListLayout = Instance.new("UIListLayout")
- MainFrame.Parent = ScreenGui
- MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 40)
- MainFrame.Position = UDim2.new(0.05, 0, 0.25, 0)
- MainFrame.Size = UDim2.new(0, 220, 0, 300)
- MainFrame.Active = true
- MainFrame.Draggable = true
- UICorner.Parent = MainFrame
- UICorner.CornerRadius = UDim.new(0, 8)
- UIStroke.Parent = MainFrame
- UIStroke.Color = Color3.fromRGB(80, 80, 100)
- UIStroke.Thickness = 2
- UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- TitleBar.Parent = MainFrame
- TitleBar.BackgroundColor3 = Color3.fromRGB(40, 40, 50)
- TitleBar.Size = UDim2.new(1, 0, 0, 35)
- TitleBar.Position = UDim2.new(0, 0, 0, 0)
- local TitleCorner = Instance.new("UICorner")
- TitleCorner.Parent = TitleBar
- TitleCorner.CornerRadius = UDim.new(0, 8)
- TitleCorner.Name = "TitleCorner"
- Title.Parent = TitleBar
- Title.BackgroundTransparency = 1
- Title.Size = UDim2.new(0.8, 0, 1, 0)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "Premium Scripts"
- Title.TextColor3 = Color3.fromRGB(220, 220, 255)
- Title.TextSize = 16
- Title.TextXAlignment = Enum.TextXAlignment.Left
- Title.Position = UDim2.new(0.05, 0, 0, 0)
- CloseButton.Parent = TitleBar
- CloseButton.BackgroundTransparency = 1
- CloseButton.Size = UDim2.new(0, 20, 0, 20)
- CloseButton.Position = UDim2.new(0.9, 0, 0.5, -10)
- CloseButton.Image = "rbxassetid://3926305904"
- CloseButton.ImageRectOffset = Vector2.new(284, 4)
- CloseButton.ImageRectSize = Vector2.new(24, 24)
- CloseButton.MouseButton1Click:Connect(function()
- game:GetService("TweenService"):Create(
- MainFrame,
- TweenInfo.new(0.3, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {Size = UDim2.new(0, 0, 0, 0)}
- ):Play()
- wait(0.3)
- ScreenGui:Destroy()
- end)
- ButtonsContainer.Parent = MainFrame
- ButtonsContainer.BackgroundTransparency = 1
- ButtonsContainer.Size = UDim2.new(1, 0, 1, -35)
- ButtonsContainer.Position = UDim2.new(0, 0, 0, 35)
- UIPadding.Parent = ButtonsContainer
- UIPadding.PaddingLeft = UDim.new(0, 10)
- UIPadding.PaddingRight = UDim.new(0, 10)
- UIPadding.PaddingTop = UDim.new(0, 10)
- UIPadding.PaddingBottom = UDim.new(0, 10)
- UIListLayout.Parent = ButtonsContainer
- UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder
- UIListLayout.Padding = UDim.new(0, 10)
- local function CreateButton(text, color)
- local Button = Instance.new("TextButton")
- local ButtonCorner = Instance.new("UICorner")
- local ButtonStroke = Instance.new("UIStroke")
- Button.Name = text .. "Button"
- Button.Parent = ButtonsContainer
- Button.BackgroundColor3 = color
- Button.Size = UDim2.new(1, 0, 0, 40)
- Button.Font = Enum.Font.GothamSemibold
- Button.Text = text
- Button.TextColor3 = Color3.fromRGB(255, 255, 255)
- Button.TextSize = 14
- Button.AutoButtonColor = false
- local originalColor = Button.BackgroundColor3
- local hoverColor = Color3.new(
- math.clamp(originalColor.R * 1.2, 0, 1),
- math.clamp(originalColor.G * 1.2, 0, 1),
- math.clamp(originalColor.B * 1.2, 0, 1)
- )
- Button.MouseEnter:Connect(function()
- game:GetService("TweenService"):Create(
- Button,
- TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {BackgroundColor3 = hoverColor}
- ):Play()
- end)
- Button.MouseLeave:Connect(function()
- game:GetService("TweenService"):Create(
- Button,
- TweenInfo.new(0.2, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {BackgroundColor3 = originalColor}
- ):Play()
- end)
- Button.MouseButton1Down:Connect(function()
- game:GetService("TweenService"):Create(
- Button,
- TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {BackgroundColor3 = Color3.fromRGB(100, 100, 100)}
- ):Play()
- end)
- Button.MouseButton1Up:Connect(function()
- game:GetService("TweenService"):Create(
- Button,
- TweenInfo.new(0.1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out),
- {BackgroundColor3 = hoverColor}
- ):Play()
- end)
- ButtonCorner.Parent = Button
- ButtonCorner.CornerRadius = UDim.new(0, 6)
- ButtonStroke.Parent = Button
- ButtonStroke.Color = Color3.fromRGB(60, 60, 80)
- ButtonStroke.Thickness = 1.5
- return Button
- end
- local FlyButton = CreateButton("Fly", Color3.fromRGB(80, 120, 200))
- local WorldButton = CreateButton("Create World", Color3.fromRGB(200, 100, 150))
- local TeleportButton = CreateButton("Teleport to Players", Color3.fromRGB(150, 100, 200))
- local ESPButton = CreateButton("ESP", Color3.fromRGB(100, 200, 150))
- local FarmButton = CreateButton("Auto Farm Crates", Color3.fromRGB(200, 150, 100))
- FlyButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet('https://pastebin.com/raw/9bNj1EcR'))()
- end)
- WorldButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/SRZJGHyq"))()
- end)
- TeleportButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet('https://pastebin.com/raw/z4HARAHs'))()
- end)
- ESPButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGet('https://pastebin.com/raw/r97SAaUa'))()
- end)
- FarmButton.MouseButton1Click:Connect(function()
- loadstring(game:HttpGetAsync("https://pastebin.com/raw/HNwdknXk"))()
- end)
- MainFrame.Size = UDim2.new(0, 0, 0, 0)
- game:GetService("TweenService"):Create(
- MainFrame,
- TweenInfo.new(0.5, Enum.EasingStyle.Back, Enum.EasingDirection.Out),
- {Size = UDim2.new(0, 220, 0, 300)}
- ):Play()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement