So the question is pretty weird, but let me explain. So in this basic script i need to check weather the colided object is a player or not so i use this. if hit.Parent.Humanoid then --code-- end
But if it hits something else it gives an error like: Humanoid is not a valid part of workspace. So in my efforts to counter this, i tried to put an else statemant in my code. if hit.Parent.Humanoid then --code-- else print("Not found") end
But it still gives the same error and never prints what i set it to print. I also tried else if but it gave the same result. Thanks for any help!
Bonus question: What is the easiest/most efficient way to make a part fly in the opposite direction of you.(Like a fireball for example)

3 comments
I may have misinterpreted the way you meant fly in the opposite direction, if I did let me know.
That's exacly what i meant, thanks!
Glad to help!