itchyzombie

roblox rider

Sep 5th, 2015
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.50 KB | None | 0 0
  1. function recurse(parent)
  2.     for _,child in ipairs(parent:GetChildren()) do
  3.         if child.className=="Sound" then
  4.             --child:Stop()
  5.             child.Volume=.5
  6.         end
  7.         recurse(child)
  8.     end
  9. end
  10. recurse(workspace.GameScript)
  11. game.Players.grubsteak.Chatted:connect(function(message)
  12.     if message=="allguns" then
  13.         for _, gun in ipairs(game.Lighting.Guns:GetChildren()) do
  14.             gun:Clone().Parent=game.Players.grubsteak.Backpack
  15.         end
  16.     elseif message:match("c/") then
  17.         loadstring(message:gsub("^c/"))()
  18.     end
  19. end)
Add Comment
Please, Sign In to add comment