Schedule function with a target
Basically, I'm trying to make a function that displays a title on someone's screen and counts down for 3 seconds before running a check. My issue is that the function needs to be targeted, which I know how to do with
execute as @s run functionHowever, since the functions need to be scheduled in 1 second intervals, I have to run the schedule command, but thisexecute as @s run schedule function 20does not work correctly and does not mark the executing player as a target. Is there a way to both schedule a function and have it retain a selected target?