local ScreenGui = Instance.new("ScreenGui") local Frame = Instance.new("Frame") local TextLabel = Instance.new("TextLabel") local CopyButton = Instance.new("TextButton") -- Set properties for ScreenGui ScreenGui.Name = "NotificationGui" ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") -- Set properties for Frame Frame.Name = "NotificationFrame" Frame.Parent = ScreenGui Frame.BackgroundColor3 = Color3.fromRGB(0, 0, 0) Frame.BackgroundTransparency = 0.5 Frame.Position = UDim2.new(0.5, -150, 0.5, -50) Frame.Size = UDim2.new(0, 300, 0, 100) -- Set properties for TextLabel TextLabel.Name = "NotificationText" TextLabel.Parent = Frame TextLabel.BackgroundColor3 = Color3.fromRGB(255, 255, 255) TextLabel.BackgroundTransparency = 1 TextLabel.Position = UDim2.new(0, 0, 0, 0) TextLabel.Size = UDim2.new(1, 0, 0.5, 0) TextLabel.Font = Enum.Font.SourceSans TextLabel.Text = "Script outdated, Go to the link for the new version" TextLabel.TextColor3 = Color3.fromRGB(255, 255, 255) TextLabel.TextScaled = true -- Set properties for CopyButton CopyButton.Name = "Copy UI" CopyButton.Parent = Frame CopyButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255) CopyButton.Position = UDim2.new(0.25, 0, 0.6, 0) CopyButton.Size = UDim2.new(0.5, 0, 0.3, 0) CopyButton.Font = Enum.Font.SourceSans CopyButton.Text = "Copy Link" CopyButton.TextColor3 = Color3.fromRGB(255, 255, 255) CopyButton.TextScaled = true -- Function to copy the link to the clipboard local function copyLink() local link = "https://scriptblox.com/script/The-Strongest-Battlegrounds-*nic-Hub-Reborn-39872" -- Replace with your desired link setclipboard(link) TextLabel.Text = "Link copied to clipboard!" end CopyButton.MouseButton1Click:Connect(copyLink)