Advertisement
sillen06

hide boombox "say radio"

May 31st, 2019
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2. local mouse = plr:GetMouse()
  3. local prefix = ""
  4.  
  5. function cmd_radio()
  6. local radio = plr.Character:FindFirstChild("BoomBox")
  7. if radio then
  8. radio.Server:Destroy()
  9. radio.Client:Destroy()
  10. end
  11. end
  12.  
  13.  
  14. plr.Chatted:connect(function(cmd)
  15. cmd = cmd:lower()
  16. if cmd == prefix.."radio" then
  17. cmd_radio()
  18. game.StarterGui:SetCore("SendNotification", {
  19. Title = "Radio Successfully Hidden.";
  20. Text = "";
  21. --Icon = "rbxassetid://1748020105";
  22. Duration = 5;
  23. })
  24. end
  25. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement