if youre using unity is super super simple
time.timeScale = 1;
in godot its
Engine.time_scale = 1;
well not 100% simple its kinda buggy sometimes (like with 2d projects)
it works for me totally fine with no bugginess at all.