Detecting ramps

I gave super cool car but when it goes up on the slightest angle the speed decreases drastically. The friction is good. the car speed is usually 45< for it to go up small angle ramps. My solution is to detect when the car is on a ramp and then adjust the speed accordingly or am I wrong and this way wont work. Sorry I would upload an MP4 but stupid forum wont let me

robloxapp-20220726-1238237.wmv (6.8 MB)