Hey, Wanted to know how to make an attack.

I would like to make an attack for a dinosaur that is not shooting, but i would like to deal damage when a specific button is pressed.(for example: the down key.)
How can I do this?

You could use proximity or raycasting for the range of the melee attack

https://flowlab.io/game/view/835878 (sword example)

You can find various examples under the “help” section, try looking there before asking in forums next time.

thanks!