movement script not working right

ok so I have made my own character controller script it works has no errors even when
I start the game up but when I move around the character I made when I press “w” for
forward it curves up. I also made my Character in blender. Just want to know why my
character is going up instead of forward?

Try this:
create an empty gameobject and put your character inside it. Move your character controller from your character to the empty gameobject container.
From your description it seems a pivot problem…