Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Brain rot script (Improved GUI with Note)
- local ScreenGui = Instance.new("ScreenGui")
- local Frame = Instance.new("Frame")
- local UICorner = Instance.new("UICorner")
- local TopBar = Instance.new("Frame")
- local Title = Instance.new("TextLabel")
- local MainFrame = Instance.new("Frame")
- local TextBox = Instance.new("TextBox")
- local TextBoxCorner = Instance.new("UICorner")
- local SubmitButton = Instance.new("TextButton")
- local SubmitCorner = Instance.new("UICorner")
- local GetKeyButton = Instance.new("TextButton")
- local GetKeyCorner = Instance.new("UICorner")
- local MessageLabel = Instance.new("TextLabel")
- local NoteLabel = Instance.new("TextLabel") -- New note label
- -- ScreenGui Setup
- ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- ScreenGui.Name = "KeySystemGui"
- ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
- -- Main Frame
- Frame.Parent = ScreenGui
- Frame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
- Frame.BorderSizePixel = 0
- Frame.Position = UDim2.new(0.5, -175, 0.5, -125)
- Frame.Size = UDim2.new(0, 350, 0, 250)
- Frame.Active = true
- Frame.Draggable = true
- -- Round Corners
- UICorner.Parent = Frame
- UICorner.CornerRadius = UDim.new(0, 8)
- -- Top Bar
- TopBar.Parent = Frame
- TopBar.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
- TopBar.BorderSizePixel = 0
- TopBar.Size = UDim2.new(1, 0, 0, 35)
- -- Title
- Title.Parent = TopBar
- Title.BackgroundTransparency = 1
- Title.Position = UDim2.new(0, 10, 0, 0)
- Title.Size = UDim2.new(1, -40, 1, 0)
- Title.Font = Enum.Font.GothamBold
- Title.Text = "Brain Rot Script"
- Title.TextColor3 = Color3.fromRGB(255, 255, 255)
- Title.TextSize = 14
- Title.TextXAlignment = Enum.TextXAlignment.Left
- -- Main Content Frame
- MainFrame.Parent = Frame
- MainFrame.BackgroundTransparency = 1
- MainFrame.Position = UDim2.new(0, 0, 0, 35)
- MainFrame.Size = UDim2.new(1, 0, 1, -35)
- -- Text Box
- TextBox.Parent = MainFrame
- TextBox.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
- TextBox.Position = UDim2.new(0.1, 0, 0.2, 0)
- TextBox.Size = UDim2.new(0.8, 0, 0, 35)
- TextBox.Font = Enum.Font.Gotham
- TextBox.PlaceholderText = "Enter key here..."
- TextBox.Text = ""
- TextBox.TextColor3 = Color3.fromRGB(255, 255, 255)
- TextBox.TextSize = 14
- TextBox.ClearTextOnFocus = false
- TextBoxCorner.Parent = TextBox
- TextBoxCorner.CornerRadius = UDim.new(0, 6)
- -- Submit Button
- SubmitButton.Parent = MainFrame
- SubmitButton.BackgroundColor3 = Color3.fromRGB(80, 160, 80)
- SubmitButton.Position = UDim2.new(0.1, 0, 0.5, 0)
- SubmitButton.Size = UDim2.new(0.35, 0, 0, 35)
- SubmitButton.Font = Enum.Font.Gotham
- SubmitButton.Text = "SUBMIT"
- SubmitButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- SubmitButton.TextSize = 14
- SubmitCorner.Parent = SubmitButton
- SubmitCorner.CornerRadius = UDim.new(0, 6)
- -- Get Key Button
- GetKeyButton.Parent = MainFrame
- GetKeyButton.BackgroundColor3 = Color3.fromRGB(80, 80, 160)
- GetKeyButton.Position = UDim2.new(0.55, 0, 0.5, 0)
- GetKeyButton.Size = UDim2.new(0.35, 0, 0, 35)
- GetKeyButton.Font = Enum.Font.Gotham
- GetKeyButton.Text = "GET KEY"
- GetKeyButton.TextColor3 = Color3.fromRGB(255, 255, 255)
- GetKeyButton.TextSize = 14
- GetKeyCorner.Parent = GetKeyButton
- GetKeyCorner.CornerRadius = UDim.new(0, 6)
- -- Message Label
- MessageLabel.Parent = MainFrame
- MessageLabel.BackgroundTransparency = 1
- MessageLabel.Position = UDim2.new(0.1, 0, 0.75, 0)
- MessageLabel.Size = UDim2.new(0.8, 0, 0, 40)
- MessageLabel.Font = Enum.Font.Gotham
- MessageLabel.Text = ""
- MessageLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
- MessageLabel.TextSize = 14
- MessageLabel.TextWrapped = true
- -- New Note Label
- NoteLabel.Parent = MainFrame
- NoteLabel.BackgroundTransparency = 1
- NoteLabel.Position = UDim2.new(0.1, 0, 0.65, 0) -- Positioned between buttons and message
- NoteLabel.Size = UDim2.new(0.8, 0, 0, 20)
- NoteLabel.Font = Enum.Font.Gotham
- NoteLabel.Text = "đ Key is needed only once"
- NoteLabel.TextColor3 = Color3.fromRGB(180, 180, 180) -- Subtle gray color
- NoteLabel.TextSize = 12
- NoteLabel.TextWrapped = true
- -- Original Functions (unchanged)
- local function loadMainScript()
- Frame:Destroy()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/gumanba/Scripts/main/StealaBrainrot"))()
- end
- SubmitButton.MouseButton1Click:Connect(function()
- if TextBox.Text:lower() == "notezzboy best" then
- MessageLabel.TextColor3 = Color3.fromRGB(100, 255, 100)
- MessageLabel.Text = "â Key correct! Loading script..."
- task.wait(1)
- loadMainScript()
- else
- MessageLabel.TextColor3 = Color3.fromRGB(255, 100, 100)
- MessageLabel.Text = "â Wrong key! Please try again or get a key."
- end
- end)
- GetKeyButton.MouseButton1Click:Connect(function()
- local keyLink = "https://link-hub.net/1188078/sxWqky68YvQC"
- local copied = false
- local clipboard = setclipboard or writeclipboard or toclipboard or (Clipboard and Clipboard.set)
- if clipboard then
- pcall(clipboard, keyLink)
- copied = true
- end
- if copied then
- MessageLabel.TextColor3 = Color3.fromRGB(100, 180, 255)
- MessageLabel.Text = "â Key link copied to clipboard!"
- else
- MessageLabel.TextColor3 = Color3.fromRGB(255, 150, 100)
- MessageLabel.Text = "â Failed to copy! Here's the link:\n"..keyLink
- end
- task.wait(2)
- if copied then MessageLabel.Text = "" end
- end)
Advertisement
Add Comment
Please, Sign In to add comment