Advertisement
Smartdumgood

Fake Virus

Nov 30th, 2024
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.00 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local KeyFrame = Instance.new("Frame")
  3. local KeyLabel = Instance.new("TextLabel")
  4. local KeyInput = Instance.new("TextBox")
  5. local SubmitButton = Instance.new("TextButton")
  6.  
  7. -- Key System GUI Setup
  8. ScreenGui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  9.  
  10. KeyFrame.Name = "KeySystem"
  11. KeyFrame.Parent = ScreenGui
  12. KeyFrame.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  13. KeyFrame.Position = UDim2.new(0.35, 0, 0.35, 0)
  14. KeyFrame.Size = UDim2.new(0.3, 0, 0.3, 0)
  15.  
  16. KeyLabel.Name = "KeyText"
  17. KeyLabel.Parent = KeyFrame
  18. KeyLabel.BackgroundTransparency = 1
  19. KeyLabel.Position = UDim2.new(0, 0, 0.1, 0)
  20. KeyLabel.Size = UDim2.new(1, 0, 0.2, 0)
  21. KeyLabel.Font = Enum.Font.GothamBold
  22. KeyLabel.Text = "KEY"
  23. KeyLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  24. KeyLabel.TextSize = 24
  25.  
  26. KeyInput.Name = "KeyBox"
  27. KeyInput.Parent = KeyFrame
  28. KeyInput.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  29. KeyInput.Position = UDim2.new(0.1, 0, 0.4, 0)
  30. KeyInput.Size = UDim2.new(0.8, 0, 0.15, 0)
  31. KeyInput.Font = Enum.Font.Gotham
  32. KeyInput.PlaceholderText = "Enter Key..."
  33. KeyInput.Text = ""
  34. KeyInput.TextColor3 = Color3.fromRGB(255, 255, 255)
  35. KeyInput.TextSize = 18
  36.  
  37. SubmitButton.Name = "Submit"
  38. SubmitButton.Parent = KeyFrame
  39. SubmitButton.BackgroundColor3 = Color3.fromRGB(0, 170, 255)
  40. SubmitButton.Position = UDim2.new(0.25, 0, 0.7, 0)
  41. SubmitButton.Size = UDim2.new(0.5, 0, 0.15, 0)
  42. SubmitButton.Font = Enum.Font.GothamBold
  43. SubmitButton.Text = "Submit"
  44. SubmitButton.TextColor3 = Color3.fromRGB(255, 255, 255)
  45. SubmitButton.TextSize = 18
  46.  
  47. -- Troll GUI Elements (Initially hidden)
  48. local TrollFrame = Instance.new("Frame")
  49. local VirusLabel = Instance.new("TextLabel")
  50. local WebcamLabel = Instance.new("TextLabel")
  51. local TrollImage = Instance.new("ImageLabel")
  52.  
  53. TrollFrame.Name = "TrollFrame"
  54. TrollFrame.Parent = ScreenGui
  55. TrollFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  56. TrollFrame.Position = UDim2.new(0.3, 0, 0.3, 0)
  57. TrollFrame.Size = UDim2.new(0.4, 0, 0.4, 0)
  58. TrollFrame.Visible = false
  59.  
  60. VirusLabel.Name = "VirusCounter"
  61. VirusLabel.Parent = TrollFrame
  62. VirusLabel.BackgroundTransparency = 1
  63. VirusLabel.Position = UDim2.new(0, 0, 0.1, 0)
  64. VirusLabel.Size = UDim2.new(1, 0, 0.1, 0)
  65. VirusLabel.Font = Enum.Font.SourceSansBold
  66. VirusLabel.Text = "Adding Viruses: 0"
  67. VirusLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  68. VirusLabel.TextSize = 24
  69.  
  70. WebcamLabel.Name = "WebcamText"
  71. WebcamLabel.Parent = TrollFrame
  72. WebcamLabel.BackgroundTransparency = 1
  73. WebcamLabel.Position = UDim2.new(0, 0, 0.4, 0)
  74. WebcamLabel.Size = UDim2.new(1, 0, 0.1, 0)
  75. WebcamLabel.Font = Enum.Font.SourceSansBold
  76. WebcamLabel.Text = "Accessing Webcam..."
  77. WebcamLabel.TextColor3 = Color3.fromRGB(255, 0, 0)
  78. WebcamLabel.TextSize = 20
  79. WebcamLabel.Visible = false
  80.  
  81. TrollImage.Name = "TrollFace"
  82. TrollImage.Parent = TrollFrame
  83. TrollImage.BackgroundTransparency = 1
  84. TrollImage.Position = UDim2.new(0.25, 0, 0.5, 0)
  85. TrollImage.Size = UDim2.new(0.5, 0, 0.4, 0)
  86. TrollImage.Image = "rbxassetid://7120897394"
  87. TrollImage.Visible = false
  88.  
  89. -- Password System
  90. local validKeys = {
  91. "github",
  92. "subscribe",
  93. "bob"
  94. }
  95.  
  96. local function startTrollScript()
  97. local virusCount = 0
  98.  
  99. local function updateCount()
  100. if virusCount < 13 then
  101. virusCount = virusCount + 1
  102. VirusLabel.Text = "Adding Viruses: " .. virusCount
  103.  
  104. if virusCount == 5 then
  105. WebcamLabel.Visible = true
  106. TrollImage.Visible = true
  107. wait(5)
  108. WebcamLabel.Visible = false
  109. TrollImage.Visible = false
  110. end
  111.  
  112. if virusCount == 13 then
  113. wait(4)
  114. game.StarterGui:SetCore("SendNotification", {
  115. Title = "Gotcha!",
  116. Text = "You got trolled! No viruses have been added",
  117. Duration = 5
  118. })
  119. wait(1)
  120. ScreenGui:Destroy()
  121.  
  122. -- Show fake badge notification
  123. game.StarterGui:SetCore("SendNotification", {
  124. Title = "🏆 Badge Awarded!",
  125. Text = "You've earned: The Hacked Award",
  126. Duration = 5,
  127. Icon = "rbxassetid://18569914203"
  128. })
  129. end
  130.  
  131. wait(math.random(3, 10))
  132. updateCount()
  133. end
  134. end
  135.  
  136. updateCount()
  137. end
  138.  
  139. local function checkKey()
  140. local inputKey = KeyInput.Text:lower()
  141.  
  142. for _, key in ipairs(validKeys) do
  143. if inputKey == key then
  144. KeyFrame:Destroy()
  145. TrollFrame.Visible = true
  146. startTrollScript()
  147. return
  148. end
  149. end
  150.  
  151. -- Wrong key animation
  152. KeyInput.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  153. wait(0.5)
  154. KeyInput.BackgroundColor3 = Color3.fromRGB(65, 65, 65)
  155. KeyInput.Text = ""
  156. end
  157.  
  158. SubmitButton.MouseButton1Click:Connect(checkKey)
  159.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement