Advertisement
4zx16

Boombox Handler (Gamepass)

Nov 13th, 2021 (edited)
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.68 KB | None | 0 0
  1. --[[
  2.  || πŸ“œ AUTHOR: @4zx16 || BOOMBOX/RADIO (GAMEPASS) || ONLY TOUCH BOOMBOX AND ID!
  3. ]]
  4. local MPS = game:GetService("MarketplaceService")
  5. local Boombox = game:GetService("ServerStorage").Boombox
  6. local RS = game:GetService("ReplicatedStorage")
  7. local id = 0
  8.  
  9. game.Players.PlayerAdded:Connect(function(plr)
  10.     plr.CharacterAdded:Connect(function()
  11.  
  12.         if MPS:UserOwnsGamePassAsync(plr.UserId, id) then
  13.             wait(0.9)
  14.             Boombox:Clone().Parent = plr:WaitForChild("Backpack")
  15.         end
  16.     end)
  17. end)
  18. RS.GiveRadio.OnServerEvent:Connect(function(player)
  19.     if MPS:UserOwnsGamePassAsync(player.UserId, id) then
  20.         wait(0.9)
  21.         Boombox:Clone().Parent = player:WaitForChild("Backpack")
  22.     end
  23. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement