New to scripting... tell me what im messing up.. with this dash script

Godot Version

Question

I decided to start learning python and godot last week. Been watching videos to help me build fundamentals. Yesterday i sat down for the first time to begin my hand at it. Decided to take notes on a few 2D platforming basic videos, and then attemptted to script basic movement, jumping, collisions…

Then i decided i wanted to implement a dash.

At first i had bungled it and it was crashing upon execution of the key that was designated to dash. Managed to dig myself out of that hole, got the game to boot, but then the key wasnt initiating dash. Eventually got it to work, but now it wont disengage the dash, which tells me perhaps it isnt calling up the dash timer on the dash script? Did i bungle something in the player script?

extends CharacterBody2D

#Basic movement
const NORMALSPEED = 400
const JUMP_POWER = -1200
const ACC = 40
const GRAVITY = 120
const FRICTION = 40
const MAX_JUMPS = 2
var CURRENT_JUMPS = 1
#DASHMOVEMENT
const DASHSPEED = 5000
const DASHLENGTH = .1
@onready var dash = $dash

func _physics_process(delta):
var input_dir: Vector2 = input()

#DASH
if Input.is_action_just_pressed("dash"):
	dash.start_dash(DASHLENGTH)
	


if input_dir != Vector2.ZERO:
	accelerate(input_dir)
else:
	add_friction()
player_movement() 
jump()

func input() → Vector2:
var input_dir = Vector2.ZERO

input_dir.x = Input.get_axis("ui_left", "ui_right")
input_dir = input_dir.normalized()
return input_dir

func accelerate(direction):
var SPEED = DASHSPEED if dash.is_dashing() else NORMALSPEED
velocity = velocity.move_toward(SPEED * direction, ACC)

func add_friction():
velocity = velocity.move_toward(Vector2.ZERO, FRICTION)

func player_movement():
move_and_slide()

func jump():
if Input.is_action_just_pressed(“ui_up”):
if CURRENT_JUMPS < MAX_JUMPS:
velocity.y = JUMP_POWER
CURRENT_JUMPS= CURRENT_JUMPS + 1
else:
velocity.y += GRAVITY
if is_on_floor():
CURRENT_JUMPS = 1

Any advice is helpful, this is my first time doing anything scripting wise

and am eager to learn, so anything will be immeasurably helpful!