Whenever I seem to run this function, it returns,

17:06:46.409 - ServerScriptService.ServerSP:70: bad argument #1 to '?' (Vector3 expected, got number)

and

17:06:46.412 - RunService:fireRenderStepEarlyFunctions unexpected error while invoking callback: ServerScriptService.ServerSP:70: bad argument #1 to '?' (Vector3 expected, got number)

Any way to fix this? Thank you for helping.

Code:

https://pastebin.com/rxwzK0mX

2 comments

0

post the code here, the link doesnt work

0

@aazkao you can access his code at https://pastebin.com/raw/rxwzK0mX as a work around