Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- game destroyer (no name yet)
- local aoWorkspace = workspace:GetDescendants()
- local prng
- for i,v in pairs(aoWorkspace) do
- if v.ClassName == "Part" then
- v.Name = math.random(1,534000)
- prng = math.random(1,5)
- if prng == 1 then
- v.Orientation = Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
- end
- if prng == 2 then
- v.Transparency = math.random(0.01,0.9)
- v.Name = "Ghosted"
- end
- if prng == 3 then
- v.Size = v.Size + Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
- end
- if prng == 4 then
- v.BrickColor = BrickColor.Red()
- end
- end
- if v.ClassName == "Script" then
- local mtr = math.random(1,5)
- if mtr == 5 then
- v:Destroy()
- end
- end
- if v.ClassName == "LocalScript" then
- local mtrl = math.random(1,5)
- if mtrl == 5 then
- v:Destroy()
- end
- end
- end
Add Comment
Please, Sign In to add comment