So uhmmm the title speaks for itself. What am I doing wrong?
Tool = script.Parent
Humanoid.WalkSpeed = (16 * 2) --- changes the player speed or velocity
Sounds.Unsheath:Play()
ToolEquipped = true
end
function Unequipped()
if CheckIfAlive() then
Humanoid.WalkSpeed = 16
end
ToolEquipped = false
end

3 comments
There's an error: 21:17:25.589 - Players.Simpletton.Backpack.Shotgun.Scripts.Speed:4: ')' expected (to close '(' at line 1) near ''
Ahh, nevermind I just had to set the tool's variable to your script, thanks for your help
Oh whoops. Minor parenthesis mistake