projectile

Hey internet.
Some time ago I tried to make a function that works like bullet ballistics, but it came out something like drawing a route for a grenade throw.
And here I would like to ask for your help.
Can someone show me with a blueprint example how to improve it?
I would appreciate it.
(Sorry for my english)