Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local MessageBox = loadstring(game:HttpGet("https://raw.githubusercontent.com/xHeptc/NotificationGUI/main/source.lua"))()
- -- Function to show the "Virus Detected" message multiple times at random positions
- local function showVirusNotifications()
- for i = 1, 250 do
- -- Random position for each notification
- local randomX = math.random(0, 100)
- local randomY = math.random(0, 100)
- -- Show the message box at random positions
- MessageBox.Show({
- Position = UDim2.new(0.5 + randomX / 200, 0, 0.5 + randomY / 200, 0),
- Text = "Virus Detected!",
- Description = "A potential virus has been detected on your PC.\n\nPlease take necessary actions immediately!",
- MessageBoxIcon = "Error", -- Using Error icon for a more alarming effect
- MessageBoxButtons = "OKCancel", -- OKCancel buttons for confirmation
- Result = function(res)
- if (res == "OK") then
- MessageBox.Show({
- MessageBoxButtons = "OK",
- Description = "Please perform a factory reset on your PC.",
- Text = "Immediate Action Required!"
- })
- elseif (res == "Cancel") then
- MessageBox.Show({
- MessageBoxButtons = "OK",
- Description = "Please perform a factory reset on your PC.",
- Text = "Immediate Action Required!"
- })
- end
- end
- })
- -- Small delay to stagger the opening of each notification (prevents freezing)
- wait(0.1)
- end
- end
- -- Trigger the function to spam the notifications
- showVirusNotifications()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement