So here is a simple script. This is apart of a fireball script where when the fireball (ball) hits something and it isnt the local player a print statement will run. Though it doesnt work and print whenever it hits both something with a humanoid and the player. Am i doing something wrong? Btw player is the local player and it already has been defined
ball.Touched:connect(function(hit)
if hit.Parent:FindFirstChild('Humanoid') and hit.Parent ~= player then
print("Touched")