While I was trying to fix that my player was floating someone helped me and said to change the hipheight. He gave me different scripts but none work.
Here is the script I have at the moment.
local Players = game:GetService('Players')
Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function()
local Humanoid = player.Character:WaitForChild('Humanoid')
player.Character.Humanoid.HipHeight = 0
end)
end)