There are certain render issues with this code adapted from my ESP, you should use the Pre/PostPlayerDraw hooks if you want the correct render order.