-- Create main GUI elements local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local CloseButton = Instance.new("TextButton") local ScrollingFrame = Instance.new("ScrollingFrame") local InfoText = Instance.new("TextLabel") -- Parent the GUI to the player's GUI screen ScreenGui.Parent = game.CoreGui ScreenGui.Name = "CustomPaidScriptGUI" -- MainFrame Properties (Squircle shape, draggable) MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) MainFrame.Position = UDim2.new(0.5, -150, 0.5, -100) -- Center the frame MainFrame.Size = UDim2.new(0, 300, 0, 200) MainFrame.AnchorPoint = Vector2.new(0.5, 0.5) MainFrame.BorderSizePixel = 0 MainFrame.BackgroundTransparency = 0.1 MainFrame.ClipsDescendants = true MainFrame.Active = true -- Draggable functionality MainFrame.Draggable = true -- Make the main frame have a squircle (rounded corners) shape local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0.2, 0) -- Adjust as needed for squircle shape UICorner.Parent = MainFrame -- CloseButton Properties CloseButton.Name = "CloseButton" CloseButton.Parent = MainFrame CloseButton.BackgroundColor3 = Color3.fromRGB(200, 50, 50) CloseButton.Position = UDim2.new(1, -30, 0, 10) -- Top right corner CloseButton.Size = UDim2.new(0, 20, 0, 20) CloseButton.Text = "X" CloseButton.TextColor3 = Color3.fromRGB(255, 255, 255) CloseButton.Font = Enum.Font.SourceSansBold CloseButton.TextSize = 14 CloseButton.BorderSizePixel = 0 -- Close function for the CloseButton CloseButton.MouseButton1Click:Connect(function() ScreenGui:Destroy() end) -- ScrollingFrame Properties ScrollingFrame.Name = "ScrollingFrame" ScrollingFrame.Parent = MainFrame ScrollingFrame.BackgroundColor3 = Color3.fromRGB(40, 40, 40) ScrollingFrame.Position = UDim2.new(0, 10, 0, 40) -- Below the close button ScrollingFrame.Size = UDim2.new(0, 280, 0, 150) ScrollingFrame.BorderSizePixel = 0 ScrollingFrame.CanvasSize = UDim2.new(0, 0, 1, 0) -- Make scrolling available only vertically ScrollingFrame.ScrollBarThickness = 6 ScrollingFrame.Active = true ScrollingFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y -- InfoText Properties (inside ScrollingFrame) InfoText.Name = "InfoText" InfoText.Parent = ScrollingFrame InfoText.BackgroundColor3 = Color3.fromRGB(255, 255, 255) InfoText.BackgroundTransparency = 1 InfoText.Size = UDim2.new(1, -10, 0, 100) -- Size of text within the ScrollingFrame InfoText.Text = "This script is one of the best alt controler, with 57 customized commands that your alts will execute via chat, it's paid 100 robux, to get more information and to buy it, dm ONLY pystyt on Discord. (and anyone else are scams)" InfoText.TextColor3 = Color3.fromRGB(255, 255, 255) InfoText.TextWrapped = true InfoText.Font = Enum.Font.SourceSans InfoText.TextSize = 16 InfoText.TextYAlignment = Enum.TextYAlignment.Top -- Finalizing GUI setup ScreenGui.Enabled = true