RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a list of people who get it without buying gamepass"
-- server script local Players = game:GetService("Players") local MarketPlaceService = game:GetService("MarketplaceService") local GamepassID = 233204492 -- List of UserIds who get the tool without buying the gamepass local specialUsers = {123456, 789012, 345678} local function isSpecialUser(userId) for _, id in ipairs(specialUsers) do if userId == id then return true end end return false end Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) if script:FindFirstChildOfClass("Tool") and GamepassID ~= 0 then if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) or isSpecialUser(player.UserId) then script:FindFirstChildOfClass("Tool"):Clone().Parent = player.Backpack end end end) end)