I created a trigger by hitting which player activates the spikes. The animation of the spikes includes a hurtbox which is already registered as a damage if a hitbox player is within the hurtbox.
Thanks, This really helps!
I'm glad I helped you. If you need anything, write, I will try to help 😊