How to Remove a player from a table

If IntroTag.Value == true and AFK.Value == true would it not insert the player at all until the values for both would be false?

The and operator simply combines two conditions together. For example:

false and false --> Is false
false and true --> Is false
true and false --> Is false
true and true --> Is true

No, If IntroTag.Value == true and AFK.Value == true then would only run if BOTH IntroTag AND AFK are true. The condition when true will add the player to the plrs table. There is no removing part.

2 Likes
    local Player = game.Players.LocalPlayer
    local plrs = {}
        	
        	for i, player in pairs (game.Players:GetPlayers()) do 
        		if player then 
        			table.insert(plrs,player)--Add each players into plrs table
        			print(player)
        		elseif Player.IntroTag.Value == true then
        			table.remove(plrs,plrs[player]) --Remove Player from table if they are in the intro
        			warn(player,', was Removed From Table Because They are in the Intro.')			
        		end
        	end

sorry this was a late reply but I needed to find this out and figured it was just a small change heres the correct code.