It should work. All you need to do to run a coroutine is call it like a function. Here is some example code:
function MyCoolYieldingFunction(Parameters)
task.wait(9999)
print(Parameters)
end
local Arguments = 42
coroutine.wrap(MyCoolYieldingFunction)(Arguments)
If it isn’t working, try using strict typechecking to make sure you are passing in the correct types (put --!strict at the top of both the script in the picture you have shown, as well as the one that calls Tools:Raycast()).