I guess something like that?Code:package com.rs.game.player.content.agility; import com.rs.game.player.Player; import com.rs.game.player.Skills; import com.rs.game.WorldObject; import com.rs.game.WorldTile; public class Agility { public static boolean hasLevel(Player player, int level) { if (player.getSkills().getLevel(Skills.AGILITY) < level) { player.sm("You need an Agility level of at least "+level+" to use this obstacle."); return false; } return true; } public static void handleObstacles(Player player, WorldObject object) { switch (object.getId()) { case Object Id: if(!hasLevel(player, 99)) return; (desired action) break; } } }





, @Santa Hat will take a look thanks