Hello, how would I make this gamepass work for only those on the Neon orange team to filter out those who are not on the Neon orange team.

local Thing = false

game.Players.PlayerAdded:connect(function(Player)

Player.CharacterAdded:connect(function()

if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Player.UserId,6037834) then

if Thing == false then

Thing = true

local Tool = game.ServerStorage.Tools["[SCP] Card-L3"]:Clone()

Tool.Parent = Player.Backpack

wait(5)

Thing = false

end

end

end)

end) Thanks!

1 comment

0

if Player.TeamColor == BrickColor.new("Neon orange") then ... end