Wobbling when you move

So I’m hoping you guys know what OA-1 is (Open Aura 1).
In OA-1 when you walk around, your camera shifts side to side, and when you stand still, it sways, etc.

You get the point, what I’m asking is could someone script that, or maybe help me script it? Thanks :).

I know we’d have to have a hook.Add !

**[Entity.GetVelocity

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Entity.GetVelocity)**

**[Player.ViewPunch

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.ViewPunch)**

**[Gamemode.Think

http://wiki.garrysmod.com/favicon.ico](wiki.garrysmod.com/?title=Gamemode.Think)**

For Player.ViewPunch , would I have to put that to every weapon?

It’s called head bobbing. You may want to look into how SharpYe does it.

Thanks alot q3k!