For example if i gave a Spiritomb the Wonder Guard ability and it gets behind a sub, Will they be able to break the sub.
No, it won't be able to break the sub.
If this Pokémon has a Substitute, this ability will block moves as usual and any moves not blocked will react to the Substitute as usual. -Veekun
How to change your username How to add a user avatar Why was my post hidden? The points system Question etiquette Flags vs Downvotes Anime FAQ
Type a Pokemon name, type, move or ability to see instant results.