Is this a server script?(Script with RunContext Server/Legacy)? Do you have another script that removes this “Health” instance? If the script that removes the instance is a local script, you should know that
Local scripts only affect the player’s client. Not the server. Because of that, the server doesn’t know. You can use a RemoteEvent to communicate with the server and the client.
You need end) to finish the function and give it to the Connect method.
endPoint.Touched:Connect(function(hit)
if not hit.Parent:FindFirstChild("Health") then return end
end)
endPoint.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Health") then
end
end)