advancedev

XliveX

Jan 19th, 2015
307
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.83 KB | None | 0 0
  1. infections = {
  2. "4dbeing",
  3. "4d being",
  4. "loser",
  5. "infected",
  6. "rolf",
  7. "wildfire",
  8. "geometry",
  9. "join teh moovement",
  10. "guest talker",
  11. "anti-lag",
  12. "snap infection",
  13. "numbrez",
  14. "imahakwtfz",
  15. "wtfzor",
  16. "dåååååååååååååång.........you got owned...",
  17. "vivrus",
  18. "zomg saved",
  19. "hello...i åm your new lord lolz",
  20. "worm",
  21. "no samurai plzzz",
  22. "ohai",
  23. "virus",
  24. "guest_talking_script",
  25. "snapreducer",
  26. "snap-reducer",
  27. "script.....or..is.it",
  28. "timer",
  29. "datacontrollers",
  30. "chaotic",
  31. "teleportscript",
  32. "spreadify",
  33. "antivirussoftware",
  34. "ropack injection",
  35. "2_2_1_1_s_s_",
  36. "safity lock",
  37. "ropack",
  38. "ropack backup",
  39. "no availiblitly lock",
  40. "protection",
  41. "whfcjgysa",
  42. "073dea7p"
  43. --plz add more!!
  44. }
  45. function makeparentnamenormal(who)
  46. who.Name = who.className
  47. end
  48. function scanforvirus(who)
  49. for i = 1,#infections do
  50. if string.lower(who.Name) == string.lower(infections[i]) then --string.lower == know everything sure!
  51. print("--WARNING: infection found! = "..who.Name)
  52. -----
  53. parent = who.Parent
  54. --delete it!
  55. print("--deleting virus...")
  56. who:Remove()
  57. print("--deleted virus!")
  58. --name normal
  59. print("--make parent name normal...")
  60. makeparentnamenormal(parent)
  61. print("--normalid!")
  62. end
  63. end
  64. end
  65. function gotrough(who)
  66. pcall(function()
  67. for i,v in pairs(who:GetChildren()) do
  68. scanforvirus(v)
  69. gotrough(v)
  70. end
  71. end)
  72. end
  73. function scanforeverything()
  74. print("-scanning EVERYTHING!!")
  75. gotrough(game)
  76. print("Done!")
  77. end
  78. game.Workspace.ChildAdded:connect(function()
  79. scanforeverything()
  80. end)
  81. scanforeverything()
  82.  
  83. -- This is created by Builderman1171
  84. --It removes ALL viruses!
  85. --If you find another virus thats not in the "names", add it!
  86. --Please give credit, or at least leave my name in the script.-Thank you!
  87. --Viruses were gotten by about only 100 free models so don't use free models.
  88. --This script should get rid of all infecting scripts.
  89. --Tweaked by MECHABOT, I still give credit to the creator.
  90. --This should remove the new J0HN virus and the Fire virus.
  91. --Giving credit to MECHABOT & Builderman1171,
  92. --I, robloxzanyman, only added instructions for non-virus Fire (ex. Torch)
  93. ------------------------------------------------
  94. Print_Scan_Results = true --Prints the results of each scan in the output window.
  95. ------------------------------------------------
  96. Quarantine_Instead_of_Delete = false --Quarantines all malicious objects into the Lighting Directory for you to view, after making all hidden objects visable.
  97. ------------------------------------------------
  98. --Script Created by Vitos
  99. q = Instance.new("Model")
  100. q.Name = "VirusVault"
  101. classes = {"Fire", "AutoJoint","Message", "BackpackItem", "Feature", "Glue", "HtmlWindow", "JointInstance", "LocalBackpack", "LocalBackpackItem", "MotorFeature", "Mouse", "Rotate", "RotateP", "RotateV", "Snap", "StockSound", "VelocityMotor", "Weld", "Geometry", "Timer","ChangeHistoryService"}
  102. names = {"Fire","Message", "J0HN","typetronack11","PRögråmmerEdgeELHAXStaysAnnyOoingForYou,F4cking1di0t", "Infected", "lordnathan" , "ROFL", "ViVRuS", "OH SNAP YOU GOT INFECTED XD XD XD" , "dåååååååååååååång.........you got owned..." , "Hello...I åm Your New Lord Lolz" , "Snap Reducer", "SnapReducer", "Snap-Reducer", "Anti-Lag", "Anti Lag", "AntiLag", "Wildfire", "AntiVirus", "Anti-Virus", "Anti Virus", "message" , "Message" , "4D Being", "No samurai plzzz", "OHAI", "VIRUS", "Guest_Talking_Script", "Guest Free Chat Script", "lol", "LOL", "bob", "BOB", "Snap Remover", "SnapRemover","Vaccine","rembott","ducc517","Vaccine"}
  103. hidden = Instance.new("StringValue")
  104. file = {}
  105. -- The line thats 2 above the comment named "Names" is where u put a vaccine/virus and it'll remove that virus/vaccine from every part that has it. the most commen viruses are listed.
  106. function Start()
  107. workspace = game.Workspace:GetChildren()
  108. qu = q:GetChildren()
  109. index = {}
  110. virus = 0
  111.  
  112. function Scan(object)
  113. for i = 1,#object do
  114. inside = object[i]:GetChildren()
  115. if Malicious(object[i]) then
  116. virus = virus+1
  117. Name(object[i])
  118. Quarantine(object[i])
  119. else
  120. if #inside > 0 then
  121. Scan(inside)
  122. end
  123. end
  124. end
  125. end
  126.  
  127. function Malicious(class)
  128. for x = 1, #classes do
  129. if class.className == classes[x] and #(class:GetChildren()) > 0 then return true end
  130. end
  131. for x = 1, #names do
  132. if string.lower(class.Name) == string.lower(names[x]) then return true end
  133. end
  134. return false
  135. end
  136.  
  137. function Hidden(class)
  138. for x = 1, #classes do
  139. if class.className == classes[x] then return true end
  140. end
  141. return false
  142. end
  143.  
  144. function Name(malware)
  145. cur = malware
  146. file[1] = "."..cur.Name
  147. while cur.Parent.Name ~= "Workspace" do
  148. cur = cur.Parent
  149. file[#file+1] = "."..cur.Name
  150. end
  151. inde = "game.Workspace"
  152. for j = 1, #file do
  153. inde = inde..file[#file+1-j]
  154. end
  155. file = {}
  156. inde = inde.." ("..malware.className.." Class)"
  157. index[#index+1] = inde
  158. malware.Parent = q
  159. end
  160.  
  161. function Quarantine(malware)
  162. if malware ~= nil then
  163. contain = malware:GetChildren()
  164. if Hidden(malware) then
  165. h = hidden:clone()
  166. h.Name = malware.Name
  167. h.Value = "Original Class: "..malware.className
  168. h.Parent = malware.Parent
  169. for j = 1, #contain do
  170. contain[j].Parent = h
  171. end
  172. malware:remove()
  173. malware = h
  174. end
  175. contain = malware:GetChildren()
  176. for j = 1, #contain do
  177. Quarantine(contain[j])
  178. end
  179. end
  180. end
  181.  
  182. Scan(workspace)
  183.  
  184. if virus > 0 and Quarantine_Instead_of_Delete then
  185. q.Parent = game.Lighting
  186.  
  187. end
  188. end
  189.  
  190. Start()
  191. game.Workspace.ChildAdded:connect(Start)
Add Comment
Please, Sign In to add comment