local MarketPlaceService = game:GetService("MarketplaceService")
local GamepassID = 12779626
game.Players.PlayerAdded:Connect(function(player)
if MarketPlaceService:UserOwnsGamePassAsync(player.UserId, GamepassID) then
game.ServerStorage.Colt:Clone().Parent = player:WaitForChild("Backpack")
game.ServerStorage.Colt:Clone().Parent = player:WaitForChild("StarterGear")
end
end)
COMMUNITY QUESTION
How would I change the script so that it only gives the tool on a specific team?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.
