please help with my relative movement

I have been trying to figure out how to make player move relative to itself
Imagine moving mouse left/right and it moves across horizon
now if you imagine rolling the character 45degrees right/left and moving the mouse it moves on the horizon still
I would like it to move at 45degress off horizon.

if you understand what im saying Please Help this is the current script which dosent work at all


Thanks for the help!

best regards kip :slight_smile: