use custom isplayerinrangeofpoint function