Why doesn't this anti-exploit work?

Making my anti exploit work for adonis and it won’t work…

What about the script is not working?

if AdminRank == "Mod" ~= "Player" then
AdminRank == “Mod” will evaluate to true or false, which will obviously not equal to “Player”, so isAdmin will always be true

Yeah I just noticed that thanks