game.Players.PlayerAdded:connect(function(Player)
if Player:GetRankInGroup(1024778)== 10 or 255 or 50 or 254 then
game.Workspace.Brick1:Destroy()
game.Workspace.Brick2:Destroy()
else
if Player:GetRankInGroup(1024778) == 1 or 0 then
print("Rank too low!")
end
end
end)
It is supposed to destroy two parts for people who have a high rank in the group (The game is FilteringEnabled) but it doesen't destroy the parts for any rank. I have been trying to figure out whats wrong with this for hours. I'm sorry if this is a dumb question.

2 comments
He also doesn't have a fail-safe for when a player isn't in the group. Also, instead of doing all that hard work, why not use the ">,<" operators instead of rewriting for all that? :P
I think he only wants it for these specific ranks.