Advertisement
itchyzombie

mutez

Sep 25th, 2015
205
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. function recurse(parent)
  2. for _, child in pairs(parent:GetChildren()) do
  3. if child:IsA"Sound" then
  4. child:Stop()
  5. child.Volume=0
  6. child:Destroy()
  7. end
  8. recurse(child)
  9. end
  10. end
  11. recurse(workspace)
  12.  
  13. if game:GetService"Players".LocalPlayer then
  14. game:GetService"Players".LocalPlayer:GetMouse().KeyDown:connect(function(k)if k=='m' then recurse(workspace) elseif key=='c' then recurse(workspace); game:GetService"Lighting":ClearAllChildren(); end end)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement