Oi isa. Por favor, entra em contato comigo. brunowillianandrade@gmail.com
for the not realizing objects bug: the trigger is a float. If you are checking for == 0 you might not be accounting for a very small fluctuation of poor hardware