What are the differences between Scripting testing and Record and replay testing?

Can anyone please explain me the diffrences between Scripting testing and Record and replay testing.