Unity3d TimeSpeed

in alot of videos on youtube ive seen where people have made there game go in slownmotion and i know how to change the speed but they have a script that makes it so they can slow it down then speed it back up to normal kind of like in the call of duty campiang thanks so much!!

For slow motion, you can use Time.timeScale . The value is between 0 and 1 . The usual motion or speed that we usually see in the game is 1.0 . i.e : Time.timeScale = 1.0 ;
If the value is 0, then most of the action in the scene will be stop. So play around with the value to find the exact motion you want.