What's wrong with this script?~~~~~~~~~~~~~~~~~
local player = game.Players.LocalPlayer
repeat wait(1) until player.Character -- Waits until the player's character isn't nil.
script.Parent.Equipped:connect(function()
script.Parent.Parent.Humanoid.HipHeight = -1.4
end)
script.Parent.Unequipped:connect(function()
script.Parent.Parent.Humanoid.HipHeight = 0
end)

3 comments
fix your script block...
iM NEW
The first ~~~~~~~~~~~~~~~~~ needs to be above, the second below the script