How to see if a table has a item with a name

 if not table.find(PlayersInRange, v.Name) then
                    
                        PlayersInRange[v.Name] = {Player = v, OtherForce = 0, OtherDirection = 0 , OtherValue1 = 0, OtherValue2 = 0}
                    
                    
                    print("added ", v)
                end
            end    

the if not statement isnt workking and its replacing it on every loop even thought the table already has that name there

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.