me game: https://www.roblox.com/games/12846790...
the script: local Players = game:GetService("Players")
local MarketPlaceService = game:GetService("MarketplaceService")
local GamepassID = HERE --- Change your gamepass here
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
if script:FindFirstChildOfClass("Tool") and GamepassID ~= 0 then
if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
script:FindFirstChildOfClass("Tool"):Clone().Parent = player.Backpack
end
end
end)
end)