hook

so I tried to make a hook for making a job run faster and i can seem to figure out whats wrong with it

[lua] hook.Add(“OnPlayerChangedTeam”, “setrunspeed”, function( ply, oldteam, newteam) if newteam == TEAM_PET then ply:SetRunSpeed(150) else ply:SetRunSpeed(100) end end)
[/lua]

Any help what i need to change would be great