After Player Dies They Cant Use Sword

Just reference the character inside the function/Input connection. So remove the repeat wait and the c variable at the start of the script. Move it so its inside the Button1Down connection and the input connection.

Basically every time those connections are fired, instead of using the old character, you get and define the players current character and use that.

Alright ill try it right now hopefully it works

E.g

UIS.InputBegan:Connect(function(input,typing)
    local c = Player.Character
    if c then
-- continue with everything else
    end
end)

Gotta do the same thing for mouse1button connection too

From what I tested out, it works! Thanks, if i have any more issues ill reply back.

No problem and good luck with your project!

Thanks, and if your working on your own project then I wish you good luck as well.