game.Players.PlayerAdded:Connect(function(player)
if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(player.userId, 8979366) then
if player.Backpack:FindFirstChild("BoomBox") == nil and player.Character:FindFirstChild("BoomBox") == nil then
local r = game.Lighting:FindFirstChild("BoomBox"):Clone()
r.Parent = player.Backpack
end
end
end)
I put a Boombox inside Lighting and 8979366 is the gamepass id

1 comment
Also capitalize the U in UserId.