A slightly popular script by a friend (I would ask him but hes not active) is not working when you use the script you will die. Its worked in previous versions of Roblox but no longer does.
(Script is to long so here is a pastebin
After i figure out what is wrong I'm going to try to fix it
The help is appreciated

7 comments
You didn't post the pastebin.
^
https://scriptinghelpers.org/help/community-guidelines state that "Attempts should be your own work." Please read the guidelines before posting questions in the future.
https://pastebin.com/f1Hu4wxJ
Are you just requesting the fixed code?
no, im just asking whats new that made this script broken
Plus that script looks like a free model. Badly written code and no indentation. It also uses lots of outdated features like KeyDown and :remove.